Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage14 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes17 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.59 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.23 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo20 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath3 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative0 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber1 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException5 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized17 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne37 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction2 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory11 msPassed
unwrapOfUnsupportedClassThrowsException1 msPassed
unwrapReturnsItselfWhenClassMatches1 msPassed
unwrapReturnsSesameRepository1 msPassed