1 | void setIndex(String makeIndex) {↵ | | 1 | void setFailureCode(String code){↵
|
2 | setProperty(REPORT_PAGE_INDEX,makeIndex);↵ | | 2 | setProperty(FAILURECODE,code);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | ↵ | | 4 | /**↵
|
| | | 5 | * return the descriptive error for the test↵
|
| | | 6 | */↵
|
5 | public String getCSS() {↵ | | 7 | public String getError(){↵
|
6 | return getPropertyAsString(REPORT_PAGE_CSS);↵ | | 8 | return getPropertyAsString(ERROR);↵
|
7 | }↵ | | 9 | }↵
|
8 | ↵ | | 10 | ↵
|
| | | 11 | /**↵
|
| | | 12 | * provide a descriptive error for the test method. For↵
|
| | | 13 | * a description of the difference between failure and↵
|
| | | 14 | * error, please refer to the following url↵
|
| | | 15 | * http://junit.sourceforge.net/doc/faq/faq.htm#tests_9↵
|
| | | 16 | * @param error↵
|
| | | 17 | */↵
|
9 | public void setCSS(String css) {↵ | | 18 | public void setError(String error){↵
|
10 | setProperty(REPORT_PAGE_CSS,css);↵ | | 19 | setProperty(ERROR,error);↵
|
11 | }↵ | | 20 | }↵
|
12 | ↵ | | 21 | ↵
|
| | | 22 | /**↵
|
| | | 23 | * return the error code for the test method. it should↵
|
| | | 24 | * be an unique error code.↵
|
| | | 25 | */↵
|
13 | public String getHeaderURL() {↵ | | 26 | public String getErrorCode(){↵
|
14 | return getPropertyAsString(REPORT_PAGE_HEADER);↵ | | 27 | return getPropertyAsString(ERRORCODE);↵
|
15 | } | | 28 | }
|