org.sadun.util.test
Class JustifyWriterTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.sadun.util.test.JustifyWriterTestCase
All Implemented Interfaces:
junit.framework.Test

public class JustifyWriterTestCase
extends junit.framework.TestCase

Author:
Cristiano Sadun

Constructor Summary
JustifyWriterTestCase()
           
 
Method Summary
protected  void setUp()
           
 void testJustification()
           
 void testParagraph()
           
 void testPreserveSpace()
           
 void testSingleWord()
           
 void testTwoWords()
           
 void testWordLongerThanLine()
           
 
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

JustifyWriterTestCase

public JustifyWriterTestCase()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

testWordLongerThanLine

public void testWordLongerThanLine()

testTwoWords

public void testTwoWords()

testParagraph

public void testParagraph()
                   throws java.io.IOException
Throws:
java.io.IOException

testJustification

public void testJustification()

testSingleWord

public void testSingleWord()

testPreserveSpace

public void testPreserveSpace()