org.joda.time
Class TestMonths

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.joda.time.TestMonths
All Implemented Interfaces:
junit.framework.Test

public class TestMonths
extends junit.framework.TestCase

This class is a Junit unit test for Months.

Author:
Stephen Colebourne

Constructor Summary
TestMonths(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.TestSuite suite()
           
protected  void tearDown()
           
 void testAddToLocalDate()
           
 void testConstants()
           
 void testDividedBy_int()
           
 void testFactory_months_int()
           
 void testFactory_monthsBetween_RInstant()
           
 void testFactory_monthsBetween_RPartial()
           
 void testFactory_monthsIn_RInterval()
           
 void testFactory_parseMonths_String()
           
 void testGetFieldType()
           
 void testGetMethods()
           
 void testGetPeriodType()
           
 void testIsGreaterThan()
           
 void testIsLessThan()
           
 void testMinus_int()
           
 void testMinus_Months()
           
 void testMultipliedBy_int()
           
 void testNegated()
           
 void testPlus_int()
           
 void testPlus_Months()
           
 void testSerialization()
           
 void testToString()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestMonths

public TestMonths(String name)
Method Detail

main

public static void main(String[] args)

suite

public static junit.framework.TestSuite suite()

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testConstants

public void testConstants()

testFactory_months_int

public void testFactory_months_int()

testFactory_monthsBetween_RInstant

public void testFactory_monthsBetween_RInstant()

testFactory_monthsBetween_RPartial

public void testFactory_monthsBetween_RPartial()

testFactory_monthsIn_RInterval

public void testFactory_monthsIn_RInterval()

testFactory_parseMonths_String

public void testFactory_parseMonths_String()

testGetMethods

public void testGetMethods()

testGetFieldType

public void testGetFieldType()

testGetPeriodType

public void testGetPeriodType()

testIsGreaterThan

public void testIsGreaterThan()

testIsLessThan

public void testIsLessThan()

testToString

public void testToString()

testSerialization

public void testSerialization()
                       throws Exception
Throws:
Exception

testPlus_int

public void testPlus_int()

testPlus_Months

public void testPlus_Months()

testMinus_int

public void testMinus_int()

testMinus_Months

public void testMinus_Months()

testMultipliedBy_int

public void testMultipliedBy_int()

testDividedBy_int

public void testDividedBy_int()

testNegated

public void testNegated()

testAddToLocalDate

public void testAddToLocalDate()


Copyright © 2002-2013 Joda.org. All Rights Reserved.