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