org.joda.time
Class TestInstant_Constructors

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

public class TestInstant_Constructors
extends junit.framework.TestCase

This class is a Junit unit test for Instant.

Author:
Stephen Colebourne

Constructor Summary
TestInstant_Constructors(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.TestSuite suite()
           
protected  void tearDown()
           
 void test_now()
          Test now ()
 void testConstructor_badconverterObject()
          Test constructor (Object=null)
 void testConstructor_invalidObject()
          Test constructor (Object)
 void testConstructor_long1()
          Test constructor (long)
 void testConstructor_long2()
          Test constructor (long)
 void testConstructor_nullObject()
          Test constructor (Object=null)
 void testConstructor_Object()
          Test constructor (Object)
 void testConstructor()
          Test constructor ()
 void testParse_formatter()
           
 void testParse_noFormatter()
           
 
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_Constructors

public TestInstant_Constructors(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_now

public void test_now()
              throws Throwable
Test now ()

Throws:
Throwable

testParse_noFormatter

public void testParse_noFormatter()
                           throws Throwable
Throws:
Throwable

testParse_formatter

public void testParse_formatter()
                         throws Throwable
Throws:
Throwable

testConstructor

public void testConstructor()
                     throws Throwable
Test constructor ()

Throws:
Throwable

testConstructor_long1

public void testConstructor_long1()
                           throws Throwable
Test constructor (long)

Throws:
Throwable

testConstructor_long2

public void testConstructor_long2()
                           throws Throwable
Test constructor (long)

Throws:
Throwable

testConstructor_Object

public void testConstructor_Object()
                            throws Throwable
Test constructor (Object)

Throws:
Throwable

testConstructor_invalidObject

public void testConstructor_invalidObject()
                                   throws Throwable
Test constructor (Object)

Throws:
Throwable

testConstructor_nullObject

public void testConstructor_nullObject()
                                throws Throwable
Test constructor (Object=null)

Throws:
Throwable

testConstructor_badconverterObject

public void testConstructor_badconverterObject()
                                        throws Throwable
Test constructor (Object=null)

Throws:
Throwable


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