Skip to content

fix: update did core version #16

fix: update did core version

fix: update did core version #16

GitHub Actions / Xcode test results succeeded Oct 10, 2024 in 0s

Xcode test results

Testing workspace didcomm-swift with scheme didcomm-swift

Summary

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

Test Summary

DIDCommSwiftTests

  • Device: Mac mini, 13.7 (22H123)
  • SDK: macOS 14.2, 14.2
TestTotalSuccessFailureSkippedExpected Failure
test-class KeyTests55000
test-class MessageCodingTest22000
test-class PackEncryptedMessageTests33000
test-class PackPlainMessageTests22000
test-class PackSignedMessageTests33000
test-class RecipientKeySelectorTests1212000
test-class RoutingTests22000

Failure Failures

All tests passed 🎉


Code Coverage

Coverage Covered Executable
DIDCommSwiftTests 75.95 % 2933 3862
  DIDDocResolverMock.swift 75.00 % 24 32
  Secret+JWK.swift 0.00 % 0 12
  KeyHelperTests.swift 90.23 % 120 133
  RoutingTests.swift 100.00 % 127 127
  Signer.swift 29.81 % 31 104
  EncryptedParams.swift 100.00 % 16 16
  Error.swift 0.00 % 0 56
  Attachment.swift 44.06 % 89 202
  MultibasePrivateKey.swift 0.00 % 0 32
  SignedResult.swift 100.00 % 6 6
  ServiceTree.swift 62.73 % 202 322
  Key.swift 34.44 % 31 90
  DIDComm.swift 100.00 % 97 97
  BobSecretResolverMock.swift 100.00 % 114 114
  UnpackParams.swift 100.00 % 7 7
  Routing.swift 83.33 % 100 120
  FromPrior.swift 98.41 % 62 63
  PlainEnvelopePack.swift 96.77 % 30 31
  AliceSecretResolverMock.swift 97.09 % 100 103
  SecretResolver.swift 100.00 % 9 9
  MultibasePublicKey.swift 0.00 % 0 27
  PlainTextResult.swift 100.00 % 5 5
  RoutingResult.swift 100.00 % 38 38
  SignedEnvelopePack.swift 97.56 % 40 41
  SignedParams.swift 100.00 % 8 8
  AnonAlg+JWE.swift 81.82 % 18 22
  PackPlainMessageTests.swift 100.00 % 42 42
  ForwardMessage.swift 47.83 % 22 46
  AuthAlg+JWE.swift 92.86 % 13 14
  UnpackResult.swift 100.00 % 16 16
  Tree.swift 61.40 % 35 57
  SenderKeySelector.swift 60.39 % 125 207
  MessageCodingTest.swift 100.00 % 110 110
  Base58PublicKey.swift 68.75 % 11 16
  AuthEnvelopePack.swift 83.75 % 67 80
  Base58PrivateKey.swift 0.00 % 0 20
  JsonWebKey.swift 53.85 % 7 13
  RecipientKeySelectorTests.swift 100.00 % 178 178
  AliceRotatedToCharlieSecretResolverMock.swift 97.84 % 136 139
  SignedEnvelopeUnpack.swift 89.25 % 83 93
  PlainEnvelopeUnpack.swift 94.74 % 18 19
  JSONEncoder+Helper.swift 90.00 % 9 10
  EncryptedEnvelopeUnpack.swift 95.24 % 60 63
  MessagesMock.swift 100.00 % 20 20
  AnonEnvelopePack.swift 95.08 % 58 61
  RecipientKeySelector.swift 72.95 % 89 122
  Secret.swift 25.00 % 5 20
  EnvelopeUnpack.swift 97.85 % 91 93
  PlainTextParams.swift 100.00 % 7 7
  PackEncryptedMessageTests.swift 100.00 % 86 86
  AsyncAlgorithms.swift 63.64 % 14 22
  String+Extensions.swift 100.00 % 3 3
  AliceNewSecretResolverMock.swift 0.00 % 0 103
  PackSignedMessageTests.swift 100.00 % 87 87
  Encrypter.swift 100.00 % 26 26
  EncryptedResult.swift 100.00 % 8 8
  CharlieSecretResolverMock.swift 100.00 % 30 30
  Message.swift 87.50 % 196 224
  APV.swift 70.00 % 7 10
didcomm-swift 68.73 % 1756 2555
  JSONEncoder+Helper.swift 90.00 % 9 10
  EncryptedEnvelopeUnpack.swift 95.24 % 60 63
  MultibasePrivateKey.swift 0.00 % 0 32
  ForwardMessage.swift 47.83 % 22 46
  AnonAlg+JWE.swift 81.82 % 18 22
  SignedResult.swift 100.00 % 6 6
  Error.swift 0.00 % 0 56
  SignedEnvelopeUnpack.swift 89.25 % 83 93
  SignedParams.swift 100.00 % 8 8
  PlainTextParams.swift 100.00 % 7 7
  Routing.swift 83.33 % 100 120
  AuthEnvelopePack.swift 83.75 % 67 80
  EncryptedResult.swift 100.00 % 8 8
  SenderKeySelector.swift 60.39 % 125 207
  EnvelopeUnpack.swift 97.85 % 91 93
  MultibasePublicKey.swift 0.00 % 0 27
  Attachment.swift 44.06 % 89 202
  Key.swift 34.44 % 31 90
  EncryptedParams.swift 100.00 % 16 16
  FromPrior.swift 98.41 % 62 63
  PlainEnvelopePack.swift 96.77 % 30 31
  Secret+JWK.swift 0.00 % 0 12
  AuthAlg+JWE.swift 92.86 % 13 14
  DIDComm.swift 100.00 % 97 97
  PlainTextResult.swift 100.00 % 5 5
  RoutingResult.swift 100.00 % 38 38
  Message.swift 87.50 % 196 224
  Encrypter.swift 100.00 % 26 26
  APV.swift 70.00 % 7 10
  PlainEnvelopeUnpack.swift 94.74 % 18 19
  Secret.swift 25.00 % 5 20
  AnonEnvelopePack.swift 95.08 % 58 61
  Base58PublicKey.swift 68.75 % 11 16
  ServiceTree.swift 62.73 % 202 322
  Signer.swift 29.81 % 31 104
  SignedEnvelopePack.swift 97.56 % 40 41
  Tree.swift 61.40 % 35 57
  AsyncAlgorithms.swift 63.64 % 14 22
  UnpackParams.swift 100.00 % 7 7
  RecipientKeySelector.swift 72.95 % 89 122
  JsonWebKey.swift 53.85 % 7 13
  UnpackResult.swift 100.00 % 16 16
  Base58PrivateKey.swift 0.00 % 0 20
  SecretResolver.swift 100.00 % 9 9
Total 73.07 % 4689 6417

Details

Test Details

DIDCommSwiftTestsback

KeyTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testExtractECKeyFromJsonWebKey2020Secret()
Successtest-method testExtractECKeyFromJsonWebKey2020VerificationMethod()
Successtest-method testExtractKeyFromX25519KeyAgreementKey2019VerificationMethod()
Successtest-method testExtractOKPKeyFromJsonWebKey2020Secret()
Successtest-method testExtractOKPKeyFromJsonWebKey2020VerificationMethod()

MessageCodingTest back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testAttachment()
Successtest-method testExtraHeaders()

PackEncryptedMessageTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testEncryptedMessageTestVectors()
Successtest-method testPackEncryptedMessage()
Successtest-method testUnpackEncryptedMessage()

PackPlainMessageTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testPlainMessage()
Successtest-method testPlainTextMessageWithFromPriorAndIssKid()

PackSignedMessageTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testPackSignedMessage()
Successtest-method testSignedMessageTestVectors()
Successtest-method testUnpackSignedMessage()

RecipientKeySelectorTests back

SuccessFailureSkippedExpected Failure⏱️
12 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testDIDDocNotResolved()
Successtest-method testDIDIsPassedToMethods()
Successtest-method testEmptyDIDDoc()
Successtest-method testFindAnonCryptoKeys()
Successtest-method testFindAnoncryptUnpackRecipientPrivateKeysAllKidsUnknown()
Successtest-method testFindAnoncryptUnpackRecipientPrivateKeysPositiveSingleKey()
Successtest-method testFindAuthCryptoKeys()
Successtest-method testFindSecondAnonCryptoKey()
Successtest-method testFindVerificationKey()
Successtest-method testIncompatibleCrypto()
Successtest-method testKeyNotFound()
Successtest-method testVerificationMethodNotFound()

RoutingTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.11s
Successtest-method testPackRoutingMessage()
Successtest-method testPackRoutingMultipleRecipientsMessage()