|
||||||||||
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.UseCasesTestCase
public class UseCasesTestCase
Simple integration test to validate access to the main menu.
Field Summary |
---|
Fields inherited from class org.apache.shale.usecases.systest.AbstractTestCase |
---|
page, url, webClient |
Constructor Summary | |
---|---|
UseCasesTestCase(String name)
Construct a new instance of this test case. |
Method Summary | |
---|---|
protected void |
setUp()
Set up the instance variables required for this test case. |
static junit.framework.Test |
suite()
Return the set of tests included in this test suite. |
protected void |
tearDown()
Tear down instance variables required by this test case. |
void |
testForm()
Verify the availability of an appropriate form. |
void |
testSubview()
Verify the availability of an appropriate subview hyperlink. |
void |
testTitle()
Verify the title of the returned page. |
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 UseCasesTestCase(String name)
Construct a new instance of this test case.
name
- Name of the new test caseMethod Detail |
---|
protected void setUp() throws Exception
Set up the instance variables required for this test case.
setUp
in class AbstractTestCase
Exception
public static junit.framework.Test suite()
Return the set of tests included in this test suite.
protected void tearDown() throws Exception
Tear down instance variables required by this test case.
tearDown
in class AbstractTestCase
Exception
public void testForm() throws Exception
Verify the availability of an appropriate form.
Exception
public void testSubview() throws Exception
Verify the availability of an appropriate subview hyperlink.
Exception
public void testTitle() throws Exception
Verify the title of the returned page.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |