jline
Class AssertionHelper

Package class diagram package AssertionHelper
java.lang.Object
  extended by 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)

Field Summary
static ConsoleReader console
          jLine console.
 
Constructor Summary
AssertionHelper()
           
 
Method Summary
static void assertBuffer(String message, String expected, Buffer buffer)
          Asserts the value of a buffer with a given String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

console

public static ConsoleReader console
jLine console.

Constructor Detail

AssertionHelper

public AssertionHelper()
Method Detail

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 Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.