public class MappedPropertyTestCase extends Object
Test Case for the MappedPropertyDescriptor
.
Constructor and Description |
---|
MappedPropertyTestCase() |
Modifier and Type | Method and Description |
---|---|
void |
testAnyArgsProperty()
Test property with any two args
|
void |
testBooleanMapped()
Test boolean "is" method name
|
void |
testChildInterfaceMapped()
Test Interface Inherited mapped property
|
void |
testConstructorEmptyStringClass() |
void |
testConstructorEmptyStringNullNull() |
void |
testConstructorNullClass() |
void |
testConstructorNullNullNull() |
void |
testDifferentTypes()
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.
|
void |
testFound()
Test valid method name
|
void |
testInterfaceMapped()
Test Interface with mapped property
|
void |
testInterfaceNotFound()
Test property not found in interface
|
void |
testInvalidGetter()
Test Mapped Property - Invalid Getter
|
void |
testInvalidSetter()
Test Mapped Property - Invalid Setter
|
void |
testMapGetter()
Test Mpa getter
|
void |
testMappedGetterOnly()
Test Mapped Property - Getter only
|
void |
testMappedSetterOnly()
Test Mapped Property - Setter Only
|
void |
testNotFound()
Test invalid method name
|
void |
testPrimitiveArgsProperty()
Test property with two primitve args
|
void |
testProtected()
Test 'protected' mapped property
|
void |
testProtectedParentMethod()
Test 'protected' method in parent
|
void |
testPublicParentMethod()
Test 'public' method in parent
|
public MappedPropertyTestCase()
public void testConstructorNullClass() throws Exception
Exception
public void testConstructorEmptyStringClass() throws Exception
Exception
public void testConstructorNullNullNull() throws Exception
Exception
public void testConstructorEmptyStringNullNull() throws Exception
Exception
public void testFound()
public void testBooleanMapped()
public void testNotFound()
public void testMappedGetterOnly()
public void testMappedSetterOnly()
public void testInvalidSetter()
public void testInvalidGetter()
public void testDifferentTypes()
public void testMapGetter()
public void testAnyArgsProperty()
public void testPrimitiveArgsProperty()
public void testProtected() throws IntrospectionException
IntrospectionException
public void testPublicParentMethod()
public void testProtectedParentMethod() throws IntrospectionException
IntrospectionException
public void testInterfaceMapped()
public void testInterfaceNotFound() throws IntrospectionException
IntrospectionException
public void testChildInterfaceMapped()
Copyright © 2012–2014 The Apache Software Foundation. All rights reserved.