wxWidgets/tests
Vadim Zeitlin bc73d5aec8 Changed wxLog DoLogXXX() callbacks and introduced wxLogRecordInfo.
The main logging callback is now DoLogRecord() with DoLogTextAtLevel() and
DoLogText() provided for convenience. The old DoLog() and DoLogString() are
still called but deprecated and their overloads taking wxString which were
only added in 2.9.0 are removed.

wxLogRecordInfo allows associating more information than just the time stamp
with the log record; for now only the logging thread id was added but more
fields will make their appearance soon.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-08 13:47:33 +00:00
..
archive fn.Mkdir now gives an ICE on VC6 now that it is const. 2009-06-17 17:31:53 +00:00
arrays made wxArrayString::assign(iterator, iterator) a template function; also fixed a bad bug in it: it didn't call clear(); mention existence of std::vector-like methods in the docs 2009-02-12 12:09:13 +00:00
base64 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
benchmarks fix PCH-less build 2009-06-01 12:40:50 +00:00
cmdline already escaped backslash shouldn't escape the following quote in ConvertStringToArgs() 2008-07-19 01:53:04 +00:00
config ensure the number of values we expect to record in RecordingDefaultsTest() is always correct (fixes test failure under VC6) 2009-03-25 13:43:31 +00:00
controls fix bug in generic wxTreeCtrl: calling SelectItem(true) on an already selected item shouldn't toggle its selection (see #10830) 2009-06-06 14:15:06 +00:00
datetime use CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT whenever possible to see more information about the test failures 2009-04-18 12:19:38 +00:00
events fix errors in EvtHandlerTestCase::BindFunctor() in optimized build: apparently compiler is smart enough to detect that the same object can be used for all temporaries 2009-05-17 10:56:14 +00:00
exec suppress output from the test commands; use CPPUNIT_ASSERT_EQUAL() whenever possible 2009-04-13 17:33:33 +00:00
filekind use _isatty/_fdopen/_fileno() instead of isatty/fdopen/fileno() with VC 2009-06-06 23:20:12 +00:00
filename add more tests for wxFileName::Normalize(DOTS) (see #10960) 2009-07-03 22:07:22 +00:00
filesys [ 1068188 ] Precompiled header for the test program [Modified a bit] 2004-11-22 05:00:19 +00:00
font add wxGetLinuxDistributionInfo() and wxPlatformInfo::GetLinuxDistribution() functions; also add to wxPlatformInfo the GetOperatingSystemDescription(), GetDesktopEnvironment(), GetOperatingSystemDirectory() functions to group in the same class (wxPlatformInfo) all available platform-detection functions 2009-06-02 13:01:41 +00:00
fontmap 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
formatconverter fix test failures: the expected results were incorrect, UTF-8 build uses %lc for characters and not %s 2008-05-30 23:38:13 +00:00
geometry compilation fixes for VC6 2008-01-13 01:13:03 +00:00
graphics Forward port wxGraphicsBitmap cairo implementation, and fix the credit info in measuring.cpp 2009-06-20 23:33:55 +00:00
hashes define {first,second}_type in the struct declared by _WX_DECLARE_PAIR too for compatibility with std::pair, we can avoid #ifdefs in the code using the hash then (#9725) 2008-07-13 18:20:06 +00:00
html added a test to check if wxHtmlWindow::SelectionToText() inserts \n characters correctly 2008-10-15 15:55:25 +00:00
image minor change: differentiate the initial banner of test.exe from test_gui.exe 2009-06-01 14:46:44 +00:00
intl fix test failure on glibc systems which do not use %T; also replace CompareTimeFormats() with a macro to get failure messages on the right line 2009-04-04 12:09:54 +00:00
lists fix other insert() overloads to work when inserting at the end of the list, continuation of r56299 (see #10103) 2009-02-07 23:46:53 +00:00
log Changed wxLog DoLogXXX() callbacks and introduced wxLogRecordInfo. 2009-07-08 13:47:33 +00:00
longlong minor icc warning fixes 2008-11-19 09:55:27 +00:00
mbconv minor icc warning fixes 2008-11-19 09:55:27 +00:00
misc correct test failures under MSW, it shouldn't assume that all predefined fonts have non-empty facenames 2009-05-17 11:52:26 +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 work around (harmless) warnings in VC7 release build 2009-06-06 23:04:50 +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
streams disable a VC6 warning occurring inside a standard header 2009-06-07 12:41:52 +00:00
strings update CRT environment block in wxSetEnv() too 2009-05-24 15:33:33 +00:00
textfile use _unlink() instead of unlink() with VC 2009-06-06 23:17:34 +00:00
thread chanegd wxTlsValue to be pointer-like instead of value-like which doesn't work for UDTs; use __thread keyword with mingw32 >= 4.3 too; use library-based thread-specific variables support in wxString cache now that it is fixed to work there; finally added a unit test for TLS stuff 2008-08-29 23:28:42 +00:00
uris add wxURL::GetInputStream test unit; add a global IsNetworkAvailable() utility to the test units 2009-06-01 11:30:50 +00:00
vectors added wxVector::resize() 2008-12-11 13:45:04 +00:00
weakref remove the test of weak references classes size, it's implementation-dependent 2008-01-16 02:03:10 +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 fix C strings comparison in LoadSave() test in STL build 2008-10-10 21:12:51 +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 added a simple wxLog unit test 2009-07-07 12:19:34 +00:00
makefile.gcc added a simple wxLog unit test 2009-07-07 12:19:34 +00:00
Makefile.in added a simple wxLog unit test 2009-07-07 12:19:34 +00:00
makefile.vc added a simple wxLog unit test 2009-07-07 12:19:34 +00:00
makefile.wat added a simple wxLog unit test 2009-07-07 12:19:34 +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 add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
test_test.dsp added a simple wxLog unit test 2009-07-07 12:19:34 +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 add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
test_vc7_test.vcproj added a simple wxLog unit test 2009-07-07 12:19:34 +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 add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
test_vc8_test.vcproj added a simple wxLog unit test 2009-07-07 12:19:34 +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 add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
test_vc9_test.vcproj added a simple wxLog unit test 2009-07-07 12:19:34 +00:00
test_vc9.sln refactor printf benchmarks to fit the new wxWidgets benchmarking framework; fix tests and benchmarks builds (at least on linux) which were failing because of wrong order of <wx-lib> tags in the bakefiles 2009-05-30 13:54:22 +00:00
test.bkl added a simple wxLog unit test 2009-07-07 12:19:34 +00:00
test.cpp disable warnings about unused parameters in CppUnit headers 2009-06-06 23:22:37 +00:00
testdata.fc moved Unicode tests to testsuite (patch 943945) 2004-04-30 20:26:14 +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