|
||||||||||
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.apache.shale.usecases.systest.AbstractTestCase
org.apache.shale.usecases.systest.ViewControllerTestCase
public class ViewControllerTestCase
Test case for view controller lifecycle callbacks testing.
Field Summary |
---|
Fields inherited from class org.apache.shale.usecases.systest.AbstractTestCase |
---|
page, url, webClient |
Constructor Summary | |
---|---|
ViewControllerTestCase(String name)
|
Method Summary | |
---|---|
protected void |
setUp()
Set up the instance variables required for this test case. |
static junit.framework.Test |
suite()
|
protected void |
tearDown()
Tear down instance variables required by this test case. |
void |
testPristine()
Validate pristine instance of the test page. |
void |
testSubmit()
Submit the page and validate the results. |
Methods inherited from class org.apache.shale.usecases.systest.AbstractTestCase |
---|
body, element, form, head, link, page, submit, title, url |
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 ViewControllerTestCase(String name)
Method Detail |
---|
protected void setUp() throws Exception
AbstractTestCase
Set up the instance variables required for this test case.
setUp
in class AbstractTestCase
Exception
public static junit.framework.Test suite()
protected void tearDown() throws Exception
AbstractTestCase
Tear down instance variables required by this test case.
tearDown
in class AbstractTestCase
Exception
public void testPristine() throws Exception
Validate pristine instance of the test page.
Exception
public void testSubmit() throws Exception
Submit the page and validate the results.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |