Commit graph

486 commits

Author SHA1 Message Date
Pierre Schweitzer 0b5c1503c4
[KMTESTS:CC] Add a trace to identify failing tests 2018-12-22 14:36:45 +01:00
Pierre Schweitzer f7c0236fc1
[KMTESTS:CC] Add more tests for SetFileSizes
These are covered by Thomas' patch.

CORE-11819
2018-12-22 12:42:05 +01:00
Pierre Schweitzer ba5d6e977b
[KMTESTS:CC] Add tests for CcSetFileSizes
These are passing in W2K3 but failing in ReactOS.

CORE-11819
2018-12-22 12:32:02 +01:00
Pierre Schweitzer 8785b10917
[IPHLPAPI_APITEST] Add tests for GetOwnerModuleFromUdpEntry 2018-12-21 19:17:11 +01:00
Pierre Schweitzer f42a6c16f2
[IPHLPAPI_APITEST] Add tests for GetExtendedUdpTable 2018-12-21 19:17:11 +01:00
Katayama Hirofumi MZ 6d63d76655
[USETUP][NTDLL_APITEST][KBDROST] Allow non-Latin codepage users to build ReactOS on MSVC (Retrial of #1150) (#1168)
- The converter is code7bit I made. code7bit: https://github.com/katahiromz/code7bit
- This converter converts non-clean characters in string literals.
- However I couldn't erase a ton of codepage C4819 warnings.
- CORE-15447

You can edit an European source file as follows:
- Right click the file in the Solution Explorer.
- Select "Open With...".
- Choose "C++ Source Code Editor (with encoding)".
- Choose "Central European (Windows) - Codepage 1260".
2018-12-20 17:25:32 +09:00
Pierre Schweitzer 7375173b7f
[KMTESTS:CC] Add some tests regarding small pinning size (< PAGE_SIZE)
CORE-15384
2018-12-17 20:31:24 +01:00
Katayama Hirofumi MZ 2e2e63e10d
[KBDROST][NTDLL_APITEST] Revert #1135 (Delete UTF-8 BOM) (#1149)
CORE-15447
2018-12-17 11:29:35 +09:00
Mark Jansen fbe4a43f5d
[MSPTCHA_APITEST] Initial tests.
The filename intentionally does not contain the word 'patch',
because this will trigger windows to auto-elevate the test app.
2018-12-15 16:28:59 +01:00
Katayama Hirofumi MZ 7050ac4dce
[KBDROST][NTDLL_APITEST] Add UTF-8 BOM (#1135)
Add UTF-8 BOM. CORE-15447
2018-12-15 08:00:39 +09:00
Serge Gautherie e94618b7bf [KMTEST:RTL] RtlException: Remove '#if CORE_6640_IS_FIXED'
On behalf of Víctor Martinez.
CORE-8773
2018-12-13 21:36:10 +01:00
Pierre Schweitzer ec96bf8e5c
[ROSAUTOTEST] Force HTTPS
ONLINE-855
2018-12-13 11:54:59 +01:00
Pierre Schweitzer a062160b29
[ROSAUTOTEST] Forget about HTTP, go over HTTPS directly
ONLINE-855
2018-12-13 11:49:13 +01:00
Pierre Schweitzer 1d22362741
[ROSAUTOTEST] Allow transparent redirection to HTTPS URLs
ONLINE-855
2018-12-13 11:45:43 +01:00
Serge Gautherie 4918271a3c [WS2_32_APITEST] Fix 'inialialization' typo, in comments (#1119) 2018-12-12 20:24:07 +01:00
Mark Jansen f386a6ec41
[SFC_APITEST] Initial test for SfcIsFileProtected and SfcGetFiles 2018-12-12 19:33:44 +01:00
Mark Jansen 6378c83663
[COM_APITEST] Add a test for CLSID_ActiveDesktop
CORE-15424
2018-12-12 19:29:09 +01:00
Mark Jansen 570b7655ab
[PSDK] Add a minimal IActiveDesktop definition
CORE-15424
2018-12-12 19:28:58 +01:00
Pierre Schweitzer dc65db7c13
[ADVAPI32_APITEST] If TEB SubProcessTag is set, query ADVAPI32 to validate its correctness
This is based on: https://wj32.org/wp/2010/03/30/howto-use-i_querytaginformation/
and properly works in W2K3 SP2.
Thanks to Joachim for his tests.
2018-12-11 23:41:01 +01:00
Pierre Schweitzer 7d18e36a31
[ADVAPI32_APITEST] Add a test to show that main service thread is tagged
This test will fail on everything < W2K3 SP2. In spite of what a wide spread
rumor says, MS seems to have added that feature quite lately, but not starting
Vista! ;-)
2018-12-11 23:41:01 +01:00
Pierre Schweitzer 01d56963f8
[MPR_WINETEST] Sync with Wine Staging 3.17. CORE-15127 2018-12-08 11:43:10 +01:00
Serge Gautherie c34fa1e389 [SDK][NDK] Move SYSTEM_POWER_INFORMATION to ntpoapi.h (#869)
As suggested by Thomas Faber. See CORE-12587 for more details.
2018-12-05 13:48:01 +01:00
Pierre Schweitzer e9c7c6fd2c
[IPHLPAPI_APITEST] Add tests for GetOwnerModuleFromTcpEntry() 2018-11-29 20:30:23 +01:00
Pierre Schweitzer 1e9fb35fbc
[IPHLPAPI_APITEST] Test GetExtendedTcpTable rather than AllocateAndGetTcpExTable2FromStack 2018-11-29 20:30:22 +01:00
Pierre Schweitzer 73c06d09ff
[IPHLPAPI_APITEST] CurrPorts seems to confirm that timestamp is really a timestamp 2018-11-28 08:28:37 +01:00
Pierre Schweitzer ec605e9138
[IPHLPAPI_APITEST] Add tests for AllocateAndGetTcpExTable2FromStack() 2018-11-27 21:36:48 +01:00
Serge Gautherie a4859bf283 [KMTESTS:MM] Fix 'PAGE_NOACCESS' copypasta, in an error string
ROSTESTS-110
2018-11-03 16:36:24 +01:00
Jérôme Gardou 5d91d52417 [KMTESTS/MM] Enable again accessing forbidden memory.
Also adda test case for the PAGE_GUARD case

ROSTESTS-110
2018-11-03 12:50:16 +01:00
Katayama Hirofumi MZ 665269be9c
[APITESTS] Add InSendMessage check in SwitchToThisWindow testcase (#998)
CORE-15165
2018-10-30 17:14:37 +09:00
Katayama Hirofumi MZ c550bad4ef
[APITESTS] Improve CloseWindow testcase (#997)
Improve the testcase for user32!CloseWindow function.
2018-10-30 08:54:40 +09:00
Katayama Hirofumi MZ 328a4c3834
[APITESTS] Add CloseWindow testcase (#996)
Add a testcase for user32!CloseWindow function.
2018-10-30 08:38:03 +09:00
Pierre Schweitzer 3d68c01664
[KMTESTS:CC] Introduce a macro to test public BCB
For now, it's local, but it may be moved to some header
to be shared between tests.
2018-10-28 22:37:59 +01:00
Katayama Hirofumi MZ 3e00e7fb22
[APITESTS][USER32] Add testcase for SwitchToThisWindow (#980)
Add an API test program for user32!SwitchToThisWindow function.
JIRA issue: CORE-15165
2018-10-26 19:56:25 +09:00
Hermès Bélusca-Maïto 76e2698237
[NTDLL_APITEST] Re-enable the part of the NtLoad/UnloadKey test related to force-unload a hive with opened sub-key handles.
Effectively reverts b17ce9c8 (r75138).

CORE-13448
2018-10-22 00:05:21 +02:00
Adam Słaboń 7abc8be102 [TRANSLATION] Polish translation update
Polish translation of net, telnet, diskpart, devcpux, fontext, iernonce, lsasrv, themes, arping, frag, screensavers, ctm, fontsub, WinetestsGUI and localmon.
Update for dxdiag, msgina, msports, netcfgx, shell32 and syssetup.
2018-10-20 21:26:07 +02:00
Pierre Schweitzer f3ea47d94d
[KMTESTS:CC] Add more tests for CcPinMappedData() 2018-10-13 19:24:29 +02:00
Pierre Schweitzer c467169708
[KMTESTS:CC] Properly check for memory allocations 2018-10-13 19:17:00 +02:00
Pierre Schweitzer ce0650d37d
[KMTESTS:CC] Add more tests for CcPinMappedData() 2018-10-13 19:15:48 +02:00
Pierre Schweitzer e3531499c2
[KMTESTS:CC] Add more tests for CcPinMappedData() 2018-10-13 19:13:07 +02:00
Pierre Schweitzer 991db73e37
[KMTESTS:CC] Add more tests for CcPinMappedData() 2018-10-13 18:53:08 +02:00
Pierre Schweitzer 45231fbbc5
[KMTESTS:CC] Add a test showing our CcPinMappedData() implementation is broken 2018-10-13 14:24:52 +02:00
Baruch Rutman acb1f24085
[ROSTESTS] Add a test program. (#890)
Add a test program that shows how the *PSMTextOut() functions draw
the strings by a side by side comparison between LpkPSMTextOut() and
UserLpkPSMTextOut().
2018-10-08 16:17:55 +02:00
Hermès Bélusca-Maïto 57a9fca04b
[USER32_APITEST] Add a test for PrivateExtractIcons(A/W) that shows that this API can accept unexpanded file paths.
CORE-15150
2018-10-07 20:32:26 +02:00
Hermès Bélusca-Maïto cd473963f4
[SHELL32_APITEST] Fix the code with respect to what the comments say. No change in test results happen. 2018-10-07 20:32:22 +02:00
Pierre Schweitzer 0d90b4dd5f
[KMTESTS:CC] A pin BCB has a node type code 2018-10-06 12:09:07 +02:00
Pierre Schweitzer 52ccfcf6fe
[KMTESTS:CC] Fix a typo 2018-10-05 21:26:16 +02:00
Serge Gautherie 043faab089 [KMTESTS:TCPIP] Add an "Associate address IRP completed" trace 2018-10-04 18:28:08 +02:00
Serge Gautherie 302144c5ac [KMTESTS:TCPIP] ReturnAddress: Expect NT5 result, not NT6+ one
ROSTESTS-268
2018-10-04 18:17:15 +02:00
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