foundry-0.9.1

foundry.io
Class TestCaseIndentablePrintWriter

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--foundry.io.TestCaseIndentablePrintWriter
All Implemented Interfaces:
junit.framework.Test

public class TestCaseIndentablePrintWriter
extends junit.framework.TestCase


Field Summary
private  StringBuffer buffer
           
private  int spaces
           
private  IndentablePrintWriter writer
           
 
Fields inherited from class junit.framework.TestCase
fName
 
Constructor Summary
TestCaseIndentablePrintWriter(String name)
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testWrite()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, name, run, run, runBare, runTest, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail, failNotEquals, failNotSame
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

writer

private IndentablePrintWriter writer

buffer

private StringBuffer buffer

spaces

private int spaces
Constructor Detail

TestCaseIndentablePrintWriter

public TestCaseIndentablePrintWriter(String name)
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class junit.framework.TestCase

testWrite

public void testWrite()
               throws IOException

tearDown

public void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

foundry-0.9.1

Copyright © 2000 - Laird Jarrett Nelson