Skip to content
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

[WIP] Migrate from callbacks to async/await #21

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Fix tests [WIP]

c11d5b1
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

[WIP] Migrate from callbacks to async/await #21

Fix tests [WIP]
c11d5b1
Select commit
Loading
Failed to load commit list.
GitHub Actions / results-xcode-tests-iOS failed Nov 29, 2024 in 0s

Xcode test results

Testing project OAuth2 with scheme OAuth2iOS

Summary

TotalSuccess PassedFailure FailedSkipped SkippedExpected Failure Expected Failure⏱️ Time
50491000.80s

Test Summary

OAuth2Tests

  • Device: Apple Virtual Machine 1, 14.7.1 (23H222)
  • SDK: macOS 14.5, 14.5
TestTotalSuccessFailureSkippedExpected Failure
test-class OAuth2AuthRequestTests66000
test-class OAuth2ClientCredentialsTests55000
test-class OAuth2CodeGrantTests1212000
test-class OAuth2DataLoaderTests10100
test-class OAuth2DeviceGrantTests55000
test-class OAuth2DynRegTests33000
test-class OAuth2PasswordGrantTests44000
test-class OAuth2RefreshTokenTests55000
test-class OAuth2Tests99000

Failure Failures

OAuth2Tests/OAuth2DataLoaderTests/testAutoEnqueue()

File/Users/runner/work/oauth2-swift/oauth2-swift/Tests/DataLoaderTests/OAuth2DataLoaderTests.swift:67
Issue TypeAssertion Failure
MessageXCTAssertNotNil failed

Details

Test Details

OAuth2Testsback

OAuth2AuthRequestTests back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testContentType()
Successtest-method testHeaders()
Successtest-method testMethod()
Successtest-method testParams()
Successtest-method testRequests()
Successtest-method testURLComponents()

OAuth2ClientCredentialsTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testClientCredsReddit()
Successtest-method testFailedTokenRequest()
Successtest-method testInit()
Successtest-method testTokenRequest()
Successtest-method testTokenRequestNoScope()

OAuth2CodeGrantTests back

SuccessFailureSkippedExpected Failure⏱️
12 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testAuthorizeURI()
Successtest-method testAuthorizeURIWithPKCE()
Successtest-method testCustomAuthParameters()
Successtest-method testCustomAuthParametersInit()
Successtest-method testInit()
Successtest-method testNotTLS()
Successtest-method testRedirectURI()
Successtest-method testTokenRequest()
Successtest-method testTokenRequestAgainstAuthURL()
Successtest-method testTokenRequestWithPKCE()
Successtest-method testTokenRequestWithSecret()
Successtest-method testTokenResponse()

OAuth2DataLoaderTests back

SuccessFailureSkippedExpected Failure⏱️
0 (0%)1 (100%)0 (0%)0 (0%)0.80s
Failuretest-method testAutoEnqueue()back

OAuth2DeviceGrantTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testDeviceAccessTokenRequest()
Successtest-method testDeviceAccessTokenResponse()
Successtest-method testDeviceAuthorizationRequest()
Successtest-method testDeviceAuthorizationRequestWithAdditionalParams()
Successtest-method testInit()

OAuth2DynRegTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testCustomDynRegInstance()
Successtest-method testNotAttemptingRegistration()
Successtest-method testRegistrationRequest()

OAuth2PasswordGrantTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testInit()
Successtest-method testTokenRequest()
Successtest-method testTokenRequestNoScope()
Successtest-method testTokenResponse()

OAuth2RefreshTokenTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testCannotRefresh()
Successtest-method testRefreshRequest()
Successtest-method testRefreshRequestWithDedicatedRefreshURI()
Successtest-method testRefreshRequestWithSecret()
Successtest-method testRefreshRequestWithSecretInBody()

OAuth2Tests back

SuccessFailureSkippedExpected Failure⏱️
9 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testAuthorizeCall()
Successtest-method testAuthorizeURL()
Successtest-method testInit()
Successtest-method testQueryParamConversion()
Successtest-method testQueryParamEncoding()
Successtest-method testQueryParamParsing()
Successtest-method testSessionConfiguration()
Successtest-method testTokenRefreshRequest()
Successtest-method testTokenRequest()

Annotations

Check failure on line 67 in Tests/DataLoaderTests/OAuth2DataLoaderTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-iOS

Assertion Failure

XCTAssertNotNil failed