Skip to content

Test Result : StorageConnectorTest

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

All Tests

Test nameDurationStatus
connectorIsAbleToConnectToAlreadyInitializedLocalNativeStorage20 msPassed
getConnectionRetriesOnErrorConfiguredNumberOfTimes18 msPassed
initializationLoadsRepositoryConfigurationFromFileAndCreatesNativeRepo0.51 secPassed
initializationLoadsRepositoryConfigurationFromFileOnClasspathAndCreatesRepo0.23 secPassed
initializationLoadsRepositoryConfigurationFromFileWithAbsolutePathAndCreatesRepo26 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFound1 msPassed
initializationThrowsRepositoryCreationExceptionWhenRepositoryConfigurationFileIsNotFoundOnClasspath1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNegative1 msPassed
initializationThrowsSesameDriverExceptionWhenReconnectAttemptsIsNotANumber1 msPassed
invalidLocalRepositoryPathThrowsRepositoryCreationException5 msPassed
nonExistingParentFoldersAreCreatedWhenStorageIsInitialized14 msPassed
setRepositoryReplacesOriginalInMemoryRepositoryWithSpecifiedOne17 msPassed
setRepositoryThrowsIllegalStateExceptionWhenConnectorIsInTransaction2 msPassed
setRepositoryThrowsUnsupportedOperationWhenOriginalRepositoryIsNotInMemory14 msPassed
unwrapOfUnsupportedClassThrowsException1 msPassed
unwrapReturnsItselfWhenClassMatches1 msPassed
unwrapReturnsSesameRepository0 msPassed