Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage16 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes22 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.52 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.23 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo26 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath2 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative0 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber1 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException6 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized19 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne70 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction1 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory12 msPassed
unwrapOfUnsupportedClassThrowsException1 msPassed
unwrapReturnsItselfWhenClassMatches2 msPassed
unwrapReturnsSesameRepository1 msPassed