Index: android_webview/shell_apk/src/org/chromium/android_webview/shell/AndroidWebViewTestShellApplication.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AndroidWebViewTestRunnerApplication.java b/android_webview/shell_apk/src/org/chromium/android_webview/shell/AndroidWebViewTestShellApplication.java |
similarity index 76% |
copy from android_webview/javatests/src/org/chromium/android_webview/test/AndroidWebViewTestRunnerApplication.java |
copy to android_webview/shell_apk/src/org/chromium/android_webview/shell/AndroidWebViewTestShellApplication.java |
index 55ca4ccf22eae896bbcbb19f03895c4a6fb5f545..44e64c2c90e92bb915273c1419b9115e82bd5333 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AndroidWebViewTestRunnerApplication.java |
+++ b/android_webview/shell_apk/src/org/chromium/android_webview/shell/AndroidWebViewTestShellApplication.java |
@@ -2,15 +2,17 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-package org.chromium.android_webview.test; |
+package org.chromium.android_webview.shell; |
import android.app.Application; |
+import android.content.Context; |
import org.chromium.android_webview.AwBrowserProcess; |
+import org.chromium.android_webview.test.AwTestResourceProvider; |
import org.chromium.content.browser.ResourceExtractor; |
import org.chromium.content.common.CommandLine; |
-public class AndroidWebViewTestRunnerApplication extends Application { |
+public class AndroidWebViewTestShellApplication extends Application { |
/** The minimum set of .pak files the test runner needs. */ |
private static final String[] MANDATORY_PAKS = { |
@@ -21,6 +23,8 @@ public class AndroidWebViewTestRunnerApplication extends Application { |
public void onCreate() { |
super.onCreate(); |
+ AwTestResourceProvider.registerResources(this); |
+ |
CommandLine.initFromFile("/data/local/chrome-command-line"); |
ResourceExtractor.setMandatoryPaksToExtract(MANDATORY_PAKS); |