Commit graph

2925 commits

Author SHA1 Message Date
Peter Hater d70eb21b6b [WINETESTS] Avoid canceling the test when Samba is not installed and NTLM authentication is tested
svn path=/trunk/; revision=74927
2017-06-05 19:27:50 +00:00
Giannis Adamopoulos 3767fcf5cc Fix gcc build.
svn path=/trunk/; revision=74924
2017-06-05 14:40:48 +00:00
Giannis Adamopoulos 0cfb73fce3 [COMCTL32_APITEST] -Add tests for CCM_GETVERSION and CCM_SETVERSION for the v5 and v6 toolbar control.
svn path=/trunk/; revision=74923
2017-06-05 14:25:37 +00:00
Hermès Bélusca-Maïto 93cfc03633 [SETUPAPI]: Fix a 9-year old bug in the SETUP_CreateClassKey() logic, introduced in r31860, that set a wrong Class name value if the corresponding registry key already existed. The bug was unveiled by my commit r74761.
[SETUPAPI_APITEST]: When selecting another test_class_guid and test_class_name couple via SetupDiClassNameFromGuidA(), check whether this function actually succeeds. Also, improve some error output.

svn path=/trunk/; revision=74916
2017-06-04 18:16:24 +00:00
Amine Khaldi 8fa7e9eda7 [ADVAPI32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74911
2017-06-04 14:57:35 +00:00
Amine Khaldi 29d9f9eb31 [USER32_WINETEST] Sync with Wine Staging 2.9 except win.c. CORE-13362
svn path=/trunk/; revision=74909
2017-06-04 14:34:15 +00:00
Amine Khaldi e7bfd19443 [KERNEL32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74908
2017-06-04 14:29:15 +00:00
Amine Khaldi 09cb26ed2e [RPCRT4_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74905
2017-06-04 14:02:01 +00:00
Amine Khaldi afc72d800f [COMCTL32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74903
2017-06-04 12:53:30 +00:00
Amine Khaldi 92e558732b [UXTHEME_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74890
2017-06-04 01:52:19 +00:00
Amine Khaldi 3145e7c7c1 [SHELL32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74889
2017-06-04 01:52:12 +00:00
Amine Khaldi fca7431a53 [SETUPAPI_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74886
2017-06-04 01:51:43 +00:00
Amine Khaldi 6c88bfb14d [SERVICES_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74885
2017-06-04 01:51:25 +00:00
Amine Khaldi f0f266a71d [SECUR32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74884
2017-06-04 01:51:16 +00:00
Amine Khaldi 4a981826c1 [MSVCRT_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74882
2017-06-04 01:50:58 +00:00
Amine Khaldi 05343d6328 [GDI32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74881
2017-06-04 01:50:46 +00:00
Amine Khaldi ed4906ee50 [REG_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74880
2017-06-04 01:50:37 +00:00
Amine Khaldi 7bd43aa322 [WSCRIPT_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74879
2017-06-04 01:50:30 +00:00
Amine Khaldi 8f32e01d63 [WS2_32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74878
2017-06-04 01:50:24 +00:00
Amine Khaldi 3e7b57d242 [WINSPOOL_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74875
2017-06-04 01:50:00 +00:00
Amine Khaldi 8e8a5efa43 [WINMM_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74874
2017-06-04 01:49:55 +00:00
Amine Khaldi 4c2c978917 [XMLLITE_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74873
2017-06-04 01:49:50 +00:00
Amine Khaldi 2464924026 [WININET_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74868
2017-06-04 01:49:09 +00:00
Amine Khaldi 25cdf28c16 [WINHTTP_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74865
2017-06-04 01:48:43 +00:00
Amine Khaldi 036e6ad687 [WINDOWSCODECS_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74863
2017-06-04 01:48:23 +00:00
Amine Khaldi 4e1fa50310 [WBEMDISP_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74858
2017-06-04 01:47:40 +00:00
Amine Khaldi d8eaddca44 [VERSION_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74856
2017-06-04 01:47:23 +00:00
Amine Khaldi 126ab550af [VBSCRIPT_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74854
2017-06-04 01:47:13 +00:00
Amine Khaldi 0a4d3b5257 [USP10_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74852
2017-06-04 01:47:02 +00:00
Amine Khaldi 83eaf4cbac [URLMON_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74850
2017-06-04 01:46:38 +00:00
Amine Khaldi f41d8818ce [SHLWAPI_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74848
2017-06-03 22:40:14 +00:00
Amine Khaldi e80a0f88e0 [SCRRUN_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74846
2017-06-03 22:39:28 +00:00
Amine Khaldi 1866b31f5e [RSAENH_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74844
2017-06-03 22:38:34 +00:00
Amine Khaldi 3a2d3f54c7 [RICHED20_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74842
2017-06-03 22:37:05 +00:00
Amine Khaldi 35e1e225d6 [REGEDIT_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74840
2017-06-03 22:36:19 +00:00
Amine Khaldi 4d8caff209 [QUARTZ_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74839
2017-06-03 22:36:05 +00:00
Amine Khaldi 8454158975 [PSAPI_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74838
2017-06-03 22:35:45 +00:00
Amine Khaldi 16a6deef46 [PROPSYS_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74837
2017-06-03 22:35:33 +00:00
Amine Khaldi 28c0ee0f60 [OPENGL32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74834
2017-06-03 22:34:42 +00:00
Amine Khaldi 2f788a0264 [OLEAUT32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74832
2017-06-03 22:34:23 +00:00
Amine Khaldi 82997f0e3b [OLE32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74830
2017-06-03 22:33:48 +00:00
Amine Khaldi 3152f3df52 [ODBCCP32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74828
2017-06-03 22:33:08 +00:00
Amine Khaldi df088c988e [NTPRINT_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74825
2017-06-03 22:32:11 +00:00
Amine Khaldi 8890301a84 [NETAPI32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74824
2017-06-03 22:31:54 +00:00
Amine Khaldi fd26e762c0 [MSXML3_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74823
2017-06-03 22:31:39 +00:00
Amine Khaldi a99ab25ade [MSVFW32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74821
2017-06-03 22:30:54 +00:00
Amine Khaldi 7a5517640f [MSTASK_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74820
2017-06-03 22:30:32 +00:00
Amine Khaldi 4988f293f8 [MSI_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74819
2017-06-03 22:30:19 +00:00
Amine Khaldi 04488bf33d [MSCTF_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74817
2017-06-03 22:29:38 +00:00
Amine Khaldi e798892743 [MPR_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74815
2017-06-03 22:29:16 +00:00
Amine Khaldi 9f53283069 [MLANG_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74814
2017-06-03 22:29:06 +00:00
Amine Khaldi dac59d58ed [JSCRIPT_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74812
2017-06-03 22:28:34 +00:00
Amine Khaldi 7a8fa2cc0e [IMM32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74810
2017-06-03 22:28:03 +00:00
Amine Khaldi 60751dbf95 [INETCOMM_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74809
2017-06-03 22:27:55 +00:00
Amine Khaldi 20b08209f8 [GDIPLUS_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74796
2017-06-03 19:01:59 +00:00
Amine Khaldi 4f1f6bb03e [CRYPT32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74790
2017-06-03 18:37:38 +00:00
Amine Khaldi fb184b034d [CABINET_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74788
2017-06-03 18:37:22 +00:00
Amine Khaldi 59ae921bd1 [AMSTREAM_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74786
2017-06-03 18:37:13 +00:00
Amine Khaldi 02b8adbe36 [ADVPACK_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74784
2017-06-03 18:37:03 +00:00
Amine Khaldi 61e603ee5a [DPLAYX_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74779
2017-06-03 18:06:05 +00:00
Amine Khaldi e1aaa10312 [DEVENUM_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74775
2017-06-03 17:29:09 +00:00
Pierre Schweitzer 63eb4b623a [KMTESTS:MM]
Test various sizes with MmMapLockedPagesSpecifyCache() to show that behavior is strictly identical.
This was designed/tested under W2K3.

CORE-8204

svn path=/trunk/; revision=74759
2017-06-03 10:29:39 +00:00
Thomas Faber 440e3c69e4 [KERNEL32_APITEST]
- Add tests for IsDBCSLeadByteEx. Patch by Katayama Hirofumi MZ.
ROSTESTS-281 #resolve

svn path=/trunk/; revision=74758
2017-06-03 07:05:31 +00:00
Pierre Schweitzer 8679f001d9 [KMTESTS:MM]
Add tests for MmMapLockedPagesSpecifyCache() functions, and more specifically for usermode mapping.
This was designed/tested under W2K3.

CORE-8204

svn path=/trunk/; revision=74751
2017-06-02 19:19:32 +00:00
Mark Jansen 9a54d4a3a0 [KERNEL32_APITEST] Add test to show that we should not spoil TEB->StaticUnicodeString in CreateProcessA. CORE-10368
svn path=/trunk/; revision=74701
2017-05-30 20:55:15 +00:00
Mark Jansen 440290e1cb [USER32_APITEST] Add more tests to validate messages sent during window creation / modifying of styles. CORE-12052
svn path=/trunk/; revision=74691
2017-05-28 17:40:48 +00:00
Mark Jansen 9386daa570 [USER32_APITEST] Add tests to validate messages sent during window creation / modifying of styles. CORE-12052
svn path=/trunk/; revision=74689
2017-05-28 13:55:05 +00:00
Peter Hater 1c9d856e91 [WS2_32_APITESTS] Add close tests ROSTESTS-279
svn path=/trunk/; revision=74672
2017-05-26 14:02:25 +00:00
Peter Hater a6a53b4231 [WS2_32_APITESTS] Fix broadcast test ROSTESTS-278
svn path=/trunk/; revision=74671
2017-05-26 14:00:47 +00:00
Peter Hater a09e47fe40 [WS2_32_APITESTS] Fix broadcast test ROSTESTS-278
svn path=/trunk/; revision=74667
2017-05-26 10:31:50 +00:00
Peter Hater 92ccd9c174 [WS2_32_APITESTS] Add rebind and bind to broadcast tests ROSTESTS-278
svn path=/trunk/; revision=74666
2017-05-26 09:02:08 +00:00
Peter Hater b2ba90c6b5 [WS2_32_APITESTS] Fix GCC build ROSTESTS-278
svn path=/trunk/; revision=74664
2017-05-26 07:11:13 +00:00
Peter Hater 4214877a10 [WS2_32_APITESTS] Improve bind test output ROSTESTS-278
svn path=/trunk/; revision=74663
2017-05-26 07:08:06 +00:00
Peter Hater 27fe85a2cb [WS2_32_APITESTS] Set the size of addr when calling getsockname ROSTESTS-278
svn path=/trunk/; revision=74655
2017-05-25 15:57:38 +00:00
Peter Hater a569e0aa3a [WS2_32_APITESTS] Remove compile warning disable for GCC. Thanks Thomas. ROSTESTS-278
svn path=/trunk/; revision=74653
2017-05-25 15:12:40 +00:00
Peter Hater 44ac5bf123 [WS2_32_APITESTS] Add some bind API tests
svn path=/trunk/; revision=74651
2017-05-25 14:43:57 +00:00
Mark Jansen f64b823282 [GDI32_APITEST] Improve GetFontResourceInfoW tests. Patch by Katayama Hirofumi MZ. ROSTESTS-269 #resolve #comment Thanks!
svn path=/trunk/; revision=74602
2017-05-19 20:26:49 +00:00
Thomas Faber 10e08033ca [NTDLL_APITEST]
- Add a test for RTL handle tables
CORE-13271

svn path=/trunk/; revision=74598
2017-05-19 18:05:12 +00:00
Colin Finck a366e71f50 [PRINTING]
SetDefaultPrinterW needs to fail with ERROR_INVALID_PRINTER_NAME if the input parameter is invalid. Also add a test for that.

svn path=/trunk/; revision=74518
2017-05-10 13:03:08 +00:00
Giannis Adamopoulos 643b7c9da9 [SHELL32_APITEST] -Add tests for Control_RunDLLW.
svn path=/trunk/; revision=74517
2017-05-10 10:06:02 +00:00
Colin Finck 5b6e082869 [PRINTING]
- Implement GetDefaultPrinterA/W and SetDefaultPrinterA/W in winspool.drv. Also add tests for these functions.
- Set our "Dummy Printer on LPT1" as the default printer in the user registry.
- Return meaningful values for DeviceNotSelectedTimeout and TransmissionRetryTimeout in PRINTER_INFO_5 in localspl.

The Print dialog now preselects "Dummy Printer on LPT1" in all applications.
One more task done from the list at https://reactos.org/wiki/Printing :)

svn path=/trunk/; revision=74513
2017-05-09 15:44:42 +00:00
Thomas Faber a465b60e7f [SHELL32]
- Fix AddCommasW

svn path=/trunk/; revision=74510
2017-05-09 07:45:30 +00:00
Thomas Faber 8550143bab [KMTESTS:RTL]
- Add a test for RtlWalkFrameChain and RtlCaptureStackBackTrace

svn path=/trunk/; revision=74489
2017-05-06 15:29:56 +00:00
Thomas Faber 5d5f53ae61 [KERNEL32_APITEST]
- Fix a broken test name. APITests can not have names already used by Wine tests!  ... they should be named after APIs, anyway...

svn path=/trunk/; revision=74478
2017-05-04 16:45:42 +00:00
Hermès Bélusca-Maïto 3849c29490 [KERNEL32_APITEST]: Internationalization console tests by Katayama Hirofumi MZ.
Passes on Win2k3 (either are skipped because either Russian or Japanese locales or codepages are absent, or are passed OK), but not on ReactOS yet. They are committed as reference for future work.
CORE-12451

svn path=/trunk/; revision=74475
2017-05-04 15:39:50 +00:00
Giannis Adamopoulos 21c885f66d [BROWSEUI_APITEST] -Add tests for SHExplorerParseCmdLine for CORE-12882.
svn path=/trunk/; revision=74474
2017-05-04 15:15:45 +00:00
Giannis Adamopoulos afa3aa776e [SHELL32_APITEST] -Add some tests for SHParseDisplayName for CORE-12882.
svn path=/trunk/; revision=74473
2017-05-04 15:05:10 +00:00
Thomas Faber b89db46b1f [KMTESTS:MM]
Add some more tests for physical memory sections:
- Show that any alignment for SectionOffset/ViewSize is allowed. It will get automatically fixed up to page alignment
- Show that kernel mode can map views beyond the highest physical page, but user mode cannot
CORE-13113

svn path=/trunk/; revision=74446
2017-05-02 09:02:10 +00:00
Pierre Schweitzer f10b1d9976 [KERNEL32_APITEST]
- Refactor a bit tests, to split more logically tests
- Fix a bug in tests
- Add new tests for MountMgr showing our storage stack doesn't behave as expected

svn path=/trunk/; revision=74432
2017-04-30 11:43:04 +00:00
Thomas Faber 6e74416198 [KMTESTS:MM]
- Show that NtMapViewOfSection validates section and process handles before checking base address alignment
CORE-13113

svn path=/trunk/; revision=74390
2017-04-23 08:10:46 +00:00
Thomas Faber a8b7dd40e2 [KMTESTS:MM]
- Enable MEM_RESERVED test in SimpleErrorChecks() since it no longer asserts. Patch by Serge Gautherie.
ROSTESTS-109 #resolve

svn path=/trunk/; revision=74386
2017-04-21 08:08:57 +00:00
Thomas Faber a909a0807a [KERNEL32_WINETEST]
- Improve the test_GetVolumePathNamesForVolumeNameW hack to avoid a stack buffer underrun.
CORE-11474

svn path=/trunk/; revision=74377
2017-04-19 14:08:51 +00:00
Thomas Faber 424bbf064b [KMTESTS:OB]
- After ObCreateObject+ObInsertObject a handle close is enough to destroy the object, so do not dereference it in addition. Fixes use after free.
CORE-11474

svn path=/trunk/; revision=74375
2017-04-19 12:21:57 +00:00
Thomas Faber eff26a3a92 [KMTESTS:NPFS]
- Remove tests that cause pool buffer overflows. NtQueryVolumeInformationFile does not validate buffer length for kernel mode callers, so passing an invalid length is not a good test.
CORE-11474

svn path=/trunk/; revision=74374
2017-04-19 11:46:34 +00:00
Thomas Faber 97a27e2c87 [KMTESTS:MM]
- Add some missing newlines and skip()s

svn path=/trunk/; revision=74361
2017-04-17 20:37:26 +00:00
Colin Finck daf94f98b0 [WINSPOOL]
Added tests for some more basic and newly discovered corner cases of EnumPrintersW.

svn path=/trunk/; revision=74350
2017-04-17 13:40:51 +00:00
Colin Finck 12e208e27a Fix GCC build, part 4/X (losing my optimism)
svn path=/trunk/; revision=74328
2017-04-16 15:51:44 +00:00
Colin Finck cb609f0b17 [LOCALSPL]
- Refactor LocalEnumPrinters to make it ready for supporting additional levels.
- Correctly handle all passed flags for Level 1 queries to the Local Print Provider.
- Introduce strsafe functions to LocalEnumPrinters in a way that actually makes the code smaller. To be done in other parts too.
- Use PackStrings in LocalEnumPrinters to simplify the code.
- Return the correct 3 strings in the Description field of Level 1 queries. That also introduces the "Location" field.
- Remove debug spam in _OpenEnvironment.

[SPOOLSV]
- Make use of the newly implemented AlignRpcPtr/UndoAlignRpcPtr. Fixes a test.

[WINSPOOL]
- Dismiss invalid levels already in EnumPrintersW and zero the input buffer here (but not in localspl). Verified by a test.

EnumPrintersW for Level 1 should be fully supported now.

svn path=/trunk/; revision=74324
2017-04-16 14:12:01 +00:00
Colin Finck c860e2b80d [SPOOLSS]
Add ASSERTs, improve documentation and the variety of tests for AlignRpcPtr/UndoAlignRpcPtr.
Based on comments by Serge Gautherie.

svn path=/trunk/; revision=74323
2017-04-16 10:36:16 +00:00
Mark Jansen 246f24bd7f [WIN32SS] Cleanup fonts at process destruction + implement font memory reference counting.
Thanks to everyone involved in reviewing this code! (See CR-112)
CORE-13056

svn path=/trunk/; revision=74309
2017-04-14 18:22:57 +00:00