org.silverpeas.util
Class PrefixedNotationExpressionEngineTest
java.lang.Object
org.silverpeas.util.PrefixedNotationExpressionEngineTest
public class PrefixedNotationExpressionEngineTest
- extends Object
- Author:
- Yohann Chastagnier
|
Field Summary |
org.junit.rules.ExpectedException |
exception
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exception
public org.junit.rules.ExpectedException exception
PrefixedNotationExpressionEngineTest
public PrefixedNotationExpressionEngineTest()
simpleExpression
public void simpleExpression()
nullExpressionShouldThrowError
public void nullExpressionShouldThrowError()
nonIntegerCharacterShouldThrowErrorInContextOfThisTestClass
public void nonIntegerCharacterShouldThrowErrorInContextOfThisTestClass()
noOperatorWithSeveralPartsShouldThrowAnError
public void noOperatorWithSeveralPartsShouldThrowAnError()
missingOpeningParenthesisShouldThrowAnError
public void missingOpeningParenthesisShouldThrowAnError()
missingClosingParenthesisShouldThrowAnError
public void missingClosingParenthesisShouldThrowAnError()
missingClosingParenthesisIntoComplexExpressionShouldThrowAnError
public void missingClosingParenthesisIntoComplexExpressionShouldThrowAnError()
parenthesisIntoValueShouldThrowAnError
public void parenthesisIntoValueShouldThrowAnError()
addTwoValuesWithoutParenthesisShouldThrowError
public void addTwoValuesWithoutParenthesisShouldThrowError()
addTwoValuesByMissingInternalParenthesisShouldThrowError
public void addTwoValuesByMissingInternalParenthesisShouldThrowError()
usingOperatorForSimpleValueShouldBeTakenASPartOfTheValueAndNotAsAnOperator
public void usingOperatorForSimpleValueShouldBeTakenASPartOfTheValueAndNotAsAnOperator()
addTwoValuesShouldWork
public void addTwoValuesShouldWork()
subtractTwoValuesShouldWork
public void subtractTwoValuesShouldWork()
multiplyTwoValuesShouldWork
public void multiplyTwoValuesShouldWork()
addSubtractMultiplyValuesWithSubOperationShouldWork
public void addSubtractMultiplyValuesWithSubOperationShouldWork()
Copyright © 2016 Silverpeas. All Rights Reserved.