Package cc.mallet.pipe.tests
Class TestStringIterator
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- cc.mallet.pipe.tests.TestStringIterator
-
- All Implemented Interfaces:
junit.framework.Test
public class TestStringIterator extends junit.framework.TestCase
-
-
Constructor Summary
Constructors Constructor Description TestStringIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testEmptyStringConstructor()
void
testExtract()
void
testIsBlank()
void
testIsCapitalized()
void
testIsLowerCase()
void
testIsUpperCase()
void
testMoveAhead()
void
testMovePast()
void
testMovePastWhitespace()
void
testMoveToChar()
void
testMoveToEndOfLine()
void
testMoveToOneChar()
void
testMoveToString()
void
testNullStringConstructor()
void
testPeek()
void
testStringConstructor()
void
testTrimLeft()
void
testTrimRight()
-
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
-
-
-
Method Detail
-
testNullStringConstructor
public void testNullStringConstructor()
-
testEmptyStringConstructor
public void testEmptyStringConstructor()
-
testStringConstructor
public void testStringConstructor()
-
testPeek
public void testPeek()
-
testExtract
public void testExtract()
-
testMoveAhead
public void testMoveAhead()
-
testMoveToString
public void testMoveToString()
-
testMoveToChar
public void testMoveToChar()
-
testMoveToOneChar
public void testMoveToOneChar()
-
testMoveToEndOfLine
public void testMoveToEndOfLine()
-
testMovePast
public void testMovePast()
-
testMovePastWhitespace
public void testMovePastWhitespace()
-
testIsLowerCase
public void testIsLowerCase()
-
testIsUpperCase
public void testIsUpperCase()
-
testIsCapitalized
public void testIsCapitalized()
-
testIsBlank
public void testIsBlank()
-
testTrimLeft
public void testTrimLeft()
-
testTrimRight
public void testTrimRight()
-
-