1 | String getFailureCode(){↵ | | 1 | String getFooterURL() {↵
|
2 | return getPropertyAsString(FAILURECODE);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
4 | ↵ | | |
|
5 | /**↵ | | |
|
6 | * Provide some unique code to denote a type of failure↵ | | |
|
7 | * @param code↵ | | |
|
8 | */↵ | | 3 | REPORT_PAGE_FOOTER);↵
|
| | | 4 | }↵
|
| | | 5 | ↵
|
9 | public void setFailureCode(String code){↵ | | 6 | public void setFooterURL(String url) {↵
|
10 | setProperty(FAILURECODE,code);↵ | | 7 | setProperty(REPORT_PAGE_FOOTER,url);↵
|
11 | }↵ | | 8 | }↵
|
|
12 | /**↵ | | 9 | ↵
|
13 | * return the descriptive error for the test↵ | | |
|
14 | */↵ | | |
|
15 | public String getError(){↵ | | 10 | public String getIntroduction() {↵
|
16 | return getPropertyAsString(ERROR);↵ | | 11 | return getPropertyAsString(REPORT_PAGE_INTRO);↵
|
17 | }↵ | | 12 | }↵
|
18 | ↵ | | 13 | ↵
|
19 | /**↵ | | 14 | ↵
|
20 | * provide a descriptive error for the test method. For↵ | | |
|
21 | * a description of the difference between failure and↵ | | |
|
22 | * error, please refer to the following url↵ | | |
|
23 | * http://junit.sourceforge.net/doc/faq/faq.htm#tests_9↵ | | |
|
24 | * @param error↵ | | |
|
25 | */↵ | | |
|
26 | public void setError(String error){↵ | | 15 | public void setIntroduction(String intro) {↵
|
27 | setProperty(ERROR,error);↵ | | 16 | setProperty(REPORT_PAGE_INTRO,intro);↵
|
28 | | | 17 |
|