Index: test/FilterEngine.cpp |
=================================================================== |
--- a/test/FilterEngine.cpp |
+++ b/test/FilterEngine.cpp |
@@ -522,12 +522,12 @@ |
filterEngine->SetUpdateAvailableCallback(mockUpdateAvailableCallback); |
filterEngine->ForceUpdateCheck(&NoOpUpdaterCallback); |
- AdblockPlus::Sleep(100); |
+ std::this_thread::sleep_for(std::chrono::milliseconds(100)); |
ASSERT_EQ(1, timesCalled); |
filterEngine->RemoveUpdateAvailableCallback(); |
filterEngine->ForceUpdateCheck(&NoOpUpdaterCallback); |
- AdblockPlus::Sleep(100); |
+ std::this_thread::sleep_for(std::chrono::milliseconds(100)); |
ASSERT_EQ(1, timesCalled); |
} |