/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/payments/ |
H A D | PaymentRequestPaymentAppTest.java | 17 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 D | PaymentRequestPaymentAppAndCardsTest.java | 22 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 D | PaymentRequestPaymentAppUiSkipTest.java | 20 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 D | PaymentRequestPaymentAppUiSkipPreloadTest.java | 20 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 D | PaymentRequestPaymentAppCanMakePaymentQueryTest.java | 17 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 D | PaymentRequestCanMakePaymentQueryTest.java | 20 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 D | PaymentRequestCanMakePaymentQueryNoCardTest.java | 20 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 D | PaymentRequestShowPromiseDigitalGoodsTest.java | 20 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 D | PaymentRequestShowPromiseUSOnlyShippingTest.java | 21 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 D | PaymentRequestJourneyLoggerTest.java | 23 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 D | PaymentRequestShowPromiseSingleOptionShippingTest.java | 21 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 D | PaymentRequestShowPromiseSingleOptionShippingWithUpdateTest.java | 21 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 D | PaymentRequestCanMakePaymentMetricsTest.java | 27 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 D | PaymentRequestShowPromiseRejectTest.java | 17 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence; 46 mRule.addPaymentAppFactory("basic-card", AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testReject()
|
H A D | PaymentRequestShowPromiseEmptyListsTest.java | 21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence; 55 mRule.addPaymentAppFactory("basic-card", AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testResolveWithEmptyLists()
|
H A D | PaymentRequestShowPromiseEmptyTest.java | 21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence; 54 mRule.addPaymentAppFactory("basic-card", AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in testResolveWithEmptyDictionary()
|
H A D | PaymentRequestPaymentAppAndBasicCardWithModifiersTest.java | 28 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 D | PaymentRequestMetricsTest.java | 26 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 D | PaymentRequestPayerDetailChangeTest.java | 21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence; 58 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in onMainActivityStarted()
|
H A D | PaymentRequestIncompletePhoneTest.java | 21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence; 54 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in onMainActivityStarted()
|
H A D | PaymentRequestIncompleteEmailTest.java | 21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence; 55 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in onMainActivityStarted()
|
H A D | PaymentRequestIncompleteContactDetailsAndFreeShippingTest.java | 21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence; 57 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in onMainActivityStarted()
|
H A D | PaymentRequestIncompleteContactDetailsTest.java | 21 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence; 55 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in onMainActivityStarted()
|
H A D | PaymentRequestPhoneTest.java | 22 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence; 74 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in onMainActivityStarted()
|
H A D | PaymentRequestEmailTest.java | 22 import org.chromium.chrome.browser.payments.PaymentRequestTestRule.AppPresence; 74 AppPresence.HAVE_APPS, FactorySpeed.FAST_FACTORY); in onMainActivityStarted()
|