org.joda.time
Class TestYears

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

public class TestYears
extends junit.framework.TestCase

This class is a Junit unit test for Years.

Author:
Stephen Colebourne

Constructor Summary
TestYears(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_parseYears_String()
           
 void testFactory_years_int()
           
 void testFactory_yearsBetween_RInstant()
           
 void testFactory_yearsBetween_RPartial()
           
 void testFactory_yearsIn_RInterval()
           
 void testGetFieldType()
           
 void testGetMethods()
           
 void testGetPeriodType()
           
 void testIsGreaterThan()
           
 void testIsLessThan()
           
 void testMinus_int()
           
 void testMinus_Years()
           
 void testMultipliedBy_int()
           
 void testNegated()
           
 void testPlus_int()
           
 void testPlus_Years()
           
 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

TestYears

public TestYears(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_years_int

public void testFactory_years_int()

testFactory_yearsBetween_RInstant

public void testFactory_yearsBetween_RInstant()

testFactory_yearsBetween_RPartial

public void testFactory_yearsBetween_RPartial()

testFactory_yearsIn_RInterval

public void testFactory_yearsIn_RInterval()

testFactory_parseYears_String

public void testFactory_parseYears_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_Years

public void testPlus_Years()

testMinus_int

public void testMinus_int()

testMinus_Years

public void testMinus_Years()

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.