32 bool result = p.empty() ?
false : ( p.find(name) != std::string::npos ) ;
35 static std::set<std::string> warned ;
36 if( warned.find(name) == warned.end() )
38 warned.insert( name ) ;
39 G_WARNING(
"G::Test::enabled: test case enabled: [" << name <<
"]" ) ;
static std::string get(const std::string &name, const std::string &default_)
Returns the environment variable value or the given default.
static bool enabled()
Returns true if test features are enabled.