Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage16 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes23 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.85 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.3 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo40 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound2 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath3 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative0 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber0 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException7 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized28 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne42 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction3 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory12 msPassed
unwrapOfUnsupportedClassThrowsException1 msPassed
unwrapReturnsItselfWhenClassMatches2 msPassed
unwrapReturnsSesameRepository2 msPassed