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

Side by Side Diff: content/public/test/android/javatests/src/org/chromium/content/browser/test/ContentInstrumentationTestRunner.java

Issue 2814533002: Adding a new annotation to set ChildProcessAllocator settings in tests. (Closed)
Patch Set: Clean-up Created 3 years, 8 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.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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698