diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-11-29 05:06:08 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:50 +0100 |
commit | 9cb390dc3be41600ebace6969f9cd36cd2dcc021 (patch) | |
tree | 4efc68d35ed02d5474581308a97e0c1e5d7f0c4f /test | |
parent | 1ec8c29f8efc77f728c1f1b733966c6a4dfe9d6e (diff) | |
download | usdx-9cb390dc3be41600ebace6969f9cd36cd2dcc021.tar.gz usdx-9cb390dc3be41600ebace6969f9cd36cd2dcc021.tar.xz usdx-9cb390dc3be41600ebace6969f9cd36cd2dcc021.zip |
moved all log messages a level up
log4cpp does not provide the TRACE log level. so it is needed that all
log messages shift a level up, so that DEBUG is used in replacement of
TRACE and INFO is now used for all messages that were DEBUG
Diffstat (limited to 'test')
-rw-r--r-- | test/base/image.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/base/image.cpp b/test/base/image.cpp index e9e9d3d4..d91d553c 100644 --- a/test/base/image.cpp +++ b/test/base/image.cpp @@ -57,7 +57,7 @@ namespace usdx { Image img("./testdata/test.bmp"); const SDL_Surface *surface = img.get_surface(); - log << log4cpp::Priority::DEBUG << "test.bmp: " << + log << log4cpp::Priority::INFO << "test.bmp: " << "w = " << surface->w << "; h = " << surface->h; CPPUNIT_ASSERT(40 == surface->w); CPPUNIT_ASSERT(30 == surface->h); @@ -67,7 +67,7 @@ namespace usdx { Image img("./testdata/test.jpg"); const SDL_Surface *surface = img.get_surface(); - log << log4cpp::Priority::DEBUG << "test.jpg: " << + log << log4cpp::Priority::INFO << "test.jpg: " << "w = " << surface->w << "; h = " << surface->h; CPPUNIT_ASSERT(40 == surface->w); CPPUNIT_ASSERT(30 == surface->h); @@ -77,7 +77,7 @@ namespace usdx { Image img("./testdata/test.png"); const SDL_Surface *surface = img.get_surface(); - log << log4cpp::Priority::DEBUG << "test.png: " << + log << log4cpp::Priority::INFO << "test.png: " << "w = " << surface->w << "; h = " << surface->h; CPPUNIT_ASSERT(40 == surface->w); CPPUNIT_ASSERT(30 == surface->h); @@ -87,7 +87,7 @@ namespace usdx { Image img("./testdata/test.gif"); const SDL_Surface *surface = img.get_surface(); - log << log4cpp::Priority::DEBUG << "test.gif: " << + log << log4cpp::Priority::INFO << "test.gif: " << "w = " << surface->w << "; h = " << surface->h; CPPUNIT_ASSERT(40 == surface->w); CPPUNIT_ASSERT(30 == surface->h); @@ -97,7 +97,7 @@ namespace usdx { Image img("./testdata/testsong_correct.txt"); const SDL_Surface *surface = img.get_surface(); - log << log4cpp::Priority::DEBUG << "testsong_correct.txt: " << + log << log4cpp::Priority::INFO << "testsong_correct.txt: " << "w = " << surface->w << "; h = " << surface->h; } }; |