logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Compilation, linking successful, but a few unit test failures: msg#00003

apache.logging.log4cxx.user

Subject: Compilation, linking successful, but a few unit test failures

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

<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo