Commit graph

2665 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 633f34d7c4 Use wine_dbgstr_w as Jared did originally (I hate this macro because it displays strings in 'C'-language form instead of in natural way).
svn path=/trunk/; revision=73531
2017-01-13 00:33:46 +00:00
Hermès Bélusca-Maïto ee9c290085 /me slaps GCCLin.
svn path=/trunk/; revision=73530
2017-01-13 00:20:50 +00:00
Hermès Bélusca-Maïto 58c3357ad1 Make GCC happy.
svn path=/trunk/; revision=73528
2017-01-13 00:13:38 +00:00
Hermès Bélusca-Maïto c785b8f077 [SHLWAPI_APITEST]: New test for PathIsUNC function, by Jared Smudde. Thanks!
ROSTESTS-256 #resolve

svn path=/trunk/; revision=73527
2017-01-13 00:06:12 +00:00
Giannis Adamopoulos 6fc550ad47 [NTDLL] -Add preliminary tests for RtlDosApplyFileIsolationRedirection_Ustr.
svn path=/trunk/; revision=73526
2017-01-12 11:21:04 +00:00
Giannis Adamopoulos 6d0f733ac7 [KERNEL32_APITEST] - Use the full path to the manifest files when testing FindActCtxSectionStringW. This is needed because in most cases they are not in the current directory.
svn path=/trunk/; revision=73509
2017-01-06 22:06:53 +00:00
Giannis Adamopoulos 9624a5e18b [KERNEL32_APITEST] -Keep improving the skip checks.
svn path=/trunk/; revision=73508
2017-01-06 21:25:53 +00:00
Giannis Adamopoulos 7475839d64 [KERNEL32_APITEST] - Skip more stuff hoping to fix a crash that I can't reproduce locally.
svn path=/trunk/; revision=73507
2017-01-06 21:13:46 +00:00
Giannis Adamopoulos c2c4d46671 [KERNEL32_APITEST] -Add some more checks to avoid a crash (the ones I originally added were not enough).
svn path=/trunk/; revision=73506
2017-01-06 20:43:58 +00:00
Giannis Adamopoulos 2bebddf5ee [KERNEL32_APITEST] -Add tests for FindActCtxSectionStringW.
svn path=/trunk/; revision=73505
2017-01-06 18:48:15 +00:00
James Tabor 833738127d [User32_API]
- Patch by Katayama Hirofumi MZ : Add a test for Next Dialog Item for radio buttons.

svn path=/trunk/; revision=73468
2016-12-19 16:28:42 +00:00
Mark Jansen f1167250a0 [ATL][ATL_APITEST] Add GetEnvironmentVariable to CString. CORE-12581
svn path=/trunk/; revision=73465
2016-12-17 19:38:08 +00:00
Hermès Bélusca-Maïto a54d1167e4 [APITESTS]: Add a test for userenv.dll API Load/UnloadUserProfile.
CORE-12541

svn path=/trunk/; revision=73458
2016-12-15 18:44:47 +00:00
Mark Jansen 3180d93edf [APPSHIM_APITEST] Update display mode shim tests to show some difference in versions + add extra tests. CORE-11927
svn path=/trunk/; revision=73453
2016-12-14 19:19:57 +00:00
Thomas Faber 762bec692a [KMTESTS]
- Add a missing newline

svn path=/trunk/; revision=73445
2016-12-10 11:59:41 +00:00
Hermès Bélusca-Maïto c5e734fdd8 Fix for source code file header, sorry for commit noise.
svn path=/trunk/; revision=73432
2016-12-05 16:38:11 +00:00
Hermès Bélusca-Maïto aadba539ce [ADVAPI32_APITEST]: Test for a (correctly initialized) service process environment block, that should contain both ALLUSERSPROFILE and USERPROFILE environment variables.
CORE-12414

svn path=/trunk/; revision=73431
2016-12-05 16:36:06 +00:00
Hermès Bélusca-Maïto 8e18f1fbd9 [ADVAPI32_APITEST]: Add a small helper lib 'svchlp' for common routines for test-services embedded in api tests. Taken & heavily adapted from Jacek Caban's services_service test and Thomas Faber's ServiceArgs.c (the latter will be able to use 'svchlp' when it'll be ready).
CORE-12414

svn path=/trunk/; revision=73430
2016-12-05 16:22:30 +00:00
Hermès Bélusca-Maïto 23e508dc18 [ADVAPI32_APITEST]: Rename the 'LockDatabase' test to 'LockServiceDatabase' to better match the name of the API.
svn path=/trunk/; revision=73426
2016-12-04 18:41:46 +00:00
Mark Jansen f0d4850705 [APPSHIM_APITEST] Add tests for the DisableThemes shim. CORE-11927
svn path=/trunk/; revision=73422
2016-12-04 15:33:28 +00:00
Mark Jansen d39ff22033 [APPSHIM_APITEST] Add tests for display mode shims. CORE-11927
svn path=/trunk/; revision=73421
2016-12-03 21:24:47 +00:00
Hermès Bélusca-Maïto 0d21c76ef1 [ROSTESTS]: advapi32_apitest: Add a test to extensively test services command-line arguments. By Thomas Faber.
[ADVAPI32]: Correctly set up both the ANSI and UNICODE service command-line arguments. Adapted from a patch by Thomas Faber. Thanks!

[SERVICES]
- Correctly pack the service command-line arguments in the control packet structure. In particular, the offsets stored in the vector are relative to the beginning of the vector (and not relative to the previous offset ^^). Improve comments...
- Fix the definition of the SCM_CONTROL_PACKET control packet structure to make it Win2k3-compatible, so that we can use Win2k3' advapi32.dll or services.exe on ReactOS and vice-versa.

CORE-9235 CORE-9838

svn path=/trunk/; revision=73413
2016-12-02 20:01:29 +00:00
Mark Jansen 7b0c55ea0c This does not belong here.
svn path=/trunk/; revision=73410
2016-11-30 20:39:06 +00:00
Mark Jansen 0744770ebe [NETSHELL] Implement NcIsValidConnectionName + tests. Patch by Jared Smudde, modified by me. CORE-11320 #resolve
svn path=/trunk/; revision=73409
2016-11-30 20:31:50 +00:00
Giannis Adamopoulos aab0fd5e9d [SHELL32_APITEST] -Test if CFSFolder::GetUIObjectOf can return an IDataObject for 0 cidl.
svn path=/trunk/; revision=73404
2016-11-29 13:27:21 +00:00
Mark Jansen 26627a49b0 [APPHELP][APPHELP_APITEST] Stub ApphelpCheckShellObject + add tests, based on the work of Mislav Blažević. CORE-12476
svn path=/trunk/; revision=73398
2016-11-27 18:33:21 +00:00
Pierre Schweitzer 444775e662 [KMTESTS:MM]
Test FCB header fields: FileSize, ValidDataLength

CORE-11819
CORE-12475

svn path=/trunk/; revision=73395
2016-11-27 13:39:01 +00:00
Pierre Schweitzer a3dbf1b448 [KMTESTS:MM]
Playing with EOF shouldn't make you forget EOL!
Addendum to r73392

svn path=/trunk/; revision=73393
2016-11-27 10:56:40 +00:00
Pierre Schweitzer 695beeee78 [KMTESTS:MM]
Check the first byte is really null, in spite of the hack writing.

CORE-11819
CORE-12475

svn path=/trunk/; revision=73392
2016-11-27 10:49:33 +00:00
Colin Finck 65212f3682 [LOCALSPL]
Tests show that the Print Provider functions are less forgiving and expect winspool.drv and spoolss.dll to perform the necessary sanity checks.
Also they don't default to the current environment if none was supplied as pEnvironment. Change our functions accordingly to pass the tests.

[LOCALSPL_APITEST]
Add a test to prove that spoolss.dll isn't just a forwarder, but also performs some sanity checks even though winspool.drv and localspl.dll also do.
This rather belongs to spoolss_apitest. But it needs to be tested inside the Spooler Server Process and it's not worth it to copy all the DLL injection code to spoolss_apitest just for a single test.

[SPOOLSS]
Check for an invalid buffer in GetPrintProcessorDirectoryW.

[WINSPOOL]
* Check the level before the RPC call in GetPrintProcessorDirectoryW.
* Supply our current environment if the caller didn't give any in EnumPrintProcessorsW and GetPrintProcessorDirectoryW.
* Implement GetPrintProcessorDirectoryA.

[WINSPOOL_APITEST]
Prove that pcbNeeded isn't touched when calling GetPrintProcessorDirectoryW with an invalid level.


ReactOS now passes all API tests for GetPrintProcessorDirectoryA and GetPrintProcessorDirectoryW. These tests also cover all known behaviors of both functions.
CORE-12399

svn path=/trunk/; revision=73373
2016-11-24 19:24:27 +00:00
Amine Khaldi 07d9832b5f [WININET_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73361
2016-11-23 18:11:04 +00:00
Amine Khaldi 58a1e88856 [WINHTTP_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73358
2016-11-23 12:00:25 +00:00
Amine Khaldi f5a2b4ee5d [JSCRIPT_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73355
2016-11-23 10:09:03 +00:00
Amine Khaldi 81461b5470 [CRYPT32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73347
2016-11-22 17:09:34 +00:00
Amine Khaldi 6b17088fa1 [RPCRT4_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73344
2016-11-22 13:13:22 +00:00
Amine Khaldi 6c3bba2b11 [MSI_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73340
2016-11-22 12:26:43 +00:00
Amine Khaldi 08824abdc1 [COMDLG32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73338
2016-11-22 12:17:19 +00:00
Amine Khaldi 722d054541 [COMCTL32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73336
2016-11-22 12:11:38 +00:00
Pierre Schweitzer 9951d766cc [KMTESTS:MM]
This tests doesn't fail anylonger on ReactOS (not sure which rev fixed it)

ROSTESTS-108

svn path=/trunk/; revision=73328
2016-11-20 20:58:22 +00:00
Pierre Schweitzer 49691778cd [KMTESTS:MM]
Thanks to r73325, these tests don't deadlock anymore on ReactOS. Enable them again (aka, revert r73227).

ROSTESTS-248

svn path=/trunk/; revision=73326
2016-11-20 18:42:15 +00:00
Amine Khaldi bc95e1f73c [WSHOM_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73320
2016-11-17 23:56:32 +00:00
Amine Khaldi d65aa5dd2f [RSAENH_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73319
2016-11-17 23:54:08 +00:00
Amine Khaldi a02e2eb1aa [SCRRUN_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73318
2016-11-17 23:52:31 +00:00
Amine Khaldi 1f354adf5e [SETUPAPI_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73317
2016-11-17 23:49:54 +00:00
Amine Khaldi 12edc3f68c [IMM32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73316
2016-11-17 23:47:11 +00:00
Amine Khaldi a16217bd9d [REGEDIT_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73315
2016-11-17 23:39:22 +00:00
Amine Khaldi bcbf704a5d [GDI32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73314
2016-11-17 23:36:54 +00:00
Amine Khaldi 01e37dce52 [XMLLITE_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73312
2016-11-17 23:31:04 +00:00
Amine Khaldi b623cc77d2 [XINPUT1_3_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73310
2016-11-17 23:29:18 +00:00
Amine Khaldi a63f1b60f6 [WINTRUST_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73307
2016-11-17 23:26:31 +00:00