Commit graph

698 commits

Author SHA1 Message Date
Joachim Henze 2d3b72a070 [ROSAPPS][PICE] Fix a glitch at two places where code intends to replace invalid chars with spaces ROSAPPS-353
Found by some static code analysis tool reporting 'Condition always false'.
The fix is a selective back-port from the more recent version of pICE hardware.c
Revision: 1.6, Date: 2004/02/17 23:07:36

The most recent source of pICE atm can be found at
https://sourceforge.net/projects/pice/files/pICE%20source/build_20/

Thanks to DougLyons and JIRA user 'maddin200'.
2019-05-30 12:40:54 +02:00
Joachim Henze 0d20e8988d [ROSAPPS][GETTYPE] Fix a copy-paste-issue when checking for Win2000 CORE-16073 2019-05-29 21:19:02 +02:00
Katayama Hirofumi MZ ec14b4c50a
[WIN32KNT_APITEST] Split win32knt_apitest to 3 modules (#1588)
Split win32knt_apitest to 3 modules (win32knt_apitest, win32knt_xpsp2_apitest and win32knt_2k3sp2_apitest) for usability. These 3 modules are different in linking (win32u.dll, win32u_xpsp2.dll and win32u_2k3sp2.dll). I think it's better to separate for clarity.
2019-05-29 20:32:32 +09:00
Katayama Hirofumi MZ dbc20b6484
[KERNEL32_APITEST] Check also 'NV Hostname' in SetComputerNameExW testcase (#1581)
Also test NV Hostname registry value in the testcase of kernel32!SetComputerNameW. ROSTESTS-322
2019-05-27 11:24:16 +09:00
Katayama Hirofumi MZ ed0c613528
[GDI32_APITEST] Improve GetGlyphIndices testcase (#1582)
Strengthen the testcase for gdi32!GetGlyphIndicesW. CORE-12825
2019-05-27 11:19:44 +09:00
Katayama Hirofumi MZ 87f5d017a4 [KERNEL32_APITEST] Fix build 2019-05-27 02:34:32 +09:00
Serge Gautherie de2b20d240 [KERNEL32_APITEST] Improve SetComputerNameExW test a bit (#1580)
Addendum to 8aeb6a9. ROSTESTS-227
2019-05-27 02:33:03 +09:00
Katayama Hirofumi MZ 8aeb6a920a
[KERNEL32_APITEST] Add SetComputerNameExW testcase (#1578)
Add testcase of kernel32!SetComputerNameExW function. ROSTESTS-227
2019-05-25 21:15:24 +09:00
Katayama Hirofumi MZ 68fcf906d9
[GDI32_APITEST] Strengthen TextTransform more (#1568)
Appendant to #1567. Add more tests for gdi32_apitest!TextTransform. CORE-15554
2019-05-19 19:11:12 +09:00
Katayama Hirofumi MZ 3a071a19ef [GDI32_APITEST] Fix MSVC build 2019-05-19 15:08:38 +09:00
Katayama Hirofumi MZ 7373cb3174
[GDI32_APITEST] Strengthen TextTransform testcase (#1567)
CORE-15554
2019-05-19 14:13:56 +09:00
jimtabor 25198d5cbd [Win32nt|ApiTests] Add ExtSelectClipRgn test
For CORE-13817 and CORE-15906
2019-05-08 12:31:17 -05:00
Serge Gautherie 627f0242ad [ROSAUTOTEST] Fix and improve some log handling (#1531)
* wmain(): Use endl instead of '\n', for 'System uptime'
* wmain(): Output "[ROSAUTOTEST] " in two cases: 'System uptime' and all CSimpleException.
2019-05-07 08:39:52 +02:00
Pierre Schweitzer 83d8fbf434 [ROSAUTOTEST] Don't disallow buffering for journal file
This fixes back journal in ReactOS "at low costs". Indeed,
because write are improperly aligned right now, journaling
just fails.
With that patch, Cc will take care of aligning writes and
journal will be written again. Because flush operations
happen at each and every write to the journal, we expect
changes to land on disk quickly (not as quickly as if
they were directly written). But that's a good trade off
between over engineering and fixing a broken feature.

CORE-15973
2019-05-04 11:54:39 +02:00
Mark Jansen 1292f5f881
[APPSHIM_APITEST] Fix 2k3 test failures 2019-05-02 22:07:49 +02:00
Pierre Schweitzer bdaa8e5ad1
[NTDLL_APITEST] Query sector size for NtWriteFile tests 2019-05-02 13:59:47 +02:00
Pierre Schweitzer 64b6327dd7
[NTDLL_APITEST] Add tests for alignment for NtWriteFile
This mimics the usage of WriteFile which is done in rosautotest.

 CORE-15973
2019-05-02 12:09:34 +02:00
Mark Jansen 0e9ca37517
[ROSAPPS] Add a test application for shims 2019-05-01 19:22:19 +02:00
Katayama Hirofumi MZ 88fbb600bf
[GDI32_APITEST] Improve SetMapMode testcase (#1547)
Check the relation of mode change and viewport change. CORE-14994
2019-05-01 18:28:18 +09:00
Katayama Hirofumi MZ 0ac563b3ec [KERNEL32_APITEST] JapaneseCalendar: Reiwa era has come! 2019-05-01 16:15:23 +09:00
Katayama Hirofumi MZ 9ce337242b [WIN32KNT_APITEST] Forgot a extension in CMakeLists.txt 2019-04-29 19:42:04 +09:00
Katayama Hirofumi MZ 45ec49ca2f [APITESTS] set_module_type(win32u module) 2019-04-29 12:49:54 +09:00
Katayama Hirofumi MZ 45bbb11a50
[APITESTS] Add NtGdiTransformPoints testcase (#1542)
Add a testcase for NtGdiTransformPoints function. set_module_type(win32u... win32dll) CORE-15983
2019-04-29 09:13:22 +09:00
Hermès Bélusca-Maïto f21f750467
[KERNEL32_APITEST] Rename the 'Console.c' file into 'ConsoleCP.c' and its test-function as well, in order to reflect the actual name of the corresponding test. 2019-04-28 23:46:35 +02:00
Serge Gautherie f79ca12eda [ROSAUTOTEST] "Enforce" ending '\n' on C___Exception messages (#1533) 2019-04-28 12:20:37 +02:00
Colin Finck 86ae6b029f
[ROSAUTOTEST] A timeout of 120 seconds kills the msi:action test prematurely, so increase it to 170 seconds.
This is still below the 180 seconds before sysreg2 kills the entire VM.
I've added a comment to clarify that.
2019-04-26 10:31:02 +02:00
Colin Finck 064dffe6c3 [ROSAUTOTEST] Cache the result of GetLastError(). 2019-04-26 08:47:15 +02:00
Colin Finck 7dd4d2256b [ROSAUTOTEST] Implement a process activity timeout of 2 minutes. If there is no log output within 2 minutes, the test process is killed, and we continue with the next test.
This is a rather graceful approach compared to sysreg2's 3 minute timeout before killing and restarting the entire VM.
Since we added autochk for FAT filesystems, the filesystem is often "fixed" after a reset with the consequence that ReactOS doesn't boot up anymore.
The sysreg2 restart code still remains for handling tests causing BSODs.
2019-04-26 08:47:15 +02:00
Katayama Hirofumi MZ cd489d8d9b [GDI32_APITEST] Fix build s/IGNORE/NO_CHECK/ 2019-04-22 14:20:42 +09:00
Katayama Hirofumi MZ a6b84082e6
[GDI32_APITEST] Rewrite DPtoLP testcase (#1509)
Sorry, I had to rewrite gdi32!DPtoLP testcase. ROSTESTS-319
2019-04-22 13:48:57 +09:00
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 537f4c2195
[NETREG] Use exceptions with stl 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
Pierre Schweitzer 98972036d9
[KMTESTS:CC] Add tests for CcCopyWrite
CORE-15384
2019-04-16 19:50:27 +02:00
Timo Kreuzer 146096cd2e [3RDPARTY] Make some warnings non-fatal 2019-04-13 14:07:50 +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