public class TestConversionHelper extends Object
ConversionHelper.| Constructor and Description |
|---|
TestConversionHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testConvertBaseAndSpecificConverter()
Tests convert() if both a specific and a base class converter are
involved.
|
void |
testConvertBaseConvertersOrder()
Tests whether the order of base class converters is taken into account.
|
void |
testConvertEnum()
Tests a conversion that involves an enumeration class.
|
void |
testConvertEnumWithParent()
Tests a conversion with an enumeration class if a parent instance is set.
|
void |
testConvertEx()
Tests whether ConversionExceptions are handled correctly.
|
void |
testConvertFromParent()
Tests a conversion if the converter has to be obtained from the parent.
|
void |
testConvertNoConversionNeeded()
Tests convert() if the value is already an instance of the target class.
|
void |
testConvertNoTargetClass()
Tries to convert an object to a null target class.
|
void |
testConvertNullValue()
Tests whether a null value can be converted.
|
void |
testConvertRegisteredBaseConverter()
Tests convert() if a base class converter has to do the job.
|
void |
testConvertRegisteredConverter()
Tests convert() if a custom converter is involved.
|
void |
testConvertStandard()
Tests a standard conversion.
|
void |
testConvertStandardPrimitiveType()
Tests a standard conversion to a primitive data type.
|
void |
testConvertUnknownClass()
Tests convert() if no matching converter can be found.
|
void |
testGetParent()
Tests whether a parent can be queried that was set when creating the
instance.
|
void |
testGetParentDefault()
Tests whether a parent is set if the instance was created using the
standard constructor.
|
void |
testRegisterBaseConverterNoConverter()
Tries to register a null base class converter.
|
void |
testRegisterBaseConverterNoTargetClass()
Tries to register a base class converter without a target class.
|
void |
testRegisterConverterNoConverter()
Tries to register a null converter.
|
void |
testRegisterConverterNoTargetClass()
Tries to register a converter without a target class.
|
public void testGetParentDefault()
public void testGetParent()
public void testRegisterConverterNoTargetClass()
public void testRegisterConverterNoConverter()
public void testRegisterBaseConverterNoTargetClass()
public void testRegisterBaseConverterNoConverter()
public void testConvertNoTargetClass()
public void testConvertUnknownClass()
public void testConvertNullValue()
public void testConvertNoConversionNeeded()
public void testConvertRegisteredConverter()
public void testConvertRegisteredBaseConverter()
public void testConvertBaseAndSpecificConverter()
public void testConvertBaseConvertersOrder()
public void testConvertEx()
public void testConvertStandard()
public void testConvertStandardPrimitiveType()
public void testConvertEnum()
public void testConvertEnumWithParent()
public void testConvertFromParent()
Copyright © 2016 The JGUIraffe Team. All rights reserved.