uwcse.collections
Class MapTester

java.lang.Object
  |
  +--uwcse.collections.Tester
        |
        +--uwcse.collections.MapTester

public class MapTester
extends Tester

A simple test harness for testing implementations of the SimpleMap interface. A console oriented, menu driven interaction allows the user to perform operations on the given map. Because it uses console IO, this application is easily scriptable, to perform batch testing.


Inner classes inherited from class uwcse.collections.Tester
Tester.Operation
 
Constructor Summary
MapTester(SimpleMap map, java.io.Reader r, boolean doPrompt)
          Make a new tester object for the given map.
 
Method Summary
 void test()
          The main test method.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapTester

public MapTester(SimpleMap map,
                 java.io.Reader r,
                 boolean doPrompt)
Make a new tester object for the given map.
Method Detail

test

public void test()
          throws java.io.IOException
The main test method. Loops forever, prompting the user for an action, and then dispatching.