public class TransitionTest
extends java.lang.Object
Created: Tue Sep 16 09:30:46 2014
| Constructor and Description |
|---|
TransitionTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Setup for the tests.
|
void |
testGetDestination()
Test method for
getDestination. |
void |
testGetEtiquette()
Test method for
getEtiquette. |
void |
testToString()
Testing if the
toString method is correct for t1,
t2, t3 and t4. |
void |
testTransitionsQ0()
Testing that the transitions list of q0 is correct (t1 and t2).
|
void |
testTransitionsQ1()
Testing that the transitions list of q1 is correct (empty list).
|
void |
testTransitionsQ2()
Testing that the transitions list of q2 is correct (t3 and t4).
|
public void setUp()
public void testGetDestination()
getDestination. Very simple test
using transitions q0 -> q1, q0 -> q2 and q2 -> q2.public void testGetEtiquette()
getEtiquette. Very simple test
using four transitions.public void testTransitionsQ0()
public void testTransitionsQ1()
public void testTransitionsQ2()
public void testToString()
toString method is correct for t1,
t2, t3 and t4.