Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage15 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes15 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.65 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.27 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo22 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath2 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative0 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber0 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException5 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized28 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne56 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction2 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory12 msPassed
unwrapOfUnsupportedClassThrowsException3 msPassed
unwrapReturnsItselfWhenClassMatches1 msPassed
unwrapReturnsSesameRepository2 msPassed