Commit graph

438 commits

Author SHA1 Message Date
Amine Khaldi
50ae3dd409 [ITSS_WINETEST] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 12:57:42 +01:00
Amine Khaldi
d736703417 [INETCOMM_WINETEST] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 12:55:57 +01:00
Amine Khaldi
41d938c389 [IMM32_WINETEST] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 12:54:28 +01:00
Amine Khaldi
3e9224d013 [GDIPLUS_WINETEST] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 12:50:59 +01:00
Amine Khaldi
06fdb3e6ab [CRYPT32_WINETEST] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 12:48:33 +01:00
Amine Khaldi
156cac53d2 [CREDUI_WINETEST] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 12:47:02 +01:00
Amine Khaldi
e08ae510d5 [COMDLG32_WINETEST] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 12:45:40 +01:00
Amine Khaldi
814d42def7 [ATL100_WINETEST] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 00:27:20 +01:00
Amine Khaldi
d1060f20d6 [ADVPACK_WINETEST] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 00:26:09 +01:00
Amine Khaldi
ddfe5ce855 [DPLAYX_WINETEST] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 00:23:40 +01:00
Amine Khaldi
5c9588fa7d [DINPUT_WINETEST] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 00:21:34 +01:00
Amine Khaldi
21c5ece5da [XCOPY_WINETEST] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 00:17:02 +01:00
Amine Khaldi
f2df3bf079 [WSCRIPT_WINETEST] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 00:13:11 +01:00
Mark Jansen
7882b6cfe3
[SHELL32_APITEST] Speed up the CUserNotification test in the failure case. 2018-09-23 20:03:08 +02:00
Pierre Schweitzer
351ae6b2b4
[KMTESTS:CC] Add tests for CcCopyRead that reproduce CORE-15067
CORE-15067
2018-09-21 08:37:20 +02:00
Eric Kohl
47854962ac [ADVAPI32_WINETEST] Fix the STATUS issues 2018-09-18 00:24:36 +02:00
Eric Kohl
ffd1293f99 [ADVAPI32_WINETEST] Add tests for SystemFunction004 and SystemFunction005.
These tests show that the required output buffer size it returned in out.Length field when STATUS_BUFFER_TOO_SMALL is returned.

This patch will be sent upstream.
2018-09-17 23:12:16 +02:00
Pierre Schweitzer
d69a00e039
[KERNEL32_WINETEST] Enable ConditionVariable and SRW lock tests
If we cannot find the functions in kernel32, try to get them from
kernel32_vista. This will allow testing our own implementation, while
still failing in W2K3 (no implementation available).
2018-09-16 12:05:42 +02:00
Mark Jansen
b6e3cf3c03
[KERNEL32_APITEST] Test FLS locking & exception behavior. 2018-09-15 17:56:03 +02:00
Mark Jansen
f0f8f1c7d9
[KERNEL32_APITEST] Add test exposing FLS internals. 2018-09-15 17:55:57 +02:00
Baruch Rutman
1fc041c91a
[BIDITEXT] Add more demo code. (#842)
Add code that demonstrates the use of the lpOrder and lpCaretPos struct members of GCP_RESULTS w/ and  w/o GCP_REORDER flag.
Changed demo string literals to arrays containing character unicode values.
2018-09-09 18:03:48 +02:00
Pierre Schweitzer
c287bbe586
[KMTESTS:CC] Fix two failing tests on WHS bot 2018-09-08 15:21:01 +02:00
Serge Gautherie
7e95aebfda [KMTESTS:FLTMGR] Hide FltMgrLoad and FltMgrReg
And add "// TODO: WIP/untested/crashes."

ROSTESTS-299
2018-09-07 08:45:50 +01:00
Pierre Schweitzer
01c73317cc
[KMTESTS:CC] Add tests showing our CcMapData/CcPinRead raise invalid status 2018-09-02 11:50:23 +02:00
Pierre Schweitzer
9ab21d67ae
[KMTESTS:CC] Add tests for BCB extension 2018-09-01 21:52:39 +02:00
Pierre Schweitzer
04a192fa30
[KMTESTS:CC] Add more tests crossing CcPinRead and CcMapData 2018-09-01 21:27:24 +02:00
Hermès Bélusca-Maïto
9a11551a56
[GDI32_APITEST:GetTextFace] Replace tabs by spaces. 2018-09-01 17:18:03 +02:00
Doug Lyons
c74696c06d
[GDI32_APITEST] Add tests for GetTextFaceAliasW(), based on Katayama Hirofumi MZ's tests from CORE-14926.
CORE-14995
2018-09-01 17:17:08 +02:00
Pierre Schweitzer
b28f538d20
[KMTESTS:CC] Add tests for PIN_EXCLUSIVE 2018-09-01 15:22:41 +02:00
Pierre Schweitzer
38487d63d8
[KMTESTS:CC] Add a test for pinning without access 2018-09-01 12:41:02 +02:00
Pierre Schweitzer
a4dc3c4963
[KMTESTS:CC] Add tests for PIN_IF_BCB flag 2018-09-01 12:41:01 +02:00
Pierre Schweitzer
6937fa8f41
[KMTESTS:CC] Duplicate tests for CcPinRead
To be extended.
2018-09-01 12:41:01 +02:00
Pierre Schweitzer
b0d1522886
[KMTESTS:CC] Add missing FsRtlEnter/ExitFileSystem() calls
Spotted by Thomas
2018-09-01 12:41:01 +02:00
Pierre Schweitzer
8f284f8a0c
[KMTESTS:CC] That wasn't meant to be committed 2018-09-01 12:41:00 +02:00
Serge Gautherie
cbcfbc4322
[COMCTL32_WINETEST] treeview.c: Skip test_right_click()
until CORE-14975 is fixed upstream and WINESYNC.

CORE-14975
2018-09-01 09:22:45 +02:00
Pierre Schweitzer
5d04c691af
[KMTESTS:CC] Add a test to show we map our buffers wrong in CC
That is expected (cf. CORE-14259)
2018-08-31 23:29:59 +02:00
Pierre Schweitzer
1b9b4c48c9
[KMTESTS:CC] Remove dummy leftover 2018-08-31 23:08:25 +02:00
Pierre Schweitzer
262e5bfef1
[KMTESTS:CC] Extended previous test to show an overlap is enough 2018-08-31 23:07:46 +02:00
Pierre Schweitzer
ad0c93b001
[KMTESTS:CC] Add a test that shows that our CC implementation duplicates BCB
It should instead reuse BCBs when mapping something already mapped.
2018-08-31 23:01:06 +02:00
Serge Gautherie
3f65f3a51d [KMTESTS] Re-enable kmtest_.exe installation (#389)
ExPools and other tests don't break Windows Server 2003 anymore.

Revert r73535, so KmTests run on "Test WHS" bot.

CORE-12657
2018-08-31 08:46:48 +02:00
Mark Jansen
66e40be8eb
[NTDLL_APITEST] Various small fixes
- Add a missing file
- Add convenience targets for MSVC_IDE
- Remove whitespace at the end of the lines
2018-08-27 20:05:00 +02:00
Pierre Schweitzer
3f9f5f7080
[KMTESTS:FSRTL] Add tests for the FsRtlIsAnsiCharacter* macro
This covers: FsRtlIsAnsiCharacterWild, FsRtlIsAnsiCharacterLegalFat, FsRtlIsAnsiCharacterLegalHpfs,
FsRtlIsAnsiCharacterLegalNtfs, FsRtlIsAnsiCharacterLegalNtfsStream
2018-08-25 14:26:50 +02:00
Pierre Schweitzer
fcbcdf7073
[KMTESTS:FSRTL] Add tests for FsRtlLegalAnsiCharacterArray
These are failing in ReactOS due to the lack of the OLE flag support.
2018-08-25 14:26:49 +02:00
Serge Gautherie
ab243b82b4 [ADVAPI32_WINETEST] Restore service.c changes from 3c1b7834e1
This reverts commit a67df65c4f.
New failure was fixed by previous SERVICES commit.
Thus new timeout is avoided.

CORE-14521
2018-08-21 17:36:47 +02:00
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
Amine Khaldi
4f653a5538 [HLINK_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-05-27 04:12:13 +01:00
Amine Khaldi
ea2a3922c9 [GDIPLUS_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-05-27 04:11:35 +01:00
Amine Khaldi
234f89c07b [COMDLG32_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-05-27 04:07:12 +01:00
Amine Khaldi
41e2b83f96 [INCLUDE/WINE][USER32_APITEST] Add ARRAY_SIZE to test.h and remove it from RealGetWindowClass.c. CORE-14656 2018-05-27 04:05:33 +01:00
Amine Khaldi
202ccf50ba [QUARTZ_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-05-27 04:01:18 +01:00
Amine Khaldi
979d53be2a [DINPUT_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-05-27 03:58:11 +01:00