Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage14 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes21 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.74 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.28 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo55 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath15 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber0 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException1 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized44 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne64 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction11 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory15 msPassed
unwrapOfUnsupportedClassThrowsException5 msPassed
unwrapReturnsItselfWhenClassMatches1 msPassed
unwrapReturnsSesameRepository3 msPassed