org.jcoderz.commons.types
Class YearMonthTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jcoderz.commons.types.YearMonthTest
- All Implemented Interfaces:
- Test
public class YearMonthTest
- extends TestCase
Tests the YearMonth class.
- Author:
- Andreas Mandel
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
YearMonthTest
public YearMonthTest()
testFromStringPositive
public final void testFromStringPositive()
- Tests the fromString method (positive).
testFromStringNegative
public final void testFromStringNegative()
- Tests the fromString method (negative).
testToPeriod
public final void testToPeriod()
throws Exception
- Test the to period method.
- Throws:
Exception - in case of a testcase error.
Copyright 2007 The jCoderZ Project.