How to do the Integration Testing
Everything you need to do your integration testing is now available.
Here's how to do it:
- Go to the main Assignments page and follow the link
under Assignment 2
to the page of simulator code.
Note that we are providing only
the compiled ".class" files. You don't get to see the source code
(nor do you need to).
-
Make a directory in which you want to do the integration testing
and
copy each of the class files into that directory.
-
Follow the link to the "odd/even number of ones" example on the
Assignment 2 page
and
save the html file for that web page into a file of your own,
using the File pull-down menu in Netscape (or the equivalent in
another browswer). Put it in a file called "tm.html".
-
Export your own code for ListWithCurrent into that directory.
Export it as a class file.
-
Now open the "tm.html" file by using the File pull-down menu in Netscape
and selecting "open file".
The html file will now run the applet according to the code
in your own directory.