1 | String getFilename() {↵ | | 1 | String getErrorCode(){↵
|
2 | return getPropertyAsString(FILENAME);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
|
4 | ↵ | | 3 | ERRORCODE);↵
|
| | | 4 | }↵
|
| | | 5 | ↵
|
| | | 6 | /**↵
|
| | | 7 | * provide an unique error code for when the test↵
|
| | | 8 | * does not pass the assert test.↵
|
| | | 9 | * @param code↵
|
| | | 10 | */↵
|
5 | public void setFilename(String newFilename) {↵ | | 11 | public void setErrorCode(String code){↵
|
6 | this.setProperty(FILENAME, newFilename);↵ | | 12 | setProperty(↵
|
7 | }↵ | | |
|
|
8 | ↵ | | 13 | ERRORCODE,code);↵
|
| | | 14 | }↵
|
| | | 15 | ↵
|
| | | 16 | /**↵
|
| | | 17 | * return the comma separated string for the filter↵
|
| | | 18 | */↵
|
9 | public String getScript() {↵ | | 19 | public String getFilterString(){↵
|
10 | return this.getPropertyAsString(SCRIPT);↵ | | 20 | return getPropertyAsString(↵
|
11 | }↵ | | |
|
|
12 | ↵ | | 21 | FILTER);↵
|
| | | 22 | }↵
|
| | | 23 | ↵
|
| | | 24 | /**↵
|
| | | 25 | * set the filter string in comman separated format↵
|
| | | 26 | * @param text↵
|
| | | 27 | */↵
|
13 | public void setScript(String newScript) {↵ | | 28 | public void setFilterString(String text){↵
|
14 | this.setProperty(SCRIPT, newScript);↵ | | 29 | setProperty(FILTER,text);↵
|
15 | } | | 30 | }
|