From 9cb390dc3be41600ebace6969f9cd36cd2dcc021 Mon Sep 17 00:00:00 2001
From: Alexander Sulfrian <alexander@sulfrian.net>
Date: Tue, 29 Nov 2011 05:06:08 +0100
Subject: 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
---
 test/base/image.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'test')

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;
 		}
 	};
-- 
cgit v1.2.3