Skip to content

Test Result : StorageConnectorTest

0 failures (±0)
17 tests (±0)
Took 1 sec.

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage18 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes17 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.59 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.24 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo21 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath12 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber1 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException2 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized27 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne52 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction9 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory17 msPassed
unwrapOfUnsupportedClassThrowsException2 msPassed
unwrapReturnsItselfWhenClassMatches2 msPassed
unwrapReturnsSesameRepository1 msPassed