Commit graph

766 commits

Author SHA1 Message Date
Amine Khaldi b1ad5055dc [PROPSYS_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:09:40 +01:00
Amine Khaldi 943bcb0f74 [PDH_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:07:35 +01:00
Amine Khaldi d3e07ed74a [OLEAUT32_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:05:27 +01:00
Amine Khaldi 3ee20de95f [OLEACC_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:04:15 +01:00
Serge Gautherie 0f92924a99 [REACTOS] Use explicit StringCb*W() (#2069) 2019-11-21 00:47:06 +01:00
Katayama Hirofumi MZ 2a93f61fcb
[USER32_APITEST] Power to DM_REPOSITION testcase (#2055)
- Add the minimized case.
- Add a test for WS_DISPLAYCHANGE message.
CORE-16490
2019-11-20 09:23:32 +09:00
Katayama Hirofumi MZ 803532b8c2 [SHELL32_APITEST] Add EnumPropW call CORE-11701 2019-11-18 20:20:12 +09:00
Katayama Hirofumi MZ 6cc8e7db4b
[INCLUDE][SHELL32_APITEST] Add SHLimitInputEdit testcase (#2053)
- Add IItemNameLimits interface into shobjidl.idl.
- Add a testcase for shell32!SHLimitInputEdit function.
CORE-11701
2019-11-18 20:02:18 +09:00
Katayama Hirofumi MZ bef841c3ee
[USER32_APITEST] Add DM_REPOSITION testcase (#2043)
CORE-16490
2019-11-18 10:46:36 +09:00
Katayama Hirofumi MZ 8e5f8c98ee
[SHELL32_APITEST] Strengthen DragDrop testcase (#2040)
CORE-11238
2019-11-16 02:23:25 +09:00
Katayama Hirofumi MZ e753d5e108
[CMD_APITEST] Add cmd_apitest testcases (#2034)
Add some testcases for cmd.exe. CORE-12150
2019-11-14 22:52:31 +09:00
Katayama Hirofumi MZ 6e42e63c46
[SHELL32_APITEST] Add DragDrop testcase (#2023)
Add DragDrop testcase to shell32_apitest for testing Drag & Drop feature of the Shell.
This PR tests IDropTarget::DragEnter and IDropTarget::Drop. CORE-11238
2019-11-12 16:49:52 +09:00
Amine Khaldi fc6e4ed576 [OLE32_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-10 14:11:19 +01:00
Amine Khaldi 6816ff8dbd [ODBCCP32_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-10 14:10:31 +01:00
Amine Khaldi 753e05959c [MSXML3_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-10 14:08:17 +01:00
Amine Khaldi ac43fd2b92 [MSVFW32_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-10 14:07:31 +01:00
Amine Khaldi ce2df64a06 [MSVCRT_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-10 14:06:44 +01:00
Amine Khaldi dd5a95e625 [MSCTF_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-09 22:03:01 +01:00
Amine Khaldi d38c95ba1e [MSCMS_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-09 21:59:57 +01:00
Amine Khaldi b7117625d7 [MSACM32_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-09 21:56:59 +01:00
Amine Khaldi b8949b0dad [MMDEVAPI_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-09 21:55:28 +01:00
Amine Khaldi de78eb16d7 [LOCALSPL_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-09 21:50:22 +01:00
Amine Khaldi 2a2da29038 [DINPUT8_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-05 22:32:02 +01:00
Amine Khaldi 021b5c1f4d [JSCRIPT_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-02 18:38:32 +01:00
Amine Khaldi 908d437d9d [IMM32_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-02 18:34:39 +01:00
Amine Khaldi 1ff06a373c [IMAGEHLP_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-02 18:33:48 +01:00
Amine Khaldi 5b3703d8cd [HLINK_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-02 18:31:02 +01:00
Katayama Hirofumi MZ 009dafe391
[KERNEL32_APITEST] Strengthen MultiByteToWideChar(CP_UTF8, ...) testcase (#2008)
CORE-16468
2019-11-01 09:06:34 +09:00
Victor Perevertkin 2f15e2f743
[ATL] Suppress GCC8 warning in RelocateElements, fix build. 2019-10-31 02:44:20 +03:00
Amine Khaldi 6291990483 [HID_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 22:57:25 +01:00
Amine Khaldi 7046ddd63c [FUSION_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 22:56:35 +01:00
Amine Khaldi 2e19c82751 [CRYPTNET_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 22:54:56 +01:00
Amine Khaldi 8addeea484 [COMCTL32_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 22:52:00 +01:00
Amine Khaldi 22c0673bd9 [CABINET_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 22:50:44 +01:00
Amine Khaldi 3f1265f8c1 [D3DCOMPILER_43_WINETEST] Make sure d3dcommon.h is generated before we get to compiling this module. 2019-10-26 13:19:05 +01:00
Amine Khaldi 14d97256f4 [ADVPACK_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:08:29 +01:00
Amine Khaldi e5765ed9cb [DXDIAGN_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:06:11 +01:00
Amine Khaldi 8de4fae42b [DINPUT_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:03:59 +01:00
Amine Khaldi 8015bf9f47 [D3DRM_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:02:11 +01:00
Amine Khaldi 7ce1a24a8b [D3DCOMPILER_43_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:01:05 +01:00
Amine Khaldi 4601b11fc9 [HNETCFG_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-20 20:04:04 +01:00
Amine Khaldi 8cc0d363dc [DEVENUM_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-20 18:56:45 +01:00
Mark Jansen 2318bda651
[SHELL32_APITEST] Show that SHCreateDataObject behaves exactly like CIDLData_CreateFromIDArray 2019-10-20 17:10:11 +02:00
Mark Jansen 0f2cb5abc7
[SHELL32_APITEST] Show that the default data object does not have a preferred drop effect 2019-10-20 17:10:11 +02:00
Mark Jansen f741dd8557
[SHELL32_APITEST] Add test for CIDLData_CreateFromIDArray 2019-10-19 18:42:15 +02:00
Mark Jansen d315fd93d3
[FONTEXT_APITEST] Add simple api test showing interfaces
CORE-14690
2019-10-19 18:42:14 +02:00
Pierre Schweitzer 67d3fbdd97
[MOUNTMGR_APITEST] Dump offsets
That shows that some offset are shared (everything but the symlinks)
2019-10-19 18:00:36 +02:00
Pierre Schweitzer 6116262c74
[MOUNTMGR_APITEST] Dump returned mount points 2019-10-16 22:22:30 +02:00
Pierre Schweitzer d055c9f16f
[NTDLL_WINETESTS] Fix the test so that it works on W2K3
It's an addendum to ad547c9
2019-10-01 10:11:39 +02:00
Pierre Schweitzer ad547c960f
[NTDLL_WINETESTS] Section name query test is broken on W2K3 and will lead to a crash
Comment out the test for now and add a more "appropriate" test code for now
2019-09-29 14:13:55 +02:00
Mark Jansen 08110c11d6
[APPHELP_APITEST] Make the db test succeed on 2k3 2019-09-25 20:46:57 +02:00
Mark Jansen f9c63aa7a4
[APPHELP_APITEST] Make the apphelp test succeed on 2k3 2019-09-25 20:46:45 +02:00
Thomas Faber cf2b918e0f
[SHELL32_APITEST] Fix PIDL leaks. 2019-09-22 11:42:10 +02:00
Thomas Faber 06e886086c
[WS2_32_APITEST] Try to make the number of WSAAsync tests constant. 2019-09-22 11:41:40 +02:00
James Tabor c57d4d7b9e [User32|Tests] Sync Port Wine Combo Controls.
Need to cross check these changes with WINE ComCtl32 before you PANIC
HACK!!!!

Not in order:
Piotr Caban : Remove unneeded RECT parameter from CBPaintText helper.
              Don't invalidate ComboBox on CB_SETCURSEL message.
Don't invalidate ComboBox on LBN_SELCHANGE and
LBN_SELCANCEL.
              Add more CB_SETCURSEL tests on ComboBox.
              Redraw combo text field even if it's empty.
Let ComboBox edit control handle the redraw even if
CBF_NOREDRAW is set.
Don't do the painting if combobox is not visible in
CBPaintText.

Dmitry Timoshkov : Don't force a combobox repaint on WM_SIZE.

This breaks z-order based painting and causes side effects
for
applications that during the WM_PAINT processing reference
internal
             data associated with a not fully initialized window.
Ref :
2d9e3236ea

Fabian Maurer : Set listbox popup height correctly and add tests.

                Properly set dropdown height.

             Now that user32 and comctl32 combo are separated,
             this won't lead to a regression anymore
             Ref :
3d0be0bad8
             Info by Sebastian Lackner Ref:
f0fc034997

Nikolay Sivov : Remove some misleading TODOs and confusing comments.
2019-09-21 08:47:56 -05:00
Brock Mammen e9bd402713 [COM_APITEST] Remove duplicate interface 2019-09-15 19:46:36 +03:00
Brock Mammen b16b396ca0 [COM_APITEST] Add CFindFolder test 2019-09-15 19:46:36 +03:00
Timo Kreuzer 1bcc69b1a0 [KERNEL32_APITEST] Fix a test that fails on Server 2003 and Windows 10 2019-09-15 14:14:06 +02:00
Pierre Schweitzer 8b0086e465
[MOUNTMGR_APITEST] Add an extra test for query failure 2019-09-15 12:29:15 +02:00
Timo Kreuzer a4ca5f05d1 [GDI32_APITEST] Fix AddFontResource test (#1901)
This commit uses GetCurrentDirectoryA rather than GetWindowsDirectoryA for convenience.
2019-09-14 00:25:20 +09:00
Timo Kreuzer eaf24cc380 [DLLEXPORT_TEST] Fix duplicated export on non-x86 architectures 2019-09-08 16:59:57 +02:00
Thomas Faber acfea670fe
[KMTESTS:EX] Try to avoid some spurious test failures.
E.g. https://reactos.org/testman/detail.php?id=43906459&prev=43889679

This test depends on the timeout to be long enough for another thread to
actually have started waiting, which may take longer than 10ms under load.
2019-09-08 08:06:51 +02:00
Pierre Schweitzer 16ec2e2aa5
[MOUNTMGR_APITEST] Add a test suite for the mount manager
It only tests IOCTL_MOUNTMGR_QUERY_POINTS for now
2019-09-05 08:36:20 +02:00
Doug Lyons 79d67dc846 Merge pull request #1889 from Doug-Lyons/find_regression_test
Add Regression test for "find" using BAT with Conditionals "&&" and "||"
2019-09-01 23:03:16 +02:00
Colin Finck c8681feee9
Fix the ntstrsafe.h tests to make sense, actually succeed using ntstrsafe.h from Win10 (10.0.15063), and fix ReactOS' ntstrsafe.h to also pass these tests. (#1859) 2019-08-28 22:42:52 +02:00
Hernán Di Pietro 99818568ed
[DDK] RtlUnicodeStringPrintf(Ex) implementations and ntstrsafe.h tests (#522, #523)
[KMTESTS:RTL] (CORE-14565)

+ Added buffer overrun tests.
+ New style header.
+ ISO C90 compatibility

[DDK] (CORE-9819): RtlUnicodeStringPrintf(Ex) and RtlUnicodeStringValidate(Ex) fixes plus formatting.

[DDK]: Cosmetic changes  (NTSTATUS variable naming and tabs)

[DDK] First implementation of Unicode functions for NtStrSafe (CORE-9819)

+ This implementation does not modify the interface of previous functions.
+ Since we need length returned for the destination UNICODE_STRING.Length field:
  - an intermediate "Len" postfixed function was added with optional
    argument to return the _vsnwprintf character count.
  - Wide Printf(Ex) functions already existent work now call new Rtlp
    private worker functions.
+ For several UnicodeStringPrintf(Ex) tests, see work going on CORE-14565

NOTES:

+ MSDN says they won't insert NULL characters on formatted strings. But
  seems this is incorrect at MSDN (interpret this as DONT ASSUME NULL-termination).
  We return zero-terminated strings, and MS functions seems to do the same.
  (XP DDK 7.1)

[DDK] First implementation of Unicode functions for NtStrSafe (CORE-9819)

+ This implementation does not modify the interface of previous functions.
+ Since we need length returned for the destination UNICODE_STRING.Length field:
  - an intermediate "Len" postfixed function was added with optional
    argument to return the _vsnwprintf character count.
  - Wide Printf(Ex) functions already existent work now call new Rtlp
    private worker functions.
+ For several UnicodeStringPrintf(Ex) tests, see work going on CORE-14565

NOTES:

+ MSDN says they won't insert NULL characters on formatted strings. But
  seems this is incorrect at MSDN (interpret this as DONT ASSUME NULL-termination).
  We return zero-terminated strings, and MS functions seems to do the same.
  (XP DDK 7.1)

[DDK] Fixed bad NtStrSafe.h va_start call (CORE-9819)

Update on RtlUnicodeStringPrintfEx plus cosmetic changes.

[DDK] First implementation of Unicode functions for NtStrSafe (CORE-9819)

+ This implementation does not modify the interface of previous functions.
+ Since we need length returned for the destination UNICODE_STRING.Length field:
  - an intermediate "Len" postfixed function was added with optional
    argument to return the _vsnwprintf character count.
  - Wide Printf(Ex) functions already existent work now call new Rtlp
    private worker functions.
+ For several UnicodeStringPrintf(Ex) tests, see work going on CORE-14565

NOTES:

+ MSDN says they won't insert NULL characters on formatted strings. But
  seems this is incorrect at MSDN (interpret this as DONT ASSUME NULL-termination).
  We return zero-terminated strings, and MS functions seems to do the same.
  (XP DDK 7.1)

[KMTESTS:RTL] Tests for new RtlUnicodePrintf(Ex) functions (CORE-14565)

+ 45 Tests working.
+ Lacks remaining non-Unicode functions in NtStrSafe.h for now.
+ Used for first tests on CORE-9819

[KMTESTS/RTL] Fixed test not taking care of null (CORE-14565)

[DDK] Fixed bad NtStrSafe.h va_start call (CORE-9819)

[KMTESTS:RTL] First Test.

Update on RtlUnicodeStringPrintfEx plus cosmetic changes.

[KMTESTS] Added NtStrSafe to test lists (CORE-14565)

First commit: Skeleton for test implementation + Addition to COMMON SOURCES in kmtests Cmake lists.

WIP.
+Implementation of RtlStringVPrintfWorkerLenW, RtlStringVPrintfExWorkerLenW to avoid changing existing public functions. This is required as existent functions did not return vsnprintf result, so we didn't have any return info to update UNICODE_STRING.Length.
+Additional implementation of RtlUnicodeStringValidate for checking purposes.
+Former RtlStringVPrintfWorker(ex) refactored to RtlInternalStringVPrintf(Ex)WorkerW.
+No ANSI functions affected as we didn't need them for Unicode printf's.

WIP: RtlUnicodeStringPrintf
2019-08-28 22:28:13 +02:00
Ioannis Adamopoulos 7eb28dd0a9 Fix build 2019-08-25 14:56:12 +03:00
Ioannis Adamopoulos e419195d37 [HEADERS] Move some helpers from undocshell.h to shellutils.h as they didn't cover anything undocumented. Merge traycmd.h in undocshell.h as both contain just undocumented shell definitions. 2019-08-25 12:20:52 +03:00
Mark Jansen 6d2381631f
[TESTS] Add a test for spec2def 2019-08-23 18:10:28 +02:00
Mark Jansen 9853eab1ea
[CRT_APITEST] Exclude a test with the same rule as in the cmakelist 2019-08-20 22:31:56 +02:00
Mark Jansen b5dc79c963
[CMAKE] Some arm cmake fixes 2019-08-20 22:27:59 +02:00
Victor Perevertkin 1c0a2a35e7 [APITESTS] Ignore GCC8 warnings where we test some crazy stuff 2019-08-20 15:05:47 +02:00
Victor Perevertkin 6b10706205 [APITESTS] Use StringCbPrintfA instead of sprintf
And fix a buffer size in Test_AddFontResourceA
2019-08-20 15:05:47 +02:00
Victor Perevertkin f7dc14cca5 [WINETESTS] Supress GCC8 warnings 2019-08-20 15:05:47 +02:00
Konstantin Motylkov ab2c90f1b9
[DNSAPI][DNSAPI_APITEST] Fix DnsQuery_UTF8 function and add tests
CORE-11634
2019-08-19 20:01:23 +02:00
Katayama Hirofumi MZ fce898063e
[COMCTL32_APITEST] Add propsheetv6 testcase (#1853)
The proof of #1842. Property sheet does unchange the page after WM_INITDIALOG. CORE-16280
2019-08-18 18:53:37 +09:00
Katayama Hirofumi MZ 86b8aeb3f2
Revert "[WININET_APITEST] Add Download testcase (#1832)" (#1839)
This reverts commit 7464241ada.
2019-08-16 17:01:03 +09:00
Timo Kreuzer ad89837c0e [3RDPARTY] Suppress MSVC printf format warnings in 3rd-party code 2019-08-15 15:24:12 +02:00
Timo Kreuzer 58588b76e2 [REACTOS] Fix MSVC printf format warnings 2019-08-15 15:24:12 +02:00
Mark Jansen b8a1a612b2
[DBGHELP_APITEST] Add rsym+pdb tests on loaded modules
Also reorder some stuff to make the tests more alike
2019-08-15 15:21:55 +02:00
Katayama Hirofumi MZ 7464241ada
[WININET_APITEST] Add Download testcase (#1832)
CORE-16310
2019-08-15 17:50:57 +09:00
Katayama Hirofumi MZ 14c267a3a3
[ATL_APITEST] Simplify code by using ok_int etc. (#1824)
Simplify the code by using ok_int, ok_long etc.
2019-08-12 23:10:47 +09:00
Katayama Hirofumi MZ a800fa7bb2
[ATL_APITEST] Add 'atltest.h' and use it (#1822)
- Add "atltest.h" header file for common use in atl_apitest.
- Delete the duplicated and simplify.
2019-08-12 19:24:08 +09:00
Mark Jansen 610b852451
[ATL] Add a minimal CAtlArray implementation 2019-08-11 21:46:07 +02:00
Mark Jansen 300649ba77
[ATL_APITEST] Add simple test for CAtlArray 2019-08-11 21:46:06 +02:00
Mark Jansen 29c0b93a0a
[ATL_APITEST] Change proj files to have a different intermediate dir 2019-08-11 21:46:06 +02:00
Mark Jansen ae69b1fda2
[ATL][ATL_APITEST] Add CAtlList::InsertBefore/After + test 2019-08-11 21:45:56 +02:00
Katayama Hirofumi MZ 8084c042f1 [USER32_APITEST] Add #include 'precomp.h' in MessageStateAnalyzer 2019-07-26 21:45:11 +09:00
Katayama Hirofumi MZ 9c5d8cf7db [USER32_APITEST] Move <strsafe.h> #inclusion 2019-07-26 21:30:36 +09:00
Katayama Hirofumi MZ 782160bbc0
[USER32_APITEST][INCLUDE] Add MessageStateAnalyzer testcase (#1732)
I want to visualize the message stream and verify the states of each message. ROSTESTS-328

- Add a testcase named MessageStateAnalyzer into user32_apitest.
- Also fix type casts in <windowsx.h>.
2019-07-25 01:45:55 +09:00
Katayama Hirofumi MZ 595ae4c551
[GDI32_APITEST] Improve SetWorldTransform testcase (#1717)
Improve the testcase for gdi32!SetWorldTransform function. CORE-15554
2019-07-05 22:31:56 +09:00
Pierre Schweitzer 56c4e83fb3
[KMTESTS:CC] Make buffer mapping tests more accurate 2019-07-03 21:39:35 +02:00
Pierre Schweitzer f529033555 [KMTESTS:OB] Add support for LUID mappings being disabled in ObSecurity tests
CORE-16114
2019-06-30 23:07:54 +02:00
Timo Kreuzer f565083d58
[GDI32_APITEST] Extend test for SetWorldTransform (#1686) 2019-06-24 21:16:10 +02:00
Katayama Hirofumi MZ d182f449fc [GDI32_APITEST] Fixup of 90be07f (#1675) 2019-06-21 15:50:53 +09:00
Katayama Hirofumi MZ 90be07f79a
[GDI32_APITEST] Improve TextTransform (add translation) (#1675)
Add some coordinate translation tests. CORE-15554
2019-06-21 15:45:54 +09:00
Katayama Hirofumi MZ c5246d68f5
[KERNEL32_APITEST] Improve SetComputerNameExW testcase (#1661)
Improve SetComputerNameExW testcase to check invalid characters. CORE-16122
2019-06-17 20:33:31 +09:00
Doug-Lyons 077a1b8dba
[ROSTESTS] Add a new test for "gethostname" in ws2_32_apitest. (#1630)
ROSTESTS-326

Make the test more robust; clean up on failures.

Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
2019-06-16 00:15:55 +02:00
Serge Gautherie 73938ee96f [ROSTESTS] Add missing '\n' to a few skip() 2019-06-06 17:33:59 +02:00
Serge Gautherie d6d1efe731
[BROWSEUI_APITEST] Add a test for SHEnumClassesOfCategories. (#1559)
CORE-11711
2019-06-06 17:07:08 +02:00