aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources
diff options
context:
space:
mode:
authorDominic Rogetzer <e1627756@student.tuwien.ac.at>2018-05-21 14:24:57 +0200
committerTharre <tharre3@gmail.com>2018-05-22 17:05:33 +0200
commita673936a8f144c17980b33bd8047959fb9148252 (patch)
treec75af0a3b137d2005b05941a1755eff9bb0a0314 /src/test/resources
parent02112c80a9111bed79d2633d38438ac2172f61ba (diff)
downloadsepm-groupproject-a673936a8f144c17980b33bd8047959fb9148252.tar.gz
sepm-groupproject-a673936a8f144c17980b33bd8047959fb9148252.tar.xz
sepm-groupproject-a673936a8f144c17980b33bd8047959fb9148252.zip
Implement tests for updating a valid and non-existing employee [#25949]
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/testUpdateValidEmployee_expected.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/resources/testUpdateValidEmployee_expected.xml b/src/test/resources/testUpdateValidEmployee_expected.xml
new file mode 100644
index 0000000..4a35a7b
--- /dev/null
+++ b/src/test/resources/testUpdateValidEmployee_expected.xml
@@ -0,0 +1,14 @@
+<dataset>
+ <EmployeeVersion id="10" name="Adam" birthday="2010-10-10" educationlevel="RS" isDriver="true"
+ isPilot="false"/>
+ <EmployeeVersion id="20" name="Max" birthday="1990-11-11" educationlevel="NFS" isDriver="false"
+ isPilot="false"/>
+ <EmployeeVersion id="30" name="Lisa" birthday="1999-10-16" educationlevel="NKI" isDriver="true"
+ isPilot="false"/>
+ <EmployeeVersion id="31" name="Lisa" birthday="1999-10-16" educationlevel="NKA" isDriver="true"
+ isPilot="true"/>
+
+ <Employee id="1" version="10"/>
+ <Employee id="2" version="20"/>
+ <Employee id="3" version="31"/>
+</dataset> \ No newline at end of file