wxWidgets/tests
Vadim Zeitlin 622bc15f11 Add conversions to/from long long to wxUniChar.
Allow conversions to/from long long and unsigned long long values in wxUniChar
for consistency with the other integral types.

Also make the code shorter by using helper wxDO_FOR_INT_TYPES() and
wxDO_FOR_CHAR_INT_TYPES() macros to avoid duplicating the same code for all of
the integral types and having to handle wchar_t (and wxLongLong_t now)
specially because sometimes we may need to overload on it and sometimes not.

Finally, add more tests to check that all the wxUniChar methods compile and
work with all the different types.

Closes #15206.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-19 12:38:12 +00:00
..
any Test using wxString::ToCDouble() in wxAny. 2013-05-17 20:00:10 +00:00
archive Check the return value of system() and pipe() in the test suite. 2012-10-20 14:49:13 +00:00
arrays
base64
benchmarks Fix printf format specifier in graphics benchmark. 2013-02-05 20:47:12 +00:00
cmdline
config Fix crash in wxFileConfig when deleting last entry of the root group. 2012-04-28 22:25:19 +00:00
controls Fix typo in a closing "#endif" comment in the test. 2013-05-15 13:05:36 +00:00
datetime Restore ability to parse hours only with wxDateTime::ParseTime(). 2013-05-15 13:05:49 +00:00
events Use wxWindow::Refresh() instead of artificial wxPaintEvent in the test. 2013-05-05 00:00:01 +00:00
exec Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2). 2012-03-04 20:31:42 +00:00
file Add test for correct short/long file names in wxDir. 2013-04-22 00:32:55 +00:00
filekind Check the return value of system() and pipe() in the test suite. 2012-10-20 14:49:13 +00:00
filename Fix filename test compilation with VC6. 2012-11-10 12:21:46 +00:00
filesys
font Fix wxFont test compilation after wxFont(int flags) ctor removal. 2013-04-30 11:13:21 +00:00
fontmap
formatconverter
fswatcher Add wxFSW_EVENT_ATTRIB wxFileSystemWatcher flag. 2012-11-17 23:56:00 +00:00
geometry Add a simple unit test for wxRegion::Intersect(). 2012-10-23 12:03:09 +00:00
graphics Replace a template function with template class to fix VC6 build. 2012-11-12 15:50:13 +00:00
hashes
html Provide shorter synonyms for wxEVT_XXX constants. 2013-04-25 10:11:03 +00:00
image
interactive Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2). 2012-03-04 20:31:42 +00:00
intl Fix unit test French locate checks for glibc >= 2.8. 2012-02-20 10:59:37 +00:00
lists
log
longlong
mbconv
menu Disable menu event test case in wxGTK buildbot slaves. 2013-05-19 12:38:09 +00:00
misc PCH-less build fix for DynamicLibraryTestCase. 2012-10-24 23:41:04 +00:00
net Add per-direction wxSocket wait flags and byte counters. 2012-09-30 22:21:44 +00:00
regex
scopeguard
sizers Respect item max sizes in wxBoxSizer. 2012-08-15 23:34:27 +00:00
streams Add IEEE 754 single/double precision support to wxDataStream classes. 2013-05-06 00:31:03 +00:00
strings Add conversions to/from long long to wxUniChar. 2013-05-19 12:38:12 +00:00
textfile
thread Rename WXTHREAD_XXX_PRIORITY yo wxPRIORITY_XXX. 2013-01-20 02:10:07 +00:00
toplevel No changes, just cleanup TopLevelWindowTestCase unit test a little. 2012-03-04 00:29:14 +00:00
uris
validators Add IsAutomaticTest() function to the unit tests. 2012-06-01 16:21:06 +00:00
vectors
weakref
window Honour window min and max sizes in wxWindow::GetBestSize(). 2012-08-15 23:34:18 +00:00
xlocale Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2). 2012-03-04 20:31:42 +00:00
xml Fix memory leak in wxXmlNode::operator=(). 2013-05-15 20:01:58 +00:00
asserthelper.cpp
asserthelper.h
descrip.mms
dummy.cpp
horse.ani
horse.bmp
horse.cur
horse.gif
horse.ico
horse.jpg
horse.pcx
horse.png
horse.pnm
horse.tga
horse.tif
horse.xpm
makefile.bcc Fix wxSearchCtrl::HasFocus() in the generic version. 2013-01-20 02:09:44 +00:00
makefile.gcc Fix wxSearchCtrl::HasFocus() in the generic version. 2013-01-20 02:09:44 +00:00
Makefile.in Fix wxSearchCtrl::HasFocus() in the generic version. 2013-01-20 02:09:44 +00:00
makefile.vc Fix wxSearchCtrl::HasFocus() in the generic version. 2013-01-20 02:09:44 +00:00
makefile.wat Fix wxSearchCtrl::HasFocus() in the generic version. 2013-01-20 02:09:44 +00:00
runtests.bat Add more echo trace statements to runtests.bat script. 2013-05-14 11:07:12 +00:00
test_printfbench.dsp
test_test_gui.dsp Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
test_test.dsp Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
test_vc7_printfbench.vcproj
test_vc7_test_gui.vcproj Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
test_vc7_test.vcproj Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
test_vc8_printfbench.vcproj
test_vc8_test_gui.vcproj Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
test_vc8_test.vcproj Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
test_vc9_printfbench.vcproj
test_vc9_test_gui.vcproj Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
test_vc9_test.vcproj Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
test.bkl Fix wxSearchCtrl::HasFocus() in the generic version. 2013-01-20 02:09:44 +00:00
test.cpp Recognize "sandbox" user as indicating automatic testing. 2013-05-12 19:19:43 +00:00
testableframe.cpp Move getting the unit test event count from wxTestableFrame to the EventCounter class. This reduces the need to have wxTestableFrame pointers all over the unit testing code and should reduce bugs caused by counting the wrong events. 2012-03-11 14:32:24 +00:00
testableframe.h Move getting the unit test event count from wxTestableFrame to the EventCounter class. This reduces the need to have wxTestableFrame pointers all over the unit testing code and should reduce bugs caused by counting the wrong events. 2012-03-11 14:32:24 +00:00
testdata.fc
testdate.h Add wxDateTime::DiffAsDateSpan(). 2012-10-01 09:55:05 +00:00
testfile.h
testimage.h
testprec.h Add IsAutomaticTest() function to the unit tests. 2012-06-01 16:21:06 +00:00