public class BMRunnerUtil extends Object
| Constructor | Description |
|---|---|
BMRunnerUtil() |
| Modifier and Type | Method | Description |
|---|---|---|
static String |
computeBMScriptName(String name) |
method which computes the name of the BMRules file for a test class if it is not supplied in the
class annotation
|
static String |
computeBMScriptName(String name,
Method method) |
method which computes the name of the BMRules file for a method test if it is not supplied in the
method annotation
|
static String |
constructScriptText(BMRule[] bmRules) |
construct the text of a rule script from a set of BMRule annotations
|
static String |
normaliseLoadDirectory(BMScript annotation) |
public static String constructScriptText(BMRule[] bmRules)
bmRules - annotations describing the rules to be installedpublic static String computeBMScriptName(String name, Method method)
name - the value supplied in the annotation or "" if it has been defaultedmethod - the Framework method annotated with an @BMRules annotationpublic static String computeBMScriptName(String name)
name - the value supplied in the annotation or "" if it has been defaultedCopyright © 2018. All rights reserved.