Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage33 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes17 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.51 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.19 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo22 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber0 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException2 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized28 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne17 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction2 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory30 msPassed
unwrapOfUnsupportedClassThrowsException2 msPassed
unwrapReturnsItselfWhenClassMatches1 msPassed
unwrapReturnsSesameRepository2 msPassed