org.joda.time
Class TestDurationFieldType

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

public class TestDurationFieldType
extends junit.framework.TestCase

This class is a Junit unit test for DurationFieldType.

Author:
Stephen Colebourne

Constructor Summary
TestDurationFieldType(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.TestSuite suite()
           
protected  void tearDown()
           
 void test_centuries()
           
 void test_days()
           
 void test_eras()
           
 void test_halfdays()
           
 void test_hours()
           
 void test_millis()
           
 void test_minutes()
           
 void test_months()
           
 void test_other()
           
 void test_seconds()
           
 void test_weeks()
           
 void test_weekyears()
           
 void test_years()
           
 
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

TestDurationFieldType

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

test_eras

public void test_eras()
               throws Exception
Throws:
Exception

test_centuries

public void test_centuries()
                    throws Exception
Throws:
Exception

test_years

public void test_years()
                throws Exception
Throws:
Exception

test_months

public void test_months()
                 throws Exception
Throws:
Exception

test_weekyears

public void test_weekyears()
                    throws Exception
Throws:
Exception

test_weeks

public void test_weeks()
                throws Exception
Throws:
Exception

test_days

public void test_days()
               throws Exception
Throws:
Exception

test_halfdays

public void test_halfdays()
                   throws Exception
Throws:
Exception

test_hours

public void test_hours()
                throws Exception
Throws:
Exception

test_minutes

public void test_minutes()
                  throws Exception
Throws:
Exception

test_seconds

public void test_seconds()
                  throws Exception
Throws:
Exception

test_millis

public void test_millis()
                 throws Exception
Throws:
Exception

test_other

public void test_other()
                throws Exception
Throws:
Exception


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