Home
last modified time | relevance | path

Searched refs:AppPresence (Results 1 – 25 of 30) sorted by relevance

12

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/payments/
H A DPaymentRequestPaymentAppTest.java17 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
61 AppPresence.NO_APPS, FactorySpeed.FAST_FACTORY); in testNoAppsInFastBobPayFactory()
76 AppPresence.NO_APPS, FactorySpeed.SLOW_FACTORY); in testNoAppsInSlowBobPayFactory()
88 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testAppsCreatedAfterDismissShouldNotCrash()
106 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testFactoryActivityAfterDismissShouldNotCrash()
125 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testPayViaFastBobPayFactory()
140 AppPresence.HAVE_APPS, FactorySpeed.SLOW_FACTORY); in testPayViaSlowBobPayFactory()
154 mPaymentRequestTestRule.addPaymentAppFactory("https://bobpay.com", AppPresence.HAVE_APPS, in testPayViaDelayedFastBobPay()
169 mPaymentRequestTestRule.addPaymentAppFactory("https://bobpay.com", AppPresence.HAVE_APPS, in testPayViaDelayedSlowBobPay()
H A DPaymentRequestPaymentAppAndCardsTest.java22 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
70 runTest(AppPresence.NO_APPS, FactorySpeed.FAST_FACTORY); in testNoAppsInFastBobPayFactory()
81 runTest(AppPresence.NO_APPS, FactorySpeed.SLOW_FACTORY); in testNoAppsInSlowBobPayFactory()
92 runTest(AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testHaveAppsInFastBobPayFactory()
103 runTest(AppPresence.HAVE_APPS, FactorySpeed.SLOW_FACTORY); in testHaveAppsInSlowBobPayFactory()
148 private void runTest(@AppPresence int appPresence, @FactorySpeed int factorySpeed) in runTest()
156 Assert.assertEquals(appPresence == AppPresence.HAVE_APPS ? 3 : 2, in runTest()
161 if (appPresence == AppPresence.HAVE_APPS) { in runTest()
182 if (appPresence == AppPresence.HAVE_APPS) { in runTest()
H A DPaymentRequestPaymentAppUiSkipTest.java20 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
53 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testFail()
70 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testPayViaFastBobPay()
85 AppPresence.HAVE_APPS, FactorySpeed.SLOW_FACTORY); in testPayViaSlowBobPay()
99 mPaymentRequestTestRule.addPaymentAppFactory("https://bobpay.com", AppPresence.HAVE_APPS, in testPayViaDelayedFastBobPay()
114 mPaymentRequestTestRule.addPaymentAppFactory("https://bobpay.com", AppPresence.HAVE_APPS, in testPayViaDelayedSlowBobPay()
133 mPaymentRequestTestRule.addPaymentAppFactory("https://bobpay.com", AppPresence.HAVE_APPS, in testTwoPaymentsAppsWithTheSamePaymentMethodName()
135 mPaymentRequestTestRule.addPaymentAppFactory("https://bobpay.com", AppPresence.HAVE_APPS, in testTwoPaymentsAppsWithTheSamePaymentMethodName()
H A DPaymentRequestPaymentAppUiSkipPreloadTest.java20 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
59 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testPayViaFastBobPay()
74 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testPayViaSlowBobPay()
88 mPaymentRequestTestRule.addPaymentAppFactory("https://bobpay.com", AppPresence.HAVE_APPS, in testPayViaDelayedFastBobPay()
103 mPaymentRequestTestRule.addPaymentAppFactory("https://bobpay.com", AppPresence.HAVE_APPS, in testPayViaDelayedSlowBobPay()
122 mPaymentRequestTestRule.addPaymentAppFactory("https://bobpay.com", AppPresence.HAVE_APPS, in testTwoPaymentsAppsWithTheSamePaymentMethodName()
124 mPaymentRequestTestRule.addPaymentAppFactory("https://bobpay.com", AppPresence.HAVE_APPS, in testTwoPaymentsAppsWithTheSamePaymentMethodName()
H A DPaymentRequestPaymentAppCanMakePaymentQueryTest.java17 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
52 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testBobPayInstalledLater()
66 AppPresence.NO_APPS, FactorySpeed.FAST_FACTORY); in testNoAppsInFastBobPayFactory()
86 AppPresence.NO_APPS, FactorySpeed.SLOW_FACTORY); in testNoAppsInSlowBobPayFactory()
106 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testPayViaFastBobPay()
125 AppPresence.HAVE_APPS, FactorySpeed.SLOW_FACTORY); in testPayViaSlowBobPayFactory()
H A DPaymentRequestCanMakePaymentQueryTest.java20 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
66 AppPresence.NO_APPS, FactorySpeed.FAST_FACTORY); in testNoAppsInFastBobPayFactory()
77 AppPresence.NO_APPS, FactorySpeed.SLOW_FACTORY); in testNoAppsInSlowBobPayFactory()
88 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testPayWithFastBobPayFactory()
99 AppPresence.HAVE_APPS, FactorySpeed.SLOW_FACTORY); in testPayWithSlowBobPayFactory()
H A DPaymentRequestCanMakePaymentQueryNoCardTest.java20 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
70 AppPresence.NO_APPS, FactorySpeed.FAST_FACTORY); in testNoAppInFastBobPayInFactory()
85 AppPresence.NO_APPS, FactorySpeed.SLOW_FACTORY); in testNoAppsInSlowBobPayFactory()
100 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testPayWithFastBobPayFactory()
111 AppPresence.HAVE_APPS, FactorySpeed.SLOW_FACTORY); in testPayWithSlowBobPayFactory()
H A DPaymentRequestShowPromiseDigitalGoodsTest.java20 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
55 mRule.addPaymentAppFactory("basic-card", AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testDigitalGoodsFastApp()
78 "basic-card", AppPresence.HAVE_APPS, FactorySpeed.SLOW_FACTORY, AppSpeed.SLOW_APP); in testDigitalGoodsSlowApp()
100 mRule.addPaymentAppFactory("basic-card", AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testSkipUIFastApp()
115 "basic-card", AppPresence.HAVE_APPS, FactorySpeed.SLOW_FACTORY, AppSpeed.SLOW_APP); in testSkipUISlowApp()
H A DPaymentRequestShowPromiseUSOnlyShippingTest.java21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
51 mRule.addPaymentAppFactory("basic-card", AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testCannotShipWithFastApp()
60 "basic-card", AppPresence.HAVE_APPS, FactorySpeed.SLOW_FACTORY, AppSpeed.SLOW_APP); in testCannotShipWithSlowApp()
85 mRule.addPaymentAppFactory("basic-card", AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testCanShipWithFastApp()
94 "basic-card", AppPresence.HAVE_APPS, FactorySpeed.SLOW_FACTORY, AppSpeed.SLOW_APP); in testCanShipWithSlowApp()
H A DPaymentRequestJourneyLoggerTest.java23 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
144 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testNumberOfSuggestionsShown_PaymentMethod_Completed()
173 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testNumberOfSuggestionsShown_PaymentMethod_AbortedByUser()
203 AppPresence.NO_APPS, FactorySpeed.FAST_FACTORY); in testNumberOfSuggestionsShown_PaymentMethod_InvalidPaymentApp()
419 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testUserDidNotHaveCompleteSuggestions_ShippingAndPayment_OnlyPaymentApp()
452 AppPresence.NO_APPS, FactorySpeed.FAST_FACTORY); in testUserDidNotHaveCompleteSuggestions_PaymentApp_NoApps()
486 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testUserHadCompleteSuggestions_PaymentApp_HasValidPaymentApp()
595 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testUserHadCompleteSuggestions_AcceptsCardsAndApps_UserHasOnlyPaymentApp()
634 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testUserHadCompleteSuggestions_AcceptsCardsAndApps_UserHasCardAndPaymentApp()
772 "https://android.com/pay", AppPresence.NO_APPS, FactorySpeed.SLOW_FACTORY); in testNoShow()
H A DPaymentRequestShowPromiseSingleOptionShippingTest.java21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
61 mRule.addPaymentAppFactory("basic-card", AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testFastApp()
76 "basic-card", AppPresence.HAVE_APPS, FactorySpeed.SLOW_FACTORY, AppSpeed.SLOW_APP); in testSlowApp()
H A DPaymentRequestShowPromiseSingleOptionShippingWithUpdateTest.java21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
61 mRule.addPaymentAppFactory("basic-card", AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testFastApp()
76 "basic-card", AppPresence.HAVE_APPS, FactorySpeed.SLOW_FACTORY, AppSpeed.SLOW_APP); in testSlowApp()
H A DPaymentRequestCanMakePaymentMetricsTest.java27 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
164 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testCanMakePayment_MerchantAbort()
200 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testCanMakePayment_Complete()
241 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testCanMakePaymentDisabled_Complete()
307 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testNoQuery_Complete()
H A DPaymentRequestShowPromiseRejectTest.java17 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
46 mRule.addPaymentAppFactory("basic-card", AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testReject()
H A DPaymentRequestShowPromiseEmptyListsTest.java21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
55 mRule.addPaymentAppFactory("basic-card", AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testResolveWithEmptyLists()
H A DPaymentRequestShowPromiseEmptyTest.java21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
54 mRule.addPaymentAppFactory("basic-card", AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testResolveWithEmptyDictionary()
H A DPaymentRequestPaymentAppAndBasicCardWithModifiersTest.java28 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
80 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testUpdateTotalAndInstrumentLabelWithBobPayModifiers()
206 AppPresence.HAVE_APPS, FactorySpeed.SLOW_FACTORY); in testPaymentAppCanPayWithModifiers()
H A DPaymentRequestMetricsTest.java26 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
325 "https://android.com/pay", AppPresence.NO_APPS, FactorySpeed.SLOW_FACTORY); in testMetrics_NoMatchingPaymentMethod()
434 "https://android.com/pay", AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testSelectedPaymentMethod_AndroidPay()
460 "https://android.com/pay", AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testMetrics_SkippedShow()
496 "https://android.com/pay", AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testMetrics_SkippedShow_Disabled()
H A DPaymentRequestPayerDetailChangeTest.java21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
58 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in onMainActivityStarted()
H A DPaymentRequestIncompletePhoneTest.java21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
54 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in onMainActivityStarted()
H A DPaymentRequestIncompleteEmailTest.java21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
55 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in onMainActivityStarted()
H A DPaymentRequestIncompleteContactDetailsAndFreeShippingTest.java21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
57 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in onMainActivityStarted()
H A DPaymentRequestIncompleteContactDetailsTest.java21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
55 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in onMainActivityStarted()
H A DPaymentRequestPhoneTest.java22 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
74 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in onMainActivityStarted()
H A DPaymentRequestEmailTest.java22 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence;
74 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in onMainActivityStarted()

12