Commit graph

344 commits

Author SHA1 Message Date
Katayama Hirofumi MZ b8ea1b3416 [GDI32][APITESTS] Add GetGlyphOutline testcase (#776)
CORE-14928
2018-08-20 16:31:32 +02:00
Serge Gautherie 155bd681a0 [GDI32_APITEST] Remove broken EngDeleteSemaphore.c (#655)
- Checks are actually uses-after-free, "by design" :-<
- Actual test code duplicates EngCreateSemaphore.c, EngAcquireSemaphore.c and EngReleaseSemaphore.c.
2018-08-19 22:33:56 +02:00
Stanislav Motylkov b851d7e1d3 [KERNEL32_APITEST] Add SystemFirmwareTableInformation tests
Thanks goes to Mark Jansen for help!
2018-08-19 20:27:59 +02:00
Mark Jansen 4b8f6d5eab [ATL_APITEST] Add test for CComQIPtr (or rather, our gcc hack that slightly looks like it) 2018-08-19 17:35:18 +02:00
Hermès Bélusca-Maïto c035f4648b
[ROSTESTS] Add a test for the MB_SERVICE_NOTIFICATION flag of the MessageBox*() APIs. 2018-08-17 21:50:08 +02:00
Hermès Bélusca-Maïto f8f08f3e9b
[ROSTESTS] Rename the "softmodalmsgbox" test to "messagebox". 2018-08-17 21:50:07 +02:00
Hermès Bélusca-Maïto 5fedabbf0a
[ROSTESTS] Add an interactive test for the user32.dll API SoftModalMessageBox(). 2018-08-17 17:12:23 +02:00
Serge Gautherie 669d6b445b [SHELL32_WINETEST] Fix 2 MSVC warnings about flags
- "...\ebrowser.c(1188) : warning C4133: 'function' : incompatible types - from 'DWORD *' to 'EXPLORER_BROWSER_OPTIONS *'"
- "...\ebrowser.c(1198) : warning C4133: 'function' : incompatible types - from 'DWORD *' to 'EXPLORER_BROWSER_OPTIONS *'"

Cherry-pick 535f2f9e66
CORE-7538
2018-08-17 16:21:30 +02:00
Mike Swanson 3c7e9bb332 Remove unnecessary executable bits 2018-08-15 18:29:09 +02:00
Mark Jansen 13a3cf03d7
[APPHELP_APITEST] Fix rc dependency.
As pointed out by Thomas.
2018-08-13 13:24:12 +02:00
Mark Jansen 9b6fb9f2f8
[RTL][KERNEL32] Add a comment indicating we need SEH in RtlImageNtHeaderEx
CORE-14532
CORE-14857
2018-08-13 13:24:12 +02:00
Mark Jansen 86fe412d5c
[NTDLL_APITEST] Show behavior with exceptions in DllMain.
CORE-14532
2018-08-13 13:24:12 +02:00
Pierre Schweitzer c79e5dc476
[KMTESTS:MM] Properly clean up files
This fixes driver unloading on Windows.

ROSTESTS-266
2018-08-12 10:05:25 +02:00
Katayama Hirofumi MZ db13b422b3 [SHELL32] Fix a careless mistake of ShellExecCmdLine (#737)
CORE-14886
2018-08-10 13:25:50 +02:00
Serge Gautherie 7d6bda16c6
[REACTOS] Improve how some ASSERTMSG() message values are printed: enforce ending "\n".
NB: Not touching calls in "third-party" code: class and classpnp.
2018-08-08 22:03:45 +02:00
Katayama Hirofumi MZ bfcbda227f [SHELL32] Fix handling of multiple parameters in the 'Run' dialog (#665)
The "Run" dialog failed when multiple parameters wee specified.
We use instead a newly-created ShellExecCmdLine() helper function to fix the problem (as found via API-tracing on Windows).
Note that ShellExecCmdLine() starts to be exported with Vista+.

- Implement ShellExecCmdLine() function in shell32.
- Add URL support.
- Fix RunDlgProc function in shell32.
- Add a testcase for ShellExecCmdLine() function.

CORE-14790
2018-08-05 13:39:17 +02:00
Timo Kreuzer 7cf7b27a3a [ROSTESTS] Fix 64 bit issues 2018-08-04 14:39:13 +02:00
Timo Kreuzer a265dc9ce1 [KMTESTS] Fix 64 bit issues 2018-08-04 14:39:13 +02:00
Stanislav Motylkov 8acc68dd98
[KERNEL32_APITEST] Add SystemFirmware tests
CORE-12105
2018-08-02 21:15:28 +02:00
Mark Jansen e6ea0bcbbf
[KMTESTS] Add compile time asserts for IO_STACK_LOCATION offsets
CORE-14782
2018-07-25 20:22:36 +02:00
Hermès Bélusca-Maïto e90316aeaa
[USER32_APITEST] Add few other tests (validation of the desktop path string); improve the output of some messages, displaying the expected values in case of test failure.
See also PR #621.
2018-07-22 19:03:17 +02:00
Hermès Bélusca-Maïto 67adf7ab78
[ROSTESTS] Add an interactive test for window stations. See also PR #621. 2018-07-22 19:03:17 +02:00
Katayama Hirofumi MZ 6f82659da6 [SHLWAPI][APITESTS] Add test for PathUnExpandEnvStringsForUser (#602)
ROSTESTS-308
2018-06-22 16:44:58 +02:00
Serge Gautherie 15c29d0798 [NETAPI32_APITEST] Fix a NULL dereference of pInfo
With DPH enabled,
{{
Unhandled exception
ExceptionCode:    c0000005
Faulting Address:        0
...
modules/rostests/apitests/netapi32/DsRoleGetPrimaryDomainInformation.c:23 (func_DsRoleGetPrimaryDomainInformation)
...
}}
2018-06-17 12:16:08 +02:00
Katayama Hirofumi MZ 12713b7709
[APITESTS] Add ShellStateTest 2018-06-14 20:07:52 +02:00
Katayama Hirofumi MZ d5f5161804
[SHELL32][APITESTS] Add tests of OpenAs_RunDLL 2018-06-14 19:59:11 +02:00
Yaroslav Veremenko 04ff92bbdd [MODULES] Update README file, with instructions about how to include rostests and rosapps (#613) 2018-06-12 23:38:05 +02:00
Serge Gautherie b012d48d00 [MSI_WINETEST] Fix MSVC_IDE build. (#564)
"reactos-cov\modules\rostests\winetests\msi\msi_winetest.rc(2): error RC2135: file not found: custom.dll [C:\ros_build\modules\rostests\winetests\msi\msi_winetest.vcxproj]".

Output files are written to Debug\ and Release\ subfolders in VSSolution mode, so the RC compiler will only find custom.dll if it knows to look in the right folder.

Thanks to Thomas Faber, who helped.

CORE-11836
2018-06-07 18:27:56 +02:00
Serge Gautherie cac1bc12ae [USER32_APITEST] RedrawWindow: Add a DestroyWindow() call (#423)
Addendum to 7905efdf35.

CORE-13734
2018-06-05 21:23:21 +02:00
Thomas Faber 1a1206c5f8
[OLE32_WINETEST] Fix MSVC build. 2018-06-05 14:40:32 +02:00
Amine Khaldi 1074ede011 [XMLLITE_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:59:33 +01:00
Amine Khaldi c33584a490 [WININET_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:57:53 +01:00
Amine Khaldi ed06e8a117 [WINHTTP_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:57:07 +01:00
Amine Khaldi da5f3d5a8c [WINDOWSCODECS_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:56:11 +01:00
Amine Khaldi c78e873652 [VBSCRIPT_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:53:02 +01:00
Amine Khaldi af009ed327 [USP10_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:51:59 +01:00
Amine Khaldi e23b04e946 [URLMON_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:50:58 +01:00
Amine Khaldi dfaac82a1c [RPCRT4_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:49:34 +01:00
Amine Khaldi 9e90c368ef [RICHED20_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:48:31 +01:00
Amine Khaldi a6cdf4ff08 [OLE32_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:46:11 +01:00
Amine Khaldi 9ce306e4cc [ODBCCP32_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:44:42 +01:00
Amine Khaldi 9b29365701 [MSCTF_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:41:36 +01:00
Amine Khaldi 6b881f6502 [JSCRIPT_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:39:17 +01:00
Amine Khaldi 454e360303 [ITSS_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:37:50 +01:00
Thomas Faber ffa94ca0f0 [NTDLL_APITEST] Add tests for mapping and relocating an image with IMAGE_SCN_CNT_UNINITIALIZED_DATA
CORE-12582
CORE-14556
2018-06-03 20:40:51 +02:00
Eric Kohl ac45758aff [NTDLL_APITEST] Add missing test file for 0f8e7207.
CORE-14658
2018-05-31 17:12:52 +02:00
Eric Kohl 0f8e720711 [NTDLL_APITEST][LIB_RTL] Add a test for RtlQueryTimeZoneInformation and fix the bug in RtlpQueryRegistryDirect
In working on some problems with Time Zone adjustments in  ReactOS I found that the RtlQueryTimeZoneInformation function is partially broken and wrote an apitest to capture the failures.

Patch by Doug Lyons.

CORE-14658
2018-05-31 16:47:42 +02:00
Baruch Rutman a4a59ad413 [GDI32][LPK] BiDi support for ExtTextOut and GetCharacterPlacement (#534)
Introduce BiDi (bi-directional text) support for ExtTextOut and GetCharacterPlacement, using Wine's GDI BIDI_Reorder function.
Solves the main issue with CORE-7003.

To be compatible with Win2k3+, introduce the "Language Pack" (LPK) dll.
- All the bidi code is removed from gdi32 and replaced by calls to LPK.
  Gdi32 uses dynamic linking to lpk.dll. In case of linking failure no bidi processing will be available.
- Implemented LpkGetCharacterPlacement.
- Implement LpkExtTextOut.
- Add a demo test program to show how the apis should function.
- Added all the remaining code, added special case for lpDx calculation if also GCP_GLYPHSHAPE flag was called.
  Applications that call GCP that use GCP_GLYPHSHAPE flags should also use the GCP_REORDER flag.
  (As written in https://msdn.microsoft.com/en-us/library/windows/desktop/dd144860(v=vs.85).aspx )
- Add ETO_RTLREADING flag handling.
  Imported the ETO_RTLREADING flag handling from wine, which changes the string part order (runs).
  A RRR1LLLRRR2 string without will show as RRR1LLLRRR2 without it, with it RRR2LLLRRR1.
2018-05-30 14:41:22 +02:00
Pierre Schweitzer d65c0d5ada
[WINETESTS] Fix build
CORE-14656
2018-05-27 09:51:38 +02:00
Amine Khaldi 02c546ced9 [HNETCFG_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-05-27 04:13:26 +01:00