com.mycila.testing.plugins.jetty
Class JettyTestPlugin

java.lang.Object
  extended by com.mycila.testing.core.plugin.DefaultTestPlugin
      extended by com.mycila.testing.plugins.jetty.JettyTestPlugin
All Implemented Interfaces:
com.mycila.plugin.api.Plugin, TestPlugin

public class JettyTestPlugin
extends DefaultTestPlugin

Testing plugin which load the web application specified by JettyRunWar annotation using jetty. TODO ? rename package to com.mycila.testing.plugin.jetty TODO use mycila logger

Author:
amertum

Constructor Summary
JettyTestPlugin()
           
 
Method Summary
 void afterTest(TestExecution testExecution)
           
 void beforeTest(TestExecution testExecution)
           
 void shutdown(TestContext context)
           
 
Methods inherited from class com.mycila.testing.core.plugin.DefaultTestPlugin
afterClass, getAfter, getBefore, prepareTestInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyTestPlugin

public JettyTestPlugin()
Method Detail

beforeTest

public void beforeTest(TestExecution testExecution)
                throws Exception
Specified by:
beforeTest in interface TestPlugin
Overrides:
beforeTest in class DefaultTestPlugin
Throws:
Exception
See Also:
DefaultTestPlugin.beforeTest(com.mycila.testing.core.api.TestExecution)

afterTest

public void afterTest(TestExecution testExecution)
               throws Exception
Specified by:
afterTest in interface TestPlugin
Overrides:
afterTest in class DefaultTestPlugin
Throws:
Exception
See Also:
DefaultTestPlugin.afterTest(com.mycila.testing.core.api.TestExecution)

shutdown

public void shutdown(TestContext context)
              throws Exception
Specified by:
shutdown in interface TestPlugin
Overrides:
shutdown in class DefaultTestPlugin
Throws:
Exception


Copyright © 2010-2011 Mycila. All Rights Reserved.