org.joda.time
Class TestMutablePeriod_Basics

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

public class TestMutablePeriod_Basics
extends junit.framework.TestCase

This class is a Junit unit test for MutableDuration.

Author:
Stephen Colebourne

Constructor Summary
TestMutablePeriod_Basics(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.TestSuite suite()
           
protected  void tearDown()
           
 void testClone()
           
 void testCopy()
           
 void testEqualsHashCode()
           
 void testGetMethods()
           
 void testGetPeriodType()
           
 void testSerialization()
           
 void testTest()
           
 void testToDurationFrom()
           
 void testToMutablePeriod()
           
 void testToPeriod()
           
 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

TestMutablePeriod_Basics

public TestMutablePeriod_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()

testGetPeriodType

public void testGetPeriodType()

testGetMethods

public void testGetMethods()

testEqualsHashCode

public void testEqualsHashCode()

testSerialization

public void testSerialization()
                       throws Exception
Throws:
Exception

testToString

public void testToString()

testToPeriod

public void testToPeriod()

testToMutablePeriod

public void testToMutablePeriod()

testToDurationFrom

public void testToDurationFrom()

testCopy

public void testCopy()

testClone

public void testClone()


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