-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove powermock legacy build.gradle variables. * Remove powermock dependency from GooglePlay unit tests. * Remove powermock dependency from AmericanExpress unit tests. * Remove powermock dependency from PayPalDataCollector unit tests. * Remove powermock test dependency from BraintreeCore unit tests. * Remove powermock dependency from BraintreeDataCollector. * Remove power mock dependency from sepa direct debit. * Remove powermock from Card module test dependencies. * Remove powermock from Local Payment module test dependencies. * Remove power mock from paypal module unit tests. * Remove powermock dependency from SamsungPay module unit tests. * Remove powermock dependency from Venmo module unit tests. * Remove powermock dependency from UnionPay module unit tests. * Remove powermock from TestUtils module compile only dependencies. * Update mockito version to latest and migrate shared utils away from power mock. * Migrate MockBraintreeClientBuilder to updated mockito matchers. * Fix AmericanExpress module mockito upgrade build errors. * Fix Card module mockito upgrade errors. * Fix GooglePayClient mockito upgrade errors. * Fix LocalPayment mockito upgrade errors. * Fix PayPal module mockito upgrade errors. * Fix UnionPay mockito upgrade issues. * Fix Venmo mockito upgrade errors. * Update broken mockito imports in PayPalNativeCheckout. * Modify ThreeDSecure module to use mockito core instead of powermock. * Refactor PayPalNativeCheckoutClientUnitTest to use mockk. * Remove power mock from paypal native checkout module. * Migrate VisaCheckoutAccountUnitTest to Kotlin and mockk. * Refactor VisaCheckoutClient to no longer use powermock. * Remove powermock dependency from visa checkout module. * Remove mention of powermock from build.gradle. * Remove Google Pay duct tape for mockito unit test. * Port CardinalClient updated unit tests. * Remove unused stub.
- Loading branch information
1 parent
e139d80
commit 87a71a0
Showing
58 changed files
with
1,160 additions
and
1,288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
LocalPayment/src/test/java/com/braintreepayments/api/MockLocalPaymentApiBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
PayPal/src/test/java/com/braintreepayments/api/MockPayPalInternalClientBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...t/src/main/java/com/braintreepayments/api/PayPalNativeCheckoutInternalClientCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.braintreepayments.api; | ||
|
||
import androidx.annotation.Nullable; | ||
import androidx.annotation.RestrictTo; | ||
|
||
/** | ||
* @hide | ||
*/ | ||
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) | ||
public interface PayPalNativeCheckoutInternalClientCallback { | ||
void onResult(@Nullable PayPalNativeCheckoutResponse payPalResponse, @Nullable Exception error); | ||
} |
Oops, something went wrong.