1 | void setClassname(String classname)↵ | | 1 | void set↵
|
2 | {↵ | | |
|
3 | setProperty(CLASSNAME, classname);↵ | | |
|
4 | }↵ | | |
|
|
5 | /**↵ | | |
|
6 | * Gets the Classname attribute of the JavaConfig object↵ | | |
|
7 | *↵ | | |
|
8 | * @return the Classname value↵ | | |
|
9 | */↵ | | |
|
10 | public String getClassname()↵ | | |
|
11 | {↵ | | |
|
12 | return getPropertyAsString(CLASSNAME);↵ | | |
|
13 | }↵ | | |
|
14 | ↵ | | |
|
15 | /**↵ | | |
|
16 | * Set the string label used to create an instance of the↵ | | |
|
17 | * test with the string constructor.↵ | | |
|
18 | * @param constr↵ | | |
|
19 | */↵ | | |
|
20 | public void setConstructorString(String constr)↵ | | |
|
21 | {↵ | | |
|
22 | setProperty(CONSTRUCTORSTRING,constr);↵ | | |
|
23 | | | 2 | Regex(String regex) {↵
|
| | | 3 | setProperty(REGEX, regex);↵
|
| | | 4 | }↵
|
|
| | | 5 | public String getRegex() {↵
|
| | | 6 | return getPropertyAsString(REGEX);↵
|
| | | 7 | }↵
|
|
| | | 8 | public void setRefName(String refName) {↵
|
| | | 9 | setProperty(REFNAME, refName);↵
|
| | | 10 |
|