Commit graph

710 commits

Author SHA1 Message Date
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
Serge Gautherie 96a4ab87d4 [NCFTP] Check _DEBUG with #ifdef, not #if (#1616) 2019-06-06 01:49:52 +02:00
Serge Gautherie 347a74785e [WIN32KNT_APITEST] Replace remaining TESTX() (#1609)
Addendum to b7794e8112.
2019-06-04 11:48:04 +09:00
Serge Gautherie 92a9a445dd [WIN32KNT_APITEST:NTDD] Improve failure handling
And remove comments about ReactX.

ROSTESTS-315
2019-06-02 19:10:30 +02:00
Serge Gautherie ba884619b0 [FORMATTING] Add/Remove a few spaces 2019-06-02 19:10:30 +02:00
Serge Gautherie 620d8c01ea [USER32_APITEST:WNDPROC] Improve failure handling
ROSTESTS-316
2019-06-02 19:08:17 +02:00
Serge Gautherie c5d3ff03fb [USER32_APITEST:WNDPROC] 0 to NULL 2019-06-02 19:08:17 +02:00
Serge Gautherie 9a8b5ffc91 [FORMATTING] 3-spaces to 4-spaces
And a few additional formatting improvements.
2019-06-02 19:08:17 +02:00
Joachim Henze 07fa6fc38c [ROSTESTS][GLOBAL_MEM] GlobalAllocNFree might return SUCCESS even in failure case due to unintended semicolon ROSTESTS-323 2019-06-01 00:05:06 +02:00
Katayama Hirofumi MZ 6b5bb194b0
[KERNEL32_APITEST] dynamic linked RtlIsCriticalSectionLockedByThread (#1592)
Statically linked ntdll.RtlIsCriticalSectionLockedByThread had made kernel32_apitest unable to run in XP. CORE-16077
2019-05-31 20:23:30 +09:00
Katayama Hirofumi MZ 8d38373fd2 [KERNEL32_APITEST] Check CJK codepage before tests 2019-05-31 16:28:07 +09:00
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