Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage12 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes34 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.74 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.3 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo33 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath4 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber2 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException8 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized31 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne34 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction2 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory10 msPassed
unwrapOfUnsupportedClassThrowsException1 msPassed
unwrapReturnsItselfWhenClassMatches1 msPassed
unwrapReturnsSesameRepository1 msPassed