1 | String getReceiveQueue() {↵ | | 1 | String getMethod(){↵
|
2 | return getPropertyAsString(RECEIVE_QUEUE);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
|
4 | public void setReceiveQueue↵ | | 3 | METHOD);↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * Method should add the JUnit testXXX method to the list at↵
|
| | | 7 | * the end, since the sequence matters.↵
|
| | | 8 | * @param methodName↵
|
| | | 9 | */↵
|
5 | (String name) {↵ | | 10 | public void setMethod(String methodName){↵
|
6 | setProperty(RECEIVE_QUEUE, name);↵ | | 11 | setProperty(↵
|
7 | }↵ | | |
|
|
8 | ↵ | | 12 | METHOD,methodName);↵
|
| | | 13 | }↵
|
| | | 14 | ↵
|
| | | 15 | /**↵
|
| | | 16 | * get the success message↵
|
| | | 17 | */↵
|
9 | public String getContent() {↵ | | 18 | public String getSuccess(){↵
|
10 | return getPropertyAsString(XML_DATA);↵ | | 19 | return getPropertyAsString(↵
|
11 | }↵ | | |
|
|
12 | ↵ | | 20 | SUCCESS);↵
|
| | | 21 | }↵
|
| | | 22 | ↵
|
| | | 23 | /**↵
|
| | | 24 | * set the success message↵
|
| | | 25 | * @param success↵
|
| | | 26 | */↵
|
13 | public void setContent(String content) {↵ | | 27 | public void setSuccess(String ↵
|
14 | setProperty(XML_DATA, content);↵ | | |
|
15 | ↵ | | 28 | success){↵
|
| | | 29 | setProperty(SUCCESS,success);↵
|
16 | } | | 30 | }
|