Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage16 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes18 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.72 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.23 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo38 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound4 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath4 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber1 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException9 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized39 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne0.14 secPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction3 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory17 msPassed
unwrapOfUnsupportedClassThrowsException3 msPassed
unwrapReturnsItselfWhenClassMatches1 msPassed
unwrapReturnsSesameRepository2 msPassed