org.ujac.util.test
Class StringUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ujac.util.test.StringUtilsTest
All Implemented Interfaces:
junit.framework.Test

public class StringUtilsTest
extends junit.framework.TestCase

Name: StringUtilsTest
Description: Tests for the StringUtils class.

Author:
lauerc

Constructor Summary
StringUtilsTest()
           
 
Method Summary
protected  void setUp()
           
 void testEquals()
          Tests the equals comparison.
 void testEqualsCaseInsensitive()
          Tests the equals comparison.
 void testLike()
          Tests the like comparison.
 void testLikeCaseInsensitive()
          Tests the like comparison.
 void testTrimHead()
          Tests the trimHead() method.
 void testTrimTail()
          Tests the trimTail() method.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringUtilsTest

public StringUtilsTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception
See Also:
TestCase.setUp()

testEquals

public void testEquals()
                throws Exception
Tests the equals comparison.

Throws:
Exception - In case something went wrong.

testEqualsCaseInsensitive

public void testEqualsCaseInsensitive()
                               throws Exception
Tests the equals comparison.

Throws:
Exception - In case something went wrong.

testLike

public void testLike()
              throws Exception
Tests the like comparison.

Throws:
Exception - In case something went wrong.

testLikeCaseInsensitive

public void testLikeCaseInsensitive()
                             throws Exception
Tests the like comparison.

Throws:
Exception - In case something went wrong.

testTrimHead

public void testTrimHead()
                  throws Exception
Tests the trimHead() method.

Throws:
Exception - In case something went wrong.

testTrimTail

public void testTrimTail()
                  throws Exception
Tests the trimTail() method.

Throws:
Exception - In case something went wrong.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.