Update testing.h

This commit is contained in:
Dmitry Marakasov 2016-02-26 23:55:37 +03:00
parent e2a5c84d37
commit 815962f4ec

View File

@ -121,8 +121,6 @@ private:
case LITERAL: bright = true; color = 5; break; case LITERAL: bright = true; color = 5; break;
case EXPRESSION: bright = true; color = 7; break; case EXPRESSION: bright = true; color = 7; break;
case DESCRIPTION: bright = true; color = 4; break; case DESCRIPTION: bright = true; color = 4; break;
default:
return str;
} }
std::ostringstream ss; std::ostringstream ss;
@ -383,7 +381,9 @@ public:
#define RESET_FLAGS() do { tester_.ResetFlags(); } while(0) #define RESET_FLAGS() do { tester_.ResetFlags(); } while(0)
// flags // flags
#define NON_FATAL Tester::NON_FATAL enum {
#define HIDE_MESSAGE Tester::HIDE_MESSAGE NON_FATAL = Tester::Flags::NON_FATAL,
HIDE_MESSAGE = Tester::Flags::HIDE_MESSAGE
};
#endif // TESTING_H_INCLUDED #endif // TESTING_H_INCLUDED