Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage12 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes21 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.56 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.34 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo25 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound2 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath18 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber0 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException2 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized22 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne47 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction10 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory12 msPassed
unwrapOfUnsupportedClassThrowsException1 msPassed
unwrapReturnsItselfWhenClassMatches2 msPassed
unwrapReturnsSesameRepository2 msPassed