feat(jwt): add dsl claims builder #32
GitHub Actions / Xcode test results
failed
May 29, 2024 in 0s
Xcode test results
Testing workspace jose-swift with scheme jose-swift-Package
Summary
Total | Passed | Failed | Skipped | Expected Failure | ⏱️ Time |
---|---|---|---|---|---|
83 | 82 | 1 | 0 | 0 | 28.32s |
Test Summary
JWATests
- Device: Mac mini, 13.6.6 (22G630)
- SDK: macOS 14.0, 14.0
Test | Total | ||||
---|---|---|---|---|---|
C20PTests | 1 | 1 | 0 | 0 | 0 |
EdDSATests | 1 | 1 | 0 | 0 | 0 |
Secp256k1Tests | 8 | 8 | 0 | 0 | 0 |
JWETests
- Device: Mac mini, 13.6.6 (22G630)
- SDK: macOS 14.0, 14.0
Test | Total | ||||
---|---|---|---|---|---|
AESTests | 6 | 6 | 0 | 0 | 0 |
DirectTests | 1 | 1 | 0 | 0 | 0 |
ECDH1PUTests | 6 | 6 | 0 | 0 | 0 |
ECDHESTests | 3 | 3 | 0 | 0 | 0 |
PBES2Tests | 4 | 4 | 0 | 0 | 0 |
RFC7516Tests | 4 | 4 | 0 | 0 | 0 |
RFC7520Tests | 12 | 12 | 0 | 0 | 0 |
RSATests | 2 | 2 | 0 | 0 | 0 |
JWKTests
- Device: Mac mini, 13.6.6 (22G630)
- SDK: macOS 14.0, 14.0
Test | Total | ||||
---|---|---|---|---|---|
JWKThumbprintTests | 1 | 1 | 0 | 0 | 0 |
JWSTests
- Device: Mac mini, 13.6.6 (22G630)
- SDK: macOS 14.0, 14.0
Test | Total | ||||
---|---|---|---|---|---|
JWSJsonTests | 7 | 7 | 0 | 0 | 0 |
JWSTests | 7 | 7 | 0 | 0 | 0 |
RFC7515Tests | 10 | 10 | 0 | 0 | 0 |
JWTTests
- Device: Mac mini, 13.6.6 (22G630)
- SDK: macOS 14.0, 14.0
Test | Total | ||||
---|---|---|---|---|---|
JWTTests | 10 | 9 | 1 | 0 | 0 |
Failures
JWTTests/JWTTests/testClaims()
File | /Users/runner/work/jose-swift/jose-swift/Tests/JWTTests/JWTTests.swift:236 |
Issue Type | Assertion Failure |
Message | XCTAssertEqual failed: ("{"aud":"testAud","exp":1609459200,"iat":1609459200,"iss":"testIssuer","jti":"ThisIdentifier","nbf":1609459200,"sub":"testSubject","testArray":["valueArray1","valueArray2",true,["nestedNestedArray1"],{"nestedNestedObject":"nestedNestedValue"}],"testBool1":true,"testN1":0,"testN2":1.1000000000000001,"testN3":1.2332320000000001,"testObject":{"testDicStr1":"valueDic1"},"testStr1":"value1"}") is not equal to ("{"aud":"testAud","exp":1609459200,"iat":1609459200,"iss":"testIssuer","jti":"ThisIdentifier","nbf":1609459200,"sub":"testSubject","testArray":["valueArray1","valueArray2",true,["nestedNestedArray1"],{"nestedNestedObject":"nestedNestedValue"}],"testBool1":true,"testN1":0,"testN2":1.1,"testN3":1.233232,"testObject":{"testDicStr1":"valueDic1"},"testStr1":"value1"}") |
Code Coverage
Details
Test Details
JWATests
C20PTests
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testC20PCycle()
|
EdDSATests
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testEdDSACycle()
|
Secp256k1Tests
⏱️ | ||||
---|---|---|---|---|
8 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
JWETests
AESTests
⏱️ | ||||
---|---|---|---|---|
6 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testAES128Cycle()
| |
testAES128GCMCycle()
| |
testAES192Cycle()
| |
testAES192GCMCycle()
| |
testAES256Cycle()
| |
testAES256GCMCycle()
|
DirectTests
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testDirectCycle()
|
ECDH1PUTests
⏱️ | ||||
---|---|---|---|---|
6 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
testECDH1PUA128KWCycle()
| |
testECDH1PUA192KWCycle()
| |
testECDH1PUA256KW_C20PKWCycle()
| |
testECDH1PUA256KWCurve25519Cycle()
| |
testECDH1PUA256KWCycle()
| |
testECDH1PUCycle()
|
ECDHESTests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testECDHESA256KW_C20PKWCycle()
| |
testECDHESA256KWCycle()
| |
testECDHESCycle()
|
PBES2Tests
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 28.07s |
testJWEPBES2_HS512_A256KW()
| |
testPBES2_HS256_A128KW()
| |
testPBES2_HS384_A192KW()
| |
testPBES2_HS512_A256KW()
|
RFC7516Tests
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.06s |
testA_1_7()
| |
testA_1()
| |
testA_3()
| |
testA_4()
|
RFC7520Tests
⏱️ | ||||
---|---|---|---|---|
12 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
RSATests
⏱️ | ||||
---|---|---|---|---|
2 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.16s |
testRSAOAEP256Cycle()
| |
testRSAOAEPCycle()
|
JWKTests
JWKThumbprintTests
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
test_RFC8037_Appendix_A_3()
|
JWSTests
JWSJsonTests
⏱️ | ||||
---|---|---|---|---|
7 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
JWSTests
⏱️ | ||||
---|---|---|---|---|
7 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
RFC7515Tests
⏱️ | ||||
---|---|---|---|---|
10 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
JWTTests
JWTTests
⏱️ | ||||
---|---|---|---|---|
9 (90%) | 1 (10%) | 0 (0%) | 0 (0%) | 0.00s |
testClaims()
| |
testEmptyClaims()
| |
testFailAudienceValidation()
| |
testFailExpirationValidation()
| |
testFailIssuedAtValidation()
| |
testFailIssuerValidation()
| |
testFailNotBeforeValidation()
| |
testParseSignedJWT()
| |
testSignAndVerify()
| |
testSingleClaim()
|
Annotations
Check failure on line 236 in jose-swift/Tests/JWTTests/JWTTests.swift
github-actions / Xcode test results
Assertion Failure
XCTAssertEqual failed: ("{"aud":"testAud","exp":1609459200,"iat":1609459200,"iss":"testIssuer","jti":"ThisIdentifier","nbf":1609459200,"sub":"testSubject","testArray":["valueArray1","valueArray2",true,["nestedNestedArray1"],{"nestedNestedObject":"nestedNestedValue"}],"testBool1":true,"testN1":0,"testN2":1.1000000000000001,"testN3":1.2332320000000001,"testObject":{"testDicStr1":"valueDic1"},"testStr1":"value1"}") is not equal to ("{"aud":"testAud","exp":1609459200,"iat":1609459200,"iss":"testIssuer","jti":"ThisIdentifier","nbf":1609459200,"sub":"testSubject","testArray":["valueArray1","valueArray2",true,["nestedNestedArray1"],{"nestedNestedObject":"nestedNestedValue"}],"testBool1":true,"testN1":0,"testN2":1.1,"testN3":1.233232,"testObject":{"testDicStr1":"valueDic1"},"testStr1":"value1"}")
Loading