de.smartics.util.lang
Class StringFunctionIsLastCharTest

Package class diagram package StringFunctionIsLastCharTest
java.lang.Object
  extended by de.smartics.util.lang.StringFunctionIsLastCharTest

@Uut(type=de.smartics.util.lang.StringFunction.class,
     method="isLastChar(String, char)")
public class StringFunctionIsLastCharTest
     
     
extends Object

Tests StringFunction.isLastChar(String, char).


Constructor Summary
StringFunctionIsLastCharTest()
           
 
Method Summary
 void noCharacterIsTheLastCharOfTheEmptyString()
           
 void noCharacterIsTheLastCharOfTheNullString()
           
 void theLastCharOfAOneCharacterStringMatches()
           
 void theLastCharOfAOneCharacterStringThatDoesNotMatch()
           
 void theLastCharOfAStringThatDoesNotMatch()
           
 void theLastCharOfAStringThatMatches()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringFunctionIsLastCharTest

public StringFunctionIsLastCharTest()
Method Detail

noCharacterIsTheLastCharOfTheNullString

@TestDocHint(sentence="isLastChar: null, {any} -> false",
             indexSortKey="001")
public void noCharacterIsTheLastCharOfTheNullString()

noCharacterIsTheLastCharOfTheEmptyString

@TestDocHint(sentence="isLastChar: \"\", {any} -> false",
             indexSortKey="002")
public void noCharacterIsTheLastCharOfTheEmptyString()

theLastCharOfAOneCharacterStringMatches

@TestDocHint(sentence="isLastChar: \"a\", \'a\' -> true",
             indexSortKey="003")
public void theLastCharOfAOneCharacterStringMatches()

theLastCharOfAOneCharacterStringThatDoesNotMatch

@TestDocHint(sentence="isLastChar: \"a\", \'x\' -> false",
             indexSortKey="004")
public void theLastCharOfAOneCharacterStringThatDoesNotMatch()

theLastCharOfAStringThatMatches

@TestDocHint(sentence="isLastChar: \"abc\", \'c\' -> true",
             indexSortKey="005")
public void theLastCharOfAStringThatMatches()

theLastCharOfAStringThatDoesNotMatch

@TestDocHint(sentence="isLastChar: \"abc\", \'x\' -> false",
             indexSortKey="006")
public void theLastCharOfAStringThatDoesNotMatch()


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