-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[in_app_purchase_storekit] convert TranslatorTests to swift #7232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
e2d1d04
94926bb
665d17c
476e313
7a00574
d8b6470
b6bb804
2975698
052fecf
17b8469
2e9ffb7
8c0b795
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
## 0.3.17+3 | ||
|
||
* Converts TranslatorTests to swift. | ||
|
||
## 0.3.17+2 | ||
|
||
* Converts FIAPPaymentQueueDeleteTests to swift. | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../shared/RunnerTests/TranslatorTests.swift |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../shared/RunnerTests/TranslatorTests.swift | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,7 @@ final class InAppPurchasePluginTests: XCTestCase { | |
} | ||
|
||
XCTAssertEqual(unwrappedProducts.count, 1) | ||
XCTAssertEqual(response.invalidProductIdentifiers, nil) | ||
XCTAssertEqual(response.invalidProductIdentifiers, []) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why this behavior change? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. obj-c let me pass in a nil with no objections, but invalidProductIdentifiers is not an optional field in swift version of the api https://developer.apple.com/documentation/storekit/skproductsresponse/1505985-invalidproductidentifiers |
||
XCTAssertEqual(unwrappedProducts[0].productIdentifier, "123") | ||
expectation.fulfill() | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what are these files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the actual test file gets put in shared/RunnerTests and the ios/macos workspaces just symlink to it. i guess this is what the symlinks look like