Commit graph

1980 commits

Author SHA1 Message Date
Pierre Schweitzer ed161d747f [NTFS_TEST]
No need for such test anylonger, we have NTFSInfo now which is better :-)

svn path=/trunk/; revision=68329
2015-07-01 11:17:22 +00:00
Thomas Faber 6faf4f830e [MSI_WINETEST]
- Skip msi:msi test if running on Windows in non-interactive mode. This should allow WHS-Testbot to get a bit further
ROSTESTS-180
ONLINE-441 ROSTESTS-179

svn path=/trunk/; revision=68319
2015-06-30 11:34:34 +00:00
Thomas Faber df14063ebc [KMTESTS:MM]
- Fix some massive NP pool leakage.

svn path=/trunk/; revision=68318
2015-06-30 10:54:41 +00:00
Thomas Faber eb33bb164d [KMTESTS:MM]
- Add a test for MmAllocatePagesForMdl

svn path=/trunk/; revision=68271
2015-06-26 07:31:01 +00:00
Thomas Faber 634ccedc1c [ROSAUTOTEST]
- Flush cout after each write as already done by Colin in r66855, per ROSTESTS-158
- Use DbgPrint instead of OutputDebugStringA again because the latter only calls the former anyway
Fixes test summary lines not being recognized by Testman, especially on VMware.

A little summary so we don't keep going back and forth with this function:
1) Only writing complete lines is required to that the output doesn't mix with debug output from other components. See r55618
2) OutputDebugStringA splits its input into 512-byte-sized blocks with no regard for line breaks, so using it with strings larger than 512 bytes breaks (1).
3) OutputDebugStringA eventually calls DbgPrint("%s", string) anyway so using it with chunks smaller than 512 bytes is not an optimization
As a result, yes this function MUST split up the lines itself, this can't be optimized or simplified away! kthxbye
ROSTESTS-178 #resolve

svn path=/trunk/; revision=68246
2015-06-23 10:06:38 +00:00
Thomas Faber 77ad885551 [ROSAUTOTEST]
- Revert r66855 to make the upcoming commit's diff show my actual changes.
ROSTESTS-178 ROSTESTS-158

svn path=/trunk/; revision=68245
2015-06-23 09:54:46 +00:00
Thomas Faber 0617f84eda [RTL][NDK][NTDLL_APITEST]
- Properly implement/declare/test RtlCopyMappedMemory... it's not that hard
CORE-9857

svn path=/trunk/; revision=68234
2015-06-21 19:15:01 +00:00
Thomas Faber e9138ce35a [NTDLL_APITEST]
- Add a test for SystemFlagsInformation that demonstrates the parameter checks performed by NtQuerySystemInformation/NtSetSystemInformation
CORE-9849

svn path=/trunk/; revision=68225
2015-06-21 08:50:10 +00:00
Thomas Faber 6bb0bec44f [SHELL32_APITEST]
- Add a test for CLSID_MyComputer that shows this folder object is also cached.
CORE-9839

svn path=/trunk/; revision=68209
2015-06-20 16:28:38 +00:00
Thomas Faber 9046d69084 [SHELL32_APITEST]
- Add a test showing that repeated calls to SHGetDesktopFolder return pointers to the same object, and that its CreateViewObject method instead creates new objects.
CORE-9839

svn path=/trunk/; revision=68200
2015-06-20 09:07:29 +00:00
Thomas Faber 52e13410cb [APITESTS]
- Make CUnknownBase constructor parameters optional

svn path=/trunk/; revision=68199
2015-06-20 08:51:07 +00:00
Thomas Faber 8c4e56def9 [USER32_APITEST]
- Arch, will you stop only testing your code with MSVC?!

svn path=/trunk/; revision=68189
2015-06-18 14:02:55 +00:00
Thomas Faber 484a5f8751 [USER32_APITEST]
- Fail if we get too many WM_HOTKEY messages
CORE-9728

svn path=/trunk/; revision=68188
2015-06-18 13:59:51 +00:00
Thomas Faber 171f891e93 [USER32_APITEST]
- Add a simple test for RegisterHotKey with regular vs modifier-only hotkeys
CORE-9728

svn path=/trunk/; revision=68186
2015-06-18 13:41:52 +00:00
Thomas Faber ab14879b70 [NTDLL_APITEST]
- Also test FileFsAttributeInformation in NtQueryVolumeInformationFile

svn path=/trunk/; revision=68166
2015-06-17 06:54:17 +00:00
Thomas Faber bfe3738fc9 [NTDLL_APITEST]
- Fix GCC build

svn path=/trunk/; revision=68161
2015-06-16 11:40:51 +00:00
Thomas Faber 7a983aa51b [NTDLL_APITEST]
- Test FileFsVolumeInformation in NtQueryVolumeInformationFile test
CORE-9820

svn path=/trunk/; revision=68160
2015-06-16 11:33:35 +00:00
Thomas Faber d555f45389 [WS2_32_APITEST]
- Add a test for send/sendto with a read-only buffer
CORE-9807

svn path=/trunk/; revision=68120
2015-06-13 12:29:07 +00:00
Amine Khaldi 66b9b5427f [OLE32_APITEST] Add test for IInitializeSpy. By Mark Jansen. See ROSTESTS-175 for more details.
svn path=/trunk/; revision=68069
2015-06-08 11:05:35 +00:00
Amine Khaldi 05cfb81d81 [USER32_WINETEST] Sync with Wine Staging 1.7.43.
svn path=/trunk/; revision=68067
2015-06-08 10:56:37 +00:00
Amine Khaldi bb6348e9a3 [SHLWAPI_WINETEST] Add tests for AssocGetPerceivedType. By Mark Jansen. CORE-9754
svn path=/trunk/; revision=68043
2015-06-06 14:27:39 +00:00
Amine Khaldi a33904e62f [NTDLL_WINETEST] Sync with Wine Staging 1.7.43.
svn path=/trunk/; revision=67945
2015-05-29 08:46:58 +00:00
Amine Khaldi 94346f3670 [NETAPI32_WINETEST] Sync with Wine Staging 1.7.43.
svn path=/trunk/; revision=67924
2015-05-26 17:17:50 +00:00
Amine Khaldi a03392cf34 [MSVCRT_WINETEST] Sync with Wine Staging 1.7.43.
svn path=/trunk/; revision=67923
2015-05-26 17:15:48 +00:00
Amine Khaldi cce4df4a3e [GDI32_WINETEST] Sync with Wine Staging 1.7.43.
svn path=/trunk/; revision=67916
2015-05-25 18:52:18 +00:00
Amine Khaldi a91416131e [ADVAPI32_WINETEST] Sync with Wine Staging 1.7.43.
svn path=/trunk/; revision=67915
2015-05-25 18:46:12 +00:00
Pierre Schweitzer 4f63d24fbf [KERNEL32_APITEST]
Add very long tests for tunnel cache.
So far, they are skipped because they are really long (they require more than 15s to complete).
Unfortunately, for unknown reason now, they are failing in ReactOS (whereas they shouldn't!).

An idea would be to see whether we can set an expiry of 1s for tunnel cache just for dbgtests and query the value from registry, so that it could help reduce test duration on ReactOS (but not on w2k3).

ROSTESTS-177

svn path=/trunk/; revision=67901
2015-05-25 11:38:02 +00:00
Pierre Schweitzer a26a39f194 [KERNEL32_APITEST]
Add more tests for tunnel cache

svn path=/trunk/; revision=67900
2015-05-25 11:14:12 +00:00
Pierre Schweitzer 11f128b53d [KERNEL32_APITEST]
Add simple tests regarding renaming and tunnel cache behavior for short names in user mode.
Longer tests should be added to show what happens in case of cache expiry.
All pass on w2k3 but not on ReactOS.

CORE-3875

svn path=/trunk/; revision=67897
2015-05-25 10:30:12 +00:00
Pierre Schweitzer d9c71ea288 [KMTEST]
Leak less memory.

svn path=/trunk/; revision=67888
2015-05-24 18:14:49 +00:00
Pierre Schweitzer 23a0889551 [KMTEST]
Enable FsRtlTunnel tests.
They all pass in ReactOS now.

CORE-7272

svn path=/trunk/; revision=67887
2015-05-24 17:42:52 +00:00
Pierre Schweitzer 0d763e60fb [KMTEST]
Don't attempt to allocate null-size buffer when copying empty string.

Note to next generations students: test your code and DON'T LEAK MEMORY!!!!
It still leaks atm, will have a look later on.
Note to Mr Bragin, beloved ReactOS Project Coordinator: did you actually reviewed your students work?

CORE-7272

svn path=/trunk/; revision=67885
2015-05-24 17:31:49 +00:00
Thomas Faber f7bf32d2ad [ADVAPI32_APITEST]
- Fix test failures on Win 2003: unlike on Win7, write rights don't imply read
CORE-9719

svn path=/trunk/; revision=67849
2015-05-22 16:06:58 +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
Timo Kreuzer 8613578cea [DINPUT_WINETEST]
Skip randomly failing tests. See ROSTESTS-176 and CORE-9710

svn path=/trunk/; revision=67806
2015-05-17 10:55:03 +00:00
Amine Khaldi 6248f264b5 [IMAGEHLP_WINETEST] Add tests for ImageLoad, ImageUnload and GetImageUnusedHeaderBytes. By Mark Jansen.
svn path=/trunk/; revision=67767
2015-05-16 11:18:30 +00:00
Amine Khaldi 8d0e6718ae [IMAGEHLP_WINETEST] Add to and fix MSVC build. By Mark Jansen.
svn path=/trunk/; revision=67765
2015-05-16 10:24:11 +00:00
Thomas Faber f1291bfaea [ADVAPI32_WINETEST]
- Replace test_reg_query_info with the upstream version as promised in r67424.
CORE-6976

svn path=/trunk/; revision=67712
2015-05-14 13:08:07 +00:00
Amine Khaldi eacecfd85e [WTSAPI32_WINETEST] Import from Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67661
2015-05-11 12:58:10 +00:00
Amine Khaldi a9b4645a46 [WINTRUST_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67658
2015-05-11 12:51:23 +00:00
Amine Khaldi f3b6069ebd [WINDOWSCODECS_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67656
2015-05-11 12:50:02 +00:00
Timo Kreuzer fe491d1d3b [RICHED20_WINETEST]
Hey Arch, stop breaking GCC build, while trying to fix MSVC build!

svn path=/trunk/; revision=67628
2015-05-10 17:59:10 +00:00
Timo Kreuzer f2b82513c2 [RICHED20_WINETEST]
Fix a few more set-but-unused warnings. ("Should be sent to wine-staging"(tm))

svn path=/trunk/; revision=67627
2015-05-10 17:54:02 +00:00
Timo Kreuzer 079df38c99 [KMTEST]
Hey Arch, if you turn warnings into errors, make sure to fix the warnings before!

svn path=/trunk/; revision=67626
2015-05-10 17:37:54 +00:00
Hermès Bélusca-Maïto e2d20087ab [ROSTESTS]: Move old testdata directory into the new one and add test files by Victor Martinez.
ROSTESTS-169 #resolve

svn path=/trunk/; revision=67625
2015-05-10 14:59:04 +00:00
Amine Khaldi 6135f8221c [SETUPAPI_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67531
2015-05-03 11:33:46 +00:00
Amine Khaldi a31e415ce7 [REG_WINETEST] Import from Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67530
2015-05-03 11:32:28 +00:00
Amine Khaldi a4675648df [WBEMDISP_WINETEST] Import from Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67515
2015-05-02 19:40:48 +00:00
Thomas Faber 68defa9dd4 [KMTESTS:IO]
- Also test write operations in IoReadWrite
- Add some nonzero success statuses
CORE-9624

svn path=/trunk/; revision=67493
2015-05-01 12:50:12 +00:00
Thomas Faber f1b1a2086e [KMTESTS:IO]
- Fix GCC build

svn path=/trunk/; revision=67488
2015-05-01 11:07:40 +00:00