org.mule.examples.webapp
Class JettyTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.mule.tck.AbstractMuleTestCase
              extended by org.mule.examples.webapp.AbstractWebappTestCase
                  extended by org.mule.examples.webapp.JettyTestCase
All Implemented Interfaces:
Test, org.mule.tck.TestCaseWatchdogTimeoutHandler

public class JettyTestCase
extends AbstractWebappTestCase

This is a work in progress. We may be better off using the maven-jetty-plugin in the "integration-tests" phase of the m2 lifecycle to test the WAR.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase
org.mule.tck.AbstractMuleTestCase.TestInfo
 
Field Summary
static int JETTY_PORT
           
static String WEBAPP_CONTEXT_PATH
           
static String WEBAPP_WAR_FILE
           
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
IGNORED_DOT_MULE_DIRS, logger
 
Constructor Summary
JettyTestCase()
           
 
Method Summary
protected  void doSetUp()
           
protected  void suitePreTearDown()
           
 
Methods inherited from class org.mule.examples.webapp.AbstractWebappTestCase
testEchoExample, testHelloExample, testLoanBrokerExample, testSanity, testStockQuoteExample
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
createTestInfo, createWatchdog, disposeManager, doTearDown, getDefaultModel, getManager, getName, getTestComponent, getTestConnector, getTestDescriptor, getTestEndpoint, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInfo, getTestManager, getTestSession, getTestTransformer, handleTimeout, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isOffline, run, runBare, setDisposeManagerPerSuite, setUp, suitePostSetUp, suitePostTearDown, suitePreSetUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

JettyTestCase

public JettyTestCase()
Method Detail

doSetUp

protected void doSetUp()
                throws Exception
Overrides:
doSetUp in class org.mule.tck.AbstractMuleTestCase
Throws:
Exception

suitePreTearDown

protected void suitePreTearDown()
                         throws Exception
Overrides:
suitePreTearDown in class org.mule.tck.AbstractMuleTestCase
Throws:
Exception


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.