summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-04-20 20:31:28 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-04-20 20:31:28 +0200
commit73fc462b95827920e5225f4f655b6640f6affce0 (patch)
tree09fc8f48fabb91f1944519d2afecfe1cea7e0314 /test
parentc73f9e2632f9614bba748aed857e2a648126a963 (diff)
Fix unittest broken by last commit.
Diffstat (limited to 'test')
-rw-r--r--test/paintertest.cc2
-rw-r--r--test/resource_test.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/paintertest.cc b/test/paintertest.cc
index 45c099b..75f97fa 100644
--- a/test/paintertest.cc
+++ b/test/paintertest.cc
@@ -63,7 +63,7 @@ public:
void testDrawImage()
{
// Success criterion is simply to not assert in the drawing routines...
- GUI::Image image(":logo.png");
+ GUI::Image image(":resources/logo.png");
{ // Image fits in pixelbuffer
TestableCanvas canvas(image.width(), image.height());
diff --git a/test/resource_test.cc b/test/resource_test.cc
index d6d9221..93dae8b 100644
--- a/test/resource_test.cc
+++ b/test/resource_test.cc
@@ -67,7 +67,7 @@ public:
void internalReadTest()
{
- ResourceTester rc(":bg.png");
+ ResourceTester rc(":resources/bg.png");
CPPUNIT_ASSERT(rc.probeIsInternal());
CPPUNIT_ASSERT(rc.valid());
CPPUNIT_ASSERT_EQUAL((size_t)1123, rc.size());