Katayama Hirofumi MZ
3a2a99efb6
[GDI32_APITEST] Rewrite LPtoDP testcase ( #1508 )
...
Sorry, I had to rewrite gdi32!LPtoDP testcase. ROSTESTS-319
2019-04-22 13:48:14 +09:00
Katayama Hirofumi MZ
c714b7fd67
[ATL][ATLTEST] Adapt to RATL and improvements ( #1501 )
...
- Modify atldef.h for non-ReactOS environments.
- Update ATL testcase project files (from v120_xp to v140_xp).
- #define HAVE_APITEST and use it.
- s/NULL/0/
2019-04-20 08:35:39 +09:00
Mark Jansen
10fa9bfe0a
[SHELL32_APITEST] Disable exceptions in atl when compiling without exceptions
2019-04-18 19:21:39 +02:00
Mark Jansen
a255e1d693
[MSGINA_APITEST] Disable exceptions in atl when compiling without exceptions
2019-04-18 19:21:38 +02:00
Mark Jansen
0f60294c56
[APPHELP_APITEST] Disable exceptions in atl when compiling without exceptions
2019-04-18 19:21:38 +02:00
Mark Jansen
9824a0154e
[ATL] Retire atlnew
2019-04-18 19:21:37 +02:00
Mark Jansen
9853cc4d7e
[ATL][ATL_APITEST] Add test + implementation for CAtlFileMapping
2019-04-18 19:21:37 +02:00
Katayama Hirofumi MZ
a008bf8ef2
[KERNEL32_APITEST] Improve one-character Heisei tests ( #1483 )
...
One-character Heisei for CAL_SABBREVERASTRING locale info can be U+337B or U+5E73. And one-character Reiwa U+32FF, U+4EE4, and U+F9A8 are also added. Improve kernel32_apitest testcase. Thanks @ThFabba CORE-15920
2019-04-07 18:35:52 +09:00
Katayama Hirofumi MZ
72990b29c5
[KERNEL32_APITEST] JapaneseCalendar must work even if not codepage 932"
...
Delete (GetACP() != 932) check.
2019-04-07 12:18:54 +09:00
Jérôme Gardou
23373acbb9
[CMAKE] Use modules instead of shared libraries
...
There is no need to compile our DLLs as shared libraries since we are
managing symbols exports and imports through spec files.
On my system, this reduces the configure-time by a factor of two.
2019-04-06 17:43:38 +02:00
Katayama Hirofumi MZ
afb47b845f
[KERNEL32_APITEST] s/48815/0xBEAF/
2019-04-06 21:59:35 +09:00
Katayama Hirofumi MZ
3ce3b4c283
[KERNEL32_APITEST] Follow up of 89af984
2019-04-06 18:20:04 +09:00
Katayama Hirofumi MZ
89af984b16
[KERNEL32_APITEST] 5-byte, 6-byte, ... UTF-8 sequences
2019-04-06 17:48:15 +09:00
Katayama Hirofumi MZ
eee53c734b
[KERNEL32_APITEST] Careless
2019-04-06 13:55:03 +09:00
Katayama Hirofumi MZ
0cdee99e05
[KERNEL32_APITEST] Trivial
2019-04-06 13:51:34 +09:00
Katayama Hirofumi MZ
e015239426
[KERNEL32_APITEST] Forgot FreeLibrary
2019-04-06 13:48:05 +09:00
Katayama Hirofumi MZ
aa39ad97aa
[KERNEL32_APITEST] Follow up of #1472
2019-04-06 13:34:21 +09:00
Katayama Hirofumi MZ
3400a27ca5
[KERNEL32_APITEST] Improve MultiByteToWideChar testcase ( #1472 )
...
Strengthen the testcase for kernel32!MultiByteToWideChar function. ROSTESTS-282
2019-04-05 22:04:04 +09:00
Katayama Hirofumi MZ
2fd3a8f1b5
[KERNEL32_APITEST] Follow up of #1466 ( #1469 )
...
Skip tests if the current codepage is not Japanese. CORE-15920
2019-04-05 13:04:15 +09:00
Katayama Hirofumi MZ
eb8d1d929f
[KERNEL32_APITEST] Japanese calendar testcase ( #1466 )
...
Add Japanese calendar-related tests. CORE-15920
2019-04-05 09:06:41 +09:00
Katayama Hirofumi MZ
8bf795ff76
[GDI32_APITEST] Add LPtoDP testcase ( #1462 )
...
ROSTESTS-320
2019-04-04 10:44:52 +09:00
Katayama Hirofumi MZ
2c48ab4c0e
[ROSTESTS][GDI32_APITEST] Follow up of #1459 ( #1460 )
...
ROSTESTS-319
2019-04-04 05:25:02 +09:00
Katayama Hirofumi MZ
e157a5fe1c
[GDI32_APITEST] Improve DPtoLP testcase ( #1459 )
...
ROSTESTS-319
2019-04-03 22:48:42 +09:00
Katayama Hirofumi MZ
234a78e09f
[ROSTESTS][GDI32_APITEST] Follow up of #1457 ( #1458 )
...
Thanks, @SergeGautherie.
2019-04-03 20:42:21 +09:00
Katayama Hirofumi MZ
f65a62ea5b
[ROSTESTS][GDI32_APITEST] Refactor testcases ( #1457 )
...
[ROSTESTS][GDI32_APITEST] Refactor testcases
2019-04-03 17:22:21 +09:00
Mark Jansen
0ebeced143
[SHIMENG] Find shims case-insensitive
...
CORE-15845
2019-03-14 20:02:00 +01:00
Mark Jansen
996f559fd7
[APPSHIM_APITEST] Add test for IgnoreLoadLibrary
...
CORE-15845
2019-03-14 20:02:00 +01:00
Mark Jansen
b18da6730e
[ACLAYERS] Implement the ForceDXSetupSuccess shim
...
This shim is used on older installers that try to install DirectX,
but encounter errors doing so with the bundled setup.
CORE-15814
2019-03-10 12:45:35 +01:00
Mark Jansen
854af7f332
[APPSHIM_APITEST] Add tests for ForceDXSetupSuccess
2019-03-10 12:45:34 +01:00
Pierre Schweitzer
6bf5a8a43d
[AFD_APITEST] Add apitest for AFD window size options
2019-02-25 22:34:28 +01:00
Mark Jansen
fa548efb41
[XDK] Remove _M_AMD64 special case
2019-02-25 20:00:35 +01:00
Mark Jansen
28a091ac12
[APPHELP][APPHELP_APITEST] Implement SdbGetDatabaseInformation
...
CORE-11301
2019-02-25 20:00:34 +01:00
Mark Jansen
a9bd3da299
[APPHELP_APITEST] Add a test for shim database registration
...
CORE-11301
2019-02-25 20:00:34 +01:00
Thomas Faber
c83d7ba185
[NTDLL_APITEST] Show that registry strings can be longer than MAXUSHORT.
2019-02-20 12:23:24 +01:00
Mark Jansen
88cd8d681c
[NTDLL_APITEST] Add test for RtlComputePrivatizedDllName_U
2019-02-07 18:48:49 +01:00
Thomas Faber
58215e5fb7
[NTDLL_APITEST] Add test for NtDuplicateObject with OBJ_PROTECT_CLOSE.
2019-02-02 23:02:53 +01:00
Thomas Faber
a71f3a70d8
[NTDLL_APITEST] Add tests for zero and negative information class values. CORE-15651
2019-02-02 22:50:19 +01:00
Katayama Hirofumi MZ
62f6e3b397
[WIN32KNT_APITEST] Tabs To Spaces ( #1326 )
...
Converts Tabs to Spaces.
2019-01-30 22:55:10 +09:00
Katayama Hirofumi MZ
e7846c0c67
[APITESTS][GDI32] Add TextTransform testcase ( #1319 )
...
Prove text/font transformation functionality (#1238 ). CORE-15554
2019-01-30 21:23:42 +09:00
Katayama Hirofumi MZ
6360a53b12
[WIN32KNT_APITEST] Improve NtGdiSetBitmapBits 6 ( #1320 )
...
Add some PAGE_READONLY tests. Add two bit pattern tests. CORE-15657 and CORE-15695
2019-01-29 22:48:14 +09:00
Denis Malikov
bcfd350e9f
[APPCOMPAT] Run apps in compatibility with 6.1 SP1 (7 SP1), 6.2 (8) and 6.3 (8.1) ( #1273 )
2019-01-27 17:30:37 +01:00
Katayama Hirofumi MZ
cc75016389
[WIN32KNT_APITEST] Check bit pattern of pvBits ( #1315 )
...
CORE-15657
2019-01-27 20:25:15 +09:00
Thomas Faber
c8f69c63de
[WIN32KNT_APITEST] Test large buffers without relying on stack layout. ( #1314 )
...
CORE-15657
2019-01-27 20:08:52 +09:00
Katayama Hirofumi MZ
1ad9a1deab
[WIN32KNT_APITEST] NtGdiSetBitmapBits: Add tests for max buffer size 2 ( #1312 )
...
Improve NtGdiSetBitmapBits testcase again and again. CORE-15657
2019-01-27 17:17:09 +09:00
Katayama Hirofumi MZ
e80e205156
[WIN32KNT_APITEST] NtGdiSetBitmapBits: Add tests for maximum buffer size ( #1311 )
...
Improve NtGdiSetBitmapBits testcase by adding tests for maximum buffer size. CORE-15657
2019-01-27 16:35:53 +09:00
Katayama Hirofumi MZ
f9037bd33f
[WIN32KNT_APITEST] Improve NtGdiSetBitmapBits testcase more and more ( #1307 )
...
CORE-15657
2019-01-26 20:28:40 +09:00
Katayama Hirofumi MZ
82c7571e43
[WIN32KNT_APITEST] NtGdiSetBitmapBits: Expand tabs to spaces ( #1306 )
...
Expand Tabs to Spaces in NtGdiSetBitmapBits testcase. Follow-up of #1304 .
2019-01-26 19:10:23 +09:00
Katayama Hirofumi MZ
13a6583fa0
[WIN32KNT_APITEST] Improve NtGdiSetBitmapBits more ( #1304 )
...
Add some tests. CORE-15657
2019-01-26 11:38:42 +09:00
Katayama Hirofumi MZ
08d72bd076
[WIN32KNT_APITEST] Fix NtGdiGetFontResourceInfoInternalW message
2019-01-25 23:01:07 +09:00
Katayama Hirofumi MZ
a024ae626f
[APITESTS][WIN32KNT_APITEST] Improve NtGdiEnumFontOpen testcase ( #1285 )
...
Use ok, ok_int and ok_ptr macros instead of obsolete TEST macros.
2019-01-24 22:17:40 +09:00
Katayama Hirofumi MZ
d4505e4a7f
[APITESTS][WIN32KNT_APITEST] Improve NtGdiEngCreatePalette testcase ( #1284 )
...
Use ok and ok_long and ok_ptr macros instead of obsolete TEST macros.
2019-01-22 23:01:08 +09:00
Katayama Hirofumi MZ
3bc47ebe41
[APITESTS][WIN32KNT_APITEST] Improve NtGdiDoPalette testcase ( #1283 )
...
Use ok, ok_int and ok_long macros instead of RTEST macros.
2019-01-22 21:20:49 +09:00
Katayama Hirofumi MZ
7c847f26e7
[APITESTS][WIN32KNT_APITEST] Improve NtGdiDeleteObjectApp testcase ( #1282 )
...
Use ok, ok_int and ok_long macros instead of obsolete TEST macros.
2019-01-22 21:17:58 +09:00
Katayama Hirofumi MZ
8fa1a24edc
[APITESTS][WIN32KNT_APITEST] Improve NtGdiGetFontResourceInfoInternalW testcase ( #1290 )
...
Use ok macro instead of obsolete TEST macro.
2019-01-22 21:12:19 +09:00
Katayama Hirofumi MZ
377734c9ec
[APITESTS][WIN32KNT_APITEST] Improve NtGdiExtTextOutW testcase ( #1286 )
...
Use ok_int macros instead of obsolete TEST macros.
2019-01-22 21:11:26 +09:00
Katayama Hirofumi MZ
1a591cbdfa
[APITESTS][WIN32KNT_APITEST] Improve NtGdiFlushUserBatch testcase ( #1287 )
...
Use ok, ok_int, ok_long, and ok_ptr macros instead of TEST and ASSERT macros.
2019-01-22 21:10:22 +09:00
Katayama Hirofumi MZ
b8ca99fad5
[APITESTS][WIN32KNT_APITEST] Improve NtGdiGetRandomRgn testcase ( #1293 )
...
Use ok_int and ok_long macros instead of obsolete TEST and RTEST macros.
2019-01-22 21:07:18 +09:00
Katayama Hirofumi MZ
7123914694
[APITESTS][WIN32KNT_APITEST] Improve NtGdiGetDIBits testcase ( #1289 )
...
Use ok, ok_int and ok_long macros instead of obsolete RTEST and ASSERT macros.
2019-01-22 21:06:00 +09:00
Katayama Hirofumi MZ
e32d5a8b76
[APITESTS][WIN32KNT_APITEST] Improve NtGdiCreateCompatibleDC testcase ( #1281 )
...
Use ok, ok_int and ok_ptr macros instead of obsolete TEST macros.
2019-01-22 20:59:38 +09:00
Katayama Hirofumi MZ
0e70731358
[APITESTS][WIN32KNT_APITEST] Improve NtGdiCreateBitmap testcase ( #1280 )
...
Use ok, ok_int, ok_long and ok_ptr macros instead of obsolete TEST macros.
2019-01-22 20:52:25 +09:00
Katayama Hirofumi MZ
b7794e8112
[APITESTS][WIN32KNT_APITEST] Improve NtGdiBitBlt testcase ( #1277 )
...
Use `ok_int`, `ok_long` and `ok` macros instead of obsolete `TEST` and `TESTX` macros.
2019-01-22 20:51:00 +09:00
Katayama Hirofumi MZ
b09bceef7d
[APITESTS][WIN32KNT_APITEST] Improve NtGdiCombineRgn testcase ( #1279 )
...
Use `ok_int` and `ok_long` macros instead of obsolete `TEST` macros.
2019-01-22 20:49:47 +09:00
Mark Jansen
3df31a8217
[USER32_APITEST] Show that scrollbars can be created when extra window data is requested.
2019-01-21 22:25:35 +01:00
Mark Jansen
c296ee510f
[DBGHELP_APITEST] Skip the test when the function is not found
2019-01-21 20:42:16 +01:00
Andreas Maier
184255ffdb
[DBGHELP_APITEST] Add test for SymRegisterCallbackW64.
2019-01-21 20:42:15 +01:00
Katayama Hirofumi MZ
289705caa6
[APITESTS][WIN32KNT_APITEST] Improve NtGdiArcInternal testcase ( #1276 )
...
Use ok_int() and ok_long() macros instead of obsolete TEST() macro.
2019-01-21 17:39:05 +01:00
Katayama Hirofumi MZ
6846527f67
[APITESTS][WIN32KNT_APITEST] Use ok_long for NtGdiGetBitmapBits/NtGdiSetBitmapBits ( #1275 )
2019-01-21 17:38:20 +01:00
Timo Kreuzer
bb9a5f6046
[ROSTESTS] Fix 64bit issues ( #1261 )
2019-01-20 15:58:32 +01:00
Jérôme Gardou
bb8a3f4e09
[APITESTS] Add tests for opengl32.dll
...
Ensure that our SW implementation exposes the same extensions and the same pixel formats than windows.
2019-01-19 14:23:54 +01:00
Katayama Hirofumi MZ
4b924a8685
[USER32_APITEST] Improve GetMessageTime tests more ( #1254 )
...
Compare GetMessageTime and GetTickCount values.
CORE-15565
2019-01-18 12:11:53 +09:00
Katayama Hirofumi MZ
b490084d38
[USER32_APITEST] Improve GetMessageTime tests
2019-01-17 09:31:35 +09:00
Katayama Hirofumi MZ
249d55f4a0
[USER32_APITEST] Add tests for GetMessageTime
2019-01-16 22:59:35 +02:00
Mark Jansen
2e4457f223
[PRINTING] The first argument to PackStrings can be const.
2019-01-06 21:07:09 +01:00
Katayama Hirofumi MZ
cdaff94c3d
[GDI32_APITEST] Improve CreateFontIndirect testcase
2019-01-06 09:20:30 +09:00
Pierre Schweitzer
abb6fd83a4
[ADVAPI32_APITEST] Add tests showing that first field of OwningModuleInfo is the tag
...
Also, show that querying owner information about a connection owned by a service
returns the service name, and not the image nor its path.
Obviously, that fails in ReactOS.
2018-12-31 11:19:29 +01:00
Pierre Schweitzer
830f2998ab
[ADVAPI32_APITEST] Unknown field isn't that unknown and should contain "1"
...
See processhacker source code (as reference)
2018-12-29 22:09:52 +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
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
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
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
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
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
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
Mark Jansen
7882b6cfe3
[SHELL32_APITEST] Speed up the CUserNotification test in the failure case.
2018-09-23 20:03:08 +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
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
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
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
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
Katayama Hirofumi MZ
db13b422b3
[SHELL32] Fix a careless mistake of ShellExecCmdLine ( #737 )
...
CORE-14886
2018-08-10 13:25:50 +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
Stanislav Motylkov
8acc68dd98
[KERNEL32_APITEST] Add SystemFirmware tests
...
CORE-12105
2018-08-02 21:15:28 +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
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
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
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
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
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
Mark Jansen
7fe78f2779
[SHELL32_APITEST] Show that our current SHCreateFileExtractIconW is incorrect.
...
CORE-14082
2018-04-07 15:29:59 +02:00
Timo Kreuzer
6b1ca75899
[REACTOS] Fix 64 bit build ( #465 )
...
* [HAL] Simplify HalpReboot() and make it portable
* [NTOS:MM] Cast constant to PVOID
* [BINPATCH] Fix 64 bit build
* [VFDDRV] Fix 64 bit build and buffer overruns
* [USBOHCI] Fix structure alignment issues
* [ATL_APITEST] Fix 64 bit build
* [XDK] Update unwind structures in winnt.h
* [NTDLL_APITEST] Fix 64 bit build
* [NTDLL_WINETEST] Fix 64 bit build
* [TFTPD] Fix x64 build
* [USBPORT] Fix a C_ASSERT
* [DSOUND] Fix x64 build
* [HAL] Remove obsolete GetPteAddress() macro
2018-04-03 15:13:17 -06:00
Mark Jansen
96c0f7d341
Add initial test for IShellFolderViewCB
2018-03-30 19:46:24 +02:00
Mark Jansen
47da433742
[WS2_32_APITEST] Add additional testcases.
...
CORE-13067
2018-03-20 22:20:12 +01:00
Mark Jansen
3bf5349172
[WS2_32_APITEST] Add a test showing that GetFileType / _open_osfhandle should succeed.
...
CORE-13067
2018-03-19 22:35:21 +01:00
Mark Jansen
8bbbab534a
[APPHELP_APITEST] Fix some 64 bit issues.
2018-03-18 15:58:04 +01:00
Serge Gautherie
7f208124c9
[NTDLL_APITEST] Fix/Extend ApiTest NtAllocateVirtualMemory ( #207 )
...
* Fix 1 failure on both WS03 and ReactOS.
* Create CheckSomeDefaultAddresses(), with additional checks.
* Update license header.
* ROSTESTS-297
2018-03-17 17:30:01 +01:00
Serge Gautherie
84a9284a3f
[APPHELP_APITEST] Fix a Clang-Cl warning about a memcmp() call
...
"warning: argument to 'sizeof' in 'memcmp' call is the same pointer type 'SDBQUERYRESULT_VISTA *' (aka 'struct tagSDBQUERYRESULT_VISTA *') as the destination; expected 'SDBQUERYRESULT_VISTA' (aka 'struct tagSDBQUERYRESULT_VISTA') or an explicit length [-Wsizeof-pointer-memaccess]"
CORE-14306
2018-03-07 20:42:14 +01:00
Serge Gautherie
601871955f
[APPHELP_APITEST] env.c: Fix a 3rd Windows S2003 special case
...
Test_Shimdata() already has a TODO with 2 special cases.
- Special-case "dwLayerCount" too.
- Add extra-safety checks.
2018-03-07 20:42:14 +01:00
Thomas Faber
7905efdf35
[USER32_APITEST] Add a test for PeekMessage without DispatchMessage for WM_PAINT. CORE-13734
2018-03-07 13:20:42 +01:00
Mark Jansen
754a2fa872
[SHLWAPI_APITEST] Add test for SHAreIconsEqual
2018-03-05 22:43:17 +01:00
Thomas Faber
680d69d373
[AFD_APITEST] Introduce a test for directly creating and using sockets via AFD. CORE-9810
...
The initial tests in send.c validate correct behavior of send/sendto on
disconnected sockets (CORE-9810), fixed in r68129.
However, the helper functions are generic, so they can be used for additional
tests against AFD. Because AFD's create packet structure changes between
Windows versions, the functions check the OS version to determine the right
layout.
Tests succeed on Win2003 as well as Win10.
2018-03-05 14:52:56 +01:00
Thomas Faber
88b9b90337
[COM_APITEST] Add some interfaces.
2018-03-02 15:23:13 +01:00
Thomas Faber
b3bd2aabe1
[COM_APITEST] Fix test failures on Win2003.
2018-03-02 15:23:05 +01:00
Hermès Bélusca-Maïto
5f4a4b35e6
[ADVAPI32_APITEST] Open services & SCM handles with correct access rights; improve a check order.
2018-02-25 16:11:00 +01:00
Mark Jansen
8e1f342990
[APPSHIM_APITEST] Add Win8 and Win81 versionlie tests
2018-02-24 19:33:50 +01:00
Hermès Bélusca-Maïto
b77840d3a2
[SHELL32_APITEST] Run the CUserNotification worker test function in a thread to copy with possible test timeouts. CORE-13177
2018-02-17 16:02:22 +01:00
Hermès Bélusca-Maïto
d1265b932c
[COM_APITEST] Reenable two known interfaces ( #367 ). Caught by Thomas.
2018-02-16 00:15:41 +01:00
Hermès Bélusca-Maïto
02d17df031
[SHELL32_APITEST] Add a test for the CUserNotification implementation. CORE-13177
2018-02-15 22:38:38 +01:00
Hermès Bélusca-Maïto
70bbdca202
[COM_APITEST] Add tests for IUserNotification. CORE-13177
2018-02-15 22:37:32 +01:00
Serge Gautherie
12b0dfb71e
[APPSHIM_APITEST] Fix 2 Clang-Cl warnings about ok2
...
"warning: expression result unused [-Wunused-value]"
CORE-14306
2018-02-12 12:34:20 +01:00
Stanislav Motylkov
fad8b1f545
[IPHLPAPI_APITEST] Add tests for IcmpSendEcho
2018-01-31 17:28:21 +00:00
Giannis Adamopoulos
5b8975211d
[GDIPLUS] Add it to winsxs.
...
[NTDLL_APITEST] Remove a hack for gdiplus
2018-01-27 02:45:50 +02:00
Giannis Adamopoulos
22317b0ca4
[NTDLL_APITEST] Remove one of the hacks for the implicit activation context.
2018-01-27 02:45:50 +02:00
Katayama Hirofumi MZ
19f8ed2b7a
[GDI32_APITEST] Add GetTextMetrics tests to gdi32_apitest ( #307 )
...
CORE-13840
2018-01-26 23:23:00 +02:00
Serge Gautherie
804472fab8
[ATL_APITEST] CComObject.cpp: Fix output test name copypasta.
2018-01-24 18:59:19 +01:00
Mark Jansen
eec2e288be
[APPSHIM_APITEST] Windows 10 test update
2018-01-21 21:13:08 +01:00
Mark Jansen
f9395e92af
[APPHELP][APPHELP_APITEST] Fix SdbGetAppPatchDir prototype
2018-01-21 21:13:08 +01:00
Mark Jansen
f4f4466ffd
[APPSHIM_APITEST] Add test for shims in AcLayers
2018-01-21 21:13:08 +01:00
Mark Jansen
fc503b7c08
[APPSHIM_APITEST] Add test for shims in AcGenral
2018-01-21 21:13:08 +01:00
Colin Finck
22ffe5300b
[PRINTING] Replace all my custom marshalling code by calls to the newly implemented APIs, thereby significantly reducing the codebase and providing a sane template to implement more Printing APIs.
2018-01-17 12:52:12 +01:00
Colin Finck
f3ea8225cb
[PRINTING] Implement the undocumented MarshallDownStructure, MarshallDownStructuresArray, MarshallUpStructure, and MarshallUpStructuresArray to the extent I need and could find out through black-box testing.
...
PDBs reveal that these functions are also used in winspool.drv, but not imported from spoolss.dll to retain the client/server architecture.
As winspool.drv highly benefits from the MarshallUp* functions, I put them in a source file shared between spoolss.dll and winspool.drv.
The added API Tests cover my testing and all implemented features.
One more item done from https://reactos.org/wiki/Printing !
2018-01-17 10:13:25 +01:00
Mark Jansen
4bdc74bf5d
[COM_APITEST] Add zipfldr tests.
...
CORE-7684 #234
2017-12-31 14:56:22 +01:00
Colin Finck
3b93ba0f31
[LOCALSPL] Fix parameter handling in LocalSetJob and add tests for the few ways we can easily test this function.
...
Yes, it checks the input handle and doesn't fail if an invalid level is given, because someone may still send a Command.
This also fixes CORE-12794. Thanks for reporting!
2017-12-25 14:30:47 +01:00
Mark Jansen
9187a81538
[ATL_APITEST] Add a test for CComBSTR.Attach/Detach
2017-12-25 14:00:51 +01:00
Mark Jansen
bccdcded28
[ATL_APITEST] Add a test for CString.AllocSysString
2017-12-25 14:00:51 +01:00
Amine Khaldi
a66bbfa92c
[SHELL32_APITEST] Rename TestShellFolder, test_data and Tests. #179
2017-12-25 13:33:33 +01:00
Giannis Adamopoulos
1db8bd46d6
[NTDLL_APITEST] -Add a hacky Microsoft.Windows.GdiPlus.manifest.
...
This is needed because ntdlltest.manifest has a dependency
on gdiplus and won't load because we don't have it in winsxs.
Eventually this must be removed.
2017-12-24 21:19:03 +02:00
Giannis Adamopoulos
7059421a23
[NTDLL_APITEST] Add several tests for RtlDosApplyFileIsolationRedirection_Ustr
2017-12-24 21:19:03 +02:00
Mark Jansen
f941c78f50
[ATL_APITEST] Show that CComObject's COM_MAP continues enumeration after a failing blind function.
2017-12-21 21:37:54 +01:00
Amine Khaldi
b09a63709b
[WS2_32_APITEST] Improve the existing PCH and make use of it.
2017-12-21 13:36:04 +01:00
Amine Khaldi
823270e608
[ATL_APITEST] Add a PCH.
2017-12-21 13:31:24 +01:00
Mark Jansen
cba274350e
[BROWSEUI_APITEST] Add tests for IACLCustomMRU.
...
CORE-9281
2017-12-18 23:17:17 +01:00
Mark Jansen
8aaa5eea75
[COM_APITEST] Add IACLCustomMRU
2017-12-18 23:17:17 +01:00
Amine Khaldi
e36cf4acaf
[APITESTS][WINETESTS] Addendum to the recent PCH work.
2017-12-18 13:21:47 +01:00
Amine Khaldi
8ed8eec17c
[SHELL32_APITEST] Improve the existing PCH and make use of it. Convert AddCommas.c to c++ in order to have it benefit from the PCH.
2017-12-17 13:31:22 +01:00
Amine Khaldi
3bf31bf2ab
[WIN32KNT_APITEST] Improve the existing PCH and make use of it.
2017-12-17 12:17:37 +01:00
Pierre Schweitzer
72094e637d
[KERNEL32_APITEST] Add a test for FormatMessage backed with MC file.
2017-12-16 19:43:29 +01:00
Amine Khaldi
e00cc9728c
[KERNEL32_APITEST] Add a PCH.
2017-12-13 13:48:26 +01:00
Amine Khaldi
3543c43252
[COM_APITEST] Improve the existing PCH and make use of it.
2017-12-12 13:01:03 +01:00
Amine Khaldi
24f8946956
[ADVAPI32_APITEST] Add a PCH.
2017-12-12 12:44:32 +01:00
Colin Finck
3a69fd4e96
[PRINTING] Fix GetPrinterW, add tests for it and GetDefaultPrinterA/W, and add a proper stub for GetPrinterDriverDirectoryA.
...
* Pass the correct handle to _RpcGetPrinter in GetPrinterW.
* Pass an empty string instead of a NULL pointer as wszComputerName to the GetPrinterLevel* functions, because this variable is later used as source for StringCbCopyExW.
* Don't check for GetLastError() == ERROR_SUCCESS in tests. Windows apparently only sets the last error in case of failure.
The Printing code should probably be changed similarly in a future commit.
Should fix CORE-14072
2017-12-10 12:28:08 +01:00
Amine Khaldi
eafa77f30a
[GDI32_APITEST] Properly add CreateDIBPatternBrush.c to the source files list instead of relying on CMake to do so.
2017-12-09 20:03:08 +01:00
Mark Jansen
4ac511405f
[SHELL32_APITEST] Add test for SHCreateFileExtractIconW
...
CORE-14082
2017-12-09 11:56:42 +01:00
Serge Gautherie
a11841c939
[NTDLL_APITEST] Create Test_NtFreeVirtualMemory_Parameters(). CORE-13126
...
- Test 4th parameter ("ULONG FreeType") invalid values.
2017-12-08 09:47:44 +01:00
Thomas Faber
4aabe88288
[NTDLL_APITEST] Add license header for NtFreeVirtualMemory.c
2017-12-08 09:47:42 +01:00
Amine Khaldi
9b349f958c
[ADVAPI32_APITEST][NTDLL_APITEST][WINDOWSCODECS] Comment out some unused functions and types. Silences some clang-cl warnings.
2017-12-08 00:22:05 +01:00
Serge Gautherie
6fe9441d32
[NTDLL_APITEST] Allow the test to load on Windows XP. ROSTESTS-293
2017-12-07 09:54:53 +01:00
Stanislav Motylkov
df88fcf5cc
[SHELL32_APITEST] SHParseDisplayName: More tests for relative paths
2017-12-05 10:48:37 +02:00
Stanislav Motylkov
5dade73072
[BROWSEUI_APITEST] Improve tests for relative paths
2017-12-05 10:48:37 +02:00
Stanislav Motylkov
d6e0c422e1
[IPHLPAPI_APITEST] Add tests for interface resolving functions
...
CORE-13831, CORE-14033
2017-12-03 21:08:31 +01:00
Amine Khaldi
c39b0fc667
[USER32_APITEST] Add a PCH.
2017-12-02 22:18:06 +01:00
Amine Khaldi
283bbe7346
[NTDLL_APITEST] Add a PCH.
2017-12-02 22:15:04 +01:00
Amine Khaldi
aee83c359c
[GDI32_APITEST] Add a PCH.
2017-12-02 22:14:47 +01:00
Pierre Schweitzer
3a33ab9638
[NTDLL_APITEST] Add simple tests for RtlUnicodeStringToAnsiString() that were used to test the kernel32 regression
2017-10-16 22:04:22 +02:00
Pierre Schweitzer
eb05356a26
[KERNEL32_APITEST] Add a few tests for GetVolumeInformation that were used to fix previous issues
2017-10-15 10:44:50 +02:00
Pierre Schweitzer
d788a52c79
[KERNEL32_APITEST]: Add tests for IOCTL_MOUNTDEV_QUERY_SUGGESTED_LINK_NAME that show its usage is "one-shot". Once queried, it gets forgotten.
2017-10-08 10:12:08 +02:00
Pierre Schweitzer
ac8d045461
[KERNEL32_APITEST]: Rewrite DeviceIoControl to test both disk.sys and cdrom.sys
2017-10-07 14:07:06 +02:00
Pierre Schweitzer
d3b4f09eb3
[KERNEL32_APITEST]: Fix uninit stack var usage
2017-10-07 12:11:17 +02:00
Pierre Schweitzer
a6b61b855c
[KERNEL32_APITEST]: Add few tests for IOCTL_MOUNTDEV_QUERY_UNIQUE_ID
2017-10-07 12:09:27 +02:00
Colin Finck
da53a9399a
[WS2_32_APITEST] Make the apitest fully C89-compliant to fix building under MSVC 2010.
...
In C89, you can only initialize the first member of a union within a declaration. Unfortunately, that is the S_un_b UCHAR array for the S_un union inside struct in_addr.
So we have to initialize it with each UCHAR member of Address.
2017-10-06 17:33:47 +02:00
Colin Finck
9ebf43567d
Add .gitattributes and .gitignore files and normalize line endings in the repository ( #10 )
2017-10-04 20:37:32 +02:00
Colin Finck
c2c66aff7d
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
2017-10-03 07:45:34 +00:00