|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jboss.portal.junit.AbstractTestCase
public class AbstractTestCase
Base case for client side test case.
Constructor Summary | |
---|---|
AbstractTestCase(java.lang.String s)
|
Method Summary | |
---|---|
static void |
check(Result result,
int expected)
|
ClientSession |
createSession()
|
protected void |
deploy(java.lang.String appName)
Deploy a portlet application. |
static Result |
doGet(ClientSession session,
Result result,
java.lang.String componentName)
|
protected org.apache.commons.httpclient.HttpClient |
getClient()
|
protected org.apache.commons.httpclient.HostConfiguration |
getHost()
|
protected org.jboss.jmx.adaptor.rmi.RMIAdaptor |
getRMIAdaptor()
|
protected void |
setUp()
|
static Result |
start(ClientSession session,
java.lang.String componentName)
|
protected void |
tearDown()
|
protected void |
undeploy()
Undeploy a portlet application. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, 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 |
Constructor Detail |
---|
public AbstractTestCase(java.lang.String s)
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
protected final org.apache.commons.httpclient.HttpClient getClient()
protected final org.apache.commons.httpclient.HostConfiguration getHost()
protected final org.jboss.jmx.adaptor.rmi.RMIAdaptor getRMIAdaptor() throws java.lang.Exception
java.lang.Exception
protected final void deploy(java.lang.String appName) throws java.lang.Exception
java.lang.Exception
protected final void undeploy() throws java.lang.Exception
java.lang.Exception
public ClientSession createSession()
public static Result start(ClientSession session, java.lang.String componentName) throws java.lang.Throwable
java.lang.Throwable
public static Result doGet(ClientSession session, Result result, java.lang.String componentName) throws java.lang.Throwable
java.lang.Throwable
public static void check(Result result, int expected) throws java.lang.Throwable
java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |