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:
|
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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user