Commit Graph

94 Commits

Author SHA1 Message Date
Zebediah Figura 497b9ed822 user32/tests: Make the DDE tests less verbose by default.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-05 20:10:46 +01:00
Zebediah Figura 3305f12844 user32/tests: Work around failures on Windows 10 version 1607.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-27 18:01:04 +01:00
Zebediah Figura 986bfcadd7 user32/tests: Get rid of some Windows 9x workarounds.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-27 18:01:02 +01:00
Zebediah Figura 7473db002e user32/tests: Remove unnecessary uses of CREATE_SUSPENDED.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-27 18:01:00 +01:00
Francois Gouget 3b91403e41 user32/tests: Avoid an unneeded lstrlenA() call.
Note that ptr may be NULL (see ok() check a few lines up).

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:46 +01:00
Michael Stefaniuc 1694ab087a user32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 18:27:20 +02:00
Michael Stefaniuc d8a970f94a user32/tests: Remove an identical if/else branch.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 22:22:57 +09:00
Jactry Zeng 477b713a72 user32/tests: Test DDE end to end with Chinese text that starts with Latin characters.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:30:04 +09:00
Jactry Zeng e632187b19 user32/tests: Fix a leak.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 21:37:34 +09:00
Michael Stefaniuc 937146ae33 user32/tests: Remove an unused assignment (PVS-Studio). 2015-01-22 12:04:16 +01:00
André Hentschel 4ac0808022 user32/tests: Clarify ok() condition (PVS-Studio). 2014-11-11 14:21:24 +09:00
Frédéric Delanoy 5e94a5d4c9 user32/tests: Constify some character strings. 2013-12-31 12:24:49 +01:00
Dmitry Timoshkov ad638a32d7 user32/tests: Fix DDE tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Michael Stefaniuc 2e31a44aca user32/test: Don't over-allocate memory for DDEDATA. 2012-10-31 16:12:27 +01:00
Michael Stefaniuc ca64393e99 user32/tests: Remove duplicated ok() call. 2012-05-16 18:30:21 +02:00
Michael Stefaniuc c6033397f3 user32/tests: Check the correct variable for the correct value. 2012-05-15 16:26:38 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Marcus Meissner b0b77d4ba9 user32: Fixed some more side effect functions in assert() (Coverity). 2011-02-25 14:47:50 +01:00
Joris Huizer 26f753aec8 user32/tests: Don't test function directly when reporting GetLastError(). 2011-02-07 10:04:37 -06:00
Greg Geldorp f61c8c68b6 user32/tests: Fix DDE test failures on DBCS machines. 2011-01-17 13:22:05 +01:00
André Hentschel 7e5da86076 user32/tests: Skip DDE tests on win9x. 2010-12-01 17:16:22 +01:00
Alexandre Julliard b2de316fc5 user32: Add a heuristic for Unicode mappings of DDE data on the server side. 2010-06-24 23:54:38 +02:00
Alexandre Julliard f83bc2e50a user32/tests: Fix more DDE test failures on Win9x. 2010-06-24 23:54:16 +02:00
Alexandre Julliard 83adf08bb7 user32/tests: Add some Unicode test cases for A/W mappings. 2010-06-24 22:17:19 +02:00
Alexandre Julliard c58fe1f414 user32/tests: Restructure the DDE end-to-end tests to make it easier to add new cases. 2010-06-24 20:39:16 +02:00
Alexandre Julliard fe161ec2f9 user32/tests: Fix some DDE test failures on Win9x. 2010-06-23 15:26:48 +02:00
Alexandre Julliard f5f93d459e user32/tests: Add more systematic tests to validate the DDE client-side A<->W conversions. 2010-06-23 15:26:48 +02:00
Austin English 5396713c2b user32/tests: Check return value of DdeClientTransaction in test_initialisation(). 2010-05-24 12:52:34 +02:00
Dan Kegel 3e28e4ab0f user32/tests: Allocate big enough buffer for UnpackDDElParam test. 2009-12-03 10:12:30 +01:00
Nikolay Sivov 916e38f969 user32/tests: Free memory after use. 2009-11-30 12:57:05 +01:00
Alexandre Julliard 9390bc921e user32/tests: Use the correct lparam in the WM_DDE_ACK reply. 2009-10-19 16:21:50 +02:00
Paul Vriens 429bf7e0e2 user32/tests: Skip some tests on Win9x/WinMe. 2009-10-08 12:17:30 +02:00
Alexandre Julliard 750fcebadb user32/tests: Remove tests for internal DDE handle format, we don't care how the handles are implemented. 2009-06-01 16:16:05 +02:00
Alexandre Julliard 5515b022ba user32/tests: Don't try to unpack or free invalid handles. 2009-04-24 13:40:42 +02:00
Alexandre Julliard b5346a8ce3 user32: Fix the DDE service formatting for 64-bit. 2009-04-24 13:40:42 +02:00
Michael Stefaniuc e89386a59e user32/tests: Remove superfluous pointer casts.
The (MENUITEMINFO)->dwTypeData is really a string ... the joys of the
Hungarian notation.
2009-02-05 13:15:32 +01:00
Alasdair Sinclair c2c564db9d user32/tests: Fix missing void in empty parameter list. 2009-01-29 12:19:51 +01:00
Jeff Latimer c743f9d0bd user32: DdeCreateStringHandle checks for an invalid instance Id and sets lastError for instances on that thread. 2009-01-26 14:29:44 +01:00
Jeff Latimer 77e0e9cccc user32/tests: Add tests for invalid instance passed to DdeCreateStringHandle.
Similar the DdeCreateDataHandle, DdeCreateStringHandle behaves the same 
way.  If an invalid instance Id is passed then lastError is set for all 
instances of that thread.
2009-01-26 14:29:39 +01:00
Jeff Latimer c5bc4b2c9a user32: Check the instance id on DdeCreateDataHandle and retire a couple of todos. 2009-01-22 15:28:24 +01:00
Jeff Latimer be027eeb28 user32/tests: Resend: Fix test to work on Vista. 2009-01-19 13:36:24 +01:00
Jeff Latimer f4ca7d2d1a user32/tests: Clarify the msgs to differentiate Unicode and ASCII in tests. 2009-01-16 13:25:32 +01:00
Jeff Latimer 1f5b2f7e0c user32/tests: Add tests for DdeGetData Ascii interface. 2009-01-14 15:22:51 +01:00
Jeff Latimer 56784f60c1 user32: Check for NULL pData in DdeClientTransAction expecting to be passed a handle. 2009-01-14 14:59:34 +01:00
Alexandre Julliard 9c6494a417 user32: The PackDDElParam return value is sign-extended on 64-bit. 2009-01-10 21:06:49 +01:00
Alexandre Julliard d97b398767 user32/tests: Fix pointer casting warnings on 64-bit. 2009-01-03 20:16:16 +01:00
Paul Vriens d0d7160c49 user32/tests: Fix some typos. 2008-12-05 17:21:39 +01:00
Detlef Riekenberg 609a3998f7 user32/tests: Fix crash on win9x in the dde test. 2008-11-06 11:09:36 +01:00
Michael Stefaniuc 706df65c5a user32: Do not cast NULL. 2008-11-03 13:40:27 +01:00
Michael Stefaniuc a38d47f27f user32/tests: Remove unreachable break after return (Smatch). 2008-09-08 12:31:56 +02:00