From 1b7b79e1c2c9f550e98c34d762f46497efdd1373 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 26 Apr 2019 13:15:35 +0200 Subject: [PATCH] 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. --- tests/fswatcher/fswatchertest.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/fswatcher/fswatchertest.cpp b/tests/fswatcher/fswatchertest.cpp index 54b1423566..3f9ad29696 100644 --- a/tests/fswatcher/fswatchertest.cpp +++ b/tests/fswatcher/fswatchertest.cpp @@ -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(); }