Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage11 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes0.52 secPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.51 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.3 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo22 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath15 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber1 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException1 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized20 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne59 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction11 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory10 msPassed
unwrapOfUnsupportedClassThrowsException2 msPassed
unwrapReturnsItselfWhenClassMatches1 msPassed
unwrapReturnsSesameRepository2 msPassed