Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 runner for JUnit4 tests that checks requirements to conditionally i gnore tests. | |
| 14 */ | |
| 15 public class BaseJUnitRunner extends AndroidJUnitRunner { | |
|
boliu
2017/03/02 21:12:02
is this on the right CL?
the real yoland
2017/03/02 21:26:56
Yes, we do want to use this runner for content_she
| |
| 16 @Override | |
| 17 public void onCreate(Bundle arguments) { | |
| 18 ChromiumMultiDexInstaller.install(getTargetContext()); | |
| 19 super.onCreate(arguments); | |
| 20 } | |
| 21 } | |
| OLD | NEW |