1 | String getMethod(){↵ | | 1 | String getValue() {↵
|
2 | return getPropertyAsString(METHOD);↵ | | 2 | return getPropertyAsString(↵
|
3 | ↵ | | 3 | VALUE);↵
|
4 | }↵ | | 4 | }↵
|
|
5 | /**↵ | | 5 | /**↵
|
6 | * Method should add the JUnit testXXX method to the list at↵ | | |
|
7 | * the end, since the sequence matters.↵ | | |
|
8 | * @param methodName↵ | | |
|
9 | ↵ | | 6 | * set the value for this object.↵
|
10 | */↵ | | 7 | */↵
|
11 | public void setMethod(String methodName){↵ | | 8 | public synchronized void setValue(String value) {↵
|
12 | setProperty(METHOD,methodName);↵ | | 9 | this.setProperty(↵
|
13 | }↵ | | |
|
14 | ↵ | | |
|
15 | ↵ | | 10 | VALUE, value);↵
|
| | | 11 | }↵
|
|
16 | /**↵ | | 12 | /**↵
|
17 | * get the success message↵ | | 13 | * get the ↵
|
18 | ↵ | | 14 | domain for this object.↵
|
19 | */↵ | | 15 | */↵
|
20 | public String getSuccess(){↵ | | 16 | public synchronized String getDomain() {↵
|
21 | return getPropertyAsString(SUCCESS);↵ | | 17 | return getPropertyAsString(↵
|
22 | }↵ | | |
|
23 | ↵ | | |
|
24 | ↵ | | 18 | DOMAIN);↵
|
| | | 19 | }↵
|
|
25 | /**↵ | | 20 | /**↵
|
26 | * set the success message↵ | | 21 | * set the ↵
|
27 | * @param success↵ | | |
|
28 | ↵ | | 22 | domain for this object.↵
|
29 | */↵ | | 23 | */↵
|
30 | public void setSuccess(String success){↵ | | 24 | public synchronized void setDomain(String ↵
|
31 | setProperty(SUCCESS,success);↵ | | |
|
32 | ↵ | | 25 | domain) {↵
|
| | | 26 | setProperty(DOMAIN, domain);↵
|
33 | } | | 27 | }
|