edu.rice.cs.util
Class StreamRedirectorTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
edu.rice.cs.drjava.DrJavaTestCase
edu.rice.cs.util.StreamRedirectorTest
- All Implemented Interfaces:
- Test
public class StreamRedirectorTest
- extends DrJavaTestCase
Test suite over InputStreamRedirector.
Method Summary |
void |
testDynamicInput()
Tests that an InputStreamRedirector correctly redirects input that changes. |
void |
testEmptyInput()
Tests that an InputStreamRedirector correctly rejects empty input. |
void |
testMultiLineInput()
Tests that an InputStreamRedirector correctly calls _getInput() only
when it is needed. |
void |
testStaticInput()
Tests that an InputStreamRedirector correctly redirects input that is static. |
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, format |
StreamRedirectorTest
public StreamRedirectorTest()
testEmptyInput
public void testEmptyInput()
throws IOException
- Tests that an InputStreamRedirector correctly rejects empty input.
- Throws:
IOException
testStaticInput
public void testStaticInput()
throws IOException
- Tests that an InputStreamRedirector correctly redirects input that is static.
- Throws:
IOException
testDynamicInput
public void testDynamicInput()
throws IOException
- Tests that an InputStreamRedirector correctly redirects input that changes.
- Throws:
IOException
testMultiLineInput
public void testMultiLineInput()
throws IOException
- Tests that an InputStreamRedirector correctly calls _getInput() only
when it is needed.
- Throws:
IOException