public class TestToStringTransformer
extends junit.framework.TestCase
| Constructor and Description |
|---|
TestToStringTransformer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
protected void |
tearDown()
Clears the test environment.
|
void |
testInit()
Tests defaults for a newly created instance.
|
void |
testTransformBigInteger()
Tests transforming a big integer.
|
void |
testTransformByte()
Tests transforming a byte.
|
void |
testTransformDate()
Tests the default transformation of a date.
|
void |
testTransformDateStyle()
Tests transforming a date when a specific style is set.
|
void |
testTransformDateStyleProperties()
Tests transforming a date when the style is determined by properties.
|
void |
testTransformDecimalStyle()
Tests the different properties for transforming a decimal number.
|
void |
testTransformDecimalStyleProperties()
Tests whether properties specified at the context override the settings
of the transformer object for a decimal number.
|
void |
testTransformDigDecimal()
Tests transforming a big decimal number.
|
void |
testTransformDouble()
Tests transforming a double number.
|
void |
testTransformFloat()
Tests transforming a float number.
|
void |
testTransformInteger()
Tests transforming an integer number.
|
void |
testTransformIntegerStyle()
Tests the properties that have impact on the transformation result for an
integer number.
|
void |
testTransformIntegerStyleProperties()
Tests whether properties specified at the context override the settings
of the transformer object for an integer number.
|
void |
testTransformLong()
Tests transforming a long number.
|
void |
testTransformNull()
Tests transforming a null object.
|
void |
testTransformObject()
Tests transforming arbitrary objects.
|
void |
testTransformShort()
Tests transforming a short number.
|
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toStringprotected void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionprotected void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseExceptionpublic void testInit()
public void testTransformNull()
throws Exception
Exceptionpublic void testTransformDate()
throws Exception
Exceptionpublic void testTransformDateStyle()
throws Exception
Exceptionpublic void testTransformDateStyleProperties()
throws Exception
Exceptionpublic void testTransformFloat()
throws Exception
Exceptionpublic void testTransformDouble()
throws Exception
Exceptionpublic void testTransformDigDecimal()
throws Exception
Exceptionpublic void testTransformDecimalStyle()
throws Exception
Exceptionpublic void testTransformDecimalStyleProperties()
throws Exception
Exceptionpublic void testTransformInteger()
throws Exception
Exceptionpublic void testTransformLong()
throws Exception
Exceptionpublic void testTransformBigInteger()
throws Exception
Exceptionpublic void testTransformShort()
throws Exception
Exceptionpublic void testTransformByte()
throws Exception
Exceptionpublic void testTransformIntegerStyle()
throws Exception
Exceptionpublic void testTransformIntegerStyleProperties()
throws Exception
ExceptionCopyright © 2016 The JGUIraffe Team. All rights reserved.