@UnitTest public class DefaultSQLRecoveryStrategyUnitTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultSQLRecoveryStrategyUnitTest() |
public void shouldTreatSQLRecoverableExceptionAsRecoverableOne()
public void shouldTreatNotRecoverableSQLExceptionAsNotRecoverableOne()
public void shouldTreatNotRecoverableSQLExceptionAsRecoverableOneWhenErrorCodeMatchesAndSQLServerIsUsed()
public void shouldTreatGetConnectionMethodFromTheDataSourceAsTheOneWhichCanRecoverTheSystem()
public void shouldIncreaseTheBackoffDurationExponentialyBasedOnTheConfiguration()
public void shouldConvertBlankStringToEmptySet()
public void shouldConvertValidStringToSet()
public void shouldConvertInvalidStringToException()
public void shouldMergeRecoverableErrorCodesToDbSpecificones()
Copyright © 2018 SAP SE. All Rights Reserved.