|
||||||||||
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 | +--org.mcraig.cs445.refentry.TestRefEntryServlet
Test public methods of the RefEntryServlet class using the JUnit test framework.
Field Summary | |
protected RefEntryBackEnd |
backend
|
protected java.util.Properties |
config
|
protected java.io.File |
infile
|
protected java.io.File |
outfile
|
protected RefEntry |
refentry
|
protected RefEntryServlet |
servlet
|
protected java.util.Properties |
xslt
|
Constructor Summary | |
TestRefEntryServlet()
|
Method Summary | |
void |
runTest()
|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testDoGet()
|
void |
testDoPost()
|
void |
testGetServletInfo()
|
void |
testGetTokens()
|
void |
testInit()
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected RefEntryServlet servlet
protected java.util.Properties config
protected RefEntryBackEnd backend
protected java.io.File infile
protected java.io.File outfile
protected java.util.Properties xslt
protected RefEntry refentry
Constructor Detail |
public TestRefEntryServlet()
Method Detail |
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testGetServletInfo()
public void testInit()
public void testDoGet()
public void testDoPost()
public void testGetTokens()
public void runTest()
runTest
in class junit.framework.TestCase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |