Skip to content

fix: the helper was not calling resolver for algo 2 peer dids #13

fix: the helper was not calling resolver for algo 2 peer dids

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

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

Test Summary

PeerDIDTests

  • Device: Mac mini, 13.6.4 (22G513)
  • SDK: macOS 14.0, 14.0
TestTotalSuccessFailureSkippedExpected Failure
test-class CreatePeerDIDAlgo0Tests33000
test-class CreatePeerDIDAlgo2Tests55000
test-class DecodeEcnumbasisTest66000
test-class EncodeEcnumbasisTests22000
test-class ReselvePeerDIDAlgo2Tests44000
test-class ResolvePeerDIDAlgo0Tests33000

Failure 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

PeerDIDTestsback

CreatePeerDIDAlgo0Tests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testCreatePeerDIDAlgo0Base58Key()
Successtest-method testCreatePeerDIDAlgo0JWKKey()
Successtest-method testCreatePeerDIDAlgo0MultibaseKey()

CreatePeerDIDAlgo2Tests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testCreatePeerDIDAlgo2Base58()
Successtest-method testCreatePeerDIDAlgo2JWK()
Successtest-method testCreatePeerDIDAlgo2Multibase()
Successtest-method testCreatePeerDIDAlgo2MultipleServices()
Successtest-method testCreatePeerDIDAlgo2NoServices()

DecodeEcnumbasisTest back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testDecodeFormatBase58KeyED25519()
Successtest-method testDecodeFormatBase58KeyX25519()
Successtest-method testDecodeFormatJWKKeyEd25519()
Successtest-method testDecodeFormatJWKKeyX25519()
Successtest-method testDecodeFormatMultibaseKeyEd25519()
Successtest-method testDecodeFormatMultibaseKeyX25519()

EncodeEcnumbasisTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testDecodeService()
Successtest-method testEncodeService()

ReselvePeerDIDAlgo2Tests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testResolvePeerDIDAlgo2Base58()
Successtest-method testResolvePeerDIDAlgo2JWK()
Successtest-method testResolvePeerDIDAlgo2Multibase()
Successtest-method testResolvePeerDIDAlgo2MultipleServices()

ResolvePeerDIDAlgo0Tests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testResolvePeerDIDAlgo0Base58()
Successtest-method testResolvePeerDIDAlgo0JWK()
Successtest-method testResolvePeerDIDAlgo0Multibase()