Commit graph

2185 commits

Author SHA1 Message Date
Amine Khaldi 0f9490317d [GDIPLUS_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=70004
2015-11-22 10:10:22 +00:00
Amine Khaldi 86345c31fe [MSI_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69996
2015-11-21 16:45:05 +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
Amine Khaldi cec595cde8 [MSVFW32_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69989
2015-11-21 10:03:55 +00:00
Amine Khaldi 6f68f8bd50 [MSRLE32_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69987
2015-11-21 10:00:13 +00:00
Amine Khaldi 659bed7ef9 [WINTRUST_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69985
2015-11-21 09:52:21 +00:00
Amine Khaldi 454f792a6d [URLMON_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69980
2015-11-21 09:37:15 +00:00
Amine Khaldi a7803a245b [NTDSAPI_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69973
2015-11-21 09:22:06 +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
Amine Khaldi a2eabb07dc [MPR_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69958
2015-11-20 10:46:02 +00:00
Amine Khaldi 6f84bb5c35 [JSCRIPT_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69953
2015-11-20 10:28:29 +00:00
Amine Khaldi 5fdef02fc8 [WSHOM_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69951
2015-11-20 10:21:37 +00:00
Amine Khaldi 493f7ff217 [XMLLITE_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69948
2015-11-20 10:11:33 +00:00
Amine Khaldi e42f2b76ee [CRYPT32_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69930
2015-11-17 21:13:47 +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
Amine Khaldi f2ae834b5f [ADVPACK_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69920
2015-11-17 12:46:31 +00:00
Amine Khaldi 47644ac122 [RSAENH_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69917
2015-11-17 12:19:29 +00:00
Amine Khaldi c0a5568f90 [OLEAUT32_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69916
2015-11-17 12:00:00 +00:00
Amine Khaldi 0e4e6b581e [OLE32_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69909
2015-11-17 10:31:59 +00:00
Amine Khaldi ca6b297569 [RPCRT4_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69907
2015-11-17 10:08:11 +00:00
Thomas Faber 187db82af7 [KMTESTS:IO]
- Add a test for FileAllInformation

svn path=/trunk/; revision=69897
2015-11-16 13:53:03 +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
Thomas Faber 57dd4b34c7 [KMTESTS:IO]
- Add a test trying assorted path variations to open files
CORE-10483

svn path=/trunk/; revision=69878
2015-11-12 13:13:54 +00:00
Thomas Faber 8160fdc383 [KMTESTS:IO]
- Add a test verifying that opening a file using different parent directories still yields handles to the same file
CORE-10483

svn path=/trunk/; revision=69877
2015-11-12 12:55:26 +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
James Tabor d463d96d4b [User32_wineTest]
- Enable skipped menu tests.

svn path=/trunk/; revision=69758
2015-10-31 18:40:44 +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 28c1e663f3 [KMTESTS:IO]
- Add some basic parameter tests for IoSetDeviceInterfaceState
CORE-9456

svn path=/trunk/; revision=69722
2015-10-27 12:14:10 +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 8fb79dfcc4 [SHLWAPI_WINETEST]
- Fix build until I figure out how to upstream this

svn path=/trunk/; revision=69622
2015-10-19 16:03:00 +00:00
Thomas Faber 3bb5106159 [URLMON_WINETEST]
- Cancel the test if a failure situation is detected that will lead to a timeout
ROSTESTS-192
CORE-10360

svn path=/trunk/; revision=69599
2015-10-18 13:13:44 +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
Thomas Faber 44cc9aa006 [KMTESTS:OB]
- Add a test showing that I was wrong and ZwDuplicateObject can get you a kernel handle after all
CORE-10207

svn path=/trunk/; revision=69570
2015-10-17 17:41:43 +00:00
Thomas Faber 7983137edd [KMTESTS:OB]
- Move handle tests from ObReference to ObHandle where they belong

svn path=/trunk/; revision=69568
2015-10-17 16:11:12 +00:00
Thomas Faber 1ac16d7595 [KMTESTS]
- Sssh, these tests are secret

svn path=/trunk/; revision=69567
2015-10-17 15:56:52 +00:00
Thomas Faber 8661787353 [KMTESTS:OB]
- Add ObHandle test that verifies a couple ZwDuplicateObject behaviors 

svn path=/trunk/; revision=69566
2015-10-17 15:50:25 +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 c0cd33da02 [NTOS:PO]
- Pass the correct DeviceObject to PoRequestPowerIrp's callback
- Use the IRP stack to store callback parameters instead of a pool allocation as shown by the test

svn path=/trunk/; revision=69503
2015-10-11 19:57:06 +00:00
Thomas Faber 5e05f2675b [KMTESTS:PO]
- Fix build

svn path=/trunk/; revision=69500
2015-10-11 17:11:53 +00:00
Thomas Faber 073a2904ca [KMTESTS:PO]
- Add a test for PoRequestPowerIrp

svn path=/trunk/; revision=69499
2015-10-11 17:06:14 +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 1a33bc3cdf [ROSTESTS]
Fix 0x%lu specifier.
Add cmake file for notificationtest.

svn path=/trunk/; revision=69436
2015-10-03 22:21:19 +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 5dc58d234a [KMTESTS:IO]
[KMTESTS:OB]
Simplify kernel mode thread creation

svn path=/trunk/; revision=69417
2015-09-29 18:43:35 +00:00
Thomas Faber 0f64d20e8a [CRT]
- Add "memcmp" library that is used by kernel drivers to get memcmp/RtlEqualMemory
CORE-10285 #resolve

svn path=/trunk/; revision=69413
2015-09-29 17:24:48 +00:00
Pierre Schweitzer 3ee5af9d50 [KMTESTS:OB]
Add a test dedicated to Stefan.

svn path=/trunk/; revision=69398
2015-09-28 12:25:38 +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
Amine Khaldi 7b16b375e5 [MMDEVAPI_WINETEST] Add missing dxsdk dependency.
svn path=/trunk/; revision=69384
2015-09-27 18:25:34 +00:00
Pierre Schweitzer 549ecc5195 [KMTESTS:IO]
Add more tests for IoCreateFile(), this time purely dealing with symlinks reparse points.
They won't run on ReactOS (obviously) as we don't have RW NTFS support.

On Windows, they show interesting results....
With Windows 2003, creating the symlink is allowed and works, but then Windows is totally unable to deal with it and keeps complaining about an unhandled reparse tag.
The only way to open it is to open the reparse point itself. Not that working symlinks... Not sure which part is not able to handle the said reparse tag. NTFS? Io?
With Windows Vista+, it just works fine. Symlink is created & functionnal.

Broken logic!

svn path=/trunk/; revision=69353
2015-09-25 15:57:28 +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
Pierre Schweitzer f44942d42f [KMTESTS:IO]
- Properly free handles in driver (spotted by Thomas)
- Remove dead code in driver (spotted by Thomas)
- Send an IOCTL to stop on symlinks to allow more precise tests

svn path=/trunk/; revision=69336
2015-09-23 21:30:22 +00:00
Thomas Faber c43914c6a7 [NTDLL_APITEST]
- Fix a test failure on WHS-Testbot

svn path=/trunk/; revision=69331
2015-09-23 15:53:24 +00:00
Thomas Faber 5e43107328 [NTDLL_APITEST]
- Add simple tests for NtOpenThreadToken[Ex] and NtOpenProcessToken[Ex]

svn path=/trunk/; revision=69329
2015-09-23 15:14:25 +00:00
Pierre Schweitzer 9e06c66b38 [KMTESTS:IO]
Extend the IoCreateFile tests with two parts tests.
First part properly checks for opening/reparse handling on mount points (and ideally on symlinks, see below).
The other part checks for proper handling of the IO_STOP_ON_SYMLINK parameter.

Regarding symlink, I'm clearly not convinced that what I did is correct (hence the failure on both W2K3 & ROS). It seems to me that symlink resolution is up to the FSD and not to IO which only handles mount point traversal.
If someone (Alex?) can confirm/infirm and give more insight, that's more than welcome.

svn path=/trunk/; revision=69322
2015-09-22 22:31:08 +00:00
Pierre Schweitzer 49b29b7594 [KMTESTS:MM]
MmAllocatePagesForMdlEx() was added on Windows 2003 SP1. Import it for "older" systems.

svn path=/trunk/; revision=69318
2015-09-22 18:05:45 +00:00
Pierre Schweitzer 40d3c19242 [NTDLL_APITESTS]
Add more tests

svn path=/trunk/; revision=69307
2015-09-20 17:51:41 +00:00
Pierre Schweitzer 9fce9f4c34 [NTDLL_APITESTS]
Properly init string length

svn path=/trunk/; revision=69305
2015-09-20 14:04:48 +00:00
Pierre Schweitzer 2a99e6260e [NTDLL_APITESTS]
Add more tests

svn path=/trunk/; revision=69304
2015-09-20 13:32:34 +00:00
Pierre Schweitzer 1e31c8d334 [NTDLL_APITESTS]
Add a few tests for RtlGenerate8dot3Name()

svn path=/trunk/; revision=69303
2015-09-20 10:42:05 +00:00
Thomas Faber e5d4c337e6 [KMTESTS:KE]
- Add tests for acquiring mutants recursively
CORE-10218

svn path=/trunk/; revision=69300
2015-09-19 23:59:02 +00:00
Thomas Faber 2ea155305a [KMTESTS]
- Add missing OBJ_KERNEL_HANDLE
- OBJ_KERNEL_HANDLE in user mode has no effect... no reason to make a define around it
CORE-10207

svn path=/trunk/; revision=69296
2015-09-19 21:46:40 +00:00
Thomas Faber 7a7073bedc [KMTESTS:KE]
- Add a small stress test for scheduling behavior after event set/wake
CORE-10212

svn path=/trunk/; revision=69283
2015-09-19 12:57:51 +00:00
Thomas Faber 8b7a8bb461 [KMTESTS:KE]
- Make KeEvent test count constant to prevent it from appearing flaky in Testman

svn path=/trunk/; revision=69282
2015-09-19 12:39:01 +00:00
Thomas Faber 619d1a2474 [KMTESTS:KE]
- Skip tests that assert on checked builds
- Avoid excessive stack usage
- Avoid some signed vs unsigned comparisons

svn path=/trunk/; revision=69281
2015-09-19 12:15:16 +00:00
Thomas Faber 981add1069 [KMTESTS:KE]
- Don't skip most of the KeEvent test on checked builds
- Don't try to run things at stupid IRQLs

svn path=/trunk/; revision=69279
2015-09-19 11:27:18 +00:00
Thomas Faber 567c098f48 [KMTESTS:CM]
- Add a test for registry hive security descriptors

svn path=/trunk/; revision=69265
2015-09-18 11:06:11 +00:00
Thomas Faber ad06f5118a [KMTESTS:MM]
- Keep the number of tests constant in MmMdl because Testman

svn path=/trunk/; revision=69243
2015-09-15 16:46:28 +00:00
Hermès Bélusca-Maïto e709e70d0e [PEFILE:APITEST]: Validate IMAGE_SCN_MEM_NOT_PAGED flag for PE files. By Mark Jansen. CORE-10160
svn path=/trunk/; revision=69198
2015-09-12 13:08:47 +00:00
Thomas Faber 317b564ba0 [KMTESTS:MM]
- Add some more reserved mapping tests for special pool tags and unaligned addresses
- Validate MDL pages in MmMdl test

svn path=/trunk/; revision=69169
2015-09-10 11:16:53 +00:00
Thomas Faber 62d6fa7706 [KMTESTS:MM]
- Add a test for MmAllocateMappingAddress/MmMapLockedPagesWithReservedMapping
CORE-10147

svn path=/trunk/; revision=69168
2015-09-10 09:58:02 +00:00
Amine Khaldi de917295f6 [PEFILE_APITEST] Introduce tests that load ntoskrnl.exe and validate various section flags. Created by Mark Jansen in light of r68930. CORE-10106
svn path=/trunk/; revision=69154
2015-09-09 17:27:36 +00:00
Amine Khaldi d69d6cab4e [APITESTS] Add missing xdk dependency. CORE-9586
svn path=/trunk/; revision=69117
2015-09-08 12:51:53 +00:00
Thomas Faber 4f3a4a5c04 [CMAKE]
- Fix more missing dependencies on xdk
CORE-9586

svn path=/trunk/; revision=69086
2015-09-07 10:05:42 +00:00
Thomas Faber 2565dcba26 [NTOS:PS]
- Implement NtApphelpCacheControl. Patch by Mark Jansen
CORE-9914 #resolve

svn path=/trunk/; revision=69022
2015-09-05 11:49:54 +00:00
Thomas Faber 743db122d7 [KERNEL32_WINETEST]
- Enable test_thread_fpu_cw on MSVC builds

svn path=/trunk/; revision=68926
2015-09-03 07:18:00 +00:00
Sylvain Petreolle 4921df2054 [COM_APITEST]
Do not test for ISFHelper anymore.

svn path=/trunk/; revision=68919
2015-09-02 20:52:34 +00:00
Thomas Faber fec1f08cd5 [TCPIP_DRVTEST]
- Handle errors to avoid uninitialized variable usage

svn path=/trunk/; revision=68870
2015-08-30 09:31:23 +00:00
Thomas Faber a54882acc1 [ADVAPI32_APITEST]
- Do not call RtlInitUnicodeString on an unterminated string (DPH)

svn path=/trunk/; revision=68867
2015-08-30 08:37:13 +00:00
Thomas Faber a46c9450de [GDI32_APITEST]
- Add a simple test for SetBoundsRect

svn path=/trunk/; revision=68750
2015-08-18 10:24:01 +00:00
Pierre Schweitzer 0303c3abbe [SETUPAPI_WINETESTS]
Partly sync with Wine 1.7.47:
- Import tests for SetupLogError* functions

CORE-9924

svn path=/trunk/; revision=68706
2015-08-13 09:38:46 +00:00
Thomas Faber 195d119706 [NTDLL_APITEST]
- Add tests for mapping and relocating an image with an IMAGE_SCN_TYPE_NOLOAD section
CORE-8384

svn path=/trunk/; revision=68676
2015-08-11 07:21:33 +00:00
Thomas Faber 7bccf4601e [NTDLL_APITEST]
- Properly clean up after tests

svn path=/trunk/; revision=68675
2015-08-11 07:13:51 +00:00
Thomas Faber 7a5715dced [NTDLL_APITEST]
- Look for test.dll in the right place

svn path=/trunk/; revision=68674
2015-08-11 06:45:45 +00:00
Christoph von Wittich 00c980942b [ROSTESTS]
move test.dll back to testdata folder

svn path=/trunk/; revision=68661
2015-08-10 11:42:19 +00:00
Christoph von Wittich 1f7ffb9c1d [GDI32_APITEST]
-include the testdata in all targets
-load it from the correct path even when the application is using a different working directory

svn path=/trunk/; revision=68623
2015-08-08 08:31:49 +00:00