org.apache.tapestry.coerce
Class TestValueConverter
java.lang.Object
BaseComponentTestCase
org.apache.tapestry.coerce.TestValueConverter
public class TestValueConverter
- extends BaseComponentTestCase
Tests for ValueConverterImpl
.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestValueConverter
public TestValueConverter()
testAlreadyCorrectType
public void testAlreadyCorrectType()
testAlreadyCorrectPrimitiveType
public void testAlreadyCorrectPrimitiveType()
- Check that primitive types are converted to equivalent wrapper classes for the assignable
check. Ok, maybe we should check all the primitive types.
testNoConverter
public void testNoConverter()
testNoConverterPrimitive
public void testNoConverterPrimitive()
- Verify that the message generated for a primtive type identifies the wrapper class.
testConverterFound
public void testConverterFound()
testConverterFoundForNullValue
public void testConverterFoundForNullValue()
testNoConverterFoundForNullValue
public void testNoConverterFoundForNullValue()
testStringToNumberPrimitive
public void testStringToNumberPrimitive()
testStringToNumberWrapper
public void testStringToNumberWrapper()
testInvalidStringToNumber
public void testInvalidStringToNumber()
testStringToNonNumericPrimitive
public void testStringToNonNumericPrimitive()
testNumberToNumber
public void testNumberToNumber()
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.