1 | String getErrorCode(){↵ | | 1 | String getSuccessCode(){↵
|
2 | return getPropertyAsString(ERRORCODE);↵ | | 2 | return getPropertyAsString(SUCCESSCODE);↵
|
3 | }↵ | | 3 | }↵
|
4 | ↵ | | |
|
5 | /**↵ | | 4 | /**↵
|
6 | * provide an unique error code for when the test↵ | | 5 | * ↵
|
7 | * does not pass the assert test↵ | | 6 | set the succes code. the success code should↵
|
8 | .↵ | | 7 | * be unique.↵
|
9 | * @param code↵ | | 8 | * @param code↵
|
10 | */↵ | | 9 | */↵
|
11 | public void setErrorCode(String code){↵ | | 10 | public void setSuccessCode(String code){↵
|
12 | setProperty(ERRORCODE,code);↵ | | 11 | setProperty(SUCCESSCODE,code);↵
|
13 | }↵ | | 12 | }↵
|
14 | ↵ | | 13 | ↵
|
15 | /**↵ | | 14 | /**↵
|
16 | * return the comma separated string for the filter↵ | | 15 | * get the failure message↵
|
17 | */↵ | | 16 | */↵
|
18 | public String getFilterString(){↵ | | 17 | public String getFailure(){↵
|
19 | return getPropertyAsString(FILTER);↵ | | 18 | return getPropertyAsString(FAILURE);↵
|
20 | } | | 19 | }
|