de.smartics.util.lang
Class StringFunctionIsLastCharTest
java.lang.Object
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)
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringFunctionIsLastCharTest
public StringFunctionIsLastCharTest()
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.