Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage18 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes41 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.62 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.27 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo58 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound2 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath5 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber1 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException7 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized12 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne0.12 secPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction3 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory29 msPassed
unwrapOfUnsupportedClassThrowsException2 msPassed
unwrapReturnsItselfWhenClassMatches2 msPassed
unwrapReturnsSesameRepository0 msPassed