foundry-0.9.1

foundry.io
Class TestCaseTabToSpaceWriter

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

public class TestCaseTabToSpaceWriter
extends junit.framework.TestCase


Field Summary
private  String spaces
           
private  StringWriter stringWriter
           
private  TabToSpaceWriter writer
           
 
Fields inherited from class junit.framework.TestCase
fName
 
Constructor Summary
TestCaseTabToSpaceWriter(String name)
           
 
Method Summary
private  void cleanUpBuffer()
           
 void setUp()
           
 void tearDown()
           
 void testConvertTabsToSpaces()
           
 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 TabToSpaceWriter writer

stringWriter

private StringWriter stringWriter

spaces

private String spaces
Constructor Detail

TestCaseTabToSpaceWriter

public TestCaseTabToSpaceWriter(String name)
Method Detail

setUp

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

testWrite

public void testWrite()
               throws IOException

testConvertTabsToSpaces

public void testConvertTabsToSpaces()
                             throws IOException

cleanUpBuffer

private void cleanUpBuffer()

tearDown

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

foundry-0.9.1

Copyright © 2000 - Laird Jarrett Nelson