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

feat!: now services are AnyCodable to conform to DID specifications #8

Merged
merged 1 commit into from
Apr 17, 2024

feat!: now services are AnyCodable to conform to DID specifications

2c08028
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat!: now services are AnyCodable to conform to DID specifications #8

feat!: now services are AnyCodable to conform to DID specifications
2c08028
Select commit
Loading
Failed to load commit list.
GitHub Actions / Xcode test results succeeded Apr 16, 2024 in 0s

Xcode test results

Testing workspace peerdid-swift with scheme peerdid-swift

Summary

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

Test Summary

PeerDIDTests

  • Device: Mac mini, 13.6.6 (22G630)
  • SDK: macOS 14.0, 14.0
TestTotalSuccessFailureSkippedExpected Failure
test-class CreatePeerDIDAlgo0Tests33000
test-class CreatePeerDIDAlgo2Tests55000
test-class DecodeEcnumbasisTest66000
test-class EncodeEcnumbasisTests66000
test-class ReselvePeerDIDAlgo2Tests44000
test-class ResolvePeerDIDAlgo0Tests33000

Failure Failures

All tests passed 🎉


Code Coverage

Coverage Covered Executable
PeerDID 85.38 % 397 465
  JSONEncoder+Helper.swift 88.89 % 8 9
  PeerDIDHelper+ResolveAlgo2.swift 97.73 % 86 88
  VerificationMaterialFormat.swift 48.24 % 41 85
  PeerDIDHelper.swift 91.33 % 179 196
  PeerDIDHelper+ResolveAlgo0.swift 100.00 % 15 15
  PeerDID.swift 94.44 % 68 72
PeerDIDTests 93.58 % 991 1059
  PeerDIDHelper.swift 91.33 % 179 196
  CreatePeerDIDAlgo0Tests.swift 100.00 % 42 42
  ResolvePeerDIDAlgo0Tests.swift 100.00 % 53 53
  CreatePeerDIDAlgo2Tests.swift 100.00 % 146 146
  TestsHelpers.swift 100.00 % 7 7
  EncodeServiceTests.swift 100.00 % 127 127
  JSONEncoder+Helper.swift 88.89 % 8 9
  ResolvePeerDIDAlgo2Tests.swift 100.00 % 102 102
  PeerDIDHelper+ResolveAlgo2.swift 97.73 % 86 88
  PeerDID.swift 94.44 % 68 72
  VerificationMaterialFormat.swift 48.24 % 41 85
  DecodeEcnumbasisTests.swift 100.00 % 117 117
  PeerDIDHelper+ResolveAlgo0.swift 100.00 % 15 15
Total 91.08 % 1388 1524

Details

Test Details

PeerDIDTestsback

CreatePeerDIDAlgo0Tests back

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

CreatePeerDIDAlgo2Tests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
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.00s
Successtest-method testDecodeFormatBase58KeyED25519()
Successtest-method testDecodeFormatBase58KeyX25519()
Successtest-method testDecodeFormatJWKKeyEd25519()
Successtest-method testDecodeFormatJWKKeyX25519()
Successtest-method testDecodeFormatMultibaseKeyEd25519()
Successtest-method testDecodeFormatMultibaseKeyX25519()

EncodeEcnumbasisTests back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testDecodeService()
Successtest-method testDecodeServiceLegacy()
Successtest-method testDecodeServiceWithExtensions()
Successtest-method testEncodeService()
Successtest-method testEncodeServiceExtensions()
Successtest-method testEncodeServiceLegacy()

ReselvePeerDIDAlgo2Tests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.00s
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.00s
Successtest-method testResolvePeerDIDAlgo0Base58()
Successtest-method testResolvePeerDIDAlgo0JWK()
Successtest-method testResolvePeerDIDAlgo0Multibase()