Commit graph

2185 commits

Author SHA1 Message Date
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
Christoph von Wittich 96c2ec9407 [GDI32_APITEST]
use correct testdata path

svn path=/trunk/; revision=68618
2015-08-07 17:40:55 +00:00
Thomas Faber e6d1e20049 [ROSAUTOTEST]
- When directly submitting the results to the web service, make sure to URL-encode the test log, or & signs will terminate the log and make Testman see the test as crashed (and have all other kinds of possible consequences)

svn path=/trunk/; revision=68578
2015-07-26 10:02:03 +00:00
Thomas Faber 0436f08597 [WS2_32_APITEST]
- Apparently doesntexist.reactos.org... exists

svn path=/trunk/; revision=68577
2015-07-26 09:26:29 +00:00
Thomas Faber 5ae53d1709 [USER32_WINETEST]
- Skip test_paintingloop instead of test_paint_messages? Grml
ROSTESTS-18

svn path=/trunk/; revision=68576
2015-07-26 09:11:08 +00:00
Thomas Faber 1a5b34df4a [USER32_WINETEST]
- Skip user32:msg_paint test_paint_messages if running on Windows in non-interactive mode. This should allow WHS-Testbot to get a bit further
ROSTESTS-185
ONLINE-441 ROSTESTS-184

svn path=/trunk/; revision=68575
2015-07-26 08:41:13 +00:00
Thomas Faber 10d23d4e83 [KMTESTS:RTL]
- Fix build
CORE-9947

svn path=/trunk/; revision=68574
2015-07-26 08:05:07 +00:00
Thomas Faber 92fefd09ba [PSDK]
- Add support for intsafe signed Add functions
- Guard signed math in ENABLE_INTSAFE_SIGNED_FUNCTIONS
CORE-9947 #resolve

svn path=/trunk/; revision=68573
2015-07-26 08:03:02 +00:00
Thomas Faber b6c1dfa714 [PSDK]
- intsafe: use the correct type to check overflow in DEFINE_SAFE_ADD
CORE-9946 #resolve

svn path=/trunk/; revision=68572
2015-07-26 07:48:24 +00:00
Amine Khaldi afdc6b377b [WININET_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68560
2015-07-22 19:43:32 +00:00
Amine Khaldi 9e1c2a00b9 [WINHTTP_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68558
2015-07-22 19:39:37 +00:00
Amine Khaldi d173b48397 [COMDLG32_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68556
2015-07-22 19:35:36 +00:00
Amine Khaldi 44aca5e627 [COMCTL32_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68554
2015-07-22 19:30:52 +00:00
Amine Khaldi c033464790 [XMLLITE_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68548
2015-07-22 00:49:37 +00:00
Amine Khaldi 88ef075b78 [WSHOM_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68546
2015-07-22 00:47:52 +00:00
Amine Khaldi 40ac828ca5 [WINDOWSCODECS_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68544
2015-07-22 00:45:50 +00:00
Amine Khaldi b8cba24681 [WBEMPROX_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68542
2015-07-22 00:43:56 +00:00
Amine Khaldi cd5337a343 [VERSION_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68539
2015-07-22 00:40:49 +00:00
Amine Khaldi 9aa1d41ab8 [VBSCRIPT_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68537
2015-07-22 00:40:02 +00:00
Amine Khaldi 0c3a554a96 [USP10_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68535
2015-07-22 00:38:30 +00:00
Amine Khaldi 558f064f89 [URLMON_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68534
2015-07-22 00:37:31 +00:00
Amine Khaldi 2b0ef47d12 [D3DRM_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68529
2015-07-21 23:33:35 +00:00
Amine Khaldi 1a0aa3e9fd [QUARTZ_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68527
2015-07-21 23:30:04 +00:00
Amine Khaldi 3c29e34f0a [DXDIAGN_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68523
2015-07-21 23:25:58 +00:00
Amine Khaldi cc62311c13 [DINPUT_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68520
2015-07-21 23:23:09 +00:00
Amine Khaldi 00eb27264a [AMSTREAM_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68516
2015-07-21 23:17:52 +00:00
Amine Khaldi 6eb801b9cb [TWAIN_32_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68504
2015-07-20 23:00:00 +00:00
Amine Khaldi b652ba2ef1 [SHLWAPI_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68502
2015-07-20 22:58:24 +00:00
Amine Khaldi 69c06cca57 [SCRRUN_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68499
2015-07-20 22:55:40 +00:00
Amine Khaldi b6bf232f18 [RICHED20_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68496
2015-07-20 22:53:56 +00:00
Amine Khaldi 2d643ebc15 [RASAPI32_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68494
2015-07-20 22:52:14 +00:00
Amine Khaldi 14b7a66b66 [QMGR_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68491
2015-07-20 22:48:46 +00:00
Amine Khaldi ba989e1c40 [OLEDLG_WINETEST] Import from Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68489
2015-07-20 22:46:22 +00:00
Amine Khaldi f2c0f1c18d [OLEAUT32_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68487
2015-07-20 22:44:40 +00:00
Amine Khaldi fc031fc414 [OLEACC_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68484
2015-07-20 21:52:30 +00:00
Amine Khaldi afe5b2c7bf [OLE32_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68470
2015-07-19 23:12:15 +00:00
Amine Khaldi 6108ea6bc9 [ODBCCP32_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68468
2015-07-19 23:09:55 +00:00
Amine Khaldi b2b1bf9eef [MSXML3_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68466
2015-07-19 23:07:29 +00:00
Amine Khaldi 8d9feb25c4 [MSTASK_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68464
2015-07-19 23:06:14 +00:00
Amine Khaldi e70d9ba6d5 [MSI_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68462
2015-07-19 23:04:56 +00:00
Amine Khaldi b687fe70e9 [MSCTF_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68457
2015-07-19 22:55:02 +00:00
Amine Khaldi 4c4170d093 [MSACM32_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68454
2015-07-19 22:44:00 +00:00
Amine Khaldi 3686da5663 [MPR_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68452
2015-07-19 22:42:18 +00:00
Amine Khaldi 4dd778b23e [MMDEVAPI_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68450
2015-07-19 22:41:06 +00:00
Amine Khaldi e7f5265814 [JSCRIPT_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68447
2015-07-19 22:36:43 +00:00
Thomas Faber f51b244380 [OLE32_WINETEST]
- Skip ole32:dragdrop test_DoDragDrop if running on Windows in non-interactive mode. This should allow WHS-Testbot to get a bit further
ROSTESTS-182
ONLINE-441 ROSTESTS-181

svn path=/trunk/; revision=68441
2015-07-19 17:16:38 +00:00
Amine Khaldi 6f97228c45 [GDIPLUS_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68438
2015-07-19 13:31:38 +00:00
Amine Khaldi 1ba24fbfc4 [FUSION_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68430
2015-07-19 13:17:08 +00:00
Amine Khaldi 23857afe80 [CRYPT32_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68427
2015-07-19 13:14:09 +00:00
Amine Khaldi b78f55ed3e [ATL100_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68424
2015-07-19 13:09:22 +00:00
Thomas Faber 082ca2d474 [NTDLL_APITEST]
- Add test for SystemKernelDebuggerInformation, showing that it accepts an unaligned info pointer

svn path=/trunk/; revision=68393
2015-07-12 17:52:42 +00:00
Thomas Faber 39d42581f4 [NTDLL_APITEST]
- Add some tests for NtQuerySystemInformation with invalid info class

svn path=/trunk/; revision=68391
2015-07-12 08:53:40 +00:00
Thomas Faber 8c5fdce1fa [SHELL32_WINETEST]
- Sync shfldr_special.c and shlview.c with Wine. Fixes some shell folder reference leaks.
CORE-9867

svn path=/trunk/; revision=68374
2015-07-07 13:44:32 +00:00
Thomas Faber 4b4eaae90e [PSDK]
- Add IFolderView2 definition from Wine

svn path=/trunk/; revision=68357
2015-07-06 18:38:15 +00:00
Thomas Faber 64379e8f3a [NTOS:MM]
- Show that PAGE_NOCACHE also works for image and data sections
- Show that *MapViewOfSection returns user space addresses
CORE-9808

svn path=/trunk/; revision=68352
2015-07-05 19:44:05 +00:00
Thomas Faber 7346aece52 [KMTESTS:MM]
- Add a test for \Device\PhysicalMemory sections, which shows that we have trouble with PAGE_NOCACHE.
CORE-9808

svn path=/trunk/; revision=68351
2015-07-05 19:17:50 +00:00
Pierre Schweitzer ed161d747f [NTFS_TEST]
No need for such test anylonger, we have NTFSInfo now which is better :-)

svn path=/trunk/; revision=68329
2015-07-01 11:17:22 +00:00
Thomas Faber 6faf4f830e [MSI_WINETEST]
- Skip msi:msi test if running on Windows in non-interactive mode. This should allow WHS-Testbot to get a bit further
ROSTESTS-180
ONLINE-441 ROSTESTS-179

svn path=/trunk/; revision=68319
2015-06-30 11:34:34 +00:00
Thomas Faber df14063ebc [KMTESTS:MM]
- Fix some massive NP pool leakage.

svn path=/trunk/; revision=68318
2015-06-30 10:54:41 +00:00
Thomas Faber eb33bb164d [KMTESTS:MM]
- Add a test for MmAllocatePagesForMdl

svn path=/trunk/; revision=68271
2015-06-26 07:31:01 +00:00
Thomas Faber 634ccedc1c [ROSAUTOTEST]
- Flush cout after each write as already done by Colin in r66855, per ROSTESTS-158
- Use DbgPrint instead of OutputDebugStringA again because the latter only calls the former anyway
Fixes test summary lines not being recognized by Testman, especially on VMware.

A little summary so we don't keep going back and forth with this function:
1) Only writing complete lines is required to that the output doesn't mix with debug output from other components. See r55618
2) OutputDebugStringA splits its input into 512-byte-sized blocks with no regard for line breaks, so using it with strings larger than 512 bytes breaks (1).
3) OutputDebugStringA eventually calls DbgPrint("%s", string) anyway so using it with chunks smaller than 512 bytes is not an optimization
As a result, yes this function MUST split up the lines itself, this can't be optimized or simplified away! kthxbye
ROSTESTS-178 #resolve

svn path=/trunk/; revision=68246
2015-06-23 10:06:38 +00:00
Thomas Faber 77ad885551 [ROSAUTOTEST]
- Revert r66855 to make the upcoming commit's diff show my actual changes.
ROSTESTS-178 ROSTESTS-158

svn path=/trunk/; revision=68245
2015-06-23 09:54:46 +00:00
Thomas Faber 0617f84eda [RTL][NDK][NTDLL_APITEST]
- Properly implement/declare/test RtlCopyMappedMemory... it's not that hard
CORE-9857

svn path=/trunk/; revision=68234
2015-06-21 19:15:01 +00:00
Thomas Faber e9138ce35a [NTDLL_APITEST]
- Add a test for SystemFlagsInformation that demonstrates the parameter checks performed by NtQuerySystemInformation/NtSetSystemInformation
CORE-9849

svn path=/trunk/; revision=68225
2015-06-21 08:50:10 +00:00
Thomas Faber 6bb0bec44f [SHELL32_APITEST]
- Add a test for CLSID_MyComputer that shows this folder object is also cached.
CORE-9839

svn path=/trunk/; revision=68209
2015-06-20 16:28:38 +00:00
Thomas Faber 9046d69084 [SHELL32_APITEST]
- Add a test showing that repeated calls to SHGetDesktopFolder return pointers to the same object, and that its CreateViewObject method instead creates new objects.
CORE-9839

svn path=/trunk/; revision=68200
2015-06-20 09:07:29 +00:00
Thomas Faber 52e13410cb [APITESTS]
- Make CUnknownBase constructor parameters optional

svn path=/trunk/; revision=68199
2015-06-20 08:51:07 +00:00
Thomas Faber 8c4e56def9 [USER32_APITEST]
- Arch, will you stop only testing your code with MSVC?!

svn path=/trunk/; revision=68189
2015-06-18 14:02:55 +00:00
Thomas Faber 484a5f8751 [USER32_APITEST]
- Fail if we get too many WM_HOTKEY messages
CORE-9728

svn path=/trunk/; revision=68188
2015-06-18 13:59:51 +00:00
Thomas Faber 171f891e93 [USER32_APITEST]
- Add a simple test for RegisterHotKey with regular vs modifier-only hotkeys
CORE-9728

svn path=/trunk/; revision=68186
2015-06-18 13:41:52 +00:00
Thomas Faber ab14879b70 [NTDLL_APITEST]
- Also test FileFsAttributeInformation in NtQueryVolumeInformationFile

svn path=/trunk/; revision=68166
2015-06-17 06:54:17 +00:00
Thomas Faber bfe3738fc9 [NTDLL_APITEST]
- Fix GCC build

svn path=/trunk/; revision=68161
2015-06-16 11:40:51 +00:00
Thomas Faber 7a983aa51b [NTDLL_APITEST]
- Test FileFsVolumeInformation in NtQueryVolumeInformationFile test
CORE-9820

svn path=/trunk/; revision=68160
2015-06-16 11:33:35 +00:00
Thomas Faber d555f45389 [WS2_32_APITEST]
- Add a test for send/sendto with a read-only buffer
CORE-9807

svn path=/trunk/; revision=68120
2015-06-13 12:29:07 +00:00
Amine Khaldi 66b9b5427f [OLE32_APITEST] Add test for IInitializeSpy. By Mark Jansen. See ROSTESTS-175 for more details.
svn path=/trunk/; revision=68069
2015-06-08 11:05:35 +00:00
Amine Khaldi 05cfb81d81 [USER32_WINETEST] Sync with Wine Staging 1.7.43.
svn path=/trunk/; revision=68067
2015-06-08 10:56:37 +00:00
Amine Khaldi bb6348e9a3 [SHLWAPI_WINETEST] Add tests for AssocGetPerceivedType. By Mark Jansen. CORE-9754
svn path=/trunk/; revision=68043
2015-06-06 14:27:39 +00:00
Amine Khaldi a33904e62f [NTDLL_WINETEST] Sync with Wine Staging 1.7.43.
svn path=/trunk/; revision=67945
2015-05-29 08:46:58 +00:00
Amine Khaldi 94346f3670 [NETAPI32_WINETEST] Sync with Wine Staging 1.7.43.
svn path=/trunk/; revision=67924
2015-05-26 17:17:50 +00:00
Amine Khaldi a03392cf34 [MSVCRT_WINETEST] Sync with Wine Staging 1.7.43.
svn path=/trunk/; revision=67923
2015-05-26 17:15:48 +00:00
Amine Khaldi cce4df4a3e [GDI32_WINETEST] Sync with Wine Staging 1.7.43.
svn path=/trunk/; revision=67916
2015-05-25 18:52:18 +00:00
Amine Khaldi a91416131e [ADVAPI32_WINETEST] Sync with Wine Staging 1.7.43.
svn path=/trunk/; revision=67915
2015-05-25 18:46:12 +00:00
Pierre Schweitzer 4f63d24fbf [KERNEL32_APITEST]
Add very long tests for tunnel cache.
So far, they are skipped because they are really long (they require more than 15s to complete).
Unfortunately, for unknown reason now, they are failing in ReactOS (whereas they shouldn't!).

An idea would be to see whether we can set an expiry of 1s for tunnel cache just for dbgtests and query the value from registry, so that it could help reduce test duration on ReactOS (but not on w2k3).

ROSTESTS-177

svn path=/trunk/; revision=67901
2015-05-25 11:38:02 +00:00
Pierre Schweitzer a26a39f194 [KERNEL32_APITEST]
Add more tests for tunnel cache

svn path=/trunk/; revision=67900
2015-05-25 11:14:12 +00:00
Pierre Schweitzer 11f128b53d [KERNEL32_APITEST]
Add simple tests regarding renaming and tunnel cache behavior for short names in user mode.
Longer tests should be added to show what happens in case of cache expiry.
All pass on w2k3 but not on ReactOS.

CORE-3875

svn path=/trunk/; revision=67897
2015-05-25 10:30:12 +00:00
Pierre Schweitzer d9c71ea288 [KMTEST]
Leak less memory.

svn path=/trunk/; revision=67888
2015-05-24 18:14:49 +00:00
Pierre Schweitzer 23a0889551 [KMTEST]
Enable FsRtlTunnel tests.
They all pass in ReactOS now.

CORE-7272

svn path=/trunk/; revision=67887
2015-05-24 17:42:52 +00:00
Pierre Schweitzer 0d763e60fb [KMTEST]
Don't attempt to allocate null-size buffer when copying empty string.

Note to next generations students: test your code and DON'T LEAK MEMORY!!!!
It still leaks atm, will have a look later on.
Note to Mr Bragin, beloved ReactOS Project Coordinator: did you actually reviewed your students work?

CORE-7272

svn path=/trunk/; revision=67885
2015-05-24 17:31:49 +00:00
Thomas Faber f7bf32d2ad [ADVAPI32_APITEST]
- Fix test failures on Win 2003: unlike on Win7, write rights don't imply read
CORE-9719

svn path=/trunk/; revision=67849
2015-05-22 16:06:58 +00:00
Thomas Faber 9600755aaa [ADVAPI32_APITEST]
- Add a test for calling RegQueryInfoKey with different access rights
CORE-9719

svn path=/trunk/; revision=67848
2015-05-22 15:47:02 +00:00
Timo Kreuzer 8613578cea [DINPUT_WINETEST]
Skip randomly failing tests. See ROSTESTS-176 and CORE-9710

svn path=/trunk/; revision=67806
2015-05-17 10:55:03 +00:00
Amine Khaldi 6248f264b5 [IMAGEHLP_WINETEST] Add tests for ImageLoad, ImageUnload and GetImageUnusedHeaderBytes. By Mark Jansen.
svn path=/trunk/; revision=67767
2015-05-16 11:18:30 +00:00
Amine Khaldi 8d0e6718ae [IMAGEHLP_WINETEST] Add to and fix MSVC build. By Mark Jansen.
svn path=/trunk/; revision=67765
2015-05-16 10:24:11 +00:00
Thomas Faber f1291bfaea [ADVAPI32_WINETEST]
- Replace test_reg_query_info with the upstream version as promised in r67424.
CORE-6976

svn path=/trunk/; revision=67712
2015-05-14 13:08:07 +00:00
Amine Khaldi eacecfd85e [WTSAPI32_WINETEST] Import from Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67661
2015-05-11 12:58:10 +00:00
Amine Khaldi a9b4645a46 [WINTRUST_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67658
2015-05-11 12:51:23 +00:00
Amine Khaldi f3b6069ebd [WINDOWSCODECS_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67656
2015-05-11 12:50:02 +00:00
Timo Kreuzer fe491d1d3b [RICHED20_WINETEST]
Hey Arch, stop breaking GCC build, while trying to fix MSVC build!

svn path=/trunk/; revision=67628
2015-05-10 17:59:10 +00:00
Timo Kreuzer f2b82513c2 [RICHED20_WINETEST]
Fix a few more set-but-unused warnings. ("Should be sent to wine-staging"(tm))

svn path=/trunk/; revision=67627
2015-05-10 17:54:02 +00:00
Timo Kreuzer 079df38c99 [KMTEST]
Hey Arch, if you turn warnings into errors, make sure to fix the warnings before!

svn path=/trunk/; revision=67626
2015-05-10 17:37:54 +00:00
Hermès Bélusca-Maïto e2d20087ab [ROSTESTS]: Move old testdata directory into the new one and add test files by Victor Martinez.
ROSTESTS-169 #resolve

svn path=/trunk/; revision=67625
2015-05-10 14:59:04 +00:00