ps6.test
Class PublicTextUITest

java.lang.Object
  extended by junit.framework.TestSuite
      extended by ps6.test.PublicTextUITest
All Implemented Interfaces:
Test

public class PublicTextUITest
extends TestSuite

Public (Specification) TextUI Test Suite


Field Summary
static String END_PROMPT
           
static String EOL
           
static String INPUT_PROMPTS
           
 
Constructor Summary
PublicTextUITest()
           
PublicTextUITest(String name)
           
 
Method Summary
static String genTextUiStdIn(TestRecord record)
          Generate the TextUI input for a test record
static String genTextUiStdOut(TestRecord record)
          Generate the expected TextUI output for a test record
 PS6TextUiTestCase makeUiTest(TestRecord record)
           
static Test suite()
           
 
Methods inherited from class junit.framework.TestSuite
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INPUT_PROMPTS

public static final String INPUT_PROMPTS
See Also:
Constant Field Values

END_PROMPT

public static final String END_PROMPT
See Also:
Constant Field Values

EOL

public static String EOL
Constructor Detail

PublicTextUITest

public PublicTextUITest()

PublicTextUITest

public PublicTextUITest(String name)
Method Detail

makeUiTest

public PS6TextUiTestCase makeUiTest(TestRecord record)

suite

public static Test suite()

genTextUiStdOut

public static String genTextUiStdOut(TestRecord record)
Generate the expected TextUI output for a test record

Parameters:
record - a PS6 test
Returns:
the expected TestUI output for a test

genTextUiStdIn

public static String genTextUiStdIn(TestRecord record)
Generate the TextUI input for a test record

Parameters:
record - a PS6 test
Returns:
the TextUI input for the test