1 | String getYAxis() {↵ | | 1 | String getMethod(){↵
|
2 | return getPropertyAsString(REPORT_CHART_Y_AXIS);↵ | | 2 | return getPropertyAsString(METHOD);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | ↵ | | 4 | /**↵
|
| | | 5 | * Method should add the JUnit testXXX method to the list at↵
|
| | | 6 | * the end, since the sequence matters.↵
|
| | | 7 | * @param methodName↵
|
| | | 8 | */↵
|
5 | public void setYAxis(String scale) {↵ | | 9 | public void setMethod(String methodName){↵
|
6 | setProperty(REPORT_CHART_Y_AXIS,scale);↵ | | 10 | setProperty(↵
|
7 | }↵ | | |
|
| | | 11 | METHOD,methodName);↵
|
| | | 12 | }↵
|
| | | 13 | ↵
|
| | | 14 | /**↵
|
| | | 15 | * get the success message↵
|
| | | 16 | */↵
|
8 | public String getXLabel() {↵ | | 17 | public String getSuccess(){↵
|
9 | return getPropertyAsString(REPORT_CHART_X_LABEL);↵ | | 18 | return getPropertyAsString(SUCCESS);↵
|
10 | }↵ | | 19 | }↵
|
11 | ↵ | | 20 | ↵
|
12 | /**↵ | | 21 | /**↵
|
13 | * The X data labels should be either the filename, date or some↵ | | 22 | * ↵
|
14 | * other series of values↵ | | 23 | set the success message↵
|
15 | * @param label↵ | | 24 | * @param success↵
|
16 | */↵ | | 25 | */↵
|
17 | public void setXLabel(String label) {↵ | | 26 | public void setSuccess(String success){↵
|
18 | setProperty(REPORT_CHART_X_LABEL,label);↵ | | 27 | setProperty(↵
|
19 | }↵ | | |
|
20 | ↵ | | 28 | SUCCESS,success);↵
|
| | | 29 | }↵
|
| | | 30 | ↵
|
| | | 31 | /**↵
|
| | | 32 | * get the success code defined by the user↵
|
| | | 33 | */↵
|
21 | public String getYLabel() {↵ | | 34 | public String getSuccessCode(){↵
|
22 | return getPropertyAsString(REPORT_CHART_Y_LABEL);↵ | | 35 | return getPropertyAsString(SUCCESSCODE);↵
|
23 | } | | 36 | }
|