Thomas Faber
424bbf064b
[KMTESTS:OB]
...
- After ObCreateObject+ObInsertObject a handle close is enough to destroy the object, so do not dereference it in addition. Fixes use after free.
CORE-11474
svn path=/trunk/; revision=74375
2017-04-19 12:21:57 +00:00
Thomas Faber
eff26a3a92
[KMTESTS:NPFS]
...
- Remove tests that cause pool buffer overflows. NtQueryVolumeInformationFile does not validate buffer length for kernel mode callers, so passing an invalid length is not a good test.
CORE-11474
svn path=/trunk/; revision=74374
2017-04-19 11:46:34 +00:00
Thomas Faber
97a27e2c87
[KMTESTS:MM]
...
- Add some missing newlines and skip()s
svn path=/trunk/; revision=74361
2017-04-17 20:37:26 +00:00
Colin Finck
daf94f98b0
[WINSPOOL]
...
Added tests for some more basic and newly discovered corner cases of EnumPrintersW.
svn path=/trunk/; revision=74350
2017-04-17 13:40:51 +00:00
Colin Finck
12e208e27a
Fix GCC build, part 4/X (losing my optimism)
...
svn path=/trunk/; revision=74328
2017-04-16 15:51:44 +00:00
Colin Finck
cb609f0b17
[LOCALSPL]
...
- Refactor LocalEnumPrinters to make it ready for supporting additional levels.
- Correctly handle all passed flags for Level 1 queries to the Local Print Provider.
- Introduce strsafe functions to LocalEnumPrinters in a way that actually makes the code smaller. To be done in other parts too.
- Use PackStrings in LocalEnumPrinters to simplify the code.
- Return the correct 3 strings in the Description field of Level 1 queries. That also introduces the "Location" field.
- Remove debug spam in _OpenEnvironment.
[SPOOLSV]
- Make use of the newly implemented AlignRpcPtr/UndoAlignRpcPtr. Fixes a test.
[WINSPOOL]
- Dismiss invalid levels already in EnumPrintersW and zero the input buffer here (but not in localspl). Verified by a test.
EnumPrintersW for Level 1 should be fully supported now.
svn path=/trunk/; revision=74324
2017-04-16 14:12:01 +00:00
Colin Finck
c860e2b80d
[SPOOLSS]
...
Add ASSERTs, improve documentation and the variety of tests for AlignRpcPtr/UndoAlignRpcPtr.
Based on comments by Serge Gautherie.
svn path=/trunk/; revision=74323
2017-04-16 10:36:16 +00:00
Mark Jansen
246f24bd7f
[WIN32SS] Cleanup fonts at process destruction + implement font memory reference counting.
...
Thanks to everyone involved in reviewing this code! (See CR-112)
CORE-13056
svn path=/trunk/; revision=74309
2017-04-14 18:22:57 +00:00
Colin Finck
a737c007e8
[SPOOLSS]
...
Implement the undocumented AlignRpcPtr and UndoAlignRpcPtr functions used by many Rpc* functions in spoolsv according to traced callchains.
I could reverse engineer them entirely using rohitab.com's API Monitor and black-box testing.
I also add documented tests covering all cases I found out. We now pass 17/17 tests on Windows Server 2003 and ReactOS.
Also const-ify a parameter in PackStrings.
svn path=/trunk/; revision=74297
2017-04-13 16:48:40 +00:00
Mark Jansen
4e56b66072
[GDI32_APITEST] Add test for AddFontMemResourceEx. Uses PanosePitchTest.ttf from Katayama Hirofumi MZ. CORE-13046 CORE-13038 CORE-13053
...
svn path=/trunk/; revision=74287
2017-04-08 22:25:54 +00:00
Amine Khaldi
f7de731248
[VERSION_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74205
2017-03-19 17:23:26 +00:00
Amine Khaldi
5dc0efe009
[WINTRUST_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74201
2017-03-19 17:12:49 +00:00
Amine Khaldi
9883b9f952
[WINHTTP_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74198
2017-03-19 17:05:35 +00:00
Amine Khaldi
557197382e
[URLMON_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74196
2017-03-19 16:58:47 +00:00
Amine Khaldi
4fba105205
[USP10_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74194
2017-03-19 16:54:04 +00:00
Mark Jansen
447c0daf7d
[ATL][ATL_APITEST] Allow CString to be initialized with a resource ID + add tests for this. Patch by Katayama Hirofumi MZ. CORE-12917 #resolve #comment Thanks!
...
svn path=/trunk/; revision=74177
2017-03-15 19:17:44 +00:00
Hermès Bélusca-Maïto
5c9adf775d
[NDK]: No, the NDK applications do not have to use UNICODE.
...
Indeed the RTL/NDK/whatever always explicitely uses ANSI and/or UNICODE string types where needed (and do not depend on tchar.h stuff).
It is up to the given application to explicitely specify (in its CMakeLists.txt or elsewhere) whether it wants to define UNICODE or not.
--> Fix the problem of having the UNICODE define magically being defined after including some NDK header.
[DNSAPI][USER32_APITEST]: Explicitely use UNICODE functions where needed (and as was already done in other parts of the code).
svn path=/trunk/; revision=74172
2017-03-15 00:06:42 +00:00
Giannis Adamopoulos
395c541573
[COMCTL32_APITEST] -Add one more test.
...
svn path=/trunk/; revision=74148
2017-03-11 13:41:03 +00:00
Giannis Adamopoulos
971c0bc040
[COMCTL32_APITEST] -Add a couple more tests.
...
svn path=/trunk/; revision=74147
2017-03-11 13:23:49 +00:00
Giannis Adamopoulos
ec2450447a
[COMCTL32_APITEST] -Add tests for the BST_HOT state.
...
svn path=/trunk/; revision=74146
2017-03-10 22:46:35 +00:00
Giannis Adamopoulos
7e6dc5a06d
[COMCTL32_APITEST] -Get rid of some hardcoded values.
...
svn path=/trunk/; revision=74145
2017-03-10 22:17:26 +00:00
Giannis Adamopoulos
0feb059c77
[UXTHEME] -Add tests for SetWindowTheme to test the behavior that was changed in r74038.
...
svn path=/trunk/; revision=74144
2017-03-10 17:56:18 +00:00
Giannis Adamopoulos
29bf877001
[COMCTL32] -Add lots of tests for the messages that are sent when the button is painted due to the mouse entering and leaving the button.
...
svn path=/trunk/; revision=74141
2017-03-10 15:32:32 +00:00
Giannis Adamopoulos
48c9363c36
[UXTHEME_APITEST] -Add a test to show that CloseThemeData doesn't use exception handling.
...
svn path=/trunk/; revision=74128
2017-03-08 15:15:19 +00:00
Giannis Adamopoulos
761c932726
[UXTHEME_APITEST] -Add one more test for DrawThemeParentBackground.
...
svn path=/trunk/; revision=74126
2017-03-08 14:54:02 +00:00
Giannis Adamopoulos
eb86e8afd5
[UXTHEME_APITEST] -Add more tests for DrawThemeParentBackground.
...
svn path=/trunk/; revision=74125
2017-03-08 14:46:36 +00:00
Giannis Adamopoulos
93bbc9d548
[USER32_APITEST] -Move the helper functions in the common include directory
...
[UXTHEME_APITEST] -Use the helper functions to test the messages sent by DrawThemeParentBackground
svn path=/trunk/; revision=74123
2017-03-07 22:29:48 +00:00
Hermès Bélusca-Maïto
c5dde308bf
[KERNEL32_APITEST]: Add basic tests for lstrlenA/W, focusing on its special handling of the NULL pointer.
...
We detect that the NULL pointer is handled separately because no exception is generated, contrary to when the function is called with truly invalid pointers.
I thank Mark for having mentioned the vectored exception handling to me, needed to catch first-chance exceptions.
svn path=/trunk/; revision=74118
2017-03-06 19:14:27 +00:00
Amine Khaldi
bb24e3a5e4
[OLEAUT32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74111
2017-03-05 21:51:44 +00:00
Amine Khaldi
b400ac7ae6
[RICHED20_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74109
2017-03-05 21:44:19 +00:00
Amine Khaldi
e007edf028
[INETCOMM_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74107
2017-03-05 21:37:58 +00:00
Amine Khaldi
a1488a0f38
[CRYPT32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74102
2017-03-05 21:22:31 +00:00
Amine Khaldi
3606086387
[GDIPLUS_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74099
2017-03-05 21:16:17 +00:00
Amine Khaldi
85353f2fba
[OLE32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74095
2017-03-05 21:03:59 +00:00
Amine Khaldi
74568a6e4d
[COMDLG32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74093
2017-03-05 20:57:57 +00:00
Amine Khaldi
12b5c1dd77
[COMCTL32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74091
2017-03-05 20:53:49 +00:00
Amine Khaldi
2d709a011a
[MSI_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74088
2017-03-05 20:45:43 +00:00
Amine Khaldi
00d5ff1307
[RPCRT4_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74086
2017-03-05 20:43:17 +00:00
Thomas Faber
a8d5478895
[NTOS:LPC]
...
- Implement the early exit case (e.g. on connection refused) in NtAcceptConnectPort
CORE-12145
svn path=/trunk/; revision=74069
2017-03-05 00:55:50 +00:00
Mark Jansen
985555c58f
[APPHELP_APITEST] Check which parts of apphelp accept NT paths
...
svn path=/trunk/; revision=74061
2017-03-04 20:27:39 +00:00
Thomas Faber
3df8b3ccc8
[USER32_APITEST]
...
- Add a test for SetScrollRange
CORE-12763
svn path=/trunk/; revision=74058
2017-03-04 18:34:35 +00:00
Giannis Adamopoulos
b3ba96d405
[COMCTL32_APITEST]: Simplify tests to not depend on internals of CreateWindow (creating buttons as top level windows and testing their sizes complicates stuff without reason).
...
svn path=/trunk/; revision=74036
2017-03-03 13:54:56 +00:00
Giannis Adamopoulos
ae5c6647eb
[COMCTL32_APITEST]: Add a few more tests.
...
svn path=/trunk/; revision=74035
2017-03-03 11:30:06 +00:00
Giannis Adamopoulos
23cfe6bc43
[COMCTL32_APITEST]: Make some tests more strict and add tests for all button types.
...
svn path=/trunk/; revision=74034
2017-03-03 11:22:20 +00:00
Mark Jansen
ad0bb95ddd
[NTDLL] Some style changes for RtlNtPathNameToDosPathName as suggested by Thomas and Hermes. CORE-12847
...
svn path=/trunk/; revision=74032
2017-03-02 21:51:22 +00:00
Mark Jansen
5a98df6476
[NTDLL] Add implementation for RtlNtPathNameToDosPathName. CORE-12847 #resolve
...
svn path=/trunk/; revision=74031
2017-03-02 21:29:38 +00:00
Mark Jansen
fc32eb9533
[NTDLL_APITEST] Add tests for RtlNtPathNameToDosPathName. CORE-12847
...
svn path=/trunk/; revision=74030
2017-03-02 20:43:09 +00:00
Mark Jansen
2cb19e0bc8
[NTDLL] Implement RtlpEnsureBufferSize. Patch by Hermes Belusca-Maito. CORE-11990
...
Some small changes by me.
svn path=/trunk/; revision=74029
2017-03-02 20:40:21 +00:00
Mark Jansen
4617ea0c82
[NTDLL_APITEST] Add tests for RtlpEnsureBufferSize. CORE-11990
...
svn path=/trunk/; revision=74028
2017-03-02 20:38:58 +00:00
Pierre Schweitzer
04d0e17fdf
[KERNEL32_APITEST]
...
Add tests for DeviceIoControl. These are mainly used to test our storage stack
CORE-12858
svn path=/trunk/; revision=74025
2017-03-02 19:33:25 +00:00
Giannis Adamopoulos
c3fed1277e
[COMCTL32_APITEST} -Add some more tests and fix build.
...
svn path=/trunk/; revision=74008
2017-03-01 09:35:44 +00:00
Giannis Adamopoulos
9aa31f7cb4
[COMCTL32] -These "border sizes" are as good as hardcoded.
...
svn path=/trunk/; revision=74007
2017-03-01 08:57:25 +00:00
Amine Khaldi
ca2eacaa6a
[WININET_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=74001
2017-02-28 15:52:04 +00:00
Giannis Adamopoulos
d054fcda2b
[COMCTL32_APITEST]: Add one more test for BCM_GETIDEALSIZE, it is as if it completely ignores BS_BITMAP.
...
svn path=/trunk/; revision=73995
2017-02-27 11:06:45 +00:00
Giannis Adamopoulos
f7120fd6aa
[COMCTL32_APITEST]: -Add tests for BCM_GETIDEALSIZE for non themed v6 buttons.
...
svn path=/trunk/; revision=73994
2017-02-27 10:53:59 +00:00
Amine Khaldi
005df62c31
[UXTHEME_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73992
2017-02-26 20:49:49 +00:00
Amine Khaldi
4d205b64e0
[CMD_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73991
2017-02-26 20:47:12 +00:00
Amine Khaldi
8897aab532
[XMLLITE] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73990
2017-02-26 20:41:49 +00:00
Amine Khaldi
2aff90f702
[XINPUT1_3_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73988
2017-02-26 20:37:54 +00:00
Amine Khaldi
0ddc7f0226
[WSHOM_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73986
2017-02-26 20:35:07 +00:00
Amine Khaldi
a8d18eaa06
[WBEMPROX_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73980
2017-02-26 20:14:44 +00:00
Amine Khaldi
8230cf186e
[SHLWAPI_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73977
2017-02-26 19:41:53 +00:00
Amine Khaldi
7445284933
[SCRRUN_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73974
2017-02-26 19:25:18 +00:00
Amine Khaldi
4b61850cfd
[MSXML3_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73970
2017-02-26 19:09:04 +00:00
Amine Khaldi
06be6aac8a
[MSCTF_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73964
2017-02-26 18:34:24 +00:00
Amine Khaldi
830abcecb9
[MSACM32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73961
2017-02-26 18:23:11 +00:00
Amine Khaldi
41875f2f17
[LZ32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73957
2017-02-26 17:48:33 +00:00
Amine Khaldi
3dcc353592
[HLINK_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73947
2017-02-26 17:21:30 +00:00
Amine Khaldi
576756c8f8
[AVIFIL32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73942
2017-02-26 17:03:08 +00:00
Amine Khaldi
ffa916c3c7
[QUARTZ_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73939
2017-02-26 16:53:38 +00:00
Amine Khaldi
caa685ac17
[DPLAYX_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73937
2017-02-26 16:43:10 +00:00
Amine Khaldi
1f3623d2ae
[DINPUT_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73935
2017-02-26 16:37:17 +00:00
Amine Khaldi
9b5b4a4c28
[REG_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73932
2017-02-26 16:17:32 +00:00
Amine Khaldi
95668db524
[CABINET_WINETEST] Sync with Wine Staging 2.2. CORE-12823
...
svn path=/trunk/; revision=73930
2017-02-26 16:03:33 +00:00
Thomas Faber
425f097968
[KMTESTS:IO]
...
- Avoid a crash in IoFilesystem on Windows when using a free kernel with ntfs. Querying FileAllInformation with any size below sizeof(FILE_ALL_INFORMATION) is considered illegal, so only do it on checked builds (which have a size check).
svn path=/trunk/; revision=73921
2017-02-26 11:31:51 +00:00
Giannis Adamopoulos
3830a078fb
[COMCTL32_APITEST] -Call this test the buttonv6 test.
...
svn path=/trunk/; revision=73917
2017-02-26 00:02:34 +00:00
Giannis Adamopoulos
32d3e05769
[COMCTL32_APITEST] -Add one more test.
...
svn path=/trunk/; revision=73913
2017-02-25 22:28:47 +00:00
Giannis Adamopoulos
7483cbb904
[COMCTL32] -Test BCM_SETTEXTMARGIN, BCM_SETIMAGELIST, BCM_GETIMAGELIST and BCM_GETTEXTMARGIN for the v6 button.
...
svn path=/trunk/; revision=73912
2017-02-25 22:12:08 +00:00
Hermès Bélusca-Maïto
1f67849a7e
[GDI32_APITEST]: GetGlyphIndices: Have fun & make ReactOS BSoD from user-mode! More seriously, test extra cases of this API, and show that our current implementation certainly is incomplete & prone to bugs.
...
The particular case "GetGlyphIndicesW(hdc, NULL, 0, NULL, 0)" is used by Word 2010 (and other apps) when opening the font combolist, and seems to be undocumented.
CORE-12825
CORE-6621 CORE-12279
svn path=/trunk/; revision=73894
2017-02-24 01:02:26 +00:00
Giannis Adamopoulos
99a6d1dd88
[COMCTL32_WINETEST] -Do not take into account the wine todos for the button tests.
...
svn path=/trunk/; revision=73883
2017-02-22 12:31:40 +00:00
Thomas Faber
e4b71d31f9
[KMTESTS:MM]
...
- Add some stricter checks and improved error handling in NtCreateSection_user
svn path=/trunk/; revision=73827
2017-02-18 14:22:44 +00:00
Mark Jansen
29631b02e2
[GDI32_APITEST] Add tests for GetFontResourceInfoW. Patch by Katayama Hirofumi MZ. CORE-6621
...
svn path=/trunk/; revision=73825
2017-02-18 11:25:31 +00:00
Mark Jansen
e2c97e602f
[DBGHELP_APITEST] Add tests for pdb and rsym parsing. CORE-12773
...
svn path=/trunk/; revision=73816
2017-02-17 16:15:49 +00:00
Giannis Adamopoulos
126bbfdb97
[USER32_APITEST]: Add a couple more tests for GetClassInfoExW.
...
svn path=/trunk/; revision=73787
2017-02-13 09:58:06 +00:00
Giannis Adamopoulos
6f9bc0e872
[WIN32KNT_APITEST]: Make a test for NtUserGetClassInfo more strict to test its exact return value.
...
svn path=/trunk/; revision=73786
2017-02-13 09:56:35 +00:00
Giannis Adamopoulos
935904f4a0
[WIN32KNT_APITEST]: -Make sure that NtUserUnregisterClass works when it gets the versioned class name. Show that NtUserFindWindowEx needs the non versioned class name.
...
svn path=/trunk/; revision=73783
2017-02-12 12:11:18 +00:00
Giannis Adamopoulos
a5ab07e889
[USER32_APITEST] -Add more tests for versioned classes.
...
svn path=/trunk/; revision=73769
2017-02-11 10:01:13 +00:00
Giannis Adamopoulos
dd6803f824
[KERNEL32_APITESTS]: Add more tests for FindActCtxSectionStringW.
...
svn path=/trunk/; revision=73767
2017-02-10 00:00:28 +00:00
Mark Jansen
4e9706e794
[NTOSKRNL] Fix some possible overruns in FsRtlIsNameInExpressionPrivate + add a test from Thomas. CORE-12121
...
svn path=/trunk/; revision=73765
2017-02-09 00:12:36 +00:00
Giannis Adamopoulos
47ee20b4ab
[USER32_APITEST]: Add more tests for RegisterClassEx.
...
svn path=/trunk/; revision=73747
2017-02-07 12:11:26 +00:00
Mark Jansen
21dd348b8e
[GDI32_APITEST] Add tests for font creation. Patch by Katayama Hirofumi MZ. CORE-6621
...
svn path=/trunk/; revision=73746
2017-02-07 11:37:36 +00:00
Mark Jansen
f605f83671
[CRT_APITEST] Add additional test for __getmainargs
...
svn path=/trunk/; revision=73745
2017-02-07 10:35:35 +00:00
Hermès Bélusca-Maïto
3f2554487e
[USERENV_APITEST]: Add some simple tests for Get[AllUsers|DefaultUser|User]Profile[s]Directory APIs (checking return values & last errors).
...
svn path=/trunk/; revision=73735
2017-02-06 22:14:50 +00:00
Giannis Adamopoulos
0b7e31082f
[USER32_APITEST] -Add tests for global classes and versioned classes for RegisterClassEx.
...
svn path=/trunk/; revision=73725
2017-02-06 16:33:25 +00:00
Giannis Adamopoulos
ef0d1d640c
[KERNEL32_APITEST] -Make FindActCtxSectionStringW test less strict.
...
svn path=/trunk/; revision=73575
2017-01-17 23:11:11 +00:00
Giannis Adamopoulos
8896e6a8c4
[KERNEL32_APITEST] -Try to avoid crashes in DefaultActCtx test.
...
svn path=/trunk/; revision=73574
2017-01-17 22:40:36 +00:00
Giannis Adamopoulos
749f780aef
[KERNEL32_APITEST] -Add redir2dep.manifest to the testdata.
...
svn path=/trunk/; revision=73572
2017-01-17 19:41:26 +00:00
Giannis Adamopoulos
74365d512d
[KERNEL32_APITEST] -Fix gcc build
...
svn path=/trunk/; revision=73571
2017-01-17 19:24:29 +00:00
Giannis Adamopoulos
1dc1c3f7ef
[KERNEL32_APITEST]
...
- Fix and enable tests for redirection support in LoadLibraryExW.
- Add tests for the default activation context that is active for every process.
svn path=/trunk/; revision=73568
2017-01-17 19:11:05 +00:00
Hermès Bélusca-Maïto
a05881c135
[SHLWAPI]
...
- Fix SHAddDataBlock function signature & return value.
- Back this up by updating the corresponding wine test.
Send upstream, I will remove the __REACTOS__ markups once this is merged in Wine.
svn path=/trunk/; revision=73565
2017-01-17 15:09:18 +00:00
Hermès Bélusca-Maïto
e525ccdb5f
[SHELL32_APITEST]
...
- Use smart COM pointers (thanks Mark ;)
- Add other tests for testing non-existing files in existing directories.
svn path=/trunk/; revision=73563
2017-01-16 18:02:43 +00:00
Hermès Bélusca-Maïto
a471a57006
[SHELL32_APITEST]: Add more tests to see how IShellLink::Get/SetIconLocation interacts with IExtractIcon::GetIconLocation.
...
svn path=/trunk/; revision=73562
2017-01-16 17:27:44 +00:00
Hermès Bélusca-Maïto
5db91c84a0
Comply to GCCLin rules.
...
svn path=/trunk/; revision=73561
2017-01-16 16:35:01 +00:00
Hermès Bélusca-Maïto
5ccf3c01a4
[SHELL32_APITEST]: Add some tests for GetIconLocation. Show also that CShellLink inherits from IExtractIcon(A/W).
...
svn path=/trunk/; revision=73560
2017-01-16 16:22:40 +00:00
Hermès Bélusca-Maïto
a6b1351921
[SHELL32_APITEST]
...
- Fix the names of some expected return values get from the APIs;
- Move a bit the TestShellLink() function.
- When displaying hexadecimal, prepend the "0x" string (otherwise, when you see: "hr = 10", is it 10 in decimal or in hex??)
- Call CoUninitialize() at the end of the tests.
svn path=/trunk/; revision=73559
2017-01-16 16:17:59 +00:00
Giannis Adamopoulos
e4ffdbb8a7
[NTDLL_APITEST] -Create a copy of the test in testdata and add along three empty files: ntdll_apitest.exe.local, shell32.dll and test.dll. Make the test start the subprocess from testdata to avoid any kind of interference of the .local to all the other tests. The empty dlls are needed there because there is no way to rename the files while adding them to the cab file like we do with NAME_ON_CD and creating them at runtime is not reliable as caching can cause random failures.
...
svn path=/trunk/; revision=73554
2017-01-15 11:51:06 +00:00
Giannis Adamopoulos
f2d49d7a05
Fix a line that I forgot to finish editing.
...
svn path=/trunk/; revision=73552
2017-01-15 00:49:47 +00:00
Giannis Adamopoulos
1442edd291
[NTDLL_APITEST]
...
- Add more tests for RtlDosApplyFileIsolationRedirection_Ustr. Unfortunately creating .local files and making it have instant effect seems to be impossible. So I added tests for .local than can be enabled to show that this is indeed the behaviour but I have disabled them to avoid random failed tests.
svn path=/trunk/; revision=73551
2017-01-15 00:42:10 +00:00
Mark Jansen
523a1a5589
SHLWAPI_APITEST: Add tests for StrFormatByteSizeW. Patch by Doug Lyons. CORE-12661 #resolve
...
svn path=/trunk/; revision=73549
2017-01-15 00:04:16 +00:00
Hermès Bélusca-Maïto
736b7b86f6
[SHLWAPI_APITEST]: Use the 'add_rostests_file' command from Colin ;)
...
svn path=/trunk/; revision=73545
2017-01-13 22:12:22 +00:00
Hermès Bélusca-Maïto
cd7c1882ed
[SHLWAPI_APITEST]
...
- Add tests for PathIsUNCServer and PathIsUNCServerShare, by Jared Smudde. Thanks! ROSTESTS-258 #resolve
- Simplify the code: Since those functions (as well as PathIsUNC) are public and exported by name, we can directly load the apitest with shlwapi and call the APIs directly (no need for explicit LoadLibrary & GetProcAddress).
svn path=/trunk/; revision=73544
2017-01-13 21:55:25 +00:00
Hermès Bélusca-Maïto
a11a51af76
FTSU GCCLin.
...
svn path=/trunk/; revision=73542
2017-01-13 19:09:11 +00:00
Hermès Bélusca-Maïto
7f0502d36e
[SHELL32_APITEST]: Improve a bit the output of the CShellLink test.
...
svn path=/trunk/; revision=73541
2017-01-13 19:00:33 +00:00
Colin Finck
4536560a1d
[LOCALSPL_APITEST]
...
Disable fpGetPrintProcessorDirectory tests that use PSEH.
For some reason, they can only be run once and corrupt something inside spoolsv, so that spoolsv needs to be restarted afterwards.
svn path=/trunk/; revision=73539
2017-01-13 16:15:13 +00:00
Giannis Adamopoulos
12796f8786
[KERNEL32_APITEST] - Add tests for LoadLibraryExW to test its ability to load a redirected dll. Do not include it in the build until a way is found for it to be compiled properly.
...
svn path=/trunk/; revision=73538
2017-01-13 15:33:38 +00:00
Hermès Bélusca-Maïto
a20fc53659
[SHLWAPI_APITEST]: Commit few tests for PathUnExpandEnvStrings.
...
svn path=/trunk/; revision=73536
2017-01-13 14:51:25 +00:00
Colin Finck
d5122b7e7b
[KMTESTS]
...
Temporarily disable kmtests for "rostests_install" (and subsequently the WHS-Testbot) as long as kmtest:ExPools crashes the machine and I have to reboot it manually.
svn path=/trunk/; revision=73535
2017-01-13 11:20:52 +00:00
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
633f34d7c4
Use wine_dbgstr_w as Jared did originally (I hate this macro because it displays strings in 'C'-language form instead of in natural way).
...
svn path=/trunk/; revision=73531
2017-01-13 00:33:46 +00:00
Hermès Bélusca-Maïto
ee9c290085
/me slaps GCCLin.
...
svn path=/trunk/; revision=73530
2017-01-13 00:20:50 +00:00
Hermès Bélusca-Maïto
58c3357ad1
Make GCC happy.
...
svn path=/trunk/; revision=73528
2017-01-13 00:13:38 +00:00
Hermès Bélusca-Maïto
c785b8f077
[SHLWAPI_APITEST]: New test for PathIsUNC function, by Jared Smudde. Thanks!
...
ROSTESTS-256 #resolve
svn path=/trunk/; revision=73527
2017-01-13 00:06:12 +00:00
Giannis Adamopoulos
6fc550ad47
[NTDLL] -Add preliminary tests for RtlDosApplyFileIsolationRedirection_Ustr.
...
svn path=/trunk/; revision=73526
2017-01-12 11:21:04 +00:00
Giannis Adamopoulos
6d0f733ac7
[KERNEL32_APITEST] - Use the full path to the manifest files when testing FindActCtxSectionStringW. This is needed because in most cases they are not in the current directory.
...
svn path=/trunk/; revision=73509
2017-01-06 22:06:53 +00:00
Giannis Adamopoulos
9624a5e18b
[KERNEL32_APITEST] -Keep improving the skip checks.
...
svn path=/trunk/; revision=73508
2017-01-06 21:25:53 +00:00
Giannis Adamopoulos
7475839d64
[KERNEL32_APITEST] - Skip more stuff hoping to fix a crash that I can't reproduce locally.
...
svn path=/trunk/; revision=73507
2017-01-06 21:13:46 +00:00
Giannis Adamopoulos
c2c4d46671
[KERNEL32_APITEST] -Add some more checks to avoid a crash (the ones I originally added were not enough).
...
svn path=/trunk/; revision=73506
2017-01-06 20:43:58 +00:00
Giannis Adamopoulos
2bebddf5ee
[KERNEL32_APITEST] -Add tests for FindActCtxSectionStringW.
...
svn path=/trunk/; revision=73505
2017-01-06 18:48:15 +00:00
James Tabor
833738127d
[User32_API]
...
- Patch by Katayama Hirofumi MZ : Add a test for Next Dialog Item for radio buttons.
svn path=/trunk/; revision=73468
2016-12-19 16:28:42 +00:00
Mark Jansen
f1167250a0
[ATL][ATL_APITEST] Add GetEnvironmentVariable to CString. CORE-12581
...
svn path=/trunk/; revision=73465
2016-12-17 19:38:08 +00:00
Hermès Bélusca-Maïto
a54d1167e4
[APITESTS]: Add a test for userenv.dll API Load/UnloadUserProfile.
...
CORE-12541
svn path=/trunk/; revision=73458
2016-12-15 18:44:47 +00:00
Mark Jansen
3180d93edf
[APPSHIM_APITEST] Update display mode shim tests to show some difference in versions + add extra tests. CORE-11927
...
svn path=/trunk/; revision=73453
2016-12-14 19:19:57 +00:00
Thomas Faber
762bec692a
[KMTESTS]
...
- Add a missing newline
svn path=/trunk/; revision=73445
2016-12-10 11:59:41 +00:00
Hermès Bélusca-Maïto
c5e734fdd8
Fix for source code file header, sorry for commit noise.
...
svn path=/trunk/; revision=73432
2016-12-05 16:38:11 +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
Mark Jansen
f0d4850705
[APPSHIM_APITEST] Add tests for the DisableThemes shim. CORE-11927
...
svn path=/trunk/; revision=73422
2016-12-04 15:33:28 +00:00
Mark Jansen
d39ff22033
[APPSHIM_APITEST] Add tests for display mode shims. CORE-11927
...
svn path=/trunk/; revision=73421
2016-12-03 21:24:47 +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
7b0c55ea0c
This does not belong here.
...
svn path=/trunk/; revision=73410
2016-11-30 20:39:06 +00:00
Mark Jansen
0744770ebe
[NETSHELL] Implement NcIsValidConnectionName + tests. Patch by Jared Smudde, modified by me. CORE-11320 #resolve
...
svn path=/trunk/; revision=73409
2016-11-30 20:31:50 +00:00
Giannis Adamopoulos
aab0fd5e9d
[SHELL32_APITEST] -Test if CFSFolder::GetUIObjectOf can return an IDataObject for 0 cidl.
...
svn path=/trunk/; revision=73404
2016-11-29 13:27:21 +00:00
Mark Jansen
26627a49b0
[APPHELP][APPHELP_APITEST] Stub ApphelpCheckShellObject + add tests, based on the work of Mislav Blažević. CORE-12476
...
svn path=/trunk/; revision=73398
2016-11-27 18:33:21 +00:00
Pierre Schweitzer
444775e662
[KMTESTS:MM]
...
Test FCB header fields: FileSize, ValidDataLength
CORE-11819
CORE-12475
svn path=/trunk/; revision=73395
2016-11-27 13:39:01 +00:00
Pierre Schweitzer
a3dbf1b448
[KMTESTS:MM]
...
Playing with EOF shouldn't make you forget EOL!
Addendum to r73392
svn path=/trunk/; revision=73393
2016-11-27 10:56:40 +00:00
Pierre Schweitzer
695beeee78
[KMTESTS:MM]
...
Check the first byte is really null, in spite of the hack writing.
CORE-11819
CORE-12475
svn path=/trunk/; revision=73392
2016-11-27 10:49:33 +00:00
Colin Finck
65212f3682
[LOCALSPL]
...
Tests show that the Print Provider functions are less forgiving and expect winspool.drv and spoolss.dll to perform the necessary sanity checks.
Also they don't default to the current environment if none was supplied as pEnvironment. Change our functions accordingly to pass the tests.
[LOCALSPL_APITEST]
Add a test to prove that spoolss.dll isn't just a forwarder, but also performs some sanity checks even though winspool.drv and localspl.dll also do.
This rather belongs to spoolss_apitest. But it needs to be tested inside the Spooler Server Process and it's not worth it to copy all the DLL injection code to spoolss_apitest just for a single test.
[SPOOLSS]
Check for an invalid buffer in GetPrintProcessorDirectoryW.
[WINSPOOL]
* Check the level before the RPC call in GetPrintProcessorDirectoryW.
* Supply our current environment if the caller didn't give any in EnumPrintProcessorsW and GetPrintProcessorDirectoryW.
* Implement GetPrintProcessorDirectoryA.
[WINSPOOL_APITEST]
Prove that pcbNeeded isn't touched when calling GetPrintProcessorDirectoryW with an invalid level.
ReactOS now passes all API tests for GetPrintProcessorDirectoryA and GetPrintProcessorDirectoryW. These tests also cover all known behaviors of both functions.
CORE-12399
svn path=/trunk/; revision=73373
2016-11-24 19:24:27 +00:00
Amine Khaldi
07d9832b5f
[WININET_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
...
svn path=/trunk/; revision=73361
2016-11-23 18:11:04 +00:00
Amine Khaldi
58a1e88856
[WINHTTP_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
...
svn path=/trunk/; revision=73358
2016-11-23 12:00:25 +00:00