org.joda.time.field
Class TestMillisDurationField
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.joda.time.field.TestMillisDurationField
- All Implemented Interfaces:
- junit.framework.Test
public class TestMillisDurationField
- extends junit.framework.TestCase
This class is a Junit unit test for PeriodFormatterBuilder.
- 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 |
TestMillisDurationField
public TestMillisDurationField(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
test_getType
public void test_getType()
test_getName
public void test_getName()
test_isSupported
public void test_isSupported()
test_isPrecise
public void test_isPrecise()
test_getUnitMillis
public void test_getUnitMillis()
test_toString
public void test_toString()
test_getValue_long
public void test_getValue_long()
test_getValueAsLong_long
public void test_getValueAsLong_long()
test_getValue_long_long
public void test_getValue_long_long()
test_getValueAsLong_long_long
public void test_getValueAsLong_long_long()
test_getMillis_int
public void test_getMillis_int()
test_getMillis_long
public void test_getMillis_long()
test_getMillis_int_long
public void test_getMillis_int_long()
test_getMillis_long_long
public void test_getMillis_long_long()
test_add_long_int
public void test_add_long_int()
test_add_long_long
public void test_add_long_long()
test_getDifference_long_int
public void test_getDifference_long_int()
test_getDifferenceAsLong_long_long
public void test_getDifferenceAsLong_long_long()
test_compareTo
public void test_compareTo()
testSerialization
public void testSerialization()
throws Exception
- Throws:
Exception
Copyright © 2002-2013 Joda.org. All Rights Reserved.