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