Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage14 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes18 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.69 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.22 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo24 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath2 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber1 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException6 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized17 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne25 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction2 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory25 msPassed
unwrapOfUnsupportedClassThrowsException1 msPassed
unwrapReturnsItselfWhenClassMatches2 msPassed
unwrapReturnsSesameRepository1 msPassed