org.jcoderz.commons.logging
Class WhitespaceFormatTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jcoderz.commons.TestCase
              extended by org.jcoderz.commons.logging.WhitespaceFormatTest
All Implemented Interfaces:
Test

public class WhitespaceFormatTest
extends TestCase

This class tests the whitespace formatter.


Constructor Summary
WhitespaceFormatTest()
           
 
Method Summary
 void testLfWhiteSpace()
          Tests formatting of strings, with line feeds as white space.
 void testMixedWhiteSpace()
          Tests formatting of strings, with mixed whitespaces.
 void testSimpleWhiteSpace()
          Tests formatting of strings, which contains only '?' as white space.
 void testTabWhiteSpace()
          Tests formatting of strings, with tabs as white space.
 
Methods inherited from class org.jcoderz.commons.TestCase
getBaseDir, getHostName, getSuite, hasTestCases
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WhitespaceFormatTest

public WhitespaceFormatTest()
Method Detail

testSimpleWhiteSpace

public void testSimpleWhiteSpace()
Tests formatting of strings, which contains only '?' as white space.


testTabWhiteSpace

public void testTabWhiteSpace()
Tests formatting of strings, with tabs as white space.


testLfWhiteSpace

public void testLfWhiteSpace()
Tests formatting of strings, with line feeds as white space.


testMixedWhiteSpace

public void testMixedWhiteSpace()
Tests formatting of strings, with mixed whitespaces.



Copyright 2007 The jCoderZ Project.