org.mule.example.webapp
Class JettyTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.mule.example.webapp.JettyTestCase
- All Implemented Interfaces:
- Test
public class JettyTestCase
- extends TestCase
This tests runs in Maven's "integration-test" phase, after the .war has been built.
It starts up the .war inside Jetty and runs tests against the Mule instance.
Note that the MuleClient does not work in this case because we have no access to the
MuleContext (which is inside the Jetty container).
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 |
WEBAPP_WAR_FILE
public static final String WEBAPP_WAR_FILE
- See Also:
- Constant Field Values
WEBAPP_CONTEXT_PATH
public static final String WEBAPP_CONTEXT_PATH
- See Also:
- Constant Field Values
JETTY_PORT
public static final int JETTY_PORT
- See Also:
- Constant Field Values
JettyTestCase
public JettyTestCase()
setUp
protected void setUp()
throws Exception
- Overrides:
setUp
in class TestCase
- Throws:
Exception
tearDown
protected void tearDown()
throws Exception
- Overrides:
tearDown
in class TestCase
- Throws:
Exception
testSanity
public void testSanity()
throws Exception
- Throws:
Exception
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.