diff options
Diffstat (limited to '')
-rw-r--r-- | test/base/image.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/base/image.cpp b/test/base/image.cpp index 6e9a3f06..50fb50b0 100644 --- a/test/base/image.cpp +++ b/test/base/image.cpp @@ -55,45 +55,45 @@ namespace usdx void testBmp() { - Image img(L"./testdata/test.bmp"); + Image img("./testdata/test.bmp"); const SDL_Surface *surface = img.get_surface(); - LOG4CXX_DEBUG(log, L"test.bmp: w = " << surface->w << L"; h = " << surface->h); + LOG4CXX_DEBUG(log, "test.bmp: w = " << surface->w << "; h = " << surface->h); CPPUNIT_ASSERT(40 == surface->w); CPPUNIT_ASSERT(30 == surface->h); } void testJpg() { - Image img(L"./testdata/test.jpg"); + Image img("./testdata/test.jpg"); const SDL_Surface *surface = img.get_surface(); - LOG4CXX_DEBUG(log, L"test.jpg: w = " << surface->w << L"; h = " << surface->h); + LOG4CXX_DEBUG(log, "test.jpg: w = " << surface->w << "; h = " << surface->h); CPPUNIT_ASSERT(40 == surface->w); CPPUNIT_ASSERT(30 == surface->h); } void testPng() { - Image img(L"./testdata/test.png"); + Image img("./testdata/test.png"); const SDL_Surface *surface = img.get_surface(); - LOG4CXX_DEBUG(log, L"test.png: w = " << surface->w << L"; h = " << surface->h); + LOG4CXX_DEBUG(log, "test.png: w = " << surface->w << "; h = " << surface->h); CPPUNIT_ASSERT(40 == surface->w); CPPUNIT_ASSERT(30 == surface->h); } void testGif() { - Image img(L"./testdata/test.gif"); + Image img("./testdata/test.gif"); const SDL_Surface *surface = img.get_surface(); - LOG4CXX_DEBUG(log, L"test.gif: w = " << surface->w << L"; h = " << surface->h); + LOG4CXX_DEBUG(log, "test.gif: w = " << surface->w << "; h = " << surface->h); CPPUNIT_ASSERT(40 == surface->w); CPPUNIT_ASSERT(30 == surface->h); } void testNotAnImage() { - Image img(L"./testdata/testsong_correct.txt"); + Image img("./testdata/testsong_correct.txt"); const SDL_Surface *surface = img.get_surface(); - LOG4CXX_DEBUG(log, L"testsong_correct.txt: w = " << surface->w << L"; h = " << surface->h); + LOG4CXX_DEBUG(log, "testsong_correct.txt: w = " << surface->w << "; h = " << surface->h); } }; |