| TeachScheme/ReachJava: JavaLib | ![]() | ||||||||||||
The JavaLib libraries are designed to be used with Java 1.5 language (or higher). For reports on the updates and bug fixes see the updates page The Test Harness The tester library provides a test harness that supports a comparison of two instances of a class
based on the values of the data (extensional equality), in contrast to the reference equality (intensional equality)
that is provided by default through the Java The test harness reports the
number of tests performed, the number failed, provides a report on all failed tests with a reference to the
test that failed as well as a display of the actual and expected values. Additionally, it also supports the
conversion of any object to a representation as a well-formatted The library is packaged as a single jar file and can be used with any IDE. Instructions fo the use with Eclipse, NetBeans, BlueJ, and command line are given (see Conversions). World Libraries The collection of World libraries replicates the functionality of corresponding libraries in ProfessorJ environment, supporting the design of programs that include simple drawings and interactive animations and games. An additional library allows the programmer to publish the drawing, animation, or a game as a Java applet. ProfessorJ programmers can use the World libraries without changing the program
(other than adding Converting from ProfessorJ to Java The conversion of the test cases from ProfessorJ to full Java requires mostly syntactical translation.
We include a description of the transition from ProfessorJ
style of test design to the one supported by the To ease this transition from ProfessorJ to full Java language, we provide a simple
conversion program that reads the ProfessorJ file and write a new file with the test case syntax changed to
that used with the This software is distributed under the LGPL license. Partial support for this project has been provided by the NSF grant: Redesigning Introductory Computing: The Design Discipline (DUE-0618543) For information about these libraries and to report bugs please e-mail Viera K. Proulx | ||||||||||||||
| last updated on Thu Nov 19 12:14:20 EST 2009 | generated with PLT Scheme |