Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage20 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes29 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.72 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.32 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo23 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath4 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber1 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException6 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized17 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne40 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction1 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory14 msPassed
unwrapOfUnsupportedClassThrowsException2 msPassed
unwrapReturnsItselfWhenClassMatches2 msPassed
unwrapReturnsSesameRepository1 msPassed