|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--com.netriser.xmltestsuite.testcases.XmlTestCase | +--com.netriser.xmltestsuite.TestAll
Test most parts of the package. First tests the factory mechanism, and then each resource. Finally it accesses a web site to exercise the test elements. Uses test.xml for many of the tests Requires a database server; assumes sql server witht he northwind database. Uses file urls for some tests but still requires a web server with sample files. with which to test submit functionality.
The tests assume the correctness of dependancies such as junit and HttpUnit.
Nested Class Summary | |
static class |
TestAll.XMLTestSetup
|
Constructor Summary | |
TestAll()
|
|
TestAll(java.lang.String name)
|
Method Summary | |
static junit.framework.Test |
suite()
Create the suite of tests. |
void |
testConfigurationResource()
|
void |
testDBResource()
|
void |
testHttpResource()
|
void |
testMapResource()
|
void |
testResourceFactory()
|
Methods inherited from class com.netriser.xmltestsuite.testcases.XmlTestCase |
getElementList, getXmlElement, setForm, setFrame, setFrameName, setHtmlWarnings, setPage, setPageElement, setStepid, setWindowName, setXmlElement |
Methods inherited from class junit.framework.TestCase |
countTestCases, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TestAll(java.lang.String name)
public TestAll()
Method Detail |
public static junit.framework.Test suite()
public void testMapResource()
public void testHttpResource()
public void testResourceFactory()
public void testConfigurationResource()
public void testDBResource()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |