Test Result : FileBasedRegistrationServiceTest

0 failures (±0)
36 tests (-36)
Took 0.49 sec.

All Tests

Test nameDurationStatus
testAssertRegistrationFailsForDeviceViaDisabledGateway{VertxTestContext}4 msPassed
testAssertRegistrationFailsForDeviceViaNonExistingGateway{VertxTestContext}4 msPassed
testAssertRegistrationFailsForDeviceViaUnauthorizedGateway{VertxTestContext}11 msPassed
testAssertRegistrationFailsForDisabledDevice{VertxTestContext}3 msPassed
testAssertRegistrationFailsForNonExistingDevice{VertxTestContext}5 msPassed
testAssertRegistrationSucceedsForDeviceViaGatewayGroup{VertxTestContext}2 msPassed
testAssertRegistrationSucceedsForDeviceViaGateway{VertxTestContext}94 msPassed
testAssertRegistrationSucceedsForExistingDevice{VertxTestContext}3 msPassed
testContentsNotSavedOnShutdownIfSavingIfDisabled{VertxTestContext}9 msPassed
testCreateDeviceFailsForExistingDeviceId{VertxTestContext}4 msPassed
testCreateDeviceFailsIfDeviceLimitIsReached2 msPassed
testCreateDeviceWithIdSucceeds{VertxTestContext}3 msPassed
testCreateDeviceWithoutIdSucceeds{VertxTestContext}2 msPassed
testDeleteDeviceFailsForNonExistingDevice{VertxTestContext}2 msPassed
testDeleteDeviceFailsForNonMatchingResourceVersion{VertxTestContext}55 msPassed
testDeleteDeviceFailsIfModificationIsDisabled2 msPassed
testDeleteDeviceSucceedsForMatchingResourceVersion{VertxTestContext}2 msPassed
testDeleteDeviceSucceeds{VertxTestContext}0 msPassed
testDoStartCreatesFile{VertxTestContext}12 msPassed
testDoStartFailsIfFileCannotBeCreated{VertxTestContext}8 msPassed
testDoStartIgnoreIdentitiesIfStartEmptyIsSet{VertxTestContext}49 msPassed
testDoStartIgnoresMalformedJson{VertxTestContext}7 msPassed
testDoStartLoadsDeviceIdentities{VertxTestContext}62 msPassed
testLoadDevicesCanReadOutputOfSaveToFile{VertxTestContext}31 msPassed
testPeriodicSafeJobIsNotScheduledIfSavingIfDisabled{VertxTestContext}8 msPassed
testReadDeviceFailsForDeletedDevice{VertxTestContext}5 msPassed
testReadDeviceFailsForNonExistingDevice{VertxTestContext}2 msPassed
testReadDeviceReturnsCopyOfOriginalData{VertxTestContext}10 msPassed
testReadDeviceSucceedsForExistingDevice{VertxTestContext}4 msPassed
testSaveToFileCreatesFile{VertxTestContext}12 msPassed
testUpdateDeviceFailsForNonMatchingResourceVersion{VertxTestContext}5 msPassed
testUpdateDeviceFailsIfModificationIsDisabled3 msPassed
testUpdateDevicePreservesStatusProperties{VertxTestContext}8 msPassed
testUpdateDeviceSucceedsForMatchingResourceVersion{VertxTestContext}6 msPassed
testUpdateDeviceSucceeds{VertxTestContext}47 msPassed
testUpdateIgnoresGivenUpdatesOfStatusProperties{VertxTestContext}6 msPassed