If I build the latest CVS files a get three unit test errors and two of them are different if I build using VS6 or VS.NET 2003.
Are the problems known? If not, any ideas what could cause them?
I have build the default configuration, static, debug

VS.NET 2003:
[exec] Run:  188   Failures: 3   Errors: 0


[exec] 1) test: XMLLayoutTestCase::locationInfo (F) line: 142 D:\bedev\Logging\logging-log4cxx\tests\src\xml\xmllayouttestcase.cpp
[exec] assertion failed
[exec] - _expression_: Compare::compare(FILTERED, LOG4CXX_FILE("witness/xmlLayout.2"))


[exec] 2) test: XMLLayoutTestCase::testCDATA (F) line: 181 D:\bedev\Logging\logging-log4cxx\tests\src\xml\xmllayouttestcase.cpp
[exec] assertion failed
[exec] - _expression_: Compare::compare(FILTERED, LOG4CXX_FILE("witness/xmlLayout.3"))


[exec] 3) test: FileTestCase::propertyRead (F) line: 107 D:\bedev\Logging\logging-log4cxx\tests\src\filetestcase.cpp
[exec] equality assertion failed
[exec] - Expected: log4j.rootCategory=DEBUG, testAppender

[exec] - Actual  : log4j.rootCategory=DEBUG, testAppender

During build a got a few warnings, are those normal, or could they be an explanation to the unit test Failures?:
__________________________________________________________________________________________
untar-apriconv-src:
  [taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
__________________________________________________________________________________________
[cc] D:\BeDev\Logging\logging-log4cxx\lib\apr-iconv-1.0.1\lib\iconv_ccs.c(47) : warning C4090: '=' : different 'const' qualifiers
__________________________________________________________________________________________
[cc] msxml.cpp
[cc] D:\BeDev\Logging\logging-log4cxx\src\msxml.cpp(262) : warning C4927: illegal conversion; more than one user-defined conversion has been implicitly applied
__________________________________________________________________________________________
[cc]         while calling the constructor 'std::basic_string<_Elem,_Traits,_Ax>::basic_string(const _Elem *)'
[cc]         with
[cc]         [
[cc]             _Elem=wchar_t,
[cc]             _Traits=std::char_traits<wchar_t>,
[cc]             _Ax=std::allocator<wchar_t>
[cc]         ]
[cc]         C:\Program\Microsoft Visual Studio .NET 2003\Vc7\include\xstring(358) : see declaration of 'std::basic_string<_Elem,_Traits,_Ax>::__ctor'
[cc]         with
[cc]         [
[cc]             _Elem=wchar_t,
[cc]             _Traits=std::char_traits<wchar_t>,
[cc]             _Ax=std::allocator<wchar_t>
[cc]         ]
[cc]         and
[cc]         [
[cc]             _Elem=wchar_t,
[cc]             _Traits=std::char_traits<wchar_t>,
[cc]             _Ax=std::allocator<wchar_t>
[cc]         ]
__________________________________________________________________________________________
[cc] ShlDynamicLibraryManager.obj : warning LNK4221: no public symbols found; archive member will be inaccessible

__________________________________________________________________________________________
__________________________________________________________________________________________
VS6 (secondary to me):
[exec] Run:  188   Failures: 1   Errors: 2


[exec] 1) test: FileTestCase::propertyRead (F) line: 107 D:\bedev\Logging\logging-log4cxxVC6\tests\src\filetestcase.cpp
[exec] equality assertion failed
[exec] - Expected: log4j.rootCategory=DEBUG, testAppender

[exec] - Actual  : log4j.rootCategory=DEBUG, testAppender


[exec] 2) test: PatternParserTestCase::testNewWord (E)
[exec] uncaught exception of unknown type


[exec] 3) test: PatternParserTestCase::testNewWord2 (E)
[exec] uncaught exception of unknown type
--
/Björn Carlsson
VersionSupport.com

Reply via email to