1 | void setFailureCode(String code){↵ | | 1 | void setIndex(String makeIndex) {↵
|
2 | setProperty(FAILURECODE,code);↵ | | 2 | setProperty(REPORT_PAGE_INDEX,makeIndex);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | ↵
|
5 | * return the descriptive error for the test↵ | | |
|
6 | */↵ | | |
|
7 | public String getError(){↵ | | 5 | public String getCSS() {↵
|
8 | return getPropertyAsString(ERROR);↵ | | 6 | return getPropertyAsString(REPORT_PAGE_CSS);↵
|
9 | }↵ | | 7 | }↵
|
10 | ↵ | | 8 | ↵
|
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 | */↵ | | |
|
18 | public void setError(String error){↵ | | 9 | public void setCSS(String css) {↵
|
19 | setProperty(ERROR,error);↵ | | 10 | setProperty(REPORT_PAGE_CSS,css);↵
|
20 | }↵ | | 11 | }↵
|
21 | ↵ | | 12 | ↵
|
22 | /**↵ | | |
|
23 | * return the error code for the test method. it should↵ | | |
|
24 | * be an unique error code.↵ | | |
|
25 | */↵ | | |
|
26 | public String getErrorCode(){↵ | | 13 | public String getHeaderURL() {↵
|
27 | return getPropertyAsString(ERRORCODE);↵ | | 14 | return getPropertyAsString(REPORT_PAGE_HEADER);↵
|
28 | | | 15 |
|