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:
@@ -378,8 +378,6 @@ class FileSystemWatcherTestCase
|
||||
public:
|
||||
FileSystemWatcherTestCase()
|
||||
{
|
||||
wxLog::AddTraceMask(wxTRACE_FSWATCHER);
|
||||
|
||||
// Before each test, remove the dir if it exists.
|
||||
// It would exist if the previous test run was aborted.
|
||||
wxString tmp = wxStandardPaths::Get().GetTempDir();
|
||||
@@ -422,8 +420,6 @@ TEST_CASE_METHOD(FileSystemWatcherTestCase,
|
||||
|
||||
EventTester tester;
|
||||
|
||||
wxLogTrace(wxTRACE_FSWATCHER, "TestEventCreate tester created()");
|
||||
|
||||
tester.Run();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user