test.de.smartics.exceptions.i18n.message
Class MessageParentParamParserTest

Package class diagram package MessageParentParamParserTest
java.lang.Object
  extended by test.de.smartics.exceptions.i18n.message.MessageParentParamParserTest

public class MessageParentParamParserTest
     
     
extends Object

Tests method MessageParamParser.parseParentMessageParam(String).

Author:
Robert Reiner

Constructor Summary
MessageParentParamParserTest()
           
 
Method Summary
 void negativeColonNoOgnlButSpace()
          Checks the method with a string with a digit and an OGNL path.
 void negativeNoIndexButOgnl()
          Checks the method with a string where the index number is missing.
 void negativeNoIndexSpace()
          Checks the method with a string where the index number is missing.
 void negativeNoNumber()
          Checks the method with a string where the index number is missing.
 void testEmpty()
          Checks the method with the empty string.
 void testNull()
          Checks the method with a null value.
 void testOneAttribute()
          Checks the method with a string with a one attribute.
 void testOneAttributeMany()
          Checks the method with a string: one attribute but many place holder indices.
 void testSpace()
          Checks the method with a string with a space.
 void testTwoAttributesMany()
          Checks the method with a string: two attributes and place holder indices.
 void testTwoAttributesManySpaces()
          Checks the method with a string: two attributes and place holder indices with spaces.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageParentParamParserTest

public MessageParentParamParserTest()
Method Detail

testNull

public void testNull()
Checks the method with a null value.


testEmpty

public void testEmpty()
Checks the method with the empty string.


testSpace

public void testSpace()
Checks the method with a string with a space.


testOneAttribute

public void testOneAttribute()
Checks the method with a string with a one attribute.


testOneAttributeMany

public void testOneAttributeMany()
Checks the method with a string: one attribute but many place holder indices.


testTwoAttributesMany

public void testTwoAttributesMany()
Checks the method with a string: two attributes and place holder indices.


testTwoAttributesManySpaces

public void testTwoAttributesManySpaces()
Checks the method with a string: two attributes and place holder indices with spaces.


negativeNoNumber

public void negativeNoNumber()
Checks the method with a string where the index number is missing.


negativeNoIndexButOgnl

public void negativeNoIndexButOgnl()
Checks the method with a string where the index number is missing.


negativeNoIndexSpace

public void negativeNoIndexSpace()
Checks the method with a string where the index number is missing.


negativeColonNoOgnlButSpace

public void negativeColonNoOgnlButSpace()
Checks the method with a string with a digit and an OGNL path.



Copyright © 2007-$2011 Kronseder & Reiner GmbH - smartics. All Rights Reserved.