1 | String getSendQueue() {↵ | | 1 | String getError(){↵
|
2 | return getPropertyAsString(SEND_QUEUE);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
|
4 | public void setSendQueue(String name) {↵ | | |
|
5 | setProperty(SEND_QUEUE, name);↵ | | |
|
6 | }↵ | | |
|
|
7 | ↵ | | 3 | ERROR);↵
|
| | | 4 | }↵
|
| | | 5 | ↵
|
| | | 6 | /**↵
|
| | | 7 | * provide a descriptive error for the test method. For↵
|
| | | 8 | * a description of the difference between failure and↵
|
| | | 9 | * error, please refer to the following url↵
|
| | | 10 | * http://junit.sourceforge.net/doc/faq/faq.htm#tests_9↵
|
| | | 11 | * @param error↵
|
| | | 12 | */↵
|
| | | 13 | public void setError(String error){↵
|
| | | 14 | setProperty(ERROR,error);↵
|
| | | 15 | }↵
|
| | | 16 | ↵
|
| | | 17 | /**↵
|
| | | 18 | * return the error code for the test method. it should↵
|
| | | 19 | * be an unique error code.↵
|
| | | 20 | */↵
|
8 | public String getReceiveQueue() {↵ | | 21 | public String getErrorCode(){↵
|
9 | return getPropertyAsString(RECEIVE_QUEUE);↵ | | 22 | return getPropertyAsString(ERRORCODE);↵
|
10 | } | | 23 | }
|