Add Android sample unit tests - #550
Merged
Merged
Conversation
This was referenced Jul 30, 2026
Merged
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Jul 30, 2026
kiftio
force-pushed
the
07-30-add_android_sample_unit_tests
branch
from
July 31, 2026 08:52
22a08df to
eba8cec
Compare
kiftio
force-pushed
the
07-29-encrypt_android_demo_customer_tokens
branch
from
July 31, 2026 09:14
2bcc8f9 to
55e0ab3
Compare
kiftio
force-pushed
the
07-30-add_android_sample_unit_tests
branch
2 times, most recently
from
August 3, 2026 12:37
d997263 to
b486e6e
Compare
kiftio
force-pushed
the
07-29-encrypt_android_demo_customer_tokens
branch
2 times, most recently
from
August 3, 2026 13:29
32bcaa2 to
72dca20
Compare
kiftio
force-pushed
the
07-30-add_android_sample_unit_tests
branch
from
August 3, 2026 13:29
b486e6e to
148e49a
Compare
kiftio
force-pushed
the
07-29-encrypt_android_demo_customer_tokens
branch
2 times, most recently
from
August 3, 2026 13:48
0a58dd7 to
ae965f4
Compare
kiftio
force-pushed
the
07-30-add_android_sample_unit_tests
branch
from
August 3, 2026 13:49
148e49a to
ca708be
Compare
kiftio
changed the base branch from
07-29-encrypt_android_demo_customer_tokens
to
graphite-base/550
August 4, 2026 10:22
kiftio
force-pushed
the
07-30-add_android_sample_unit_tests
branch
from
August 4, 2026 14:48
ca708be to
8ca1552
Compare
kiftio
force-pushed
the
graphite-base/550
branch
from
August 4, 2026 14:48
ae965f4 to
65974a9
Compare
kiftio
changed the base branch from
graphite-base/550
to
07-29-encrypt_android_demo_customer_tokens
August 4, 2026 14:48
kiftio
changed the base branch from
07-29-encrypt_android_demo_customer_tokens
to
graphite-base/550
August 4, 2026 15:21
kiftio
force-pushed
the
07-30-add_android_sample_unit_tests
branch
from
August 5, 2026 10:29
8ca1552 to
fdbc1a8
Compare
kiftio
force-pushed
the
graphite-base/550
branch
from
August 5, 2026 10:29
65974a9 to
03d0a9b
Compare
kiftio
force-pushed
the
08-05-setup_sample_lint_and_formatting
branch
from
August 5, 2026 11:00
6b9b36a to
1de829d
Compare
kiftio
changed the base branch from
08-05-setup_sample_lint_and_formatting
to
graphite-base/550
August 6, 2026 08:19
kiftio
force-pushed
the
graphite-base/550
branch
from
August 6, 2026 08:19
1de829d to
639d85f
Compare
kiftio
force-pushed
the
07-30-add_android_sample_unit_tests
branch
from
August 6, 2026 08:19
53b09d3 to
78797cf
Compare
kiftio
changed the base branch from
graphite-base/550
to
08-05-enable_magic_number_check
August 6, 2026 08:20
This was referenced Aug 6, 2026
kiftio
force-pushed
the
08-05-enable_magic_number_check
branch
from
August 6, 2026 15:35
639d85f to
7b0d44f
Compare
kiftio
force-pushed
the
07-30-add_android_sample_unit_tests
branch
from
August 6, 2026 15:36
78797cf to
740e002
Compare
kiftio
changed the base branch from
08-05-enable_magic_number_check
to
graphite-base/550
August 7, 2026 10:20
This was referenced Aug 7, 2026
Assisted-By: devx/a47337e5-f216-42b2-9a39-833b1582ddd4
kiftio
force-pushed
the
07-30-add_android_sample_unit_tests
branch
from
September 3, 2026 11:21
740e002 to
3c832f6
Compare
kiftio
marked this pull request as ready for review
September 3, 2026 11:54
Package Size
Android file breakdown
Measured from the PR base SHA and PR head SHA. The file breakdown shows uncompressed sizes within each package artifact, so individual files do not sum to the compressed artifact total. This comment reports package artifact sizes only; it is not a final app binary-size report. |
Install this buildOpen Tophat, select your target device, then click Install. Links open on the Mac running Tophat.
Checkout Kit E2E results
|
|
|
||
| @Test | ||
| fun `does not compare an invalid payload`() { | ||
| val result = json.diffPayload("not json", "{\"value\": 1}", changedStyle) |
Contributor
There was a problem hiding this comment.
are we testing a json lib here?
Contributor
Author
There was a problem hiding this comment.
we might undo this soon, but it's basically some custom code to highlight the change between events
kieran-osgood-shopify
approved these changes
Sep 4, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What changes are you making?
Add some initial unit tests for the android sample
How to test
platforms/android/samples/CheckoutKitAndroidDemo/gradlew -p platforms/android/samples/CheckoutKitAndroidDemo :app:testDebugUnitTest --console=plainor
dev android testBefore you merge
Important
platforms/swift/README.mdand/orplatforms/android/README.md)Releasing a new Swift version?
ShopifyCheckoutKit.podspecplatforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swiftplatforms/swift/README.md(major version only)Releasing a new Embedded Checkout Protocol version?
embeddedCheckoutProtocolAndroidinplatforms/android/gradle/libs.versions.tomlprotocol/languages/kotlin/embedded-checkout-protocol/api/embedded-checkout-protocol.apiif the public API changedReleasing a new Android version?
checkoutKitAndroidinplatforms/android/gradle/libs.versions.tomlplatforms/android/README.mdTip
See the Contributing documentation for the full release process per platform.