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