Class ThreadUtilitiesTest

java.lang.Object
de.hybris.platform.util.ThreadUtilitiesTest

@UnitTest public class ThreadUtilitiesTest extends Object
  • Constructor Details

    • ThreadUtilitiesTest

      public ThreadUtilitiesTest()
  • Method Details

    • 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()