diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-13 18:31:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-13 18:31:30 +0300 |
commit | dca3de26978bf0a9d7ac9df8524c90b85f8920da (patch) | |
tree | 0d575e647028c1f3d75e5ee1e4d93603bcda1783 /data/test | |
parent | 0dbd25bacb312932e343f154001531b6be84a6ac (diff) | |
download | manaplus-dca3de26978bf0a9d7ac9df8524c90b85f8920da.tar.gz manaplus-dca3de26978bf0a9d7ac9df8524c90b85f8920da.tar.bz2 manaplus-dca3de26978bf0a9d7ac9df8524c90b85f8920da.tar.xz manaplus-dca3de26978bf0a9d7ac9df8524c90b85f8920da.zip |
Add into xmlutils function for read xml file into int map.
Diffstat (limited to 'data/test')
-rw-r--r-- | data/test/CMakeLists.txt | 1 | ||||
-rw-r--r-- | data/test/Makefile.am | 1 | ||||
-rw-r--r-- | data/test/testintmap.xml | 11 |
3 files changed, 13 insertions, 0 deletions
diff --git a/data/test/CMakeLists.txt b/data/test/CMakeLists.txt index e300301d8..4a3dbfb63 100644 --- a/data/test/CMakeLists.txt +++ b/data/test/CMakeLists.txt @@ -11,6 +11,7 @@ SET(FILES quests.xml serverlistplus.xml simplefile.txt + testintmap.xml units.xml ) diff --git a/data/test/Makefile.am b/data/test/Makefile.am index 5000dbadb..8a3f82be9 100644 --- a/data/test/Makefile.am +++ b/data/test/Makefile.am @@ -13,6 +13,7 @@ test_DATA = \ quests.xml \ serverlistplus.xml \ simplefile.txt \ + testintmap.xml \ units.xml EXTRA_DIST = \ diff --git a/data/test/testintmap.xml b/data/test/testintmap.xml new file mode 100644 index 000000000..342591f9c --- /dev/null +++ b/data/test/testintmap.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Author: 4144 +Copyright (C) 2016 ManaPlus developers --> + +<tests> + <sub> + <item id="1" val="2"/> + <item id="10" val="20"/> + <item id="3"/> + </sub> +</tests> |