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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp

Issue 2967013002: Be explicit about namespace testing to not mix it with blink::testing (Closed)
Patch Set: Dropped mojo parts that need another review. Created 3 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: third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp
index 6f6c3870869b44e548a0f5ac3837f4e32738e446..f65812d81c09c577154fc986ae5ff32ea00957ae 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp
@@ -48,8 +48,8 @@ TEST(PaymentRequestUpdateEventTest, OnUpdatePaymentDetailsCalled) {
scope.GetExceptionState());
EXPECT_FALSE(scope.GetExceptionState().HadException());
- EXPECT_CALL(*updater, OnUpdatePaymentDetails(testing::_));
- EXPECT_CALL(*updater, OnUpdatePaymentDetailsFailure(testing::_)).Times(0);
+ EXPECT_CALL(*updater, OnUpdatePaymentDetails(::testing::_));
+ EXPECT_CALL(*updater, OnUpdatePaymentDetailsFailure(::testing::_)).Times(0);
payment_details->Resolve("foo");
}
@@ -67,8 +67,8 @@ TEST(PaymentRequestUpdateEventTest, OnUpdatePaymentDetailsFailureCalled) {
scope.GetExceptionState());
EXPECT_FALSE(scope.GetExceptionState().HadException());
- EXPECT_CALL(*updater, OnUpdatePaymentDetails(testing::_)).Times(0);
- EXPECT_CALL(*updater, OnUpdatePaymentDetailsFailure(testing::_));
+ EXPECT_CALL(*updater, OnUpdatePaymentDetails(::testing::_)).Times(0);
+ EXPECT_CALL(*updater, OnUpdatePaymentDetailsFailure(::testing::_));
payment_details->Reject("oops");
}

Powered by Google App Engine
This is Rietveld 408576698