< prev index next >

test/native/logging/test_logTagLevelExpression.cpp

Print this page
rev 11942 : 8165600: Convert internal logging tests to GTest

*** 26,35 **** --- 26,41 ---- #include "logging/logTagLevelExpression.hpp" #include "logging/logTagSet.hpp" #include "unittest.hpp" #include "utilities/globalDefinitions.hpp" + TEST(logging, LogTagLevelExpression_combination_limit) { + size_t max_combinations = LogTagLevelExpression::MaxCombinations; + EXPECT_GT(max_combinations, LogTagSet::ntagsets()) + << "Combination limit not sufficient for configuring all available tag sets"; + } + TEST(LogTagLevelExpression, parse) { char buf[256]; const char* invalid_substr[] = { "=", "+", " ", "+=", "+=*", "*+", " +", "**", "++", ".", ",", ",," ",+", " *", "all+", "all*", "+all", "+all=Warning", "==Info", "=InfoWarning",
< prev index next >