Package de.hybris.platform.util
Class ThreadUtilitiesTest
- java.lang.Object
-
- de.hybris.platform.util.ThreadUtilitiesTest
-
@UnitTest public class ThreadUtilitiesTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ThreadUtilitiesTest()
-
Method Summary
-
-
-
Method Detail
-
shouldReturnConstantValue
public void shouldReturnConstantValue()
-
shouldEvaluateToNumberOfCores
public void shouldEvaluateToNumberOfCores()
-
shouldEvaluateArithmeticExpression
public void shouldEvaluateArithmeticExpression()
-
shouldEvaluateArithmeticExpressionWithVariable
public void shouldEvaluateArithmeticExpressionWithVariable()
-
shouldReturnDefaultValueWhenExpressionWithArithmeticExceptionHasBeenPassed
public void shouldReturnDefaultValueWhenExpressionWithArithmeticExceptionHasBeenPassed()
-
shouldReturnDefaultValueWhenInvalidExpressionHasBeenPassed
public void shouldReturnDefaultValueWhenInvalidExpressionHasBeenPassed()
-
shouldReturnDefaultValueWhenExpressionEvaluatesToString
public void shouldReturnDefaultValueWhenExpressionEvaluatesToString()
-
shouldReturnDefaultValueWhenExpressionEvaluatesToZero
public void shouldReturnDefaultValueWhenExpressionEvaluatesToZero()
-
shouldReturnDefaultValueWhenExpressionEvaluatesToNegativeValue
public void shouldReturnDefaultValueWhenExpressionEvaluatesToNegativeValue()
-
shouldReturnDefaultValueWhenExpressionEvaluatesToNull
public void shouldReturnDefaultValueWhenExpressionEvaluatesToNull()
-
shouldReturnRoundedValueOfExpressionWhetItEvaluatesToDouble
public void shouldReturnRoundedValueOfExpressionWhetItEvaluatesToDouble()
-
shouldThrowAnExceptionWhenNegativeDefaultValueHasBeenPassed
public void shouldThrowAnExceptionWhenNegativeDefaultValueHasBeenPassed()
-
shouldThrowAnExceptionWhenZeroDefaultValueHasBeenPassed
public void shouldThrowAnExceptionWhenZeroDefaultValueHasBeenPassed()
-
shouldReturnDefaultValueWhenNullExpressionHasBeenPassed
public void shouldReturnDefaultValueWhenNullExpressionHasBeenPassed()
-
shouldReturnDefaultValueWhenEmptyExpressionHasBeenPassed
public void shouldReturnDefaultValueWhenEmptyExpressionHasBeenPassed()
-
shouldReturnDefaultValueWhenOnlyWhiteSpacesHasBeenPassedAsAnExpression
public void shouldReturnDefaultValueWhenOnlyWhiteSpacesHasBeenPassedAsAnExpression()
-
-