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

Unified Diff: android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTestRunner.java

Issue 2633733002: Convert WebView Layout test to JUnit4 (Closed)
Patch Set: rebase Created 3 years, 10 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/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTestRunner.java
diff --git a/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTestRunner.java b/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTestRunner.java
deleted file mode 100644
index f415413bd5a6c894f3bc2e1a06aa6e42d6e73b04..0000000000000000000000000000000000000000
--- a/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTestRunner.java
+++ /dev/null
@@ -1,29 +0,0 @@
-// 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.webview_shell.test;
-
-import android.os.Bundle;
-
-import org.chromium.base.test.BaseInstrumentationTestRunner;
-
-/**
- * Customized test runner for running instrumentation tests in WebViewBrowserTests.
- */
-public class WebViewLayoutTestRunner extends BaseInstrumentationTestRunner {
- private String mModeArgument;
- private static final String MODE_REBASELINE = "rebaseline";
-
- @Override
- public void onCreate(Bundle arguments) {
- super.onCreate(arguments);
- if (arguments != null) {
- mModeArgument = arguments.getString("mode");
- }
- }
-
- public boolean isRebaseline() {
- return mModeArgument != null ? mModeArgument.equals(MODE_REBASELINE) : false;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698