Commit graph

644 commits

Author SHA1 Message Date
Timo Kreuzer 64820cf82f [WIN32KDLL_2K3SP2]
Export NtUserGetClassInfoEx (as it's called in 2k3) both as NtUserGetClassInfo (as it's called on XP) and NtUserGetClassInfo. They have the same prototype.

svn path=/trunk/; revision=70463
2015-12-28 23:51:05 +00:00
Timo Kreuzer 0c24f4ecd6 [WIN32KDLL_2K3SP2]
- "Fix" an export name: NtUserGetClassInfoEx on 2k3 is the same as NtUserGetClassInfo on XP (note that we currently use the default, aka ros specific, win32kdll on the WHS testbot, but it's mostly identical.

[WIN32KNT_APITEST]
- Fix a typo
- add missing tests to testlist.c

svn path=/trunk/; revision=70462
2015-12-28 23:03:04 +00:00
Timo Kreuzer 7e81805878 [GDITOOLS]
3rd try to fix WHS rostests build

svn path=/trunk/; revision=70461
2015-12-28 20:53:34 +00:00
Timo Kreuzer 25b8fe488d [WIN32NT_APITEST]
2nd try to fix WHS rostests build

svn path=/trunk/; revision=70460
2015-12-28 20:51:28 +00:00
Timo Kreuzer 96071c690b [WIN32NT_APITEST]
Try to fix WHS rostests build

svn path=/trunk/; revision=70459
2015-12-28 20:46:05 +00:00
Timo Kreuzer 7ad21a4425 [APOTESTS]
- Convert win32k native api test to actual wine style api-tests
- Hack around a bit with the win32k dlls, some renaming, etc.
- Delete old apitest stuff

svn path=/trunk/; revision=70458
2015-12-28 20:31:10 +00:00
Timo Kreuzer 3ef0e98b4b [GDITOOLS]
Add a library with some helper routines for GDI tests

svn path=/trunk/; revision=70457
2015-12-28 20:24:57 +00:00
Timo Kreuzer c88949294c [CRT_APITEST]
Fix sprintf tests to succeed on W2K3

svn path=/trunk/; revision=70456
2015-12-28 15:49:29 +00:00
Timo Kreuzer 42a833ef22 [CRT_APITEST]
Add tests for _snprintf, _snwprintf, strtoul, wcstoul
Patch by Thomas Faber (slightly modified by me)
CORE-6510

svn path=/trunk/; revision=70455
2015-12-28 15:24:47 +00:00
Timo Kreuzer 66908136d4 [CRT_APITEST]
- Disable a check for crtdll
- Fix an MSVC warning

svn path=/trunk/; revision=70453
2015-12-28 11:01:03 +00:00
Timo Kreuzer 2866514570 [CRT_APITEST]
Add another test for strlen, that tests, whether the direction flag in ELFAGS has been modified. While clearing it is legitimate to do according to the ABI, the native implementation does not change it, so we don't want to do it either.

svn path=/trunk/; revision=70429
2015-12-26 20:32:31 +00:00
Timo Kreuzer 909f7439d0 [CRT_APITEST]
- disable GCC builtins
- Add simple tests for strlen, showing that a NULL pointer will cause an access violation, which is broken in our asm implementation

svn path=/trunk/; revision=70427
2015-12-26 19:20:54 +00:00
Pierre Schweitzer df6860337a [IPHLPAPI_APITEST]
Rewrite the two existing tests for ICMP and add a third one (for IPv6).
Patch by Tim Crawford.

ROSTESTS-212 #resolve #comment Commited in r70367. Thanks!

svn path=/trunk/; revision=70367
2015-12-16 21:11:22 +00:00
Pierre Schweitzer 1a18680120 [IPHLPAPI_APITEST]
Add more tests

svn path=/trunk/; revision=70326
2015-12-12 09:45:23 +00:00
Ged Murphy 78c2f01594 Caught out by unix again
svn path=/trunk/; revision=70313
2015-12-08 22:18:41 +00:00
Ged Murphy 452bc55d4b [GDI32_APITEST]
- Add some tests for GetGlyphIndices

svn path=/trunk/; revision=70311
2015-12-08 22:14:48 +00:00
Pierre Schweitzer 4042ba935e [IPHLPAPI_APITEST]
Add another check that shows that data returned by GetAdaptersAddresses() are incomplete and thus broken...
"This isn't the type you're looking for." would say an old man

svn path=/trunk/; revision=70290
2015-12-07 22:33:29 +00:00
Pierre Schweitzer ebb8c660f4 [IPHLPAPI]
Display the IP address used for tests
This highlights an issue with returned IP in ReactOS

svn path=/trunk/; revision=70286
2015-12-07 11:21:20 +00:00
Amine Khaldi cc656f9803 [IPHLPAPI_APITEST] Move icmp tests from winetests to apitests where they belong. By Tim Crawford. ROSTESTS-201
svn path=/trunk/; revision=70261
2015-12-04 10:34:24 +00:00
Pierre Schweitzer 1fe3047f6b [IPHLPAPI_APITEST]
Add a new apitest for iphlpapi.dll.
It includes tests for testing the SendARP() and its underlying IOCTL.

Tested against W2K3.
Obviously, most of these tests fail on ReactOS.

svn path=/trunk/; revision=70210
2015-11-29 19:31:33 +00:00
Thomas Faber e38b0c1eb4 [CRT_APITEST]
- Add tests for static object destructors. Patch by Mark Jansen.
CORE-10562

svn path=/trunk/; revision=70023
2015-11-22 14:01:04 +00:00
Thomas Faber 3aee20e0d8 [CRT_APITEST]
- Fix dll loading in static_construct test
CORE-10562

svn path=/trunk/; revision=70022
2015-11-22 13:51:19 +00:00
Thomas Faber 9b5d026744 [CRT_APITEST]
- Also test static constructors/destructors in a DLL.
CORE-10562

svn path=/trunk/; revision=69993
2015-11-21 13:45:45 +00:00
Thomas Faber bfa1295d2b [CRT_APITEST]
- Add tests for static initialization and static constructors
CORE-10562

svn path=/trunk/; revision=69991
2015-11-21 12:04:36 +00:00
Thomas Faber 1d90274758 [USER32_DYNAMIC]
- Show that user32 keeps an extra reference to itself
CORE-10540

svn path=/trunk/; revision=69962
2015-11-20 17:27:27 +00:00
Thomas Faber 72d1f8be4f [USER32_DYNAMIC_APITEST]
- Add a test that uses LoadLibrary/FreeLibrary on user32.dll, causing it to re-initialize.
CORE-10540

svn path=/trunk/; revision=69923
2015-11-17 13:45:59 +00:00
Thomas Faber 043845e1cd [NTDLL_APITEST]
- Add a test for RtlImageRvaToVa
CORE-10523

svn path=/trunk/; revision=69895
2015-11-16 09:48:39 +00:00
Sylvain Petreolle 9eec8dc5b9 [COM_APITEST]
Use explicit W calls.
All the code is unicode-based.

svn path=/trunk/; revision=69830
2015-11-07 11:59:23 +00:00
Thomas Faber 0f4f3d7cd8 [ATL]
- Implement more CComBSTR methods. Patch by Mark Jansen.
CORE-10478 #resolve

svn path=/trunk/; revision=69815
2015-11-05 10:49:52 +00:00
Amine Khaldi 2b6ae1241e [USER32_APITEST] Fix a typo.
svn path=/trunk/; revision=69799
2015-11-03 21:14:15 +00:00
Thomas Faber 7744b35234 [USER32_APITEST]
- Add a test for sending recursive inter-thread messages
CORE-9210

svn path=/trunk/; revision=69797
2015-11-03 20:40:19 +00:00
Timo Kreuzer 5de8b3d15c [GDI32_APITEST]
Formatting: tabs -> spaces

svn path=/trunk/; revision=69754
2015-10-31 15:24:09 +00:00
Timo Kreuzer 96afb9e14c [GDI32_APITEST]
Fix tests for GetObject

svn path=/trunk/; revision=69752
2015-10-31 14:59:08 +00:00
Thomas Faber dde60eb9ef [USER32_APITEST]
- Add some tests for other WS_CHILD/WS_POPUP combinations

svn path=/trunk/; revision=69710
2015-10-26 12:12:01 +00:00
Thomas Faber a8f4623261 [USER32_APITEST]
- Remove nonexistent test...

svn path=/trunk/; revision=69708
2015-10-26 12:05:35 +00:00
Thomas Faber ca8fcf5402 [USER32_APITEST]
- Add a test for the bug in win32k highlighted by the recent ATL breakage
CORE-10413

svn path=/trunk/; revision=69707
2015-10-26 12:03:09 +00:00
Pierre Schweitzer 54af95dc46 [CRT_APITEST]
Add more tests

CORE-10390

svn path=/trunk/; revision=69681
2015-10-25 07:42:34 +00:00
Pierre Schweitzer 16543cd058 [CRT_APITEST]
Add a few tests to show mbstowcs/wcstombs behavior will NULL ptr.

CORE-10390

svn path=/trunk/; revision=69680
2015-10-24 23:18:33 +00:00
Pierre Schweitzer 34c9b63005 [MSVCRT]
Add a test that shows that _splitpath() null-terminates drive

svn path=/trunk/; revision=69661
2015-10-24 08:20:05 +00:00
Thomas Faber 237a82dc51 [ATL]
- Add CComHeapPtr implementation and tests. Patch by Mark Jansen.
CORE-10344 #resolve

svn path=/trunk/; revision=69593
2015-10-18 10:46:11 +00:00
Pierre Schweitzer fedc72ff66 [NTDLL_APITEST]
Fix test
Spotted by Alex

svn path=/trunk/; revision=69516
2015-10-12 17:43:42 +00:00
Pierre Schweitzer c4b93ac3c5 [WHOOPS]
C/P error

svn path=/trunk/; revision=69507
2015-10-11 21:51:32 +00:00
Pierre Schweitzer 24420c2ba1 [NTDLL_APITESTS]
Extend the RtlAllocateHeap() test

svn path=/trunk/; revision=69506
2015-10-11 21:49:16 +00:00
Pierre Schweitzer 7feed70d00 [NTDLL_APITESTS]
Add a test that shows that RtlAllocateHeap() totally ignores HEAP_CREATE_ALIGN_16

svn path=/trunk/; revision=69504
2015-10-11 21:10:03 +00:00
Thomas Faber 9c78e0659c [USER32_APITEST]
- Add some tests for window properties
CORE-3897

svn path=/trunk/; revision=69490
2015-10-10 16:08:31 +00:00
Sylvain Petreolle 4aa8ae13c2 [user32_apitest]
0x%lu does not mean anything correct.

svn path=/trunk/; revision=69434
2015-10-03 21:41:10 +00:00
Pierre Schweitzer 2f08cf3f2a [NTDLL_APITEST]
*.S expects length in chars

svn path=/trunk/; revision=69392
2015-09-28 08:53:31 +00:00
Pierre Schweitzer df8ea25b31 [NTDLL_APITEST]
Add more tests for RtlGenerate8dot3Name().
Not sure how many more are failing in ReactOS: they all pass in my WC (teasing :-))

CORE-10223

svn path=/trunk/; revision=69388
2015-09-27 20:41:14 +00:00
Pierre Schweitzer 9099445189 [KERNEL32_APITEST]
Rename apitest Mailslot test to MailslotRead to avoid testman issue with mailslot winetest

svn path=/trunk/; revision=69352
2015-09-25 14:53:08 +00:00
Pierre Schweitzer 2f233ce1f9 [KERNEL32_APITEST]
Add a test for CORE-10188 (which was fixed by Thomas in r69236).
It is based on Nikita Pechenkin's patch with a few modifications by me to avoid race condition on start (and avoid flappy test) and to match more closely our coding style

ROSTESTS-190 #resolve #comment Committed in r69351. Thanks!

svn path=/trunk/; revision=69351
2015-09-25 14:44:38 +00:00