@API(status=INTERNAL, since="5.1") @Deprecated public final class Script extends Object
DisabledIf
,
EnabledIf
,
ScriptExecutionManager
Modifier and Type | Field and Description |
---|---|
static String |
BIND_JUNIT_CONFIGURATION_PARAMETER
Deprecated.
Accessor for JUnit Platform configuration parameters.
|
static String |
BIND_JUNIT_DISPLAY_NAME
Deprecated.
Display name of the test or container.
|
static String |
BIND_JUNIT_TAGS
Deprecated.
Set of all tags assigned to the current extension context.
|
static String |
BIND_JUNIT_UNIQUE_ID
Deprecated.
Unique ID associated with the current extension context.
|
static String |
DEFAULT_SCRIPT_ENGINE_NAME
Deprecated.
The script engine name defaults to
Nashorn . |
static String |
DEFAULT_SCRIPT_REASON_PATTERN
Deprecated.
Default reason message pattern.
|
Constructor and Description |
---|
Script(Annotation annotation,
String engine,
String source,
String reason)
Deprecated.
|
Script(Class<? extends Annotation> annotationType,
String annotationAsString,
String engine,
String source,
String reason)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Deprecated.
|
String |
getAnnotationAsString()
Deprecated.
|
Class<? extends Annotation> |
getAnnotationType()
Deprecated.
|
String |
getEngine()
Deprecated.
|
String |
getReason()
Deprecated.
|
String |
getSource()
Deprecated.
|
int |
hashCode()
Deprecated.
|
String |
toReasonString(String resultAsString)
Deprecated.
|
public static final String DEFAULT_SCRIPT_ENGINE_NAME
Nashorn
.public static final String BIND_JUNIT_TAGS
Value type: Set<String>
ExtensionContext.getTags()
,
Constant Field Valuespublic static final String BIND_JUNIT_UNIQUE_ID
Value type: String
public static final String BIND_JUNIT_DISPLAY_NAME
Value type: String
public static final String BIND_JUNIT_CONFIGURATION_PARAMETER
Usage: junitConfigurationParameter.get(key) -> String
public static final String DEFAULT_SCRIPT_REASON_PATTERN
public Script(Annotation annotation, String engine, String source, String reason)
public String getAnnotationAsString()
public Class<? extends Annotation> getAnnotationType()
public String getEngine()
public String getReason()
public String getSource()
public String toReasonString(String resultAsString)
getReason()
with all placeholders
replaced with their current values stored here.Copyright © 2019. All rights reserved.