diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-02-06 20:32:32 +0000 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-02-06 20:32:32 +0000 |
| commit | f6fc7a1edc5fe93bf67278f23734dd7d698789f8 (patch) | |
| tree | 94eb0a812b66d3e88703f77615a4616df2d64820 /test/test-ui.cpp | |
| parent | Merge branch 'glmax' (diff) | |
| download | ilt-f6fc7a1edc5fe93bf67278f23734dd7d698789f8.tar.bz2 ilt-f6fc7a1edc5fe93bf67278f23734dd7d698789f8.tar.xz ilt-f6fc7a1edc5fe93bf67278f23734dd7d698789f8.zip | |
Diffstat (limited to 'test/test-ui.cpp')
| -rw-r--r-- | test/test-ui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-ui.cpp b/test/test-ui.cpp index 2810cda..40c041a 100644 --- a/test/test-ui.cpp +++ b/test/test-ui.cpp @@ -2,6 +2,7 @@ #include <boost/test/unit_test.hpp> #include <stream_support.h> +#include "testHelpers.h" #include "testMainWindow.h" #include <gfx/models/texture.h> #include <resource.h> @@ -16,5 +17,5 @@ BOOST_AUTO_TEST_CASE(LoadFromFile) SvgIcon svg(ImageDimensions {RENDER_SIZE}, Resource::mapPath("ui/icon/rails.svg")); const auto size = Texture::getSize(svg.texture); BOOST_CHECK_EQUAL(size, TextureDimensions(RENDER_SIZE, RENDER_SIZE, 1)); - Texture::save(svg.texture, "/tmp/rails.tga"); + Texture::save(svg.texture, (ANALYSIS_DIRECTORY / "rails.tga").c_str()); } |
