OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 package org.chromium.chrome.test; |
| 6 |
| 7 import android.os.Build; |
| 8 |
| 9 import org.chromium.base.test.util.MinAndroidSdkLevel; |
| 10 import org.chromium.chrome.browser.document.DocumentActivity; |
| 11 import org.chromium.chrome.test.util.DisableInTabbedMode; |
| 12 |
| 13 /** |
| 14 * Base class for Instrumentation tests specific to DocumentActivity. |
| 15 */ |
| 16 @MinAndroidSdkLevel(Build.VERSION_CODES.LOLLIPOP) |
| 17 @DisableInTabbedMode |
| 18 public abstract class DocumentActivityTestBase |
| 19 extends ChromeActivityTestCaseBase<DocumentActivity> { |
| 20 |
| 21 private static final String TAG = "DocumentActivityTestBase"; |
| 22 |
| 23 public DocumentActivityTestBase() { |
| 24 super(org.chromium.chrome.browser.document.DocumentActivity.class); |
| 25 } |
| 26 |
| 27 @Override |
| 28 public void startMainActivity() throws InterruptedException { |
| 29 startMainActivityFromLauncher(); |
| 30 } |
| 31 |
| 32 } |
OLD | NEW |