|
||||||||||
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 net.jsunit.StandaloneTest org.codehaus.mojo.javascript.JsUnitTestCase
public class JsUnitTestCase
Simple wrapper arround StandaloneTest to setup the jetty http server from Maven.
Field Summary |
---|
Fields inherited from class net.jsunit.StandaloneTest |
---|
MAX_SECONDS_TO_WAIT |
Constructor Summary | |
---|---|
JsUnitTestCase(java.lang.String name)
|
Method Summary | |
---|---|
void |
run(junit.framework.TestResult result)
Override the junit run method to gather browser test result an run a fake junit test suite that replay the browser results. |
static void |
setSharedServer(net.jsunit.JsUnitServer server)
|
static void |
setSuite(junit.framework.TestSuite suite)
|
void |
setUp()
|
static junit.framework.Test |
suite()
|
Methods inherited from class net.jsunit.StandaloneTest |
---|
setServer, tearDown, testStandaloneRun |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, 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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JsUnitTestCase(java.lang.String name)
name
- Method Detail |
---|
public static void setSharedServer(net.jsunit.JsUnitServer server)
server
- the server to setpublic void setUp() throws java.lang.Exception
setUp
in class net.jsunit.StandaloneTest
java.lang.Exception
StandaloneTest.setUp()
public void run(junit.framework.TestResult result)
run
in interface junit.framework.Test
run
in class junit.framework.TestCase
TestCase.run(junit.framework.TestResult)
public static junit.framework.Test suite()
public static void setSuite(junit.framework.TestSuite suite)
suite
- the suite to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |