| |
|
| servletunit.tests.TestServletContext
TestServletContext | public class TestServletContext extends TestCase (Code) | | |
TestServletContext | public TestServletContext(String testName)(Code) | | |
setUp | public void setUp()(Code) | | |
testGetAttributeNames | public void testGetAttributeNames()(Code) | | |
testGetRealPath | public void testGetRealPath()(Code) | | |
testGetRealPathNotSet | public void testGetRealPathNotSet()(Code) | | |
testGetResourceAsFileFromFileSystem | public void testGetResourceAsFileFromFileSystem()(Code) | | verifies that web.xml can be loaded
using the filesystem. Assumes test is being run from
the strutstestcase project root directory
and that WEB-INF is in src/examples
this is necessary because the other tests could be "fooled"
by a file that was actually loaded by the classloader.
|
testGetResourceAsFileFromFileSystemWithRelativePath | public void testGetResourceAsFileFromFileSystemWithRelativePath()(Code) | | verifies that web.xml can be loaded
using the filesystem. Assumes test is being run from
the strutstestcase project root directory
and that WEB-INF is in src/examples
this is necessary because the other tests could be "fooled"
by a file that was actually loaded by the classloader.
|
testGetResourceAsStreamFromClasspath | public void testGetResourceAsStreamFromClasspath()(Code) | | verifies that web.xml can be loaded
using the classpath
|
testGetResourceAsStreamFromClasspathWithPathCorrection | public void testGetResourceAsStreamFromClasspathWithPathCorrection() throws Exception(Code) | | confirms that calls to getResource will
adjust to a path missing the leading "/"
throws: Exception - |
testGetResourceAsStreamFromFileSystem | public void testGetResourceAsStreamFromFileSystem()(Code) | | verifies that web.xml can be loaded
using the filesystem. Assumes test is being run from
the strutstestcase project root directory
and that WEB-INF is in src/examples
|
testGetResourceAsStreamFromFileSystemWithPathCorrection | public void testGetResourceAsStreamFromFileSystemWithPathCorrection() throws Exception(Code) | | confirms that calls to getResource will
adjust to a path missing the leading "/"
throws: Exception - |
testGetResourceFromClasspath | public void testGetResourceFromClasspath() throws Exception(Code) | | verified that web.xml can be loaded as a URL using the classpath
throws: Exception - |
testGetResourceFromClasspathWithPathCorrection | public void testGetResourceFromClasspathWithPathCorrection() throws Exception(Code) | | confirms that calls to getResource will
adjust to a path missing the leading "/"
throws: Exception - |
testGetResourceFromFileSystem | public void testGetResourceFromFileSystem() throws Exception(Code) | | verified that web.xml can be loaded as a URL using the classpath
throws: Exception - |
testGetResourceFromFileSystemWithPathCorrection | public void testGetResourceFromFileSystemWithPathCorrection() throws Exception(Code) | | confirms that calls to getResource will
adjust to a path missing the leading "/"
throws: Exception - |
testNoAttribute | public void testNoAttribute()(Code) | | |
testSetAttribute | public void testSetAttribute()(Code) | | |
|
|
|