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

Unified Diff: content/browser/memory/memory_coordinator_impl_unittest.cc

Issue 2611323002: Relanding "Multiprocess test client: Android child process launcher rework." (Closed)
Patch Set: Addressed nyquist@'s comment + sync Created 3 years, 11 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 | « build/android/pylib/gtest/gtest_test_instance.py ('k') | ipc/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/memory/memory_coordinator_impl_unittest.cc
diff --git a/content/browser/memory/memory_coordinator_impl_unittest.cc b/content/browser/memory/memory_coordinator_impl_unittest.cc
index 795d18b562f67d43b7ed8c635855f3da3625cece..9c3c992990175f6da043a631c5ceeb744b6932f1 100644
--- a/content/browser/memory/memory_coordinator_impl_unittest.cc
+++ b/content/browser/memory/memory_coordinator_impl_unittest.cc
@@ -473,7 +473,14 @@ TEST_F(MemoryCoordinatorImplTest, ForceSetGlobalState) {
EXPECT_EQ(base::MemoryState::THROTTLED, coordinator_->GetGlobalMemoryState());
}
-TEST_F(MemoryCoordinatorImplTest, GetStateForProcess) {
+
+#if defined(OS_ANDROID)
+// TODO(jcivelli): Broken on Android. http://crbug.com/678665
+#define MAYBE_GetStateForProcess DISABLED_GetStateForProcess
+#else
+#define MAYBE_GetStateForProcess GetStateForProcess
+#endif
+TEST_F(MemoryCoordinatorImplTest, MAYBE_GetStateForProcess) {
EXPECT_EQ(base::MemoryState::UNKNOWN,
coordinator_->GetStateForProcess(base::kNullProcessHandle));
EXPECT_EQ(base::MemoryState::NORMAL,
« no previous file with comments | « build/android/pylib/gtest/gtest_test_instance.py ('k') | ipc/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698