org.silverpeas.util
Class PrefixedNotationExpressionEngineAlphabeticalTest

java.lang.Object
  extended by org.silverpeas.util.PrefixedNotationExpressionEngineAlphabeticalTest

public class PrefixedNotationExpressionEngineAlphabeticalTest
extends Object

Author:
Yohann Chastagnier

Field Summary
 org.junit.rules.ExpectedException exception
           
 
Constructor Summary
PrefixedNotationExpressionEngineAlphabeticalTest()
           
 
Method Summary
 void charactersOutOfOperandsWithDetectedOperandsShouldThrowAnError()
           
 void combineStringPartShouldWork()
           
 void combineStringWithNonEscapedParenthesisIntoOperandShouldThrowError()
           
 void detectOperatorShouldNeverThrowError()
           
 void escapedCharacterShouldBeTakenIntoAccount()
           
 void escapedCharactersOutOfOperandsWithDetectedOperandsShouldThrowAnError()
           
 void escapedClosingParenthesisShouldBeTakenIntoAccountAsValue()
           
 void escapedOpeningParenthesisShouldBeTakenIntoAccountAsValue()
           
 void escapeEscapeCharacterShouldKeepEscapeCharacter()
           
 void missingClosingParenthesisIntoComplexExpressionShouldThrowAnError()
           
 void missingClosingParenthesisIntoValueShouldThrowError()
           
 void missingClosingParenthesisShouldThrowAnError()
           
 void missingOpeningParenthesisIntoValueShouldThrowError()
           
 void missingOpeningParenthesisShouldThrowAnError()
           
 void noOperatorWithSeveralPartsShouldThrowAnError()
           
 void nullExpressionShouldThrowError()
           
 void operatorWithoutOperandIsPartOfValue()
           
 void simpleExpression()
           
 void spaceBetweenLettersShouldBetakenIntoAccount()
           
 void valueOutOfOperandsShouldThrowAnError()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exception

public org.junit.rules.ExpectedException exception
Constructor Detail

PrefixedNotationExpressionEngineAlphabeticalTest

public PrefixedNotationExpressionEngineAlphabeticalTest()
Method Detail

simpleExpression

public void simpleExpression()

detectOperatorShouldNeverThrowError

public void detectOperatorShouldNeverThrowError()

nullExpressionShouldThrowError

public void nullExpressionShouldThrowError()

noOperatorWithSeveralPartsShouldThrowAnError

public void noOperatorWithSeveralPartsShouldThrowAnError()

missingOpeningParenthesisShouldThrowAnError

public void missingOpeningParenthesisShouldThrowAnError()

escapedCharactersOutOfOperandsWithDetectedOperandsShouldThrowAnError

public void escapedCharactersOutOfOperandsWithDetectedOperandsShouldThrowAnError()

charactersOutOfOperandsWithDetectedOperandsShouldThrowAnError

public void charactersOutOfOperandsWithDetectedOperandsShouldThrowAnError()

missingClosingParenthesisShouldThrowAnError

public void missingClosingParenthesisShouldThrowAnError()

missingClosingParenthesisIntoComplexExpressionShouldThrowAnError

public void missingClosingParenthesisIntoComplexExpressionShouldThrowAnError()

valueOutOfOperandsShouldThrowAnError

public void valueOutOfOperandsShouldThrowAnError()

missingClosingParenthesisIntoValueShouldThrowError

public void missingClosingParenthesisIntoValueShouldThrowError()

escapedOpeningParenthesisShouldBeTakenIntoAccountAsValue

public void escapedOpeningParenthesisShouldBeTakenIntoAccountAsValue()

missingOpeningParenthesisIntoValueShouldThrowError

public void missingOpeningParenthesisIntoValueShouldThrowError()

escapeEscapeCharacterShouldKeepEscapeCharacter

public void escapeEscapeCharacterShouldKeepEscapeCharacter()

escapedClosingParenthesisShouldBeTakenIntoAccountAsValue

public void escapedClosingParenthesisShouldBeTakenIntoAccountAsValue()

operatorWithoutOperandIsPartOfValue

public void operatorWithoutOperandIsPartOfValue()

spaceBetweenLettersShouldBetakenIntoAccount

public void spaceBetweenLettersShouldBetakenIntoAccount()

escapedCharacterShouldBeTakenIntoAccount

public void escapedCharacterShouldBeTakenIntoAccount()

combineStringWithNonEscapedParenthesisIntoOperandShouldThrowError

public void combineStringWithNonEscapedParenthesisIntoOperandShouldThrowError()

combineStringPartShouldWork

public void combineStringPartShouldWork()


Copyright © 2016 Silverpeas. All Rights Reserved.