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

Unified Diff: chrome/test/android/javatests_staging/src/org/chromium/chrome/test/DocumentActivityTestBase.java

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? Created 5 years, 7 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/test/android/javatests_staging/src/org/chromium/chrome/test/DocumentActivityTestBase.java
diff --git a/chrome/test/android/javatests_staging/src/org/chromium/chrome/test/DocumentActivityTestBase.java b/chrome/test/android/javatests_staging/src/org/chromium/chrome/test/DocumentActivityTestBase.java
new file mode 100644
index 0000000000000000000000000000000000000000..3ec11b968de24f8118b5387b7cafbbf322a54345
--- /dev/null
+++ b/chrome/test/android/javatests_staging/src/org/chromium/chrome/test/DocumentActivityTestBase.java
@@ -0,0 +1,32 @@
+// Copyright 2015 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.test;
+
+import android.os.Build;
+
+import org.chromium.base.test.util.MinAndroidSdkLevel;
+import org.chromium.chrome.browser.document.DocumentActivity;
+import org.chromium.chrome.test.util.DisableInTabbedMode;
+
+/**
+ * Base class for Instrumentation tests specific to DocumentActivity.
+ */
+@MinAndroidSdkLevel(Build.VERSION_CODES.LOLLIPOP)
+@DisableInTabbedMode
+public abstract class DocumentActivityTestBase
+ extends ChromeActivityTestCaseBase<DocumentActivity> {
+
+ private static final String TAG = "DocumentActivityTestBase";
+
+ public DocumentActivityTestBase() {
+ super(org.chromium.chrome.browser.document.DocumentActivity.class);
+ }
+
+ @Override
+ public void startMainActivity() throws InterruptedException {
+ startMainActivityFromLauncher();
+ }
+
+}

Powered by Google App Engine
This is Rietveld 408576698