foundry.io
Class TestCaseCommentStrippingBufferedReader
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--foundry.io.TestCaseCommentStrippingBufferedReader
- All Implemented Interfaces:
- junit.framework.Test
- public class TestCaseCommentStrippingBufferedReader
- extends junit.framework.TestCase
Fields inherited from class junit.framework.TestCase |
fName |
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 |
file
private File file
reader
private CommentStrippingBufferedReader reader
rawLines
private static final String[] rawLines
expectedLines
private static final String[] expectedLines
TestCaseCommentStrippingBufferedReader
public TestCaseCommentStrippingBufferedReader(String name)
setUp
public void setUp()
throws Exception
- Overrides:
setUp
in class junit.framework.TestCase
writeTestFile
private void writeTestFile(File file)
throws IOException
testReadLine
public void testReadLine()
testRead
public void testRead()
testPathologicalRead
public void testPathologicalRead()
testReadArray
public void testReadArray()
performTestReadArrayOnNormalSystems
private void performTestReadArrayOnNormalSystems()
performTestReadArrayOnBrokenSystems
private void performTestReadArrayOnBrokenSystems()
tearDown
public void tearDown()
throws Exception
- Overrides:
tearDown
in class junit.framework.TestCase
Copyright © 2000 - Laird Jarrett Nelson