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