namespace DPL {
namespace Test {
-namespace {
-
-const std::string NO_VERBOSE_ARG = "--no-verbose";
-
-}
ConsoleCollector::ConsoleCollector()
: m_verbosity(true)
bool ConsoleCollector::ParseCollectorSpecificArg(const std::string& arg)
{
- if (arg != NO_VERBOSE_ARG)
- return false;
- m_verbosity=false;
- return true;
+ return ParseCollectorNoVerboseArg(arg, m_verbosity);
}
std::string ConsoleCollector::CollectorSpecificHelp() const
{
- return NO_VERBOSE_ARG + " - turns off verbosity\n" +
- std::string(NO_VERBOSE_ARG.size(), ' ') + " verbosity turned on by default\n";
+ return COLLECTOR_NO_VERBOSE_HELP;
}
void ConsoleCollector::CollectCurrentTestGroupName(const std::string& name)