JML

Package org.jmlspecs.samples.jmltutorial

This package contains samples of JML specifications from the tutorials.

See:
          Description

Class Summary
Person  
Person_JML_Test Automatically-generated test driver for JML and JUnit based testing of Person.
Person_JML_Test.OneTest A JUnit test object that can run a single test method.
Person_JML_Test.TestAddKgs Test for the addKgs method.
Person_JML_Test.TestGetWeight Test for the getWeight method.
Person_JML_Test.TestPerson Test for the Person contructor.
Person_JML_Test.TestToString Test for the toString method.
Person_JML_TestData Supply test data for the JML and JUnit based testing of Person.
PersonMain  
SqrtExample  
SqrtExample_JML_Test Automatically-generated test driver for JML and JUnit based testing of SqrtExample.
SqrtExample_JML_Test.OneTest A JUnit test object that can run a single test method.
SqrtExample_JML_Test.TestSqrt Test for the sqrt method.
SqrtExample_JML_TestData Supply test data for the JML and JUnit based testing of SqrtExample.
TestSuite This class is automatically generated using org.multijava.util.testing.Main and is used to group a collection of JUnit tests for the local package and perhaps some subpackages.
TestSuite.TestSuite$1  
 

Package org.jmlspecs.samples.jmltutorial Description

This package contains samples of JML specifications from the tutorials. Currently this is a paper by Gary T. Leavens and Yoonsik Cheon titled "Design by Contract with JML".

The examples appear here so that they can be checked with the JML checker during testing of the release, and so we can be sure that they conform to the language.


JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.