ps3.test
Class PS3TestDriver
java.lang.Object
ps3.test.PS3TestDriver
public class PS3TestDriver
- extends Object
This class implements a testing driver which reads test scripts
from files for testing Graph and PathFinder.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PS3TestDriver
public PS3TestDriver(Reader r,
Writer w)
- Requires:
- r != null && w != null
- Effects:
- Creates a new PS3TestDriver which reads command from
r and writes results to w.
main
public static void main(String[] args)
runTests
public void runTests()
throws IOException
- Throws:
IOException
- if the input or output sources encounter an IOException- Effects:
- Executes the commands read from the input and writes results to the output