org.joda.time
Class TestSeconds

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

public class TestSeconds
extends junit.framework.TestCase

This class is a Junit unit test for Seconds.

Author:
Stephen Colebourne

Constructor Summary
TestSeconds(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.TestSuite suite()
           
protected  void tearDown()
           
 void testAddToLocalDate()
           
 void testConstants()
           
 void testDividedBy_int()
           
 void testFactory_parseSeconds_String()
           
 void testFactory_seconds_int()
           
 void testFactory_secondsBetween_RInstant()
           
 void testFactory_secondsBetween_RPartial()
           
 void testFactory_secondsIn_RInterval()
           
 void testFactory_standardSecondsIn_RPeriod()
           
 void testGetFieldType()
           
 void testGetMethods()
           
 void testGetPeriodType()
           
 void testIsGreaterThan()
           
 void testIsLessThan()
           
 void testMinus_int()
           
 void testMinus_Seconds()
           
 void testMultipliedBy_int()
           
 void testNegated()
           
 void testPlus_int()
           
 void testPlus_Seconds()
           
 void testSerialization()
           
 void testToStandardDays()
           
 void testToStandardDuration()
           
 void testToStandardHours()
           
 void testToStandardMinutes()
           
 void testToStandardWeeks()
           
 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

TestSeconds

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

testConstants

public void testConstants()

testFactory_seconds_int

public void testFactory_seconds_int()

testFactory_secondsBetween_RInstant

public void testFactory_secondsBetween_RInstant()

testFactory_secondsBetween_RPartial

public void testFactory_secondsBetween_RPartial()

testFactory_secondsIn_RInterval

public void testFactory_secondsIn_RInterval()

testFactory_standardSecondsIn_RPeriod

public void testFactory_standardSecondsIn_RPeriod()

testFactory_parseSeconds_String

public void testFactory_parseSeconds_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

testToStandardWeeks

public void testToStandardWeeks()

testToStandardDays

public void testToStandardDays()

testToStandardHours

public void testToStandardHours()

testToStandardMinutes

public void testToStandardMinutes()

testToStandardDuration

public void testToStandardDuration()

testPlus_int

public void testPlus_int()

testPlus_Seconds

public void testPlus_Seconds()

testMinus_int

public void testMinus_int()

testMinus_Seconds

public void testMinus_Seconds()

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.