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

Side by Side Diff: base/test/android/javatests/src/org/chromium/base/test/BaseChromiumAndroidJUnitRunner.java

Issue 2632043002: Create ContentShellActivityTestRule and BaseJUnitRunner (Closed)
Patch Set: Change javadoc Created 3 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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.base.test;
6
7 import android.os.Bundle;
8 import android.support.test.runner.AndroidJUnitRunner;
9
10 import org.chromium.base.multidex.ChromiumMultiDexInstaller;
11
12 /**
13 * A custom AndroidJUnitRunner that supports multidex installer.
14 *
15 * This class is the equivalent of BaseChromiumInstrumentationTestRunner in JUni t3. Please
16 * beware that is this not a class runner. It is declared in test apk AndroidMan ifest.xml
17 * <instrumentation>
18 */
19 public class BaseChromiumAndroidJUnitRunner extends AndroidJUnitRunner {
20 @Override
21 public void onCreate(Bundle arguments) {
22 ChromiumMultiDexInstaller.install(getTargetContext());
23 super.onCreate(arguments);
24 }
25 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | content/public/android/javatests/src/org/chromium/content/browser/ClipboardTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698