Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Unified Diff: ppapi/tests/test_core.cc

Issue 8515014: Fix flaky PPAPITest.FlashClipboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Do the same thing for IsFormatAvailable. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/tests/test_core.cc
diff --git a/ppapi/tests/test_core.cc b/ppapi/tests/test_core.cc
index 82f93613211c71917103587c3e8db84cc7e06add..3b5f4e47bc7d6cab51fa354a8c9945beadcfcc90 100644
--- a/ppapi/tests/test_core.cc
+++ b/ppapi/tests/test_core.cc
@@ -4,28 +4,11 @@
#include "ppapi/tests/test_core.h"
-#if defined(_MSC_VER)
-#include <windows.h>
-#else
-#include <unistd.h>
-#endif
-
#include "ppapi/cpp/core.h"
#include "ppapi/cpp/module.h"
+#include "ppapi/tests/test_utils.h"
#include "ppapi/tests/testing_instance.h"
-namespace {
-
-void PlatformSleep(int duration_ms) {
-#if defined(_MSC_VER)
- ::Sleep(duration_ms);
-#else
- usleep(duration_ms * 1000);
-#endif
-}
-
-} // namespace
-
REGISTER_TEST_CASE(Core);
bool TestCore::Init() {

Powered by Google App Engine
This is Rietveld 408576698