com.penguinwerks.jodene
Class Example

java.lang.Object
  extended bycom.penguinwerks.jodene.Example
All Implemented Interfaces:
java.io.Serializable

public class Example
extends java.lang.Object
implements java.io.Serializable

Encapsulates an example - which is a set of inputs and a set of expected values. These become part of an example set.

Author:
Paul Hoehne
See Also:
Serialized Form

Constructor Summary
Example()
           
 
Method Summary
 java.util.Map getExpected()
          Returns the expected values for this example.
 java.util.Map getInputs()
          The inputs expected to produce the given expected values.
 void setExpected(java.util.Map expected)
          Set the expected results for this example.
 void setInputs(java.util.Map inputs)
          The inputs expected to produce the given expected result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Example

public Example()
Method Detail

getExpected

public java.util.Map getExpected()
Returns the expected values for this example.

Returns:
Returns the expected.

setExpected

public void setExpected(java.util.Map expected)
Set the expected results for this example.

Parameters:
expected - The expected to set.

getInputs

public java.util.Map getInputs()
The inputs expected to produce the given expected values.

Returns:
Returns the inputs.

setInputs

public void setInputs(java.util.Map inputs)
The inputs expected to produce the given expected result.

Parameters:
inputs - The inputs to set.