Commit graph

18 commits

Author SHA1 Message Date
Colin Finck da200b3a2c [ROSTESTS]
- Add a function "add_rostests_file" that calls both add_cd_file() and install() accordingly for regression tests.
  Use this function everywhere in rostests where add_cd_file() was used previously. This puts tests always in the right place on CD and also generates proper installation rules for them.
- Add a custom target "rostests_install" that performs an "install" on all rostests components.

This finally gives us a convenient and reliable way to copy all regression tests and their dependencies into a single directory (specified by the ROSTESTS_INSTALL environment variable).
Will be used on the WHS-Testbot to let it finally run each and every test.

CORE-12401
ONLINE-441

svn path=/trunk/; revision=73533
2017-01-13 09:24:15 +00:00
Hermès Bélusca-Maïto aadba539ce [ADVAPI32_APITEST]: Test for a (correctly initialized) service process environment block, that should contain both ALLUSERSPROFILE and USERPROFILE environment variables.
CORE-12414

svn path=/trunk/; revision=73431
2016-12-05 16:36:06 +00:00
Hermès Bélusca-Maïto 8e18f1fbd9 [ADVAPI32_APITEST]: Add a small helper lib 'svchlp' for common routines for test-services embedded in api tests. Taken & heavily adapted from Jacek Caban's services_service test and Thomas Faber's ServiceArgs.c (the latter will be able to use 'svchlp' when it'll be ready).
CORE-12414

svn path=/trunk/; revision=73430
2016-12-05 16:22:30 +00:00
Hermès Bélusca-Maïto 23e508dc18 [ADVAPI32_APITEST]: Rename the 'LockDatabase' test to 'LockServiceDatabase' to better match the name of the API.
svn path=/trunk/; revision=73426
2016-12-04 18:41:46 +00:00
Hermès Bélusca-Maïto 0d21c76ef1 [ROSTESTS]: advapi32_apitest: Add a test to extensively test services command-line arguments. By Thomas Faber.
[ADVAPI32]: Correctly set up both the ANSI and UNICODE service command-line arguments. Adapted from a patch by Thomas Faber. Thanks!

[SERVICES]
- Correctly pack the service command-line arguments in the control packet structure. In particular, the offsets stored in the vector are relative to the beginning of the vector (and not relative to the previous offset ^^). Improve comments...
- Fix the definition of the SCM_CONTROL_PACKET control packet structure to make it Win2k3-compatible, so that we can use Win2k3' advapi32.dll or services.exe on ReactOS and vice-versa.

CORE-9235 CORE-9838

svn path=/trunk/; revision=73413
2016-12-02 20:01:29 +00:00
Mark Jansen 5cccca79c2 [ADVAPI32_APITEST] Add tests for RegQueryValueExW. Patch by Victor Martinez Calvo. ROSTESTS-171 #resolve #comment Thanks!
svn path=/trunk/; revision=73142
2016-11-05 17:43:24 +00:00
Thomas Faber 3a5e3ae774 [ADVAPI32_APITEST]
- Add a test for RegEnumKeyExW showing that it should return ERROR_MORE_DATA instead of ERROR_BUFFER_OVERFLOW when the name buffer is too small. Based on a patch by Doug Lyons.
CORE-12030

svn path=/trunk/; revision=72876
2016-10-01 14:41:41 +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 13b28424d8 [APITESTS]: Add a test for advapi32!IsTextUnicode.
CORE-11803

svn path=/trunk/; revision=72148
2016-08-07 16:35:56 +00:00
Thomas Faber 9600755aaa [ADVAPI32_APITEST]
- Add a test for calling RegQueryInfoKey with different access rights
CORE-9719

svn path=/trunk/; revision=67848
2015-05-22 15:47:02 +00:00
Jérôme Gardou 4703670a3c [ADVAPI32_APITESTS]
- Add a few tests for DuplicateTokenEx

svn path=/trunk/; revision=64736
2014-10-13 18:49:09 +00:00
Jérôme Gardou 1cef9e5e5b [ADVAPI32_APITEST]
- Add a few tests for RegEnumValueW

svn path=/trunk/; revision=64468
2014-10-02 17:31:06 +00:00
Jérôme Gardou 40cf5d521c [ADVAPI32_APITEST]
- Add a few tests regarding HKEY_CLASSES_ROOT special keys.

svn path=/trunk/; revision=64393
2014-09-29 13:35:59 +00:00
Timo Kreuzer 34f49b3d4b [ADVAPI32_APITEST]
- Add tests for RtlEncrypt/DecryptMemory

svn path=/trunk/; revision=64162
2014-09-15 21:04:03 +00:00
Thomas Faber 03dfa33272 [ADVAPI32_APITEST]
- Add basic parameter tests for SaferIdentifyLevel
CORE-6942

svn path=/trunk/; revision=58867
2013-04-27 09:12:20 +00:00
Thomas Faber 8400fdc078 [ADVAPI32_APITEST]
- Use a define for the service name in QueryServiceConfig2 test. Patch by Hermes Belusca. Bug 7145.
- Add LockDatabase test for Lock/UnlockServiceDatabase, QueryServiceLockStatus. Patch by Hermes Belusca. Bug 7146.

svn path=/trunk/; revision=56810
2012-06-29 11:48:35 +00:00
Thomas Faber bd748a0cd3 [ADVAPI32_APITEST]
- Add test for QueryServiceConfig2 with SERVICE_CONFIG_DESCRIPTION and SERVICE_CONFIG_FAILURE_ACTIONS. Patch by Hermes Belusca.
- Remove ok_lasterr in favor of ok_err.
See issue #7144 for more details.

svn path=/trunk/; revision=56809
2012-06-27 14:55:22 +00:00
Eric Kohl b8329db06a [APITESTS]
Add service tag tests.

Patch by Thomas Faber.

svn path=/trunk/; revision=53873
2011-09-27 13:06:33 +00:00