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

Unified Diff: components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java

Issue 1075783002: Enable components_browsertests on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN build and add java dependency to components/test/DEPS Created 5 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 side-by-side diff with in-line comments
Download patch
Index: components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java
diff --git a/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsApplication.java b/components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java
similarity index 64%
copy from content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsApplication.java
copy to components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java
index 5b683e072ebe6d2305e1add487447c46ee79185c..91ee597b9e6984623986b9b4bcafe810d15d0048 100644
--- a/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsApplication.java
+++ b/components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java
@@ -1,8 +1,8 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.content_browsertests_apk;
+package org.chromium.components_browsertests_apk;
import android.content.Context;
@@ -13,15 +13,11 @@ import org.chromium.base.ResourceExtractor;
/**
* A basic content browser tests {@link android.app.Application}.
*/
-public class ContentBrowserTestsApplication extends BaseChromiumApplication {
-
- private static final String[] MANDATORY_PAK_FILES = new String[] {
- "content_shell.pak",
- "icudtl.dat",
- "natives_blob.bin",
- "snapshot_blob.bin"
- };
- private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "content_shell";
+public class ComponentsBrowserTestsApplication extends BaseChromiumApplication {
+ private static final String[] MANDATORY_PAK_FILES =
+ new String[] {"components_tests_resources.pak", "content_shell.pak", "icudtl.dat",
+ "natives_blob.bin", "snapshot_blob.bin"};
+ private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "components_shell";
@Override
public void onCreate() {
@@ -33,5 +29,4 @@ public class ContentBrowserTestsApplication extends BaseChromiumApplication {
ResourceExtractor.setMandatoryPaksToExtract(MANDATORY_PAK_FILES);
PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX, context);
}
-
}
« no previous file with comments | « components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsActivity.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698