Test Result : FileBasedCredentialsServiceTest

0 failures (±0)
24 tests (-24)
Took 2.1 sec.

All Tests

Test nameDurationStatus
testCreateAndDeletePasswordSecret{VertxTestContext}0.13 secPassed
testDisableCredentials{VertxTestContext}0.13 secPassed
testDoStartCreatesFile{VertxTestContext}24 msPassed
testDoStartFailsIfFileCannotBeCreated{VertxTestContext}10 msPassed
testDoStartIgnoreCredentialIfStartEmptyIsSet{VertxTestContext}8 msPassed
testDoStartIgnoresMalformedJson{VertxTestContext}12 msPassed
testDoStartLoadsCredentials{VertxTestContext}17 msPassed
testGetCredentialsFailsForNonExistingCredentials{VertxTestContext}5 msPassed
testGetCredentialsFailsForNonMatchingClientContext{VertxTestContext}4 msPassed
testGetCredentialsSucceedsForExistingDevice{VertxTestContext}6 msPassed
testGetCredentialsSucceedsForMatchingClientContext{VertxTestContext}11 msPassed
testLoadCredentialsCanReadOutputOfSaveToFile{VertxTestContext}0.14 secPassed
testSecretMetadataDeletion{VertxTestContext}0.13 secPassed
testSecretMetadataUpdateDoesntChangeSecretID{VertxTestContext}10 msPassed
testUpdateCredentialsEncodesPlaintextPasswords{VertxTestContext}37 msPassed
testUpdateCredentialsFailsForDuplicateAuthId{VertxTestContext}0.25 secPassed
testUpdateCredentialsFailsForUnsupportedHashFunction{VertxTestContext}0.12 secPassed
testUpdateCredentialsFailsForWrongResourceVersion{VertxTestContext}4 msPassed
testUpdateCredentialsFailsIfModificationIsDisabled{VertxTestContext}0.26 secPassed
testUpdateCredentialsReplacesCredentialsOfSameTypeAndAuthId{VertxTestContext}0.12 secPassed
testUpdateCredentialsSucceeds{VertxTestContext}0.15 secPassed
testUpdateCredentialsSupportsRemovingExistingCredentialsAndSecrets{VertxTestContext}0.26 secPassed
testUpdateCredentialsSupportsUpdatingExistingSecrets{VertxTestContext}3 msPassed
testUpdateSecretFailsWithWrongSecretId{VertxTestContext}0.25 secPassed