fix: the helper was not calling resolver for algo 2 peer dids #13
GitHub Actions / Xcode test results
succeeded
Feb 14, 2024 in 0s
Xcode test results
Testing workspace peerdid-swift with scheme peerdid-swift
Summary
Total | Passed | Failed | Skipped | Expected Failure | ⏱️ Time |
---|---|---|---|---|---|
23 | 23 | 0 | 0 | 0 | 0.04s |
Test Summary
PeerDIDTests
- Device: Mac mini, 13.6.4 (22G513)
- SDK: macOS 14.0, 14.0
Test | Total | ||||
---|---|---|---|---|---|
CreatePeerDIDAlgo0Tests | 3 | 3 | 0 | 0 | 0 |
CreatePeerDIDAlgo2Tests | 5 | 5 | 0 | 0 | 0 |
DecodeEcnumbasisTest | 6 | 6 | 0 | 0 | 0 |
EncodeEcnumbasisTests | 2 | 2 | 0 | 0 | 0 |
ReselvePeerDIDAlgo2Tests | 4 | 4 | 0 | 0 | 0 |
ResolvePeerDIDAlgo0Tests | 3 | 3 | 0 | 0 | 0 |
Failures
All tests passed 🎉
Code Coverage
Coverage | Covered | Executable | ||
---|---|---|---|---|
PeerDID | 81.02 % | 367 | 453 | |
JSONEncoder+Helper.swift | 88.89 % | 8 | 9 | |
PeerDIDHelper+ResolveAlgo2.swift | 100.00 % | 63 | 63 | |
VerificationMaterialFormat.swift | 48.24 % | 41 | 85 | |
PeerDIDHelper.swift | 82.22 % | 185 | 225 | |
PeerDIDHelper+ResolveAlgo0.swift | 100.00 % | 15 | 15 | |
PeerDID.swift | 98.21 % | 55 | 56 | |
PeerDIDTests | 90.90 % | 869 | 956 | |
PeerDIDHelper.swift | 82.22 % | 185 | 225 | |
CreatePeerDIDAlgo0Tests.swift | 100.00 % | 42 | 42 | |
ResolvePeerDIDAlgo0Tests.swift | 100.00 % | 53 | 53 | |
CreatePeerDIDAlgo2Tests.swift | 100.00 % | 136 | 136 | |
TestsHelpers.swift | 100.00 % | 7 | 7 | |
EncodeServiceTests.swift | 97.83 % | 45 | 46 | |
PeerDIDHelper+ResolveAlgo2.swift | 100.00 % | 63 | 63 | |
ResolvePeerDIDAlgo2Tests.swift | 100.00 % | 102 | 102 | |
JSONEncoder+Helper.swift | 88.89 % | 8 | 9 | |
PeerDID.swift | 98.21 % | 55 | 56 | |
VerificationMaterialFormat.swift | 48.24 % | 41 | 85 | |
DecodeEcnumbasisTests.swift | 100.00 % | 117 | 117 | |
PeerDIDHelper+ResolveAlgo0.swift | 100.00 % | 15 | 15 | |
Total | 87.72 % | 1236 | 1409 |
Details
Test Details
PeerDIDTests
CreatePeerDIDAlgo0Tests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
testCreatePeerDIDAlgo0Base58Key()
| |
testCreatePeerDIDAlgo0JWKKey()
| |
testCreatePeerDIDAlgo0MultibaseKey()
|
CreatePeerDIDAlgo2Tests
⏱️ | ||||
---|---|---|---|---|
5 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
testCreatePeerDIDAlgo2Base58()
| |
testCreatePeerDIDAlgo2JWK()
| |
testCreatePeerDIDAlgo2Multibase()
| |
testCreatePeerDIDAlgo2MultipleServices()
| |
testCreatePeerDIDAlgo2NoServices()
|
DecodeEcnumbasisTest
⏱️ | ||||
---|---|---|---|---|
6 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
EncodeEcnumbasisTests
⏱️ | ||||
---|---|---|---|---|
2 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
testDecodeService()
| |
testEncodeService()
|
ReselvePeerDIDAlgo2Tests
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
testResolvePeerDIDAlgo2Base58()
| |
testResolvePeerDIDAlgo2JWK()
| |
testResolvePeerDIDAlgo2Multibase()
| |
testResolvePeerDIDAlgo2MultipleServices()
|
ResolvePeerDIDAlgo0Tests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
testResolvePeerDIDAlgo0Base58()
| |
testResolvePeerDIDAlgo0JWK()
| |
testResolvePeerDIDAlgo0Multibase()
|
Loading