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

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: Rebased 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
« no previous file with comments | « build/all_android.gyp ('k') | chrome/android/testshell/java/chromium_testshell_apk.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..00a403f07a181f06f86b3fd5d970a929b732cbe1
--- /dev/null
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/test/DummyIntegrationTest.java
@@ -0,0 +1,24 @@
+// 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;
+
+// TODO(dtrainor): Once some other tests are integrated to this directory remove this.
+public class DummyIntegrationTest extends ChromiumTestShellTestBase {
+ // URL used for base tests.
+ private static final String URL = "data:text";
+
+ @DisabledTest
+ public void testDummyChromiumTestShellStartup() throws Exception {
+ ChromiumTestShellActivity activity = launchChromiumTestShellWithUrl(URL);
+
+ // Make sure the activity was created as expected.
+ assertNotNull(activity);
+ }
+}
« no previous file with comments | « build/all_android.gyp ('k') | chrome/android/testshell/java/chromium_testshell_apk.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698