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.content.browser.test; |
| 6 |
| 7 import org.chromium.base.test.BaseChromiumInstrumentationTestRunner; |
| 8 import org.chromium.base.test.BaseTestResult; |
| 9 |
| 10 /** |
| 11 * An instrumentation test runner similar to BaseInstrumentationTestRunner but w
hich also registers |
| 12 * content specific annotations. |
| 13 */ |
| 14 public class ContentInstrumentationTestRunner extends BaseChromiumInstrumentatio
nTestRunner { |
| 15 @Override |
| 16 protected void addTestHooks(BaseTestResult result) { |
| 17 super.addTestHooks(result); |
| 18 result.addPreTestHook(new ChildProcessAllocatorSettingsHook()); |
| 19 } |
| 20 } |
OLD | NEW |