| org.apache.naming.resources.BaseDirContextTestCase org.apache.naming.resources.FileDirContextTestCase
FileDirContextTestCase | public class FileDirContextTestCase extends BaseDirContextTestCase (Code) | | Unit tests for org.apache.naming.resources.FileDirContext .
author: Craig R. McClanahan version: $Revision: 1.2 $ $Date: 2004/02/27 14:58:55 $ |
Method Summary | |
public void | setUp() Set up instance variables required by this test case. | public static Test | suite() Return the tests included in this test suite. | public void | tearDown() Tear down instance variables required by this test case. | public void | testGetAttributesWebInf() Test the attributes returned for the WEB-INF entry. | public void | testGetAttributesWebXml() Test the attributes returned for the WEB-INF/web.xml
entry. |
FileDirContextTestCase | public FileDirContextTestCase(String name)(Code) | | Construct a new instance of this test case.
Parameters: name - Name of the test case |
setUp | public void setUp()(Code) | | Set up instance variables required by this test case. This method
MUST be implemented by a subclass.
|
suite | public static Test suite()(Code) | | Return the tests included in this test suite. This method
MUST be implemented by a subclass.
|
tearDown | public void tearDown()(Code) | | Tear down instance variables required by this test case. This method
MUST be implemented by a subclass.
|
testGetAttributesWebInf | public void testGetAttributesWebInf()(Code) | | Test the attributes returned for the WEB-INF entry.
|
testGetAttributesWebXml | public void testGetAttributesWebXml()(Code) | | Test the attributes returned for the WEB-INF/web.xml
entry.
|
Methods inherited from org.apache.naming.resources.BaseDirContextTestCase | protected void checkList(NamingEnumeration ne, String list) throws NamingException(Code)(Java Doc) protected void checkListBindings(NamingEnumeration ne, String list) throws NamingException(Code)(Java Doc) protected void checkWebInfAttributes(Attributes attrs, Date creationDate, long contentLength, String displayName, Date lastModifiedDate) throws NamingException(Code)(Java Doc) protected void checkWebXmlAttributes(Attributes attrs, Date creationDate, long contentLength, String displayName, Date lastModifiedDate) throws NamingException(Code)(Java Doc) protected int getIndex(String name, String list)(Code)(Java Doc) protected boolean isDirContext(String name)(Code)(Java Doc) protected boolean isListed(String name, String list)(Code)(Java Doc) abstract public void setUp()(Code)(Java Doc) abstract public void tearDown()(Code)(Java Doc) abstract public void testGetAttributesWebInf()(Code)(Java Doc) abstract public void testGetAttributesWebXml()(Code)(Java Doc) public void testListBindingsTopLevel()(Code)(Java Doc) public void testListBindingsWebInfDirect()(Code)(Java Doc) public void testListBindingsWebInfIndirect()(Code)(Java Doc) public void testListTopLevel()(Code)(Java Doc) public void testListWebInfDirect()(Code)(Java Doc) public void testListWebInfIndirect()(Code)(Java Doc)
|
|
|