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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/test/DummyIntegrationTest.java

Issue 10943014: Add support for the ChromiumTestShellTest APK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed commented out gyp actions. Created 8 years, 3 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
Index: chrome/android/javatests/src/org/chromium/chrome/browser/test/DummyIntegrationTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/test/DummyIntegrationTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/test/DummyIntegrationTest.java
new file mode 100644
index 0000000000000000000000000000000000000000..847dd7e8292627cd7d0fc9089ca921af9b969b9c
--- /dev/null
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/test/DummyIntegrationTest.java
@@ -0,0 +1,23 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.testshell;
+
+import org.chromium.base.test.DisabledTest;
+
+import org.chromium.chrome.testshell.ChromiumTestShellActivity;
+import org.chromium.chrome.testshell.ChromiumTestShellTestBase;
+
+public class DummyIntegrationTest extends ChromiumTestShellTestBase {
+ // URL used for base tests.
+ private static final String URL = "data:text";
+
+ @DisabledTest
Yaron 2012/09/20 03:05:17 Add // TODO(dtrainor): Remove when an actual test
David Trainor- moved to gerrit 2012/09/20 06:39:26 Yeah it's to make this path (chrome/android/javate
Yaron 2012/09/20 20:05:15 Can you add the TODO
David Trainor- moved to gerrit 2012/09/20 21:49:50 Done.
+ public void testDummyChromiumTestShellStartup() throws Exception {
+ ChromiumTestShellActivity activity = launchChromiumTestShellWithUrl(URL);
+
+ // Make sure the activity was created as expected.
+ assertNotNull(activity);
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698