JML

org.jmlspecs.models.resolve
Class NaturalNumber_JML_Test.TestLongValue

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jmlspecs.models.resolve.NaturalNumber_JML_TestData
              extended byorg.jmlspecs.models.resolve.NaturalNumber_JML_Test
                  extended byorg.jmlspecs.models.resolve.NaturalNumber_JML_Test.OneTest
                      extended byorg.jmlspecs.models.resolve.NaturalNumber_JML_Test.TestLongValue
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
NaturalNumber_JML_Test

protected static class NaturalNumber_JML_Test.TestLongValue
extends NaturalNumber_JML_Test.OneTest

Test for the longValue method.


Nested Class Summary
 
Nested classes inherited from class org.jmlspecs.models.resolve.NaturalNumber_JML_Test
NaturalNumber_JML_Test.OneTest, NaturalNumber_JML_Test.TestAdd, NaturalNumber_JML_Test.TestBigIntegerValue, NaturalNumber_JML_Test.TestByteValue, NaturalNumber_JML_Test.TestClone, NaturalNumber_JML_Test.TestCompareTo, NaturalNumber_JML_Test.TestDivide, NaturalNumber_JML_Test.TestDivides, NaturalNumber_JML_Test.TestDoubleValue, NaturalNumber_JML_Test.TestEquals, NaturalNumber_JML_Test.TestFloatValue, NaturalNumber_JML_Test.TestGcd, NaturalNumber_JML_Test.TestHashCode, NaturalNumber_JML_Test.TestIntValue, NaturalNumber_JML_Test.TestIsZero, NaturalNumber_JML_Test.TestLongValue, NaturalNumber_JML_Test.TestMax, NaturalNumber_JML_Test.TestMin, NaturalNumber_JML_Test.TestMod, NaturalNumber_JML_Test.TestMultiply, NaturalNumber_JML_Test.TestNaturalNumber, NaturalNumber_JML_Test.TestPow, NaturalNumber_JML_Test.TestRemainder, NaturalNumber_JML_Test.TestShiftLeft, NaturalNumber_JML_Test.TestShiftRight, NaturalNumber_JML_Test.TestShortValue, NaturalNumber_JML_Test.TestSuc, NaturalNumber_JML_Test.TestToString, NaturalNumber_JML_Test.TestValueOf
 
Field Summary
 
Fields inherited from class org.jmlspecs.models.resolve.NaturalNumber_JML_Test.OneTest
result
 
Fields inherited from class org.jmlspecs.models.resolve.NaturalNumber_JML_TestData
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
NaturalNumber_JML_Test.TestLongValue(NaturalNumber receiver$)
          Initialize this instance.
 
Method Summary
protected  void doCall()
           
protected  String failMessage(JMLAssertionError e$)
           
 
Methods inherited from class org.jmlspecs.models.resolve.NaturalNumber_JML_Test.OneTest
run, runTest
 
Methods inherited from class org.jmlspecs.models.resolve.NaturalNumber_JML_Test
addTestSuiteForEachMethod, charToString, main, suite
 
Methods inherited from class org.jmlspecs.models.resolve.NaturalNumber_JML_TestData
emptyTestSuiteFor, overallTestSuite, vintIter, vjava_lang_ObjectIter, vjava_math_BigIntegerIter, vlongIter, vorg_jmlspecs_models_resolve_NaturalNumberIter
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, runBare, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NaturalNumber_JML_Test.TestLongValue

public NaturalNumber_JML_Test.TestLongValue(NaturalNumber receiver$)
Initialize this instance.

Method Detail

doCall

protected void doCall()
               throws Throwable
Description copied from class: NaturalNumber_JML_Test.OneTest
Call the method to be tested with the appropriate arguments.

Throws:
Throwable

failMessage

protected String failMessage(JMLAssertionError e$)
Description copied from class: NaturalNumber_JML_Test.OneTest
Format the error message for a test failure, based on the method's arguments.


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.