Commit graph

2325 commits

Author SHA1 Message Date
Mark Jansen
ba05a7eccf [WINTRUST_WINETEST] Import Wine Staging commit bdb15cf (WinVerifyTrust tests), by Sebastian Lackner & Me CORE-10923
svn path=/trunk/; revision=71248
2016-05-03 19:29:39 +00:00
Thomas Faber
0beda486ca [REG_WINETEST]
- Addendum to r71232: we no longer need to skip this test.
ROSTESTS-200

svn path=/trunk/; revision=71236
2016-05-02 20:30:59 +00:00
Thomas Faber
c55c338dfa [NTOS:CM]
- Correctly handle NULL Data with nonzero DataSize in NtSetValueKey
ROSTESTS-200 #resolve

svn path=/trunk/; revision=71232
2016-05-02 13:19:44 +00:00
Mark Jansen
0984c6825b [APPHELP][APPHELP_APITEST] Add some apphelp GUID helper functions + tests to be used later on. CORE-10367
- SdbGetStandardDatabaseGUID
- SdbGUIDFromString
- SdbGUIDToString
- SdbIsNullGUID

svn path=/trunk/; revision=71230
2016-05-01 21:43:30 +00:00
Mark Jansen
78280ad21f [APPHELP][APPHELP_APITEST] Add SdbGetFileAttributes + tests, based on the work of Mislav Blažević CORE-10367
- Implement SdbGetFileAttributes (based on the work of Mislav Blažević)
- Add tests for SdbGetFileAttributes

svn path=/trunk/; revision=71226
2016-05-01 19:12:06 +00:00
Thomas Faber
c1a1365490 [SHELL32_APITEST]
- Add a test for SHParseDisplayName
CORE-10434

svn path=/trunk/; revision=71216
2016-04-30 15:06:57 +00:00
Mark Jansen
b1e3b339f6 [APPHELP][APPHELP_APITEST] Update SdbTagToString tests to check all known tags CORE-10367
- Add a list of hardcoded tags, for all versions up to win7 they are checked against windows.
- Update SdbTagToString with a few missing strings
- Hardcode the used version to Win7 for now, as backporting these strings would not make much sense.

svn path=/trunk/; revision=71200
2016-04-24 17:19:09 +00:00
Mark Jansen
f97c563d01 Nothing to see here.
svn path=/trunk/; revision=71198
2016-04-24 13:27:22 +00:00
Mark Jansen
7aaa9aee54 [APPHELP][APPHELP_APITEST] Add SdbTagToString + test by Mislav Blažević CORE-10367
svn path=/trunk/; revision=71197
2016-04-24 13:05:00 +00:00
Mark Jansen
91d86a9a91 [SDK][SDK_APITEST] Improve delayload support CORE-10935
- Add an apitest for our delayload functions.
- Improve the delayload (mainly the failure cases, throw exceptions where expected etc).
- Add some tests for advanced delayload features (currently blocked on CORE-6504 and CORE-10957)

svn path=/trunk/; revision=71190
2016-04-23 20:38:06 +00:00
Sylvain Petreolle
8c386bbbcc [ROSTESTS]
apitests: win32kdll and win32nt can't be built on Release builds,
NtUserSetDbgTag is not exported.


svn path=/trunk/; revision=71189
2016-04-23 20:08:10 +00:00
Amine Khaldi
248dcd328b * Addendum to r71184. CORE-9111
svn path=/trunk/; revision=71185
2016-04-20 12:39:37 +00:00
Pierre Schweitzer
909eb635f2 [KMTESTS:FSRTL]
Add more failing tests for MCB. These are pretty basics and deal with holes.
They are pretty handy to show how broken the current MCB implementation is, in regard to holes management: it fails at properly counting runs when there are holes and it creates virtual runs (hence the broken count) for each hole. This shouldn't happen.

CORE-11002

svn path=/trunk/; revision=71177
2016-04-17 21:17:49 +00:00
Thomas Faber
a976f17441 [USER32_APITEST]
- Add a test for window station reference counts
CORE-11124

svn path=/trunk/; revision=71173
2016-04-16 20:30:11 +00:00
Pierre Schweitzer
d814167aba [KMTESTS:FSRTL]
Add more non-failing tests

CORE-11002

svn path=/trunk/; revision=71162
2016-04-15 19:43:12 +00:00
Thomas Faber
d58a87beca [NTOS:PS]
- Return sensible values for KernelTime/UserTime from NtQueryInformationProcess:ProcessTimes
CORE-7007 #resolve

svn path=/trunk/; revision=71153
2016-04-12 17:44:47 +00:00
Thomas Faber
8bed306ee8 [NTDLL_APITEST]
- Add a test for NtQueryInformationProcess:ProcessTimes
CORE-7007

svn path=/trunk/; revision=71152
2016-04-12 17:39:01 +00:00
Thomas Faber
42ec0c2167 [COM_APITEST]
- Add some more classes, thanks to http://www.geoffchappell.com/studies/windows/ie/browseui/classes/index.htm

svn path=/trunk/; revision=71150
2016-04-12 13:18:32 +00:00
Thomas Faber
76370aa3b4 [ADVAPI32]
- Fix null termination in RegQueryInfoKeyA. Based on Wine commit 303daeef by Alexandre Juilliard.

svn path=/trunk/; revision=71149
2016-04-12 13:01:35 +00:00
Mark Jansen
57c45625a3 [SHELL32][SHELL32_WINETEST] Connect CDefViewDual to CDefView to fix crashes in the shelldispatch test ROSTESTS-209
- CDefViewDual::get_Application now returns a new CDefView to fix the winetest.
- Update CFolder, CFolderItem(s), CFolderItemVerb(s), CShell to use the new IDispatchImpl
- Enable the last two skipped testcases (test_ShellFolderViewDual, test_ShellWindows)

svn path=/trunk/; revision=71144
2016-04-11 18:28:31 +00:00
Pierre Schweitzer
4d3121a2c1 [KMTESTS:FSRTL]
Add a simple test for FsRtlAddLargeMcbEntry() which shows how hard it's broken... Not only it doesn't support mismatching LBNs, but it also replaces current mapping with broken one

CORE-11002

svn path=/trunk/; revision=71141
2016-04-10 18:02:04 +00:00
Thomas Faber
05838e4ee8 [COM_APITEST]
- Add some classes and interfaces related to CORE-10838.

svn path=/trunk/; revision=71136
2016-04-10 09:40:16 +00:00
Thomas Faber
ce2ec6562e [COM_APITEST]
- Add even more interfaces

svn path=/trunk/; revision=71127
2016-04-09 15:13:01 +00:00
Thomas Faber
70c91c4798 [COM_APITEST]
- Add some more interfaces

svn path=/trunk/; revision=71126
2016-04-09 14:05:08 +00:00
Thomas Faber
e71bfbadc6 [COM_APITEST]
- Add ieframe classes CLSID_Internet, CLSID_CUrlHistory, CLSID_InternetShortcut, CLSID_ShellUIHelper, CLSID_ShellNameSpace, CLSID_WebBrowser and CLSID_WebBrowser_V1
- Add shdocvw classes CLSID_SearchAssistantOC, CLSID_ShellSearchAssistantOC and CLSID_ShellShellNameSpace

svn path=/trunk/; revision=71123
2016-04-09 09:22:57 +00:00
Thomas Faber
02d3757499 [COM_APITEST]
- Add IID_ICallFactory, IID_IForegroundTransfer and IID_IRpcOptions
- Fix a format string mismatch

svn path=/trunk/; revision=71122
2016-04-09 09:18:57 +00:00
Thomas Faber
e58452bd21 [COM_APITEST]
- Add more interfaces, in particular IID_IMarshal2 and DIID_DWebBrowserEvents
- Alphabetize ieframe classes

svn path=/trunk/; revision=71121
2016-04-09 09:00:44 +00:00
Thomas Faber
1687e7dce2 [COM_APITEST]
- Test INamespaceWalk, INamespaceWalkCB and INamespaceWalkCB2
CORE-11093

svn path=/trunk/; revision=71120
2016-04-09 08:49:17 +00:00
Thomas Faber
acfe26b095 [OLE32]
- Apply Wine commit 110665a3 (ole32: Don't call spy on IMalloc::Free(NULL)) by Nikolay Sivov. Fixes test failures in atl:CComHeapPtr
CORE-11107 #resolve

svn path=/trunk/; revision=71119
2016-04-09 08:31:49 +00:00
Thomas Faber
78a727d095 [SHELL32]
- Add stubs for the shell dispatch object, CShell, and its relatives. Patch by Mark Jansen.
[SHELL32_WINETEST]
- We no longer need to skip test_ParseName and test_Verbs thanks to Mark's work.
CORE-6892
ROSTESTS-209

svn path=/trunk/; revision=71116
2016-04-08 08:30:09 +00:00
Thomas Faber
518a536514 [NTDLL_APITEST]
- Add missing va_end. Patch by Víctor Martínez Calvo.
ROSTESTS-202 #resolve

svn path=/trunk/; revision=71108
2016-04-06 19:31:20 +00:00
Thomas Faber
3d165be77b [CRT_APITEST]
- Add missing va_end. Patch by Víctor Martínez Calvo.
ROSTESTS-221 #resolve

svn path=/trunk/; revision=71107
2016-04-06 12:34:26 +00:00
Thomas Faber
edc42192c4 [WS2_32_APITEST]
- Add test for getservbyname
CORE-10440

svn path=/trunk/; revision=71101
2016-04-05 12:44:16 +00:00
Thomas Faber
8726fc984a [WS2_32_APITEST]
- Add test for getservbyport
CORE-10440

svn path=/trunk/; revision=71100
2016-04-05 12:20:47 +00:00
Timo Kreuzer
bb8967851b [KMTEST] Improve test output
svn path=/trunk/; revision=71094
2016-04-03 14:05:58 +00:00
Pierre Schweitzer
b37377e363 [KMTESTS:FSRTL]
Add more tests for LargeMcb functions.

These are not invented but real cases: they are extracted from Ext2Fsd driver attempting to read a file from disk. The read file in ReactOS is totally corrupted.

This shows how broken our current MCB implementation is. And unfortunately confirms CORE-11002.
I recommend not to import any other FSDs relying on MCB as long as this is not fixed (eg. CORE-11040); it makes them pretty pointless.

CORE-11002

svn path=/trunk/; revision=71091
2016-04-03 10:25:32 +00:00
Thomas Faber
001dc229d5 [APPHELP_APITEST]
- Add tests for the apphelp SDB compatibility layer. Patch by Mark Jansen.
CORE-10367

svn path=/trunk/; revision=71077
2016-03-29 08:55:40 +00:00
Thomas Faber
027a043944 [SHELL32_APITEST]
- Add tests for IShellFolder::CompareIDs. Patch by Mark Jansen, with additional test cases by Sylvain Deverre.
CORE-10747

svn path=/trunk/; revision=71064
2016-03-28 15:35:21 +00:00
Thomas Faber
d7dacbad47 [CMAKE]
- Delay imports belong before regular imports because delayimp may pull in functions from kernel32
CORE-10935

svn path=/trunk/; revision=71061
2016-03-27 15:14:32 +00:00
Pierre Schweitzer
ef0b98d6fb [KMTESTS]
- Define a new macro function KmtGetSystemOrEmbeddedRoutineAddress() which is to be used to get a function address from Mm if it exists system-wide or to fallback to embedded function if it doesn't exist
- Use this mechanism to add tests for the newly implemented FsRtlRemoveDotsFromPath() which is Vista+.

That allows, with a single build (and thus, same binaries), testing a function in ReactOS and in Windows. 

svn path=/trunk/; revision=71046
2016-03-25 18:53:43 +00:00
Pierre Schweitzer
f8ab19dde0 [NTDLL_APITEST]
RtlGenerate8dot3Name: add more test locales

svn path=/trunk/; revision=71028
2016-03-20 11:31:42 +00:00
Pierre Schweitzer
34de8c69b3 [NTDLL_APITEST]
Set correct locale in RtlGenerate8dot3Name test.
This makes the test reproducible on every target plateform.

Patch by Mark Jansen.

ROSTESTS-218 #resolve #comment Patch commited in r71027. Thanks!

svn path=/trunk/; revision=71027
2016-03-20 10:51:14 +00:00
Amine Khaldi
a0ab4941f0 [USER32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70979
2016-03-09 09:25:21 +00:00
Amine Khaldi
98e06283e7 [SETUPAPI_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70978
2016-03-09 08:44:49 +00:00
Amine Khaldi
182359adfd [SHELL32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70977
2016-03-09 08:43:20 +00:00
Amine Khaldi
13376ac48f [MSVCRT_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70976
2016-03-09 08:36:59 +00:00
Amine Khaldi
6be757f3b7 [IMM32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70975
2016-03-09 08:32:48 +00:00
Amine Khaldi
73f123b287 [KERNEL32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70973
2016-03-08 15:49:46 +00:00
Amine Khaldi
70c93228cb [GDI32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70971
2016-03-08 15:01:05 +00:00
Amine Khaldi
b72891aa32 [DNSAPI_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70963
2016-03-06 16:50:59 +00:00