1 | String getQueueConnectionFactory() {↵ | | 1 | String getError(){↵
|
2 | return getPropertyAsString(QUEUE_CONNECTION_FACTORY_JNDI);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
|
4 | public void setQueueConnectionFact↵ | | 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 | */↵
|
5 | ory(String qcf) {↵ | | 13 | public void setError(String ↵
|
6 | setProperty(QUEUE_CONNECTION_FACTORY_JNDI, qcf);↵ | | |
|
7 | }↵ | | |
|
|
8 | ↵ | | 14 | error){↵
|
| | | 15 | setProperty(ERROR,error);↵
|
| | | 16 | }↵
|
| | | 17 | ↵
|
| | | 18 | /**↵
|
| | | 19 | * return the error code for the test method. it should↵
|
| | | 20 | * be an unique error code.↵
|
| | | 21 | */↵
|
9 | public String getSendQueue() {↵ | | 22 | public String getErrorCode(){↵
|
10 | return getPropertyAsString(SEND_QUEUE);↵ | | 23 | return getPropertyAsString(ERRORCODE);↵
|
11 | | | 24 |
|