From 9e16f95bd0083af4eeacba5850c22d95529cce79 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 14 Feb 2018 23:19:48 +0300 Subject: Add unit test for creation window CharCreateDialog. --- data/test/CMakeLists.txt | 4 + data/test/Makefile.am | 6 +- .../graphics/sprites/hairstyles/hairstyle01.png | Bin 0 -> 119 bytes .../graphics/sprites/hairstyles/hairstyle01.xml | 188 +++++++++++++++++++++ .../graphics/sprites/hairstyles/hairstyle02.png | Bin 0 -> 1643 bytes .../graphics/sprites/hairstyles/hairstyle02.xml | 11 ++ data/test/items.xml | 78 --------- 7 files changed, 208 insertions(+), 79 deletions(-) create mode 100644 data/test/graphics/sprites/hairstyles/hairstyle01.png create mode 100644 data/test/graphics/sprites/hairstyles/hairstyle01.xml create mode 100644 data/test/graphics/sprites/hairstyles/hairstyle02.png create mode 100644 data/test/graphics/sprites/hairstyles/hairstyle02.xml (limited to 'data/test') diff --git a/data/test/CMakeLists.txt b/data/test/CMakeLists.txt index cca62955c..051d2beb8 100644 --- a/data/test/CMakeLists.txt +++ b/data/test/CMakeLists.txt @@ -21,6 +21,10 @@ SET(FILES test5.zip testintmap.xml units.xml + graphics/sprites/hairstyles/hairstyle01.png + graphics/sprites/hairstyles/hairstyle01.xml + graphics/sprites/hairstyles/hairstyle02.png + graphics/sprites/hairstyles/hairstyle02.xml ) INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/test) diff --git a/data/test/Makefile.am b/data/test/Makefile.am index fd185e722..0fb49e6a1 100644 --- a/data/test/Makefile.am +++ b/data/test/Makefile.am @@ -24,7 +24,11 @@ test_DATA = \ test4.zip \ test5.zip \ testintmap.xml \ - units.xml + units.xml \ + graphics/sprites/hairstyles/hairstyle01.png \ + graphics/sprites/hairstyles/hairstyle01.xml \ + graphics/sprites/hairstyles/hairstyle02.png \ + graphics/sprites/hairstyles/hairstyle02.xml EXTRA_DIST = \ $(test_DATA) \ diff --git a/data/test/graphics/sprites/hairstyles/hairstyle01.png b/data/test/graphics/sprites/hairstyles/hairstyle01.png new file mode 100644 index 000000000..1ef26f96f Binary files /dev/null and b/data/test/graphics/sprites/hairstyles/hairstyle01.png differ diff --git a/data/test/graphics/sprites/hairstyles/hairstyle01.xml b/data/test/graphics/sprites/hairstyles/hairstyle01.xml new file mode 100644 index 000000000..52fd83e46 --- /dev/null +++ b/data/test/graphics/sprites/hairstyles/hairstyle01.xml @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/test/graphics/sprites/hairstyles/hairstyle02.png b/data/test/graphics/sprites/hairstyles/hairstyle02.png new file mode 100644 index 000000000..99177930c Binary files /dev/null and b/data/test/graphics/sprites/hairstyles/hairstyle02.png differ diff --git a/data/test/graphics/sprites/hairstyles/hairstyle02.xml b/data/test/graphics/sprites/hairstyles/hairstyle02.xml new file mode 100644 index 000000000..f11e4c31b --- /dev/null +++ b/data/test/graphics/sprites/hairstyles/hairstyle02.xml @@ -0,0 +1,11 @@ + + + + + + + diff --git a/data/test/items.xml b/data/test/items.xml index b18453974..c3a36f5c3 100644 --- a/data/test/items.xml +++ b/data/test/items.xml @@ -34,84 +34,6 @@ Colors for dyeable equipments or items are now set up by itemcolors.xml. hairstyles/hairstyle02.xml - - hairstyles/hairstyle03.xml - - - hairstyles/hairstyle04.xml - - - hairstyles/hairstyle05.xml - - - hairstyles/hairstyle06.xml - - - hairstyles/hairstyle07.xml - - - hairstyles/hairstyle08.xml - - - hairstyles/hairstyle09.xml - - - hairstyles/hairstyle10.xml - - - hairstyles/hairstyle11.xml - - - hairstyles/hairstyle12.xml - - - hairstyles/hairstyle13.xml - - - hairstyles/hairstyle14.xml - - - hairstyles/hairstyle15.xml - - - hairstyles/hairstyle16.xml - - - hairstyles/hairstyle17.xml - - - hairstyles/hairstyle18.xml - - - hairstyles/hairstyle19.xml - - - hairstyles/hairstyle20.xml - - - hairstyles/hairstyle21.xml - - - hairstyles/hairstyle22.xml - - - hairstyles/hairstyle23.xml - - - hairstyles/hairstyle24.xml - - - hairstyles/hairstyle25.xml - - - hairstyles/hairstyle26.xml - - - hairstyles/hairstyle27.xml - - - hairstyles/hairstyle28.xml - -- cgit v1.2.3-60-g2f50