public abstract class LaunchServices extends Object
Implementation must have a public constructor with no parameters.
Exactly one instance is created per each test class/deployment.
| Modifier and Type | Field and Description |
|---|---|
static String |
SYSTEM_PROPERTY_LAUNCH_SERVICES_CLASS |
| Constructor and Description |
|---|
LaunchServices() |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader() |
void |
initialize()
This method is invoked before the test runner is initialized and before the test class is loaded (and before any test method is executed).
|
void |
shutdown()
This method is invoked by a virtual-machine shutdown hook when the test subprocess/JVM is terminated.
|
public static final String SYSTEM_PROPERTY_LAUNCH_SERVICES_CLASS
public ClassLoader getClassLoader()
null if the default should be usedpublic void initialize()
public void shutdown()
Runtime.addShutdownHook(Thread)Copyright © 2017. All rights reserved.