|
||||||||||
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.jboss.portal.test.framework.container.client.TestCase
Base class for portlet test case.
Field Summary | |
protected TestSuite |
suite
The suite we belong to. |
protected java.lang.String |
testCaseId
The test case id. |
protected java.lang.String |
uri
The initial uri. |
Constructor Summary | |
TestCase(NodeId initialNodeId,
java.lang.String testCaseId)
|
|
TestCase(NodeId initialNodeId,
java.lang.String testCaseId,
java.lang.String uri)
|
|
TestCase(java.lang.String testCaseId)
|
|
TestCase(java.lang.String testCaseId,
java.lang.String uri)
|
Method Summary | |
int |
executeMethod(org.apache.commons.httpclient.HttpMethod method)
|
java.lang.String |
getName()
Override with the test case id. |
int |
getPort(Node node)
|
protected void |
run(ClientCommand cmd)
|
protected void |
runTest()
Perform the test run. |
void |
setSuite(TestSuite suite)
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, run, run, runBare, setName, setUp, tearDown, 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 java.lang.String testCaseId
protected TestSuite suite
protected java.lang.String uri
Constructor Detail |
public TestCase(java.lang.String testCaseId)
public TestCase(NodeId initialNodeId, java.lang.String testCaseId)
public TestCase(java.lang.String testCaseId, java.lang.String uri)
public TestCase(NodeId initialNodeId, java.lang.String testCaseId, java.lang.String uri)
Method Detail |
public void setSuite(TestSuite suite)
public final java.lang.String getName()
protected final void runTest() throws java.lang.Throwable
java.lang.Throwable
protected final void run(ClientCommand cmd) throws java.lang.Throwable
java.lang.Throwable
public int executeMethod(org.apache.commons.httpclient.HttpMethod method) throws java.lang.Exception
java.lang.Exception
public int getPort(Node node)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |