jline
Class AssertionHelper
java.lang.Object
jline.AssertionHelper
public class AssertionHelper
- extends Object
Tests for the graph constructor.
This class is based on the jLine tests.
Control Version
- Version:
- 1.8.0 2010-05-05
- Author:
- Andres Gomez Casanova (AngocA)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
console
public static ConsoleReader console
- jLine console.
AssertionHelper
public AssertionHelper()
assertBuffer
public static void assertBuffer(String message,
String expected,
Buffer buffer)
throws IOException
- Asserts the value of a buffer with a given String.
- Parameters:
message
- Message of the tests.expected
- Expected value.buffer
- Actual value in the buffer.
- Throws:
IOException
- If there is a problem reading the console.
Andres Gomez Casanova (AngocA) 2009-2010 
This work is licensed under a Creative Commons Attribution 3.0 Unported License.