public class BMRunnerUtil
extends java.lang.Object
| Constructor and Description |
|---|
BMRunnerUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
computeBMScriptName(java.lang.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 java.lang.String |
computeBMScriptName(java.lang.String name,
java.lang.reflect.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 java.lang.String |
constructScriptText(BMRule[] bmRules)
construct the text of a rule script from a set of BMRule annotations
|
static java.lang.String |
normaliseLoadDirectory(BMScript annotation) |
public static java.lang.String normaliseLoadDirectory(BMScript annotation)
public static java.lang.String constructScriptText(BMRule[] bmRules)
bmRules - public static java.lang.String computeBMScriptName(java.lang.String name,
java.lang.reflect.Method method)
name - the value supplied in the annotation or "" if it has been defaultedmethod - the Framework method annotated with an @BMRules annotationpublic static java.lang.String computeBMScriptName(java.lang.String name)
name - the value supplied in the annotation or "" if it has been defaultedtestClass - the test class annotated with an @BMRules annotationCopyright © 2013. All Rights Reserved.