summaryrefslogtreecommitdiffstats
path: root/src/test/resources
diff options
context:
space:
mode:
authorDominic Rogetzer <e1627756@student.tuwien.ac.at>2018-06-11 15:02:26 +0200
committerTharre <tharre3@gmail.com>2018-06-11 18:15:42 +0200
commit80e1aaf4a0eba29a7dd304aa52c1116d76c417fc (patch)
tree81f7b9614cb064619cb883891851c4b543939147 /src/test/resources
parent0aa0eb12a6b96f5fe4cb8b21582799e233e9788c (diff)
downloadsepm-groupproject-80e1aaf4a0eba29a7dd304aa52c1116d76c417fc.tar.gz
sepm-groupproject-80e1aaf4a0eba29a7dd304aa52c1116d76c417fc.tar.xz
sepm-groupproject-80e1aaf4a0eba29a7dd304aa52c1116d76c417fc.zip
Refactor insert/delete scripts to DB-Unit xml file [#27302]
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/registrationTestBaseData.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/resources/registrationTestBaseData.xml b/src/test/resources/registrationTestBaseData.xml
new file mode 100644
index 0000000..7ef1912
--- /dev/null
+++ b/src/test/resources/registrationTestBaseData.xml
@@ -0,0 +1,18 @@
+<dataset>
+ <EmployeeVersion id="1" name="John Doe" birthday="2000-01-01" educationLevel="RS" isDriver="true"
+ isPilot="false"/>
+ <EmployeeVersion id="2" name="Nick Verily" birthday="1990-01-01" educationLevel="NKV"
+ isDriver="true" isPilot="false"/>
+ <EmployeeVersion id="3" name="Nicht Arzt" birthday="1980-01-01" educationLevel="NA"
+ isDriver="false" isPilot="false"/>
+
+ <Employee id="1" version="1"/>
+ <Employee id="2" version="2"/>
+ <Employee id="3" version="3"/>
+
+ <VehicleVersion id="1" name="RTW-1" hasNef="true" constructionType="HOCHDACH" type="RTW"/>
+ <VehicleVersion id="2" name="NEF-1" hasNef="false" constructionType="NORMAL" type="NEF"/>
+
+ <Vehicle id="1" version="1" status="ABGEMELDET"/>
+ <Vehicle id="2" version="2" status="ABGEMELDET"/>
+</dataset> \ No newline at end of file