Commit graph

708 commits

Author SHA1 Message Date
Amine Khaldi 80afa82c59 [WIN32NT_APITEST] Add some NtUserCreateWindowEx tests by Sylvain Deverre. ROSTESTS-237
svn path=/trunk/; revision=72242
2016-08-17 17:53:11 +00:00
Mark Jansen caa5c5b12d [CRT][CRT_APITEST] Fix __getmainargs and __wgetmainargs parsing, verified with apitests. Patch by Yaroslav Veremenko. CORE-11673 #resolve #comment Thanks!
svn path=/trunk/; revision=72214
2016-08-12 21:31:32 +00:00
Hermès Bélusca-Maïto 0bdab15b0f [ADVAPI32_APITEST]: Addendum to r72207:
- Fix the tests so that they test what they have to test, on ReactOS & Windows 2k3/XP. (Note that here, ReactOS used the more restrained event size limitations of Vista+ compared to those of Win2k3. I choose to test, and will implement, the size limitations of Win2k3.)
- Choose a different name for the test such that it doesn't collide with the 'eventlog' test from advapi32_winetest.
CORE-11838 CORE-11839

svn path=/trunk/; revision=72209
2016-08-12 13:38:49 +00:00
Hermès Bélusca-Maïto b3195b9538 [ADVAPI32_APITEST]: Add some supplemental tests for Winetests' Event Logging functions, testing different RPC limits related to the maximum size of the data buffer in events.
CORE-11838 CORE-11839

svn path=/trunk/; revision=72207
2016-08-12 12:15:24 +00:00
Hermès Bélusca-Maïto 9a84ae8ab1 Remove extra ending semicolons in our C code base.
svn path=/trunk/; revision=72199
2016-08-11 16:50:41 +00:00
Mark Jansen da6a705bb1 [ATL][ATL_APITEST] Partially implement CRegKey + add tests. CORE-11746
svn path=/trunk/; revision=72191
2016-08-10 19:34:38 +00:00
Ged Murphy 705846cb25 [FLTLIB_APITEST]
- Create a skeleton test project for fltlib.dll
- Not yet part of the build

svn path=/trunk/; revision=72173
2016-08-09 21:23:40 +00:00
Hermès Bélusca-Maïto 13b28424d8 [APITESTS]: Add a test for advapi32!IsTextUnicode.
CORE-11803

svn path=/trunk/; revision=72148
2016-08-07 16:35:56 +00:00
Mark Jansen 49fc85553f [ATL][ATL_APITEST] Add implementation + tests for most functions from CPoint, CSize, CRect. CORE-11747 #resolve
Not all functions are implemented, the ones that are not implemented are left in a comment in the header.

svn path=/trunk/; revision=72110
2016-08-04 19:15:21 +00:00
Mark Jansen 684feb7418 [ATL][ATL_APITEST] Implement / Improve CString, based upon the code that was already there. CORE-11579 #resolve
Add code + tests for:
Conversion of A->W and W->A, equality operators, MakeLower, MakeUpper, Find, FindOneOf, ReverseFind, Compare, Mid, Left, Right, Format, Replace, Trim, TrimLeft, TrimRight.

svn path=/trunk/; revision=72061
2016-07-30 19:07:43 +00:00
Thomas Faber ba1b985215 [SHELL32_APITEST]
- Add a test for CShellLink::GetDescription/SetDescription
CORE-5272

svn path=/trunk/; revision=72035
2016-07-28 15:25:35 +00:00
Thomas Faber e556dea177 [KERNEL32]
- Fix GetComputerNameEx behavior with regard to NULL/non-NULL buffers and size calculation
CORE-11368

svn path=/trunk/; revision=71950
2016-07-16 07:08:21 +00:00
Thomas Faber 4a36ad96cb [DNSAPI_APITEST]
- Handle unexpected failures without crashing
ROSTESTS-226

svn path=/trunk/; revision=71717
2016-07-02 08:49:07 +00:00
Thomas Faber f6bb8b1fb6 [DNSAPI_APITEST]
- Fix unix build
ROSTESTS-226

svn path=/trunk/; revision=71710
2016-07-01 15:19:40 +00:00
Thomas Faber 2d22483bef [DNSAPI_APITEST]
- Add a test for DnsQuery. Patch by Víctor Martínez Calvo, with additional tests and fixes by me.
ROSTESTS-226 #resolve

svn path=/trunk/; revision=71709
2016-07-01 14:44:55 +00:00
Thomas Faber b25491463d [SHELL32_APITEST]
- Add a test for CShellLink GetPath/SetPath behavior with environment variables. Patch by Andreas Maier.
ROSTESTS-229 #resolve

svn path=/trunk/; revision=71672
2016-06-25 22:09:49 +00:00
Mark Jansen 2df110e92d [MSGINA_APITEST] Add a test for ShellDimScreen, used to fade out the background of the logoff dialog. Thanks to Jared for finding the api, and Hermès for his help! CORE-11422
svn path=/trunk/; revision=71649
2016-06-16 21:00:08 +00:00
Hermès Bélusca-Maïto 2a6da4ca41 [APITESTS]: Fix MSVC warning C4114: "same type qualifier used more than once".
svn path=/trunk/; revision=71642
2016-06-15 17:45:06 +00:00
Mark Jansen 122a7bd37d [APPHELP_APITEST] Extend stringtable related tests. CORE-10367
svn path=/trunk/; revision=71572
2016-06-05 21:26:07 +00:00
Mark Jansen 85de8c6ccb [APPSHIM_APITEST] Show a few shims that do not use hooks to function.
svn path=/trunk/; revision=71513
2016-06-04 14:51:38 +00:00
Mark Jansen 4847a35732 [APPHELP_APITEST][APPHELP] Add new tests showing that SdbWriteStringTag and SdbEndWriteListTag are incorrect, fix SdbEndWriteListTag CORE-10367
SdbWriteStringTag requires the database to keep track of written strings, and append a stringtable to a database.

svn path=/trunk/; revision=71501
2016-06-02 18:59:04 +00:00
Mark Jansen d37cb8f5ad [APPHELP][ACLAYER][APPSHIM_APITEST] Fix some WCHAR hack constructions that VS 2010 didn't like, as pointed out by Hermès
svn path=/trunk/; revision=71477
2016-05-31 18:02:54 +00:00
Mark Jansen 1ddc5f058e [APPHELP_APITEST] Update embedded database to actually match the embedded exe again.
svn path=/trunk/; revision=71448
2016-05-28 21:46:24 +00:00
Mark Jansen 5d086596ff [APPSHIM_APITEST] Move versionlie tests to a dedicate shim-test binary.
svn path=/trunk/; revision=71447
2016-05-28 21:33:56 +00:00
Mark Jansen cc1a5a5932 [APPHELP][APPHELP_APITEST] Implement various VersionLie shims. CORE-11299 #resolve
- Implement VersionLie shims
- Add tests for the VersionLie shims
- update get_host_winver prototype (thanks to Thomas for pointing out my err)

We cannot apply this shim yet, since a required part of the infrastructure is missing.

svn path=/trunk/; revision=71442
2016-05-28 17:55:56 +00:00
Mark Jansen bf1990897f [APPHELP_APITEST] Remove some code duplication.
svn path=/trunk/; revision=71400
2016-05-25 17:22:47 +00:00
Thomas Faber a315554938 [RTL]
- Return the ACE pointer from RtlFirstFreeAce also if it is at the end of the ACL buffer.
CORE-11304 #resolve

svn path=/trunk/; revision=71382
2016-05-22 22:11:54 +00:00
Mark Jansen f03661d8e1 [APPHELP][APPHELP_APITEST] Add more db tests and implement SdbGetDatabaseVersion. CORE-10367
svn path=/trunk/; revision=71381
2016-05-22 20:39:41 +00:00
Mark Jansen a6879a9948 [APPHELP][APPHELP_APITEST] Implement most of sdbread and sdbwrite, mainly the work of Mislav Blaževic, with some small additions from me. CORE-10367
svn path=/trunk/; revision=71380
2016-05-22 20:27:02 +00:00
Mark Jansen ebd1e3d611 [BROWSEUI_APITEST] Add tests for ACListISF, a class used for autocompletion. CORE-9281
- Add tests for ACListISF.
- Change the SHExplorerParseCmdLine test to use GetProcAddress instead of relying on the import (it's not there anymore in NT 6.0+)

svn path=/trunk/; revision=71345
2016-05-16 18:03:09 +00:00
Mark Jansen dd2544d913 [COM_APITEST] Add ICurrentWorkingDirectory for CORE-9281
svn path=/trunk/; revision=71334
2016-05-15 14:45:01 +00:00
Mark Jansen 0f8226d756 [NTDLL_APITEST] Show that NtMapViewOfSection does not properly NULL out the remainder of the mapped memory. CORE-11206
svn path=/trunk/; revision=71289
2016-05-08 17:01:15 +00:00
Thomas Faber 0f3e91c5f7 [NTDLL_APITEST]
- Add a test for heap user values and flags when using RtlReAllocateHeap in-place
CORE-11196

svn path=/trunk/; revision=71278
2016-05-08 08:03:50 +00:00
Mark Jansen 3a8ce2cae5 [NTOSKRNL][NTDLL_APITEST] Fix error returned from NtCreateSection when opening an empty file. CORE-11166
svn path=/trunk/; revision=71261
2016-05-05 12:06:07 +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
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
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 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