Skip to content

Test Result : StorageConnectorTest

0 failures (-4)
17 tests (±0)
Took 0.87 sec.

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage11 msFixed
getConnectionRetriesOnErrorConfiguredNumberOfTimes18 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.55 secFixed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.22 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo21 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath3 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber1 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException5 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized16 msFixed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne11 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction1 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory9 msFixed
unwrapOfUnsupportedClassThrowsException2 msPassed
unwrapReturnsItselfWhenClassMatches1 msPassed
unwrapReturnsSesameRepository1 msPassed