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

Unified Diff: android_webview/tools/automated_ui_tests/java/src/org/chromium/webview_ui_test/WebViewUiTestActivity.java

Issue 2146713003: Refactor and add special test runner to support Espresso tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change after john and mike's comments Created 4 years, 5 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: android_webview/tools/automated_ui_tests/java/src/org/chromium/webview_ui_test/WebViewUiTestActivity.java
diff --git a/android_webview/tools/automated_ui_tests/java/src/org/chromium/webview_ui_test/WebViewUiTestActivity.java b/android_webview/tools/automated_ui_tests/java/src/org/chromium/webview_ui_test/WebViewUiTestActivity.java
deleted file mode 100644
index a8f8b5361e67f2200bca4636508ab1ac28848ba8..0000000000000000000000000000000000000000
--- a/android_webview/tools/automated_ui_tests/java/src/org/chromium/webview_ui_test/WebViewUiTestActivity.java
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2016 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.webview_ui_test;
-
-import android.app.Activity;
-import android.content.Intent;
-import android.os.Bundle;
-
-import org.chromium.base.Log;
-
-/**
- * Android app that uses WebView for UI Testing.
- */
-public class WebViewUiTestActivity extends Activity {
-
- private static final String TAG = "WebViewUiTest";
-
- public static final String EXTRA_TEST_LAYOUT_FILE =
- "org.chromium.webview_ui_app.WebViewUiTestActivity.LayoutFile";
-
- private String mLayout;
-
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
-
- parseArgumentsFromIntent(getIntent());
- if (mLayout != null) {
- setContentView(getResources().getIdentifier(
- mLayout, "layout", getPackageName()));
- } else {
- Log.e(TAG, "Must specify activity layout via intent argument.");
- }
- }
-
- private void parseArgumentsFromIntent(Intent intent) {
- mLayout = intent.getStringExtra(EXTRA_TEST_LAYOUT_FILE);
- }
-}

Powered by Google App Engine
This is Rietveld 408576698