Commit graph

871 commits

Author SHA1 Message Date
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
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
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
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
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 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