Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/tests/GPGMMTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ void GPGMMTestEnvironment::SetEnvironment(GPGMMTestEnvironment* env) {
}

void GPGMMTestEnvironment::SetUp() {
mLogLevel = gpgmm::GetLogMessageLevel();
}

bool GPGMMTestEnvironment::IsDumpEventsEnabled() const {
Expand Down
7 changes: 1 addition & 6 deletions src/tests/GPGMMTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,7 @@ class GPGMMTestEnvironment : public testing::Environment {

private:
bool mIsDumpEventsEnabled = false;

#if defined(NDEBUG)
gpgmm::LogSeverity mLogLevel = gpgmm::LogSeverity::Warning;
#else
gpgmm::LogSeverity mLogLevel = gpgmm::LogSeverity::Info;
#endif
gpgmm::LogSeverity mLogLevel; // Initialized by Setup().
};

#endif // TESTS_GPGMMTEST_H_