Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage15 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes26 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.88 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.33 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo45 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath6 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber1 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException7 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized13 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne29 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction2 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory15 msPassed
unwrapOfUnsupportedClassThrowsException1 msPassed
unwrapReturnsItselfWhenClassMatches0 msPassed
unwrapReturnsSesameRepository1 msPassed