public class FrameworkRunner
extends org.junit.runners.BlockJUnit4ClassRunner
| Modifier and Type | Field and Description |
|---|---|
private DirectoryService |
classDS
The DirectoryService for this class, if any
|
private KdcServer |
classKdcServer
The KdcServer for this class, if any
|
private LdapServer |
classLdapServer
The LdapServer for this class, if any
|
private static org.slf4j.Logger |
LOG
A logger for this class
|
private static java.lang.String |
SET_KDC_SERVER_METHOD_NAME
The 'kdcServer' field in the run tests
|
private static java.lang.String |
SET_LDAP_SERVER_METHOD_NAME
The 'ldapServer' field in the run tests
|
private static java.lang.String |
SET_SERVICE_METHOD_NAME
The 'service' field in the run tests
|
| Constructor and Description |
|---|
FrameworkRunner(java.lang.Class<?> clazz)
Creates a new instance of FrameworkRunner.
|
| Modifier and Type | Method and Description |
|---|---|
private long |
getCurrentRevision(DirectoryService dirService) |
private int |
getMinPort()
Get the lower port out of all the transports
|
private void |
revert(DirectoryService dirService,
long revision) |
void |
run(org.junit.runner.notification.RunNotifier notifier) |
protected void |
runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier) |
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutprivate static final org.slf4j.Logger LOG
private static final java.lang.String SET_SERVICE_METHOD_NAME
private static final java.lang.String SET_LDAP_SERVER_METHOD_NAME
private static final java.lang.String SET_KDC_SERVER_METHOD_NAME
private DirectoryService classDS
private LdapServer classLdapServer
private KdcServer classKdcServer
public FrameworkRunner(java.lang.Class<?> clazz)
throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorpublic void run(org.junit.runner.notification.RunNotifier notifier)
run in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>private int getMinPort()
protected void runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier)
runChild in class org.junit.runners.BlockJUnit4ClassRunnerprivate long getCurrentRevision(DirectoryService dirService) throws java.lang.Exception
java.lang.Exceptionprivate void revert(DirectoryService dirService, long revision) throws java.lang.Exception
java.lang.Exception