|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
net.sourceforge.jwebunit.junit.WebTestCase
net.sourceforge.jwebunit.tests.JWebUnitAPITestCase
net.sourceforge.jwebunit.tests.JavaScriptTest
public class JavaScriptTest
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.jwebunit.tests.JWebUnitAPITestCase |
|---|
HOST_PATH, JETTY_PORT, JETTY_URL, NOARGS |
| Fields inherited from class net.sourceforge.jwebunit.junit.WebTestCase |
|---|
customTester, tester |
| Constructor Summary | |
|---|---|
JavaScriptTest()
|
|
| Method Summary | |
|---|---|
void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
testAlert()
|
void |
testConfirm()
|
void |
testDocumentWrite()
|
void |
testInvalidAlertOnPageLoad()
|
void |
testMultipleAlerts()
|
void |
testPrompt()
|
void |
testPromptCanceled()
|
void |
testPrototypeJs()
Test prototype.js integration and make sure that it works in JWebUnit |
void |
testUserAgent()
Test that the navigator.userAgent is actually available. |
| Methods inherited from class net.sourceforge.jwebunit.tests.JWebUnitAPITestCase |
|---|
assertException, assertFail, assertFail, assertPass, assertPass, assertPassFail, assertPassFail |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, 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, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JavaScriptTest()
| Method Detail |
|---|
public static junit.framework.Test suite()
public void setUp()
throws java.lang.Exception
setUp in class JWebUnitAPITestCasejava.lang.Exceptionpublic void testDocumentWrite()
public void testAlert()
public void testInvalidAlertOnPageLoad()
public void testMultipleAlerts()
public void testConfirm()
public void testPrompt()
public void testPromptCanceled()
public void testUserAgent()
navigator.userAgent is actually available.
1724695
public void testPrototypeJs()
throws java.lang.InterruptedException
java.lang.InterruptedException2208784
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||