Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/Notification.cpp

Issue 29536739: Noissue - Cleanup. Remove last remnants of old thread code.
Patch Set: Created Sept. 5, 2017, 7:36 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/GlobalJsObject.cpp ('k') | test/Prefs.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/Notification.cpp
===================================================================
--- a/test/Notification.cpp
+++ b/test/Notification.cpp
@@ -126,7 +126,7 @@
TEST_F(NotificationMockWebRequestTest, DISABLED_SingleNotification)
{
- AdblockPlus::Sleep(5000/*msec*/); // it's a hack
+ std::this_thread::sleep_for(std::chrono::milliseconds(5000)); // it's a hack
EXPECT_TRUE(isNotificationCallbackCalled);
}
« no previous file with comments | « test/GlobalJsObject.cpp ('k') | test/Prefs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld