wxWidgets/tests
Vadim Zeitlin 951201d81c Add wxString::FromDouble() and FromCDouble().
wxString::FromCDouble() is needed inside wxWidgets itself to format numbers
independently of the current locale. FromDouble() was added for symmetry with
ToDouble/ToCDouble() functions.

Use std::locale for the implementation if available and manual wxLocale-based
fallback otherwise.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-31 11:55:48 +00:00
..
any Modify float/double wxAny testing to use CPPUNIT_ASSERT_EQUAL() instead of CPPUNIT_ASSERT_DOUBLES_EQUAL(), so that we know the retrieved values are truly identical. 2010-05-06 17:21:50 +00:00
archive Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
arrays Provide implementation for wxArrayString::resize(). 2009-09-16 23:18:48 +00:00
base64 Never overflow the output buffer in wxBase64Decode(). 2009-08-23 22:25:12 +00:00
benchmarks Remove wxUSE_WCHAR_T checks. 2010-04-16 10:43:18 +00:00
cmdline Fix bug with parsing concatenated switches in wxCmdLineParser. 2009-09-07 23:00:05 +00:00
config Add wxConfig::Read(float *) overload. 2010-05-29 10:35:38 +00:00
controls Add column parameter to wxListCtrl::GetItemText(). 2010-05-10 21:22:16 +00:00
datetime Compilation fix for VC6 after r63061. 2010-01-04 12:22:34 +00:00
events Yet another fix to event propagation in scrolled windows. 2010-05-21 12:07:45 +00:00
exec suppress output from the test commands; use CPPUNIT_ASSERT_EQUAL() whenever possible 2009-04-13 17:33:33 +00:00
file Fix test compilation under OS X. 2009-09-13 12:26:03 +00:00
filekind Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
filename Rename the rest of wxSIZE_CONV_TRADIONAL to wxSIZE_CONV_TRADITIONAL. 2010-04-07 10:50:41 +00:00
filesys Fix UTF-8 string storage in constant: use unsigned char. 2010-03-28 17:52:19 +00:00
font Use "monospace" face name for all Unix systems, hopefully it should work. 2010-04-18 22:15:53 +00:00
fontmap Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
formatconverter Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
fswatcher Temporarily disable wxFileSystemWatcher unit test under OS X. 2010-03-22 16:08:44 +00:00
geometry compilation fixes for VC6 2008-01-13 01:13:03 +00:00
graphics Add wxBitmap unit test. 2010-03-29 09:59:05 +00:00
hashes Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
html added a test to check if wxHtmlWindow::SelectionToText() inserts \n characters correctly 2008-10-15 15:55:25 +00:00
image Disable ImageTestCase::LoadFromFile() on build slaves. 2010-04-24 17:52:27 +00:00
intl Remove wxLOCALE_CONV_ENCODING flag. 2010-04-16 11:29:22 +00:00
lists Fix return value of wxList::insert() in non-STL builds. 2010-04-12 00:36:36 +00:00
log Include wx/filefn.h to fix PCH-less compilation. 2009-08-18 11:44:31 +00:00
longlong Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
mbconv Remove wxUSE_WCHAR_T checks. 2010-04-16 10:43:18 +00:00
misc Make the assert in SettingsTestCase::GlobalFonts() more informative. 2009-11-24 00:01:51 +00:00
net disable IPC test completely as it prevents the test program from running to completion when it hangs (for still unknown reason) 2009-03-11 13:15:45 +00:00
regex Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
scopeguard get rid of special WX_ASSERT_FOO_EQUAL macros by defining CppUnit::assertEquals() overloads for wx types 2008-07-18 23:07:23 +00:00
sizers Modify wxBoxSizer minimal size calculations to respect the proportions. 2010-05-22 14:57:34 +00:00
streams move TestTextInputStream() function in CppUnit's TextStreamTestCase class 2010-05-16 14:31:00 +00:00
strings Add wxString::FromDouble() and FromCDouble(). 2010-05-31 11:55:48 +00:00
textfile Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
thread fix for non-PCH builds; also use wxMilliSleep instead of wxThread::Sleep since the former is more readable (it's clear that it takes milliseconds). 2010-05-11 07:16:58 +00:00
toplevel Initial ShowWithoutActivating implementations for Mac and Windows, and attempt to improve IsActive behavior on Mac. Also adding ShowWithoutActivating() and Show/Hide tests, but until the mainloop issues are resolved, not adding them to tests.bkl. 2009-10-30 05:04:47 +00:00
uris move all non-interactive FTP tests from the console sample to a new CppUnit FTPTestCase test. 2010-05-29 07:56:08 +00:00
vectors Add wxVectorSort function for sorting wxVector<T> containers. Closes #11889 2010-04-07 20:32:25 +00:00
weakref Fix using weak references to incomplete classes. 2010-04-15 22:47:37 +00:00
window don't take the min size into account when setting the window size explicitly in wxGTK, just as wxMSW doesn't do it; mention this in the docs and added a unit test to enforce this 2008-05-25 03:08:31 +00:00
xlocale use "ul" suffix instead of cast to unsigned long; this is not only shorter but also avoids gcc warning about working correctly only in C90 2009-04-17 13:06:27 +00:00
xml Don't append text following CDATA section to its node itself. 2009-08-24 21:42:27 +00:00
dummy.cpp Empty line at the end. 2004-11-22 15:12:29 +00:00
horse.ani add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.bmp add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.cur add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.gif add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.ico add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.jpg add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.pcx add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.png add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.pnm add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.tga add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.tif add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.xpm add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
makefile.bcc move all non-interactive FTP tests from the console sample to a new CppUnit FTPTestCase test. 2010-05-29 07:56:08 +00:00
makefile.gcc move all non-interactive FTP tests from the console sample to a new CppUnit FTPTestCase test. 2010-05-29 07:56:08 +00:00
Makefile.in move all non-interactive FTP tests from the console sample to a new CppUnit FTPTestCase test. 2010-05-29 07:56:08 +00:00
makefile.vc move all non-interactive FTP tests from the console sample to a new CppUnit FTPTestCase test. 2010-05-29 07:56:08 +00:00
makefile.wat move all non-interactive FTP tests from the console sample to a new CppUnit FTPTestCase test. 2010-05-29 07:56:08 +00:00
runtests.bat adds proper detection of tests success/failure; clear that "error level" != "return code" 2009-03-23 14:57:10 +00:00
test_printfbench.dsp link with wininet.lib under Windows to avoid linking errors in wxUSE_URL_NATIVE==1 build (#10338) 2009-01-15 13:33:51 +00:00
test_test_gui.dsp Implement wxMask copy ctor for wxGTK. 2010-03-28 23:20:49 +00:00
test_test.dsp move all non-interactive FTP tests from the console sample to a new CppUnit FTPTestCase test. 2010-05-29 07:56:08 +00:00
test_vc7_printfbench.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
test_vc7_test_gui.vcproj Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
test_vc7_test.vcproj move all non-interactive FTP tests from the console sample to a new CppUnit FTPTestCase test. 2010-05-29 07:56:08 +00:00
test_vc8_printfbench.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
test_vc8_test_gui.vcproj Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
test_vc8_test.vcproj move all non-interactive FTP tests from the console sample to a new CppUnit FTPTestCase test. 2010-05-29 07:56:08 +00:00
test_vc9_printfbench.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
test_vc9_test_gui.vcproj Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
test_vc9_test.vcproj move all non-interactive FTP tests from the console sample to a new CppUnit FTPTestCase test. 2010-05-29 07:56:08 +00:00
test.bkl move all non-interactive FTP tests from the console sample to a new CppUnit FTPTestCase test. 2010-05-29 07:56:08 +00:00
test.cpp Abort on asserts in worker threads. 2009-09-21 14:45:37 +00:00
testdata.fc moved Unicode tests to testsuite (patch 943945) 2004-04-30 20:26:14 +00:00
testfile.h Extract operator<<(ostream, wxFileName) from filename test. 2009-10-22 11:34:43 +00:00
testprec.h disable MSVC 8+ warning about using Unicode characters as we do want to use them 2009-06-06 23:24:57 +00:00