org.joda.time
Class TestYears
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
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
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 |
TestYears
public TestYears(String name)
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.