org.joda.time
Class TestInstant_Basics

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

public class TestInstant_Basics
extends junit.framework.TestCase

This class is a Junit unit test for Instant.

Author:
Stephen Colebourne

Constructor Summary
TestInstant_Basics(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.TestSuite suite()
           
protected  void tearDown()
           
 void testCompareTo()
           
 void testEqualsHashCode()
           
 void testGet_DateTimeField()
           
 void testGet_DateTimeFieldType()
           
 void testGetMethods()
           
 void testImmutable()
           
 void testIsAfter_long()
           
 void testIsAfter_RI()
           
 void testIsAfterNow()
           
 void testIsBefore_long()
           
 void testIsBefore_RI()
           
 void testIsBeforeNow()
           
 void testIsEqual_long()
           
 void testIsEqual_RI()
           
 void testIsEqualNow()
           
 void testMinus_long()
           
 void testMinus_RD()
           
 void testPlus_long()
           
 void testPlus_RD()
           
 void testSerialization()
           
 void testTest()
           
 void testToDate()
           
 void testToDateTime_Chronology()
           
 void testToDateTime_DateTimeZone()
           
 void testToDateTime()
           
 void testToDateTimeISO()
           
 void testToInstant()
           
 void testToMutableDateTime_Chronology()
           
 void testToMutableDateTime_DateTimeZone()
           
 void testToMutableDateTime()
           
 void testToMutableDateTimeISO()
           
 void testToString()
           
 void testWithDurationAdded_long_int()
           
 void testWithDurationAdded_RD_int()
           
 void testWithMillis_long()
           
 
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

TestInstant_Basics

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

testTest

public void testTest()

testGet_DateTimeFieldType

public void testGet_DateTimeFieldType()

testGet_DateTimeField

public void testGet_DateTimeField()

testGetMethods

public void testGetMethods()

testEqualsHashCode

public void testEqualsHashCode()

testCompareTo

public void testCompareTo()

testIsEqual_long

public void testIsEqual_long()

testIsEqualNow

public void testIsEqualNow()

testIsEqual_RI

public void testIsEqual_RI()

testIsBefore_long

public void testIsBefore_long()

testIsBeforeNow

public void testIsBeforeNow()

testIsBefore_RI

public void testIsBefore_RI()

testIsAfter_long

public void testIsAfter_long()

testIsAfterNow

public void testIsAfterNow()

testIsAfter_RI

public void testIsAfter_RI()

testSerialization

public void testSerialization()
                       throws Exception
Throws:
Exception

testToString

public void testToString()

testToInstant

public void testToInstant()

testToDateTime

public void testToDateTime()

testToDateTimeISO

public void testToDateTimeISO()

testToDateTime_DateTimeZone

public void testToDateTime_DateTimeZone()

testToDateTime_Chronology

public void testToDateTime_Chronology()

testToMutableDateTime

public void testToMutableDateTime()

testToMutableDateTimeISO

public void testToMutableDateTimeISO()

testToMutableDateTime_DateTimeZone

public void testToMutableDateTime_DateTimeZone()

testToMutableDateTime_Chronology

public void testToMutableDateTime_Chronology()

testToDate

public void testToDate()

testWithMillis_long

public void testWithMillis_long()

testWithDurationAdded_long_int

public void testWithDurationAdded_long_int()

testWithDurationAdded_RD_int

public void testWithDurationAdded_RD_int()

testPlus_long

public void testPlus_long()

testPlus_RD

public void testPlus_RD()

testMinus_long

public void testMinus_long()

testMinus_RD

public void testMinus_RD()

testImmutable

public void testImmutable()


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