|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jsfunit.framework.Environment
public class Environment
Contains methods to determine the test environment.
Method Summary | |
---|---|
static int |
getJSFMajorVersion()
Return 2 for JSF 2.0 and above. |
static int |
getJSFMinorVersion()
Returns the JSF minor version. |
static boolean |
is12Compatible()
Determine if the running JSF version is compatible with the JSF 1.2 specification. |
static boolean |
is20Compatible()
Determine if the running JSF version is compatible with the JSF 2.0 specification. |
static Class |
loadClass(String clazz)
Load a class using the context class loader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean is20Compatible()
true
if running JSF 2.0 or higher, false
otherwise.public static boolean is12Compatible()
true
if running JSF 1.2 or higher, false
otherwise.public static int getJSFMajorVersion()
public static int getJSFMinorVersion()
public static Class loadClass(String clazz)
clazz
- The class name to load.
null
if not found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |