org.apache.cactus.test
public class: TestProperties [javadoc |
source]
java.lang.Object
junit.framework.TestCase
org.apache.cactus.internal.AbstractCactusTestCase
org.apache.cactus.ServletTestCase
org.apache.cactus.test.TestProperties
All Implemented Interfaces:
CactusTestCase
Verify that properties defined by the
cactus.sysproperties are found in the resulting
cactified WAR. Note that we're testing this by executing this code inside
the container.
- version:
$ - Id: TestProperties.java,v 1.1 2004/11/08 22:02:37 felipeal Exp $
| Method from org.apache.cactus.test.TestProperties Summary: |
|---|
|
testProperties |
| Method from org.apache.cactus.test.TestProperties Detail: |
public void testProperties() {
String prop1 = System.getProperty("prop1");
String prop2 = System.getProperty("prop2");
assertNotNull( prop1 );
assertNotNull( prop2 );
assertEquals( "value1", prop1 );
assertEquals( "value2", prop2 );
}
Verify that the properties were set correctly. |