Author: mordante
Date: Sun Mar 25 12:06:24 2012
New Revision: 53653
URL: http://svn.gna.org/viewcvs/wesnoth?rev=53653&view=rev
Log:
Added unit tests for blending images.
This test is added to test modifications of the algorithm. It also adds a
programme to create the test images. And the test images to test whether
the output of the algorithm remains the same after changing the algorithm.
loonycyborg can you add this new programme to scons.
Added:
trunk/data/test/test/image/
trunk/data/test/test/image/base.png (with props)
trunk/data/test/test/image/blend/
trunk/data/test/test/image/blend/0F_000000FF.png (with props)
trunk/data/test/test/image/blend/0F_0000FF00.png (with props)
trunk/data/test/test/image/blend/0F_00FF0000.png (with props)
trunk/data/test/test/image/blend/1F_000000FF.png (with props)
trunk/data/test/test/image/blend/1F_0000FF00.png (with props)
trunk/data/test/test/image/blend/1F_00FF0000.png (with props)
trunk/data/test/test/image/blend/2F_000000FF.png (with props)
trunk/data/test/test/image/blend/2F_0000FF00.png (with props)
trunk/data/test/test/image/blend/2F_00FF0000.png (with props)
trunk/data/test/test/image/blend/3F_000000FF.png (with props)
trunk/data/test/test/image/blend/3F_0000FF00.png (with props)
trunk/data/test/test/image/blend/3F_00FF0000.png (with props)
trunk/data/test/test/image/blend/4F_000000FF.png (with props)
trunk/data/test/test/image/blend/4F_0000FF00.png (with props)
trunk/data/test/test/image/blend/4F_00FF0000.png (with props)
trunk/data/test/test/image/blend/5F_000000FF.png (with props)
trunk/data/test/test/image/blend/5F_0000FF00.png (with props)
trunk/data/test/test/image/blend/5F_00FF0000.png (with props)
trunk/data/test/test/image/blend/6F_000000FF.png (with props)
trunk/data/test/test/image/blend/6F_0000FF00.png (with props)
trunk/data/test/test/image/blend/6F_00FF0000.png (with props)
trunk/data/test/test/image/blend/7F_000000FF.png (with props)
trunk/data/test/test/image/blend/7F_0000FF00.png (with props)
trunk/data/test/test/image/blend/7F_00FF0000.png (with props)
trunk/data/test/test/image/blend/8F_000000FF.png (with props)
trunk/data/test/test/image/blend/8F_0000FF00.png (with props)
trunk/data/test/test/image/blend/8F_00FF0000.png (with props)
trunk/data/test/test/image/blend/9F_000000FF.png (with props)
trunk/data/test/test/image/blend/9F_0000FF00.png (with props)
trunk/data/test/test/image/blend/9F_00FF0000.png (with props)
trunk/data/test/test/image/blend/AF_000000FF.png (with props)
trunk/data/test/test/image/blend/AF_0000FF00.png (with props)
trunk/data/test/test/image/blend/AF_00FF0000.png (with props)
trunk/data/test/test/image/blend/BF_000000FF.png (with props)
trunk/data/test/test/image/blend/BF_0000FF00.png (with props)
trunk/data/test/test/image/blend/BF_00FF0000.png (with props)
trunk/data/test/test/image/blend/CF_000000FF.png (with props)
trunk/data/test/test/image/blend/CF_0000FF00.png (with props)
trunk/data/test/test/image/blend/CF_00FF0000.png (with props)
trunk/data/test/test/image/blend/DF_000000FF.png (with props)
trunk/data/test/test/image/blend/DF_0000FF00.png (with props)
trunk/data/test/test/image/blend/DF_00FF0000.png (with props)
trunk/data/test/test/image/blend/EF_000000FF.png (with props)
trunk/data/test/test/image/blend/EF_0000FF00.png (with props)
trunk/data/test/test/image/blend/EF_00FF0000.png (with props)
trunk/data/test/test/image/blend/FF_000000FF.png (with props)
trunk/data/test/test/image/blend/FF_0000FF00.png (with props)
trunk/data/test/test/image/blend/FF_00FF0000.png (with props)
trunk/src/tests/create_images.cpp (with props)
trunk/src/tests/test_sdl_utils.cpp (with props)
trunk/src/tests/test_sdl_utils.hpp (with props)
Modified:
trunk/changelog
trunk/src/CMakeLists.txt
trunk/src/SConscript
[This mail would be too long, it was shortened to contain the URLs only.]
Modified: trunk/changelog
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=53653&r1=53652&r2=53653&view=diff
Added: trunk/data/test/test/image/base.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/base.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/0F_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/0F_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/0F_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/0F_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/0F_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/0F_00FF0000.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/1F_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/1F_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/1F_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/1F_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/1F_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/1F_00FF0000.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/2F_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/2F_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/2F_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/2F_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/2F_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/2F_00FF0000.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/3F_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/3F_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/3F_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/3F_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/3F_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/3F_00FF0000.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/4F_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/4F_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/4F_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/4F_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/4F_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/4F_00FF0000.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/5F_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/5F_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/5F_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/5F_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/5F_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/5F_00FF0000.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/6F_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/6F_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/6F_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/6F_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/6F_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/6F_00FF0000.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/7F_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/7F_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/7F_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/7F_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/7F_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/7F_00FF0000.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/8F_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/8F_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/8F_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/8F_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/8F_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/8F_00FF0000.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/9F_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/9F_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/9F_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/9F_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/9F_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/9F_00FF0000.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/AF_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/AF_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/AF_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/AF_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/AF_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/AF_00FF0000.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/BF_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/BF_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/BF_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/BF_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/BF_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/BF_00FF0000.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/CF_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/CF_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/CF_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/CF_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/CF_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/CF_00FF0000.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/DF_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/DF_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/DF_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/DF_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/DF_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/DF_00FF0000.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/EF_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/EF_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/EF_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/EF_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/EF_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/EF_00FF0000.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/FF_000000FF.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/FF_000000FF.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/FF_0000FF00.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/FF_0000FF00.png?rev=53653&view=auto
Added: trunk/data/test/test/image/blend/FF_00FF0000.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/test/test/image/blend/FF_00FF0000.png?rev=53653&view=auto
Modified: trunk/src/CMakeLists.txt
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/CMakeLists.txt?rev=53653&r1=53652&r2=53653&view=diff
Modified: trunk/src/SConscript
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/SConscript?rev=53653&r1=53652&r2=53653&view=diff
Added: trunk/src/tests/create_images.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/tests/create_images.cpp?rev=53653&view=auto
Added: trunk/src/tests/test_sdl_utils.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/tests/test_sdl_utils.cpp?rev=53653&view=auto
Added: trunk/src/tests/test_sdl_utils.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/tests/test_sdl_utils.hpp?rev=53653&view=auto
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits