org.jboss.jsfunit.init
Class JSFUnitSCI
java.lang.Object
org.jboss.jsfunit.init.JSFUnitSCI
- All Implemented Interfaces:
- javax.servlet.ServletContainerInitializer
public class JSFUnitSCI
- extends Object
- implements javax.servlet.ServletContainerInitializer
This SCI class gathers all the JSFUnit tests in the WAR and makes them
available to the JSFUnit console.
- Since:
- 1.2
- Author:
- Stan Silvert
|
Field Summary |
static String |
APP_SCOPE_KEY
Key used by xhtml markup to access all tests from application scope. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APP_SCOPE_KEY
public static final String APP_SCOPE_KEY
- Key used by xhtml markup to access all tests from application scope.
- See Also:
- Constant Field Values
JSFUnitSCI
public JSFUnitSCI()
onStartup
public void onStartup(Set<Class<?>> classes,
javax.servlet.ServletContext ctx)
throws javax.servlet.ServletException
- Specified by:
onStartup in interface javax.servlet.ServletContainerInitializer
- Throws:
javax.servlet.ServletException
getTests
public List<String> getTests()
- Get an ordered list of all the JSFUnit tests in the WAR.
- Returns:
- The list of tests.
Copyright © 2007-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.