CS U370 Assignment #5 Section: Clinger Assigned: Friday, 19 October 2006 Due: Friday, 3 November 2006 You will write a black-box test program in Java for the Report ADT of assignment 4. Collaboration between students is forbidden on this assignment. You are responsible for keeping your code hidden from all other students. Part of your grade will be determined by how well you hide your code, part of your grade will be determined by how well you follow the instructions for submitting your code, part of your grade will depend upon the correctness of your code, part of your grade will depend upon the effectiveness of your tests, and part of your grade will depend upon the readability of your code (e.g. formatting and comments). Turn in your work on this assignment before 10 pm on the due date by sending electronic mail to will@ccs.neu.edu with subject CSU370 assignment 5 and a body that consists of nothing but your TestReport.java file. That file should begin with a block comment that lists 1. Your name, as you want the instructor to write it. 2. Your email address. 3. Any remarks that you wish to make to the instructor. Late assignments may be discounted, and very late assignments may be discarded. -------------------------------------------------- Your assignment is to write the code for a single file, TestReport.java, in the project package, that declares a public class named TestReport, that defines a public static void main (String[]) method that, when called with any array of strings as its argument, ignores that array and performs black-box testing of the Report ADT that was specified in assignment 4. Your program shall report any failed tests by writing a failure message to System.out. When testing is concluded, your program should write a message to System.out that reports the total number of tests that were run, and the number of tests that uncovered an error in the implementation under test. That message should begin on a new line, and (apart from the numbers) should look like this: Total Tests:500 ** Errors:37 Your black-box test program is a client of the Report ADT, so it must work properly with any correct implementation of this ADT. It should also do a good job of detecting common errors in incorrect implementations of this ADT. --------------------------------------------------