public abstract class ConfigApiTest
extends org.jvnet.hk2.testing.junit.HK2Runner
Constructor and Description |
---|
ConfigApiTest() |
Modifier and Type | Method and Description |
---|---|
protected Subject |
adminSubject() |
void |
decorate(org.glassfish.hk2.api.ServiceLocator habitat) |
org.glassfish.hk2.api.ServiceLocator |
getBaseServiceLocator() |
DomDocument |
getDocument(org.glassfish.hk2.api.ServiceLocator habitat)
Override it when needed, see config-api/ConfigApiTest.java for example.
|
String |
getFileName()
Returns the file name without the .xml extension to load the test configuration
from.
|
org.glassfish.hk2.api.ServiceLocator |
getHabitat()
Returns a configured Habitat with the configuration.
|
public static final Logger logger
protected Subject adminSubject()
public String getFileName()
public org.glassfish.hk2.api.ServiceLocator getHabitat()
public org.glassfish.hk2.api.ServiceLocator getBaseServiceLocator()
public DomDocument getDocument(org.glassfish.hk2.api.ServiceLocator habitat)
public void decorate(org.glassfish.hk2.api.ServiceLocator habitat)
Copyright © 2018. All rights reserved.