public class SetPropertyRuleTestCase extends Object
 Test case for SetPropertyRule.
 
| Modifier and Type | Field and Description | 
|---|---|
protected Digester | 
digester
The digester instance we will be processing. 
 | 
protected static String | 
TEST_XML_1
Simple test xml document used in the tests. 
 | 
protected static String | 
TEST_XML_2
Simple test xml document used in the tests. 
 | 
| Constructor and Description | 
|---|
SetPropertyRuleTestCase()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
setUp()
Set up instance variables required by this test case. 
 | 
void | 
tearDown()
Tear down instance variables required by this test case. 
 | 
void | 
testElementWithNoAttributes()
Test SetPropertyRule when matched XML element has no attributes. 
 | 
void | 
testNegative()
Negative test for SetPropertyRule. 
 | 
void | 
testPositive()
Positive test for SetPropertyRule. 
 | 
protected static final String TEST_XML_1
protected static final String TEST_XML_2
public SetPropertyRuleTestCase()
public void setUp()
public void tearDown()
public void testPositive() throws Exception
Exceptionpublic void testNegative()
public void testElementWithNoAttributes() throws Exception
ExceptionCopyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.