Assignment 6
CpSc 873
More on PACT Classes
Testing individual classes requires (1) a test driver and (2) test cases. PACT provides a way to organize both. The file
AbstractTest.java contains the abstract class for the AbstractTest class from which other PACT classes inherit. This assignment includes a number of activities.This is an individual assignment.
Here is the all transitions suite for the 3 classes in exercise 2.
In order for reflection to work, you must create a .java.policy (no spaces in that name) file in your home directory. It should contain a statement like the following:
grant codeBase "file:/c:/jdk1.2/lib/brickles/" {
permission java.security.AllPermission;
permission java.lang.RuntimePermission "exitVM";
};
OK, I will change the deadline, BUT I believe that doing this work will be a very good way to study for the exam.
Due: March 8, 1999 prior to 6 pm. Use Word format. Use the handin command.