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

Unified Diff: components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsActivity.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/ComponentsBrowserTestsActivity.java
diff --git a/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java b/components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsActivity.java
similarity index 85%
copy from content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java
copy to components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsActivity.java
index bc95f1cbe83fe9223dfe025aee6b8e8747b7d581..bbf2461f158b360f734173c282031b369ebac98f 100644
--- a/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java
+++ b/components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsActivity.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.app.Activity;
import android.content.Context;
@@ -23,11 +23,11 @@ import org.chromium.ui.base.ActivityWindowAndroid;
import org.chromium.ui.base.WindowAndroid;
/**
- * Android activity for running content browser tests
+ * Android activity for running components browser tests
*/
-@JNINamespace("content")
-public class ContentBrowserTestsActivity extends Activity {
- private static final String TAG = "ChromeBrowserTestsActivity";
+@JNINamespace("components")
+public class ComponentsBrowserTestsActivity extends Activity {
+ private static final String TAG = "ComponentsBrowserTestsActivity";
private ShellManager mShellManager;
private WindowAndroid mWindowAndroid;
@@ -40,7 +40,7 @@ public class ContentBrowserTestsActivity extends Activity {
try {
LibraryLoader.get(LibraryProcessType.PROCESS_BROWSER).ensureInitialized();
} catch (ProcessInitException e) {
- Log.i(TAG, "Cannot load content_browsertests:" + e);
+ Log.i(TAG, "Cannot load components_browsertests:" + e);
System.exit(-1);
}
BrowserStartupController.get(getApplicationContext(), LibraryProcessType.PROCESS_BROWSER)

Powered by Google App Engine
This is Rietveld 408576698