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

Unified Diff: third_party/WebKit/Source/web/tests/VirtualTimeTest.cpp

Issue 2239293003: Disable VirtualTimeTest* on Andorid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/VirtualTimeTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/VirtualTimeTest.cpp b/third_party/WebKit/Source/web/tests/VirtualTimeTest.cpp
index 7d78d7724299548e3869b301efb561bedbbca158..41e6eef51c1ceae6e7628c7aee8d373f8471a3fc 100644
--- a/third_party/WebKit/Source/web/tests/VirtualTimeTest.cpp
+++ b/third_party/WebKit/Source/web/tests/VirtualTimeTest.cpp
@@ -56,7 +56,13 @@ namespace {
}
}
-TEST_F(VirtualTimeTest, DOMTimersFireInExpectedOrder)
+// http://crbug.com/633321
+#if OS(ANDROID)
+#define MAYBE_DOMTimersFireInExpectedOrder DISABLED_DOMTimersFireInExpectedOrder
+#else
+#define MAYBE_DOMTimersFireInExpectedOrder DOMTimersFireInExpectedOrder
+#endif
+TEST_F(VirtualTimeTest, MAYBE_DOMTimersFireInExpectedOrder)
{
webView().scheduler()->enableVirtualTime();
@@ -78,7 +84,13 @@ TEST_F(VirtualTimeTest, DOMTimersFireInExpectedOrder)
EXPECT_EQ("c, b, a", ExecuteJavaScript("run_order.join(', ')"));
}
-TEST_F(VirtualTimeTest, SetInterval)
+// http://crbug.com/633321
+#if OS(ANDROID)
+#define MAYBE_SetInterval DISABLED_SetInterval
+#else
+#define MAYBE_SetInterval SetInterval
+#endif
+TEST_F(VirtualTimeTest, MAYBE_SetInterval)
{
webView().scheduler()->enableVirtualTime();
@@ -98,7 +110,13 @@ TEST_F(VirtualTimeTest, SetInterval)
EXPECT_EQ("9, timer, 8, 7, 6, 5, 4, 3, 2, 1, 0", ExecuteJavaScript("run_order.join(', ')"));
}
-TEST_F(VirtualTimeTest, AllowVirtualTimeToAdvance)
+// http://crbug.com/633321
+#if OS(ANDROID)
+#define MAYBE_AllowVirtualTimeToAdvance DISABLED_AllowVirtualTimeToAdvance
+#else
+#define MAYBE_AllowVirtualTimeToAdvance AllowVirtualTimeToAdvance
+#endif
+TEST_F(VirtualTimeTest, MAYBE_AllowVirtualTimeToAdvance)
{
webView().scheduler()->enableVirtualTime();
webView().scheduler()->setVirtualTimePolicy(WebViewScheduler::VirtualTimePolicy::PAUSE);
@@ -121,7 +139,13 @@ TEST_F(VirtualTimeTest, AllowVirtualTimeToAdvance)
EXPECT_EQ("c, b, a", ExecuteJavaScript("run_order.join(', ')"));
}
-TEST_F(VirtualTimeTest, VirtualTimeNotAllowedToAdvanceWhileResourcesLoading)
+// http://crbug.com/633321
+#if OS(ANDROID)
+#define MAYBE_VirtualTimeNotAllowedToAdvanceWhileResourcesLoading DISABLED_VirtualTimeNotAllowedToAdvanceWhileResourcesLoading
+#else
+#define MAYBE_VirtualTimeNotAllowedToAdvanceWhileResourcesLoading VirtualTimeNotAllowedToAdvanceWhileResourcesLoading
+#endif
+TEST_F(VirtualTimeTest, MAYBE_VirtualTimeNotAllowedToAdvanceWhileResourcesLoading)
{
webView().scheduler()->enableVirtualTime();
webView().scheduler()->setVirtualTimePolicy(WebViewScheduler::VirtualTimePolicy::DETERMINISTIC_LOADING);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698