1 | String getXmlData() {↵ | | 1 | String get↵
|
2 | ↵ | | 2 | Classname()↵
|
| | | 3 | {↵
|
3 | return getPropertyAsString(XML_DATA);↵ | | 4 | return getPropertyAsString(↵
|
4 | }↵ | | |
|
|
5 | /**↵ | | |
|
6 | * it's kinda obvious, but we state it anyways. Set the xml file with a↵ | | |
|
7 | * string path.↵ | | |
|
8 | *↵ | | 5 | CLASSNAME);↵
|
| | | 6 | }↵
|
| | | 7 | ↵
|
| | | 8 | /**↵
|
| | | 9 | * Set the string label used to create an instance of the↵
|
| | | 10 | * test with the string constructor.↵
|
9 | * @param filename↵ | | 11 | * @param constr↵
|
10 | */↵ | | 12 | */↵
|
11 | public void setXmlFile(String filename) {↵ | | 13 | public void set↵
|
12 | setProperty(XML_DATA_FILE, filename↵ | | 14 | ConstructorString(String constr)↵
|
| | | 15 | {↵
|
13 | );↵ | | 16 | setProperty(CONSTRUCTORSTRING,constr);↵
|
14 | }↵ | | 17 | }↵
|
| | | 18 | ↵
|
15 | /**↵ | | 19 | /**↵
|
16 | * Get the file location of the xml file.↵ | | 20 | * get the ↵
|
17 | *↵ | | |
|
18 | * @return String file path.↵ | | 21 | string passed to the string constructor↵
|
19 | */↵ | | 22 | */↵
|
20 | public String getXmlFile()↵ | | 23 | public String getConstructorString()↵
|
21 | {↵ | | 24 | {↵
|
22 | return getPropertyAsString(XML_DATA_FILE);↵ | | 25 | return getPropertyAsString(CONSTRUCTORSTRING);↵
|
23 | } | | 26 | }
|