Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage10 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes0.52 secPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.52 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.3 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo21 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath21 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber1 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException2 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized15 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne46 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction11 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory11 msPassed
unwrapOfUnsupportedClassThrowsException1 msPassed
unwrapReturnsItselfWhenClassMatches2 msPassed
unwrapReturnsSesameRepository2 msPassed