JML

Package org.jmlspecs.samples.prelimdesign

This package contains samples of JML specifications from the paper Preliminary Design of JML.

See:
          Description

Interface Summary
Money  
MoneyComparable  
MoneyOps  
 

Class Summary
Account  
Account_JML_Test Automatically-generated test driver for JML and JUnit based testing of Account.
Account_JML_Test.OneTest A JUnit test object that can run a single test method.
Account_JML_Test.TestAccount Test for the Account contructor.
Account_JML_Test.TestBalance Test for the balance method.
Account_JML_Test.TestDeposit Test for the deposit method.
Account_JML_Test.TestPayInterest Test for the payInterest method.
Account_JML_Test.TestToString Test for the toString method.
Account_JML_Test.TestWithdraw Test for the withdraw method.
Account_JML_TestData Supply test data for the JML and JUnit based testing of Account.
IntMathOps  
IntMathOps2  
IntMathOps2_JML_Test Automatically-generated test driver for JML and JUnit based testing of IntMathOps2.
IntMathOps2_JML_Test.OneTest A JUnit test object that can run a single test method.
IntMathOps2_JML_Test.TestIsqrt Test for the isqrt method.
IntMathOps2_JML_TestData Supply test data for the JML and JUnit based testing of IntMathOps2.
IntMathOps3  
IntMathOps4  
IntMathOps4_JML_Test Automatically-generated test driver for JML and JUnit based testing of IntMathOps4.
IntMathOps4_JML_Test.OneTest A JUnit test object that can run a single test method.
IntMathOps4_JML_Test.TestIsqrt Test for the isqrt method.
IntMathOps4_JML_TestData Supply test data for the JML and JUnit based testing of IntMathOps4.
IntMathOps_JML_Test Automatically-generated test driver for JML and JUnit based testing of IntMathOps.
IntMathOps_JML_Test.OneTest A JUnit test object that can run a single test method.
IntMathOps_JML_Test.TestIsqrt Test for the isqrt method.
IntMathOps_JML_TestData Supply test data for the JML and JUnit based testing of IntMathOps.
MoneyAC  
MoneyComparableAC  
PlusAccount  
PlusAccount_JML_Test Automatically-generated test driver for JML and JUnit based testing of PlusAccount.
PlusAccount_JML_Test.OneTest A JUnit test object that can run a single test method.
PlusAccount_JML_Test.TestBalance Test for the balance method.
PlusAccount_JML_Test.TestDeposit Test for the deposit method.
PlusAccount_JML_Test.TestDepositToChecking Test for the depositToChecking method.
PlusAccount_JML_Test.TestPayCheck Test for the payCheck method.
PlusAccount_JML_Test.TestPayInterest Test for the payInterest method.
PlusAccount_JML_Test.TestPlusAccount Test for the PlusAccount contructor.
PlusAccount_JML_Test.TestToString Test for the toString method.
PlusAccount_JML_Test.TestWithdraw Test for the withdraw method.
PlusAccount_JML_TestData Supply test data for the JML and JUnit based testing of PlusAccount.
Point2D  
Point2D_JML_Test Automatically-generated test driver for JML and JUnit based testing of Point2D.
Point2D_JML_Test.OneTest A JUnit test object that can run a single test method.
Point2D_JML_Test.TestGetX Test for the getX method.
Point2D_JML_Test.TestGetY Test for the getY method.
Point2D_JML_Test.TestMoveX Test for the moveX method.
Point2D_JML_Test.TestMoveY Test for the moveY method.
Point2D_JML_Test.TestPoint2D Test for the Point2D contructor.
Point2D_JML_Test.TestPoint2D$1 Test for the Point2D contructor.
Point2D_JML_TestData Supply test data for the JML and JUnit based testing of Point2D.
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  
USMoney  
USMoney_JML_Test Automatically-generated test driver for JML and JUnit based testing of USMoney.
USMoney_JML_Test.OneTest A JUnit test object that can run a single test method.
USMoney_JML_Test.TestCents Test for the cents method.
USMoney_JML_Test.TestClone Test for the clone method.
USMoney_JML_Test.TestDollars Test for the dollars method.
USMoney_JML_Test.TestEquals Test for the equals method.
USMoney_JML_Test.TestGreaterThan Test for the greaterThan method.
USMoney_JML_Test.TestGreaterThanOrEqualTo Test for the greaterThanOrEqualTo method.
USMoney_JML_Test.TestHashCode Test for the hashCode method.
USMoney_JML_Test.TestLessThan Test for the lessThan method.
USMoney_JML_Test.TestLessThanOrEqualTo Test for the lessThanOrEqualTo method.
USMoney_JML_Test.TestMinus Test for the minus method.
USMoney_JML_Test.TestPlus Test for the plus method.
USMoney_JML_Test.TestScaleBy Test for the scaleBy method.
USMoney_JML_Test.TestToString Test for the toString method.
USMoney_JML_Test.TestUSMoney Test for the USMoney contructor.
USMoney_JML_Test.TestUSMoney$1 Test for the USMoney contructor.
USMoney_JML_TestData Supply test data for the JML and JUnit based testing of USMoney.
 

Package org.jmlspecs.samples.prelimdesign Description

This package contains samples of JML specifications from the paper Preliminary Design of JML. The idea is that otherwise uncategorized examples from the preliminary design document should appear here, so that they can be looked at independently and checked by the checker and our tests.


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.