Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage33 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes17 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.49 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.18 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo19 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath0 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative0 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber0 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException4 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized12 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne55 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction2 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory12 msPassed
unwrapOfUnsupportedClassThrowsException1 msPassed
unwrapReturnsItselfWhenClassMatches1 msPassed
unwrapReturnsSesameRepository1 msPassed