Subject: [Boost-bugs] [Boost C++ Libraries] #1293: system_error_test doesn't take into account internationalization
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-09-30 20:56:38
#1293: system_error_test doesn't take into account internationalization
-------------------------------------+--------------------------------------
Reporter: nmusatti | Owner: bemandawes
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------+--------------------------------------
I'm using bcc32 5.9.2 on an italian version of Windows XP SP2.
system_error_test fails because the strings returned by the what() member
function are not the expected ones. However the ones returned appear to be
simple translations of the original ones. Here's my text output:
test se_0_m
what() returns "se_0_m"
test se_1_m
what() returns "se_1_m: Funzione non corretta"
..\libs\system\test\system_error_test.cpp(44): test std::string( ex.what()
) == str failed in function: 'test'
expected "se_1_m: Incorrect function", but what() returned "se_1_m:
Funzione non corretta"
test se_0_nm
what() returns ""
test se_1_nm
what() returns "Funzione non corretta"
..\libs\system\test\system_error_test.cpp(44): test std::string( ex.what()
) == str failed in function: 'test'
expected "Incorrect function", but what() returned "Funzione non corretta"
test se_0_nmx
what() returns ""
test se_1_nmx
what() returns "Funzione non corretta"
..\libs\system\test\system_error_test.cpp(44): test std::string( ex.what()
) == str failed in function: 'test'
expected "Incorrect function", but what() returned "Funzione non corretta"
test se_1u_m
what() returns "se_1u_m: Funzione non corretta"
..\libs\system\test\system_error_test.cpp(44): test std::string( ex.what()
) == str failed in function: 'test'
expected "se_1u_m: Incorrect function", but what() returned "se_1u_m:
Funzione non corretta"
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1293>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC