Commit graph

357 commits

Author SHA1 Message Date
Stanislav Motylkov
8acc68dd98
[KERNEL32_APITEST] Add SystemFirmware tests
CORE-12105
2018-08-02 21:15:28 +02:00
Serge Gautherie
8f440355da [ROSDDT] do_update_base(): Fix assignment to f (#702)
Thanks to "devpao" for reporting this.

ROSAPPS-343
2018-07-27 21:54:12 +02:00
Serge Gautherie
d69d401325 [MAN] AnalyzeArgv(): Fix 2 overruns related to element (#703)
- Also use _countof().
- Also add braces.
- Also enforce consistent "no spaces" style.

Thanks to "devpao" for pointing to this function.

ROSAPPS-344
2018-07-27 21:53:50 +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
Timo Kreuzer
9cab5b549d [ROSAPPS] Fix 64 bit issues 2018-07-08 10:59:16 +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
SebastianoPistore
45b08ed38d [SCREENSAVER] Add Italian translation. (#587)
By Sebastiano Pistore.
2018-06-03 16:43:50 +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
Amine Khaldi
6e5b60fcf4 [DEVENUM_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-05-27 03:56:54 +01:00
Amine Khaldi
fcf9cc1ab7 [REG_WINETEST] Sync with Wine Staging 3.9. CORE-14656 2018-05-27 03:49:14 +01:00
Serge Gautherie
0c683c264c [KMTEST] Check/Wait for start/stop of services to complete
This is cleaner behavior and lets report failures.

- Create KmtEnsureServiceState(),
  called at end of KmtStartService() and KmtStopService().
- Create KmtGetServiceStateAsString(),
  called from KmtEnsureServiceState().

ROSTESTS-263
2018-05-17 16:17:36 +01:00
Serge Gautherie
f6a4ec8041 [APPSHIM_APITEST] Fix a Clang-Cl warning about n
- "warning: comparison of unsigned expression >= 0 is always true [-Wtautological-unsigned-zero-compare]"

CORE-14306
2018-05-08 21:36:26 +02:00
Thomas Faber
93edd2a185
[IPHLPAPI_APITEST] Avoid crash on ROS and failure on Windows. CORE-14411
- Make the reply buffer for IcmpSendEcho large enough to hold the reply,
  even when testing a smaller size. This avoids a buffer overflow with ROS's
  broken implementation.
- Avoid unnecessary initialization.
- Fix IcmpSendEcho return value check to succeed on Win2003.
- Don't free a string literal in the GetInterfaceName test.
2018-05-06 08:36:19 +02:00
Mark Jansen
0a5a0a3501
[APPSHIM_APITEST] Add a test for the shim IgnoreFreeLibrary 2018-04-22 18:51:21 +02:00
Giannis Adamopoulos
082cdfb9e8 [COMCTL32_APITEST] Add some button tests 2018-04-20 16:27:17 +02:00
Mark Jansen
74bb9d5dc0
[APPHELP_APITEST] Add tests for Data tags 2018-04-12 18:49:25 +02:00