org.glassfish.tests.utils
Class ConfigApiTest
java.lang.Object
org.glassfish.tests.utils.ConfigApiTest
public abstract class ConfigApiTest
- extends java.lang.Object
Super class for all config-api related tests, give access to a configured habitat
|
Field Summary |
static java.util.logging.Logger |
logger
|
|
Method Summary |
abstract org.jvnet.hk2.config.DomDocument |
getDocument(org.jvnet.hk2.component.Habitat habitat)
|
java.lang.String |
getFileName()
Returns the file name without the .xml extension to load the test configuration
from. |
org.jvnet.hk2.component.Habitat |
getHabitat()
Returns a configured Habitat with the configuration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static java.util.logging.Logger logger
ConfigApiTest
public ConfigApiTest()
getFileName
public java.lang.String getFileName()
- Returns the file name without the .xml extension to load the test configuration
from. By default, it's the name of the TestClass.
- Returns:
- the configuration file name
getHabitat
public org.jvnet.hk2.component.Habitat getHabitat()
- Returns a configured Habitat with the configuration.
- Returns:
- a configured Habitat
getDocument
public abstract org.jvnet.hk2.config.DomDocument getDocument(org.jvnet.hk2.component.Habitat habitat)
Copyright © 2012 GlassFish Community. All Rights Reserved.