Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage11 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes0.53 secPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.55 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.28 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo13 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath14 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber1 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException2 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized15 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne73 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction11 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory9 msPassed
unwrapOfUnsupportedClassThrowsException2 msPassed
unwrapReturnsItselfWhenClassMatches1 msPassed
unwrapReturnsSesameRepository2 msPassed