Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage14 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes14 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.57 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.2 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo34 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath0 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative0 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber0 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException4 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized37 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne64 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction2 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory12 msPassed
unwrapOfUnsupportedClassThrowsException2 msPassed
unwrapReturnsItselfWhenClassMatches1 msPassed
unwrapReturnsSesameRepository1 msPassed