org.joda.time.field
Class TestScaledDurationField

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

public class TestScaledDurationField
extends junit.framework.TestCase

This class is a Junit unit test for PreciseDurationField.

Author:
Stephen Colebourne

Constructor Summary
TestScaledDurationField(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.TestSuite suite()
           
protected  void tearDown()
           
 void test_add_long_int()
           
 void test_add_long_long()
           
 void test_compareTo()
           
 void test_constructor()
           
 void test_equals()
           
 void test_getDifference_long_int()
           
 void test_getDifferenceAsLong_long_long()
           
 void test_getMillis_int_long()
           
 void test_getMillis_int()
           
 void test_getMillis_long_long()
           
 void test_getMillis_long()
           
 void test_getName()
           
 void test_getScalar()
           
 void test_getType()
           
 void test_getUnitMillis()
           
 void test_getValue_long_long()
           
 void test_getValue_long()
           
 void test_getValueAsLong_long_long()
           
 void test_getValueAsLong_long()
           
 void test_hashCode()
           
 void test_isPrecise()
           
 void test_isSupported()
           
 void test_toString()
           
 void testSerialization()
           
 
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

TestScaledDurationField

public TestScaledDurationField(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_constructor

public void test_constructor()

test_getScalar

public void test_getScalar()

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_equals

public void test_equals()

test_hashCode

public void test_hashCode()

test_compareTo

public void test_compareTo()

testSerialization

public void testSerialization()
                       throws Exception
Throws:
Exception


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