Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestModifierTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestModifierTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestModifierTest.java |
deleted file mode 100644 |
index 90de8a8da8c575f3c2eee4e06311294bf91f6a6b..0000000000000000000000000000000000000000 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestModifierTest.java |
+++ /dev/null |
@@ -1,47 +0,0 @@ |
-// Copyright 2017 The Chromium Authors. All rights reserved. |
please use gerrit instead
2017/05/22 13:17:10
Let's try to avoid deleting existing test cases.
wuandy1
2017/05/23 15:46:58
Done.
|
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-package org.chromium.chrome.browser.payments; |
- |
-import android.support.test.filters.MediumTest; |
- |
-import org.junit.Rule; |
-import org.junit.Test; |
-import org.junit.runner.RunWith; |
- |
-import org.chromium.base.test.util.CommandLineFlags; |
-import org.chromium.base.test.util.Feature; |
-import org.chromium.chrome.browser.ChromeSwitches; |
-import org.chromium.chrome.browser.payments.PaymentRequestTestRule.MainActivityStartCallback; |
-import org.chromium.chrome.test.ChromeActivityTestRule; |
-import org.chromium.chrome.test.ChromeJUnit4ClassRunner; |
- |
-import java.util.concurrent.ExecutionException; |
-import java.util.concurrent.TimeoutException; |
- |
-/** A payment request integration test for a merchant that uses a modifier. */ |
-@RunWith(ChromeJUnit4ClassRunner.class) |
-@CommandLineFlags.Add({ |
- ChromeSwitches.DISABLE_FIRST_RUN_EXPERIENCE, |
- ChromeActivityTestRule.DISABLE_NETWORK_PREDICTION_FLAG, |
-}) |
-public class PaymentRequestModifierTest implements MainActivityStartCallback { |
- @Rule |
- public PaymentRequestTestRule mPaymentRequestTestRule = |
- new PaymentRequestTestRule("payment_request_modifier_test.html", this); |
- |
- @Override |
- public void onMainActivityStarted() |
- throws InterruptedException, ExecutionException, TimeoutException {} |
- |
- /** Using modifiers should not crash. */ |
- @Test |
- @MediumTest |
- @Feature({"Payments"}) |
- public void testNoCrash() throws InterruptedException, ExecutionException, TimeoutException { |
- mPaymentRequestTestRule.openPageAndClickBuyAndWait(mPaymentRequestTestRule.getShowFailed()); |
- mPaymentRequestTestRule.expectResultContains( |
- new String[] {"The payment method is not supported"}); |
- } |
-} |