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

Unified Diff: shell/context_unittest.cc

Issue 1064173002: Temporarily (?) disable ContextTest.Paths on Android. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 | « shell/child_process_host_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/context_unittest.cc
diff --git a/shell/context_unittest.cc b/shell/context_unittest.cc
index b8accaaa5e683cc90503faf1fa34216cdbc6b446..7611ea8fd602eb1dbe2679fab5f8339ddc052dd8 100644
--- a/shell/context_unittest.cc
+++ b/shell/context_unittest.cc
@@ -6,6 +6,7 @@
#include "base/files/file_path.h"
#include "base/message_loop/message_loop.h"
+#include "build/build_config.h"
#include "mojo/common/message_pump_mojo.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -13,7 +14,15 @@ namespace mojo {
namespace shell {
namespace {
-TEST(ContextTest, Paths) {
+#if defined(OS_ANDROID)
+// TODO(vtl): The command line doesn't get initialized in a reasonable way on
+// Android, currently. (Relatedly, multiprocess tests are currently not
+// supported.)
+#define MAYBE_Paths DISABLED_Paths
+#else
+#define MAYBE_Paths Paths
+#endif
+TEST(ContextTest, MAYBE_Paths) {
Context context;
base::MessageLoop message_loop(
scoped_ptr<base::MessagePump>(new common::MessagePumpMojo()));
« no previous file with comments | « shell/child_process_host_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698