1 | String getFailureCode(){↵ | | 1 | String getYAxis() {↵
|
2 | return getPropertyAsString(FAILURECODE);↵ | | 2 | return getPropertyAsString(REPORT_CHART_Y_AXIS);↵
|
3 | }↵ | | 3 | }↵
|
4 | ↵ | | 4 | ↵
|
5 | /**↵ | | |
|
6 | * Provide some unique code to denote a type of failure↵ | | |
|
7 | * @param code↵ | | |
|
8 | */↵ | | |
|
9 | public void setFailureCode(String code){↵ | | 5 | public void setYAxis(String scale) {↵
|
10 | setProperty(FAILURECODE,code);↵ | | 6 | setProperty(↵
|
11 | }↵ | | |
|
|
12 | /**↵ | | |
|
13 | * return the descriptive error for the test↵ | | |
|
14 | */↵ | | 7 | REPORT_CHART_Y_AXIS,scale);↵
|
| | | 8 | }↵
|
|
15 | public String getError(){↵ | | 9 | public String getXLabel() {↵
|
16 | return getPropertyAsString(ERROR);↵ | | 10 | return getPropertyAsString(REPORT_CHART_X_LABEL);↵
|
17 | }↵ | | 11 | }↵
|
18 | ↵ | | 12 | ↵
|
19 | /**↵ | | 13 | /**↵
|
20 | * provide a descriptive error for the test method. For↵ | | 14 | * The X d↵
|
21 | * a description of the difference between failure and↵ | | 15 | ata labels should be either the fil↵
|
22 | * error, please refer to the following url↵ | | |
|
23 | * http://junit.sourceforge.net/doc/faq/faq.htm#tests_9↵ | | 16 | ename, date or some↵
|
| | | 17 | * other series of values↵
|
24 | * @param error↵ | | 18 | * @param label↵
|
25 | */↵ | | 19 | */↵
|
26 | public void setError(String error){↵ | | 20 | public void setXLabel(String label) {↵
|
27 | setProperty(ERROR,error);↵ | | 21 | setProperty(REPORT_CHART_X_LABEL,label);↵
|
28 | | | 22 |
|