|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.ujac.util.text.test.BigDecimalFormatTest
public class BigDecimalFormatTest
Name: BigDecimalFormatTest
Description: Test cases for the BigDecimalFormat class.
Constructor Summary | |
---|---|
BigDecimalFormatTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testFormat()
Tests formatting of numbers. |
void |
testNaN()
Tests output of invalid numbers. |
void |
testParse()
Tests parsing of numbers. |
void |
testRound()
Tests correct rounding of numbers. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BigDecimalFormatTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
TestCase.setUp()
public void testParse() throws ParseException
ParseException
- In case the parsing failed.public void testFormat()
public void testRound()
public void testNaN()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |