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

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

public class MessageTemplateAnalyserMaxIndexTest
     
     
extends Object

Tests MessageTemplateAnalyser.maxIndex(String) .

Author:
Robert Reiner

Constructor Summary
MessageTemplateAnalyserMaxIndexTest()
           
 
Method Summary
 void testEmpty()
          Tests the method with the empty String value.
 void testExactlyOne()
          Tests the method with a string with a single place holder.
 void testExactlyTwo()
          Tests the method with a string with two place holder.
 void testManyInMessage()
          Tests the method with a string with many place holder and some other chars.
 void testMoreStructure()
          Tests the method with a place holder that contains more than just a digit.
 void testNone()
          Tests the method with a string with no place holder.
 void testNull()
          Tests the method with a null value.
 void testOneInMessage()
          Tests the method with a string with one place holder and some other chars.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageTemplateAnalyserMaxIndexTest

public MessageTemplateAnalyserMaxIndexTest()
Method Detail

testNull

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


testEmpty

public void testEmpty()
Tests the method with the empty String value.


testNone

public void testNone()
Tests the method with a string with no place holder.


testExactlyOne

public void testExactlyOne()
Tests the method with a string with a single place holder.


testExactlyTwo

public void testExactlyTwo()
Tests the method with a string with two place holder.


testOneInMessage

public void testOneInMessage()
Tests the method with a string with one place holder and some other chars.


testManyInMessage

public void testManyInMessage()
Tests the method with a string with many place holder and some other chars.


testMoreStructure

public void testMoreStructure()
Tests the method with a place holder that contains more than just a digit.



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