public class RunnerConfiguration extends Object
ArtifactClassLoaderRunner.| Modifier and Type | Field and Description |
|---|---|
static String |
TEST_RUNNER_ARTIFACT_ID |
static String |
TEST_UNIT_ARTIFACT_ID |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Set<String> |
getApplicationRuntimeLibs() |
Set<Class> |
getExportPluginClasses() |
Set<String> |
getExtraPrivilegedArtifacts() |
Set<String> |
getProvidedExclusions() |
Set<String> |
getSharedApplicationRuntimeLibs() |
Set<String> |
getTestExclusions() |
Set<String> |
getTestInclusions() |
Set<String> |
getTestRunnerExportedRuntimeLibs() |
int |
hashCode() |
static RunnerConfiguration |
readConfiguration(Class testClass)
Creates an instance of the the configuration by reading the class annotated with
ArtifactClassLoaderRunnerConfig. |
String |
toString() |
public static final String TEST_RUNNER_ARTIFACT_ID
public static final String TEST_UNIT_ARTIFACT_ID
public static RunnerConfiguration readConfiguration(Class testClass)
ArtifactClassLoaderRunnerConfig.
Configuration is created by searching in the class hierarchy for testClass which classes are annotated with ArtifactClassLoaderRunnerConfig
and creating a new configuration for the test. Some configuration attributes, as , and , are
the result of collecting the same attribute from all the configured classes/interfaces in the test class's hierarchy.
The rest of the attributes, , and ,
are taken from the first class in the hierarchy that is configured.testClass - Test Class annotatedRunnerConfigurationAnnotationUtils.findConfiguredClass(java.lang.Class)Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.