org.melati.poem.util.test
Class StringUtilsTest

Package class diagram package StringUtilsTest
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.melati.poem.util.test.StringUtilsTest
All Implemented Interfaces:
junit.framework.Test

public class StringUtilsTest
extends junit.framework.TestCase

A test for the org.melati.util.StringUtil class.

Author:
TimJ@paneris.org

Constructor Summary
StringUtilsTest()
           
 
Method Summary
 void testAppendEscaped()
          Test method for org.melati.util.StringUtils#appendEscaped(StringBuffer, String, char).
 void testAppendQuoted()
          Test method for org.melati.util.StringUtils#appendQuoted(StringBuffer, String, char).
 void testCapitalised()
          Test method for org.melati.util.StringUtils#capitalised(String).
 void testConcatenated()
          Test method for org.melati.util.StringUtils#concatenated(String, String[]).
 void testEscaped()
          Test method for org.melati.util.StringUtils#escaped(String, char).
 void testHexDecodingChar()
          Test method for org.melati.util.StringUtils#hexDecoding(char).
 void testHexDecodingString()
          Test method for org.melati.util.StringUtils#hexDecoding(String).
 void testHexEncoding()
          Test hex encoding and decoding.
 void testIsQuoted()
          Test method for org.melati.util.StringUtils#isQuoted(String).
 void testIsQuotedBlank()
          Test method for org.melati.util.StringUtils#isQuoted(String).
 void testIsQuotedDouble()
          Test method for org.melati.util.StringUtils#isQuoted(String).
 void testIsQuotedNot()
          Test method for org.melati.util.StringUtils#isQuoted(String).
 void testIsQuotedNull()
          Test method for org.melati.util.StringUtils#isQuoted(String).
 void testIsQuotedSingle()
          Test method for org.melati.util.StringUtils#isQuoted(String).
 void testNulled()
          Test method for org.melati.util.StringUtils#nulled(String).
 void testQuoted()
          Test method for org.melati.util.StringUtils#quoted(String, char).
 void testRandomString()
          Test method for org.melati.util.StringUtils#randomString(int).
 void testSplit()
          Test method for org.melati.util.StringUtils#split(String, char).
 void testTrStringCharChar()
          Test method for org.melati.util.StringUtils#tr(String, char, char).
 void testTrStringStringString()
          Test method for org.melati.util.StringUtils#tr(String, String, String).
 void testUncapitalised()
          Test method for org.melati.util.StringUtils#uncapitalised(String).
 void testUnNulled()
          Test method for org.melati.util.StringUtils#unNulled(String).
 void testUnNulledNull()
          Test method for org.melati.util.StringUtils#unNulled(String).
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

testSplit

public void testSplit()
Test method for org.melati.util.StringUtils#split(String, char).


testAppendEscaped

public void testAppendEscaped()
Test method for org.melati.util.StringUtils#appendEscaped(StringBuffer, String, char).


testAppendQuoted

public void testAppendQuoted()
Test method for org.melati.util.StringUtils#appendQuoted(StringBuffer, String, char).


testQuoted

public void testQuoted()
Test method for org.melati.util.StringUtils#quoted(String, char).


testEscaped

public void testEscaped()
Test method for org.melati.util.StringUtils#escaped(String, char).


testCapitalised

public void testCapitalised()
Test method for org.melati.util.StringUtils#capitalised(String).


testUncapitalised

public void testUncapitalised()
Test method for org.melati.util.StringUtils#uncapitalised(String).


testTrStringStringString

public void testTrStringStringString()
Test method for org.melati.util.StringUtils#tr(String, String, String).


testTrStringCharChar

public void testTrStringCharChar()
Test method for org.melati.util.StringUtils#tr(String, char, char).


testConcatenated

public void testConcatenated()
Test method for org.melati.util.StringUtils#concatenated(String, String[]).


testRandomString

public void testRandomString()
Test method for org.melati.util.StringUtils#randomString(int).


testNulled

public void testNulled()
Test method for org.melati.util.StringUtils#nulled(String).


testUnNulled

public void testUnNulled()
Test method for org.melati.util.StringUtils#unNulled(String).


testUnNulledNull

public void testUnNulledNull()
Test method for org.melati.util.StringUtils#unNulled(String).


testHexEncoding

public void testHexEncoding()
Test hex encoding and decoding. Test method for 'org.melati.util.StringUtils.hexEncoding(byte[])'


testHexDecodingChar

public void testHexDecodingChar()
Test method for org.melati.util.StringUtils#hexDecoding(char).


testHexDecodingString

public void testHexDecodingString()
Test method for org.melati.util.StringUtils#hexDecoding(String).


testIsQuoted

public void testIsQuoted()
Test method for org.melati.util.StringUtils#isQuoted(String).


testIsQuotedNull

public void testIsQuotedNull()
Test method for org.melati.util.StringUtils#isQuoted(String).


testIsQuotedBlank

public void testIsQuotedBlank()
Test method for org.melati.util.StringUtils#isQuoted(String).


testIsQuotedNot

public void testIsQuotedNot()
Test method for org.melati.util.StringUtils#isQuoted(String).


testIsQuotedDouble

public void testIsQuotedDouble()
Test method for org.melati.util.StringUtils#isQuoted(String).


testIsQuotedSingle

public void testIsQuotedSingle()
Test method for org.melati.util.StringUtils#isQuoted(String).



Copyright © 2000-2010 PanEris. All Rights Reserved.