[prev in list] [next in list] [prev in thread] [next in thread]
List: log4cxx-dev
Subject: svn commit: r526862 -
From: carnold () apache ! org
Date: 2007-04-09 18:09:34
Message-ID: 20070409180935.1ED151A9838 () eris ! apache ! org
[Download RAW message or body]
Author: carnold
Date: Mon Apr 9 11:09:34 2007
New Revision: 526862
URL: http://svn.apache.org/viewvc?view=rev&rev=526862
Log:
LOGCXX-178: Remove UnicodeHelper::decodeWide test
Modified:
logging/log4cxx/trunk/tests/src/helpers/unicodehelpertestcase.cpp
Modified: logging/log4cxx/trunk/tests/src/helpers/unicodehelpertestcase.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/tests/src/helpers/unicodehelpertestcase.cpp?view=diff&rev=526862&r1=526861&r2=526862
==============================================================================
--- logging/log4cxx/trunk/tests/src/helpers/unicodehelpertestcase.cpp (original)
+++ logging/log4cxx/trunk/tests/src/helpers/unicodehelpertestcase.cpp Mon Apr 9 \
11:09:34 2007 @@ -36,9 +36,6 @@
CPPUNIT_TEST(testDecodeUTF8_2);
CPPUNIT_TEST(testDecodeUTF8_3);
CPPUNIT_TEST(testDecodeUTF8_4);
-#if LOG4CXX_HAS_WCHAR_T
- CPPUNIT_TEST(testDecodeWide_1);
-#endif
CPPUNIT_TEST_SUITE_END();
@@ -73,16 +70,6 @@
unsigned int sv = UnicodeHelper::decodeUTF8(iter, src + 2);
CPPUNIT_ASSERT_EQUAL((unsigned int) 0xA9, sv);
}
-
-#if LOG4CXX_HAS_WCHAR_T
- void testDecodeWide_1() {
- const wchar_t* const src = L"a";
- const wchar_t* iter = src;
- unsigned int sv = UnicodeHelper::decodeWide(iter, src + 1);
- CPPUNIT_ASSERT_EQUAL((unsigned int) 0x61, sv);
- CPPUNIT_ASSERT(iter == src + 1);
- }
-#endif
};
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic