1 | String getMethod(){↵ | | 1 | String getPass() {↵
|
2 | return getPropertyAsString(METHOD);↵ | | 2 | return getPropertyAsString(PASSWORD);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | |
|
5 | * Method should add the JUnit testXXX method to the list at↵ | | |
|
6 | * the end, since the sequence matters.↵ | | |
|
7 | * @param methodName↵ | | |
|
8 | */↵ | | |
|
9 | public void setMethod(String methodName){↵ | | 4 | public synchronized void setPass(String ↵
|
10 | setProperty(METHOD,methodName);↵ | | |
|
11 | }↵ | | |
|
12 | ↵ | | |
|
13 | /**↵ | | |
|
14 | * get the success message↵ | | |
|
15 | */↵ | | |
|
16 | public↵ | | 5 | pass) {↵
|
| | | 6 | setProperty(PASSWORD, pass);↵
|
| | | 7 | }↵
|
|
17 | String getSuccess(){↵ | | 8 | public synchronized String getDomain() {↵
|
18 | return getPropertyAsString(SUCCESS);↵ | | 9 | return getPropertyAsString(↵
|
19 | }↵ | | |
|
20 | ↵ | | |
|
21 | /**↵ | | |
|
22 | * set the success message↵ | | |
|
23 | * @param success↵ | | |
|
24 | */↵ | | |
|
25 | public↵ | | 10 | DOMAIN);↵
|
| | | 11 | }↵
|
|
26 | void setSuccess(String success){↵ | | 12 | public synchronized void setDomain(String ↵
|
27 | setProperty(SUCCESS,success);↵ | | |
|
28 | }↵ | | |
|
29 | ↵ | | |
|
30 | /**↵ | | |
|
31 | * get the success code defined by the user↵ | | |
|
32 | */↵ | | |
|
33 | public String getSuccessCode↵ | | 13 | domain) {↵
|
| | | 14 | setProperty(DOMAIN, domain);↵
|
| | | 15 | }↵
|
|
34 | (){↵ | | 16 | public synchronized String getRealm() {↵
|
35 | return getPropertyAsString(SUCCESSCODE);↵ | | 17 | return getPropertyAsString(↵
|
36 | }↵ | | |
|
|
37 | /**↵ | | |
|
38 | * set the succes code. the success code should↵ | | |
|
39 | * be unique.↵ | | |
|
40 | * @param code↵ | | |
|
41 | */↵ | | |
|
42 | public void setSuccessCode(String code){↵ | | |
|
43 | setProperty(SUCCESSCODE,code);↵ | | |
|
44 | | | 18 | REALM);↵
|
| | | 19 | }↵
|
|
| | | 20 | public synchronized void setRealm(String realm) {↵
|
| | | 21 | setProperty(REALM, realm);↵
|
| | | 22 |
|