org.joda.time.convert
Class TestReadableDurationConverter

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

public class TestReadableDurationConverter
extends junit.framework.TestCase

This class is a Junit unit test for ReadableDurationConverter.

Author:
Stephen Colebourne

Constructor Summary
TestReadableDurationConverter(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.TestSuite suite()
           
protected  void tearDown()
           
 void testGetDurationMillis_Object()
           
 void testGetPeriodType_Object()
           
 void testSetInto_Object()
           
 void testSingleton()
           
 void testSupportedType()
           
 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

TestReadableDurationConverter

public TestReadableDurationConverter(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

testSingleton

public void testSingleton()
                   throws Exception
Throws:
Exception

testSupportedType

public void testSupportedType()
                       throws Exception
Throws:
Exception

testGetDurationMillis_Object

public void testGetDurationMillis_Object()
                                  throws Exception
Throws:
Exception

testGetPeriodType_Object

public void testGetPeriodType_Object()
                              throws Exception
Throws:
Exception

testSetInto_Object

public void testSetInto_Object()
                        throws Exception
Throws:
Exception

testToString

public void testToString()


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