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

Unified Diff: chrome/browser/ui/views/payments/payment_request_browsertest_base.h

Issue 2734693002: [Payments] Convert interactive tests to browsertests (Closed)
Patch Set: Initial Created 3 years, 9 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: chrome/browser/ui/views/payments/payment_request_browsertest_base.h
diff --git a/chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.h b/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
similarity index 93%
rename from chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.h
rename to chrome/browser/ui/views/payments/payment_request_browsertest_base.h
index a7b619a781983d3df3ca4519c33ca330bcd042f1..718e8b314b8df210062f64271e1140696b6095aa 100644
--- a/chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.h
+++ b/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_INTERACTIVE_UITEST_BASE_H_
-#define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_INTERACTIVE_UITEST_BASE_H_
+#ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_
+#define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_
#include <vector>
@@ -58,15 +58,15 @@ class PersonalDataLoadedObserverMock
// Base class for any interactive PaymentRequest test that will need to open
// the UI and interact with it.
-class PaymentRequestInteractiveTestBase
+class PaymentRequestBrowserTestBase
: public InProcessBrowserTest,
public PaymentRequestDialogView::ObserverForTest,
public views::WidgetObserver {
protected:
// Test will open a browser window to |test_file_path| (relative to
// chrome/test/data/payments).
- explicit PaymentRequestInteractiveTestBase(const std::string& test_file_path);
- ~PaymentRequestInteractiveTestBase() override;
+ explicit PaymentRequestBrowserTestBase(const std::string& test_file_path);
+ ~PaymentRequestBrowserTestBase() override;
void SetUpCommandLine(base::CommandLine* command_line) override;
void SetUpOnMainThread() override;
@@ -199,9 +199,9 @@ class PaymentRequestInteractiveTestBase
// Weak, owned by the PaymentRequest object.
TestChromePaymentRequestDelegate* delegate_;
- DISALLOW_COPY_AND_ASSIGN(PaymentRequestInteractiveTestBase);
+ DISALLOW_COPY_AND_ASSIGN(PaymentRequestBrowserTestBase);
};
} // namespace payments
-#endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_INTERACTIVE_UITEST_BASE_H_
+#endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_

Powered by Google App Engine
This is Rietveld 408576698