public class BMRunnerUtil extends Object
Constructor and Description |
---|
BMRunnerUtil() |
Modifier and Type | Method and 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
- public 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 defaultedtestClass
- the test class annotated with an @BMRules annotationCopyright © 2016. All rights reserved.