public class BeanPropertySetterRuleTestCase extends Object
Test case for BeanPropertySetterRule
. This contains tests for the main applications of the rule and two
more general tests of digester functionality used by this rule.
Modifier and Type | Field and Description |
---|---|
protected static String |
TEST_XML
Simple test xml document used in the tests.
|
Constructor and Description |
---|
BeanPropertySetterRuleTestCase() |
Modifier and Type | Method and Description |
---|---|
void |
extractPropertyNameFromAttribute() |
void |
testAutomaticallySetProperties()
Test that you can successfully automatically set properties.
|
void |
testDigesterBodyTextStack()
This is a general digester test but it fits into here pretty well.
|
void |
testDigesterRuleCallOrder()
This is a general digester test but it fits into here pretty well.
|
void |
testSetGivenProperty()
Test that you can successfully set a given property
|
void |
testSetUnknownProperty()
Test that trying to set an unknown property throws an exception.
|
protected static final String TEST_XML
public BeanPropertySetterRuleTestCase()
public void testDigesterRuleCallOrder() throws SAXException, IOException
SAXException
IOException
public void testDigesterBodyTextStack() throws SAXException, IOException
SAXException
IOException
public void testSetGivenProperty() throws SAXException, IOException
SAXException
IOException
public void testSetUnknownProperty()
public void testAutomaticallySetProperties() throws SAXException, IOException
SAXException
IOException
public void extractPropertyNameFromAttribute() throws Exception
Exception
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.