Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage15 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes21 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.5 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.29 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo46 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath4 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber1 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException6 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized14 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne47 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction2 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory12 msPassed
unwrapOfUnsupportedClassThrowsException2 msPassed
unwrapReturnsItselfWhenClassMatches1 msPassed
unwrapReturnsSesameRepository2 msPassed