59 Commits

Author SHA1 Message Date
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
Jeff Latimer
16f38d7481 user32/tests: Add more A and W test combinations for dde. 2008-09-05 10:48:47 +02:00
Jeff Latimer
0c5fff5ea8 user32/tests: Tests for a W interface connection adding some todo_wine tests. 2008-09-05 10:48:33 +02:00
Jeff Latimer
5ad6ef53a2 user32: DdeConnect causes 2 XTYP_CONNECT_CONFIRM messages to flow. Delete one. 2008-09-05 10:48:15 +02:00
Jeff Latimer
4c3e55dd88 user32/tests: Test infrastructure for testing ddeml end to end. 2008-09-05 10:48:03 +02:00
Jeff Latimer
a251a8f166 user32/tests: Deregister the class created by create_dde_window. 2008-09-03 14:21:44 +02:00
Jeff Latimer
544c1e5cd1 user32/tests: Add tests for for invalid DDE conditions. 2008-08-18 17:26:39 +02:00
Jeff Latimer
70ebae341d user32: DdeClientTransaction should check that pData is not NULL for XTYP_REQUEST. 2008-08-18 17:26:19 +02:00
Jeff Latimer
04a59014f8 user32: DdeQueryString returns a NULL str if there is no handle. 2008-08-18 17:26:01 +02:00
Jeff Latimer
ec49e4179b user32: DdeClientTransaction should return 0 in the last param for DDE_DATA. 2008-08-18 17:25:37 +02:00
Andre Wisplinghoff
7abfbd085c user32: Make dde test use skip function. 2008-08-01 11:18:11 +02:00
Huw Davies
bf89330d14 user32: Don't read past the end of a global memory block. 2008-07-18 11:05:37 +02:00
Huw Davies
64acbb55b4 user32: sizeof DDEPOKE and DDEDATA is six, which is probably not what is expected, so use offsetof instead. 2008-07-08 20:37:58 +02:00
James Hawkins
13451c3b2a user32: Fix a few failing tests in win2k. 2008-07-01 13:45:38 +02:00
Alexandre Julliard
14194452a8 user32/tests: Fix the dde test race correctly this time. 2008-06-05 12:43:17 +02:00
Alexandre Julliard
e0c35a8582 user32/tests: Fix race condition in DDE server startup. 2008-06-02 14:13:01 +02:00
Alexandre Julliard
d6a17d2c93 user32/tests: Make the initial timeout longer in flush_events() for machines with slower round-trip times. 2008-03-05 16:48:04 +01:00
Dan Kegel
aaa93200ad user32: Implement return value for DdeClientTransaction for XTYP_EXECUTE. 2007-11-12 14:13:02 +01:00
Alexandre Julliard
5fa4e85ad6 user32/tests: Fix access to an uninitialized variable. 2007-11-09 13:14:37 +01:00
Francois Gouget
2b6abd5f85 user32/tests: Skip some tests when DdeClientTransaction() returns NULL. This avoids some crashes on Win9x. 2007-11-09 13:06:43 +01:00
Gerald Pfeifer
c7adf5f4b2 user32: Don't check unsigned types for >= 0. 2007-11-02 12:36:55 +01:00
Alexandre Julliard
5c5e333284 user32/tests: Don't test the contents of uninitialized buffers. 2007-11-02 12:27:27 +01:00
James Hawkins
0c22e54059 user32: Fix a test that now passes in Windows. 2007-10-26 14:03:47 +02:00
James Hawkins
9fd2d443fe user32: Convert an HDDEDATA handle to a DDEPOKE structure for WM_DDE_POKE. 2007-10-15 22:23:11 +02:00
James Hawkins
88913f094b user32: Add tests for DdeCreateDataHandle. 2007-10-15 22:23:11 +02:00
James Hawkins
4fb3518e2a user32: Return DMLERR_INVALIDPARAMETER if hszItem is NULL. 2007-10-15 22:23:11 +02:00
James Hawkins
ccabbeed60 user32: Return DMLERR_MEMORY_ERROR instead of posting an ACK when fAckReq is returned by the server for WM_DDE_DATA. 2007-10-15 22:23:11 +02:00
James Hawkins
97dc032161 user32: Return DMLERR_INVALIDPARAMETER if hszItem is NULL. 2007-10-15 22:23:10 +02:00
James Hawkins
dbad0ee626 user32: The server should release data sent with WM_DDE_POKE. 2007-10-15 22:23:10 +02:00
Alexandre Julliard
9f3f51bad7 user32: Fix message processing in dde test and go back to more reasonable timeouts. 2007-10-15 22:23:10 +02:00
James Hawkins
8725b39003 user32: Increase the message timeout. 2007-10-15 22:23:10 +02:00
James Hawkins
9cf7f8c3e2 user32: Test the ddeml server interface. 2007-10-09 20:19:42 +02:00
James Hawkins
3349afdbc0 user32: Move the test_ddeml_client function closer to the other ddeml client test functions. 2007-10-09 20:18:54 +02:00
James Hawkins
c26a745444 user32: Set client_pid to zero before initializing dde. 2007-10-09 20:18:34 +02:00
Francois Gouget
81c4b91cb2 user32/tests: Remove an unneeded cast. 2007-10-09 12:31:28 +02:00
James Hawkins
58639cc814 user32: Test the ddeml client interface. 2007-10-04 12:03:36 +02:00