Remove wxLog::AddTraceMask() call

This shouldn't be done unconditionally, trace mask can always be enabled
using WXTRACE environment variable from outside the test.

Also remove a useless tracing message.
This commit is contained in:
Vadim Zeitlin
2019-04-26 13:15:35 +02:00
parent 77645a1aad
commit 1b7b79e1c2

View File

@@ -378,8 +378,6 @@ class FileSystemWatcherTestCase
public: public:
FileSystemWatcherTestCase() FileSystemWatcherTestCase()
{ {
wxLog::AddTraceMask(wxTRACE_FSWATCHER);
// Before each test, remove the dir if it exists. // Before each test, remove the dir if it exists.
// It would exist if the previous test run was aborted. // It would exist if the previous test run was aborted.
wxString tmp = wxStandardPaths::Get().GetTempDir(); wxString tmp = wxStandardPaths::Get().GetTempDir();
@@ -422,8 +420,6 @@ TEST_CASE_METHOD(FileSystemWatcherTestCase,
EventTester tester; EventTester tester;
wxLogTrace(wxTRACE_FSWATCHER, "TestEventCreate tester created()");
tester.Run(); tester.Run();
} }