summaryrefslogtreecommitdiff
path: root/data/test/itemxmlutils_test.xml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-02 03:48:14 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-02 03:48:14 +0300
commitd7f491da52e985ea50464804d342d9d45ae407f7 (patch)
treeab3c2fe76047e0fc966f24bf0de8ac159cb64b62 /data/test/itemxmlutils_test.xml
parent359c97f1bdb7ce773c3a7cf9671ece7113685c76 (diff)
downloadplus-d7f491da52e985ea50464804d342d9d45ae407f7.tar.gz
plus-d7f491da52e985ea50464804d342d9d45ae407f7.tar.bz2
plus-d7f491da52e985ea50464804d342d9d45ae407f7.tar.xz
plus-d7f491da52e985ea50464804d342d9d45ae407f7.zip
Add unit tests for itemxmlutils.
Diffstat (limited to 'data/test/itemxmlutils_test.xml')
-rw-r--r--data/test/itemxmlutils_test.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/data/test/itemxmlutils_test.xml b/data/test/itemxmlutils_test.xml
new file mode 100644
index 000000000..f0c3c5c96
--- /dev/null
+++ b/data/test/itemxmlutils_test.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Authors: 4144
+Copyright (C) 2018 ManaPlus developers -->
+
+<root>
+ <empty1
+ test1="1"
+ test2="2"
+ test3="3"
+ />
+ <empty2 />
+ <test1
+ hp="20"
+ other="3"
+ />
+ <test2
+ hp="10"
+ weight="2"
+ other="3"
+ />
+ <test3
+ hp="10"
+ weight="2"
+ other="3"
+ str="1"
+ />
+</root>