| |
|
| org.apache.commons.beanutils.MappedPropertyTestCase
MappedPropertyTestCase | public class MappedPropertyTestCase extends TestCase (Code) | | Test Case for the MappedPropertyDescriptor .
author: Niall Pemberton |
MappedPropertyTestCase | public MappedPropertyTestCase(String name)(Code) | | Construct a new instance of this test case.
Parameters: name - Name of the test case |
main | public static void main(String[] args)(Code) | | Run this Test
|
setUp | public void setUp() throws Exception(Code) | | Set up instance variables required by this test case.
|
suite | public static Test suite()(Code) | | Return the tests included in this test suite.
|
tearDown | public void tearDown()(Code) | | Tear down instance variables required by this test case.
|
testAnyArgsProperty | public void testAnyArgsProperty()(Code) | | Test property with any two args
|
testBooleanMapped | public void testBooleanMapped()(Code) | | Test boolean "is" method name
|
testChildInterfaceMapped | public void testChildInterfaceMapped()(Code) | | Test Interface Inherited mapped property
|
testDifferentTypes | public void testDifferentTypes()(Code) | | Test Mapped Property - Different Types
Expect to find the getDifferentTypes() method, but not
the setDifferentTypes() method because setDifferentTypes()
sets and Integer, while getDifferentTypes() returns a Long.
|
testFound | public void testFound()(Code) | | Test valid method name
|
testInterfaceMapped | public void testInterfaceMapped()(Code) | | Test Interface with mapped property
|
testInterfaceNotFound | public void testInterfaceNotFound()(Code) | | Test property not found in interface
|
testInvalidGetter | public void testInvalidGetter()(Code) | | Test Mapped Property - Invalid Getter
|
testInvalidSetter | public void testInvalidSetter()(Code) | | Test Mapped Property - Invalid Setter
|
testMapGetter | public void testMapGetter()(Code) | | Test Mpa getter
|
testMappedGetterOnly | public void testMappedGetterOnly()(Code) | | Test Mapped Property - Getter only
|
testMappedSetterOnly | public void testMappedSetterOnly()(Code) | | Test Mapped Property - Setter Only
|
testNotFound | public void testNotFound()(Code) | | Test invalid method name
|
testPrimitiveArgsProperty | public void testPrimitiveArgsProperty()(Code) | | Test property with two primitve args
|
testProtected | public void testProtected()(Code) | | Test 'protected' mapped property
|
testProtectedParentMethod | public void testProtectedParentMethod()(Code) | | Test 'protected' method in parent
|
testPublicParentMethod | public void testPublicParentMethod()(Code) | | Test 'public' method in parent
|
|
|
|