1 | String getXLabel() {↵ | | 1 | String getFailureCode(){↵
|
2 | return getPropertyAsString(REPORT_CHART_X_LABEL);↵ | | 2 | return getPropertyAsString(FAILURECODE);↵
|
3 | }↵ | | 3 | }↵
|
4 | ↵ | | 4 | ↵
|
5 | /**↵ | | 5 | /**↵
|
6 | * The X data labels should be either the filename, date or some↵ | | 6 | * ↵
|
7 | * other series of values↵ | | 7 | Provide some unique code to denote a type of failure↵
|
8 | * @param label↵ | | 8 | * @param code↵
|
9 | */↵ | | 9 | */↵
|
10 | public void setXLabel(String label) {↵ | | 10 | public void setFailureCode(String code){↵
|
11 | setProperty(REPORT_CHART_X_LABEL,label);↵ | | 11 | setProperty(FAILURECODE,code);↵
|
12 | }↵ | | 12 | }↵
|
|
13 | ↵ | | 13 | /**↵
|
| | | 14 | * return the descriptive error for the test↵
|
| | | 15 | */↵
|
14 | public String getYLabel() {↵ | | 16 | public String getError(){↵
|
15 | return getPropertyAsString(REPORT_CHART_Y_LABEL);↵ | | 17 | return getPropertyAsString(ERROR);↵
|
16 | | | 18 |
|