Commit graph

584 commits

Author SHA1 Message Date
Thomas Faber 7538d3e725 [SETUPAPI_WINETEST]
- Move the devclass test to apitests, since it is not a Wine test

svn path=/trunk/; revision=62975
2014-04-26 10:58:40 +00:00
Thomas Faber a21f22e98d [USER32_APITEST]
- Add parameter checks for GetUserObjectInformationW
CORE-8094

svn path=/trunk/; revision=62964
2014-04-25 11:24:41 +00:00
Thomas Faber 0238322066 [NTDLL_APITEST]
- Add test for NtQueryVolumeInformationFile. Patch by Víctor Martínez.
ROSTESTS-134 #resolve

svn path=/trunk/; revision=62844
2014-04-20 18:15:41 +00:00
Thomas Faber d3b058d4eb [NTDLL_APITEST]
- Fix test failure on Windows. Based on patch by Víctor Martínez
ROSTESTS-132 #resolve

svn path=/trunk/; revision=62734
2014-04-13 07:14:47 +00:00
Thomas Faber cccfe23541 [BROWSEUI]
- Add more tests for SHExplorerParseCmdLine. Patch by Edijs Kolesnikovičs
CORE-7627 #resolve

svn path=/trunk/; revision=62732
2014-04-13 05:41:19 +00:00
Thomas Faber e2ce9d5f37 [NTDLL_APITEST]
- Add two test cases for RtlFindClearBits/RtlFindSetBits that crash on ROS

svn path=/trunk/; revision=62690
2014-04-08 20:57:03 +00:00
Thomas Faber 2e786d24d0 [NTDLL_APITEST]
- Use guarded memory for bitmap buffers in RtlBitmap test
- Add a few tests that check for buffer boundaries (which would have spotted the issue fixed in r62591)

svn path=/trunk/; revision=62689
2014-04-08 18:35:29 +00:00
Hermès Bélusca-Maïto 4a7e080751 [NTDLL_APITEST]: Add braces and remove an unneeded trace.
svn path=/trunk/; revision=62662
2014-04-06 15:51:38 +00:00
Hermès Bélusca-Maïto df6836cce4 [NTDLL_APITEST]
Add/refine RtlDoesFileExists* and RtlDosSearchPath_U APIs tests.
CORE-6373 #comment Tests for RtlDoesFileExists* and RtlDosSearchPath_U APIs added in revision 62640.

svn path=/trunk/; revision=62640
2014-04-05 23:58:54 +00:00
Timo Kreuzer f6d147a5e1 [W32KDLL]
Use new macro based syscall mechanism for w32kdll_xpsp2. Fix exports

svn path=/trunk/; revision=62588
2014-03-30 17:34:56 +00:00
Thomas Faber 9375945c22 [NTDLL_APITEST]
- Fix -Wformat warnings and enable -Wformat where possible

svn path=/trunk/; revision=62568
2014-03-26 12:07:25 +00:00
Thomas Faber 2936e38c77 [COM_APITEST]
- Verify interfaces against HKLM\Software\Classes\Interface

svn path=/trunk/; revision=62541
2014-03-21 11:45:30 +00:00
Thomas Faber 833db14fa7 [COM_APITEST]
- Add MergedFolder and AugmentedShellFolder classes/interfaces

svn path=/trunk/; revision=62540
2014-03-21 11:23:47 +00:00
Amine Khaldi 2c26c653a9 [SHELL32_APITEST]
* Plug some leaks. CIDs 1106362, 1106363 and 1106364.
CORE-7975

svn path=/trunk/; revision=62474
2014-03-11 13:06:09 +00:00
Hermès Bélusca-Maïto 61d834485b [APITESTS:kernel32]
Be more specific about which last error we expect.

svn path=/trunk/; revision=62419
2014-03-05 01:53:46 +00:00
Timo Kreuzer 6b2e326be9 [NTDLL_APITEST]
Add a few more tests for NtAllocateVirtualMemory

svn path=/trunk/; revision=62270
2014-02-20 21:19:16 +00:00
Giannis Adamopoulos 0fbc07a49d [user32_apitest]
- Arch, don't allow the mouse to create unexpected messages because this will surely cause failures. Also if you move the mouse during the test you will also get these failures

svn path=/trunk/; revision=61311
2013-12-21 10:44:10 +00:00
Thomas Faber b6ffc426d7 [KERNEL32_TEST]
- Move ROS-only tests into apitest

svn path=/trunk/; revision=61303
2013-12-19 21:39:09 +00:00
Jérôme Gardou cd3af3c4c8 [USER32_APITEST]
- Add tests for LookupIconIdFromDirectoryEx
 - Add a workaround in GetIconInfo tests for a ReactOS bug in EnumDisplaySettings
 - Add tests for EnumDisplaySettings demonstrating the bug.
 - Add some traces to better follow the test run

svn path=/trunk/; revision=60994
2013-11-14 23:11:23 +00:00
Giannis Adamopoulos 1f18e732a8 [shell32_apitest]
- CLSID_ShellFSFolder should also export IID_IStorage

svn path=/trunk/; revision=60866
2013-11-05 09:28:05 +00:00
Timo Kreuzer 5b8f6f48da [GDI32_APITEST]
- Add more tests for CreateDIBitmap and SetDIBitsToDevice

svn path=/trunk/; revision=60787
2013-10-28 20:39:26 +00:00
James Tabor 746f5c09a7 - Fix ATI test and go.
svn path=/trunk/; revision=60720
2013-10-20 05:36:36 +00:00
Thomas Faber 3440678be4 [NTDLL_APITEST]
- Add test for Rtl MemoryStream functions. Patch by David Quintana.
CORE-7492

svn path=/trunk/; revision=60707
2013-10-19 17:59:29 +00:00
Thomas Faber 3c7c94a174 [COMMENTS]
- Consistent email address is consistent.

svn path=/trunk/; revision=60631
2013-10-12 16:05:54 +00:00
Pierre Schweitzer 9b29c6967f [PSAPI_APITEST]
Add tests for GetDeviceDriverBaseName
Replace 0x00000000 -> NULL. Dedicated to Thomas ;-)

svn path=/trunk/; revision=60601
2013-10-10 19:18:43 +00:00
Giannis Adamopoulos 0fa39dfff7 - fix build for linux
svn path=/trunk/; revision=60598
2013-10-10 09:44:57 +00:00
Giannis Adamopoulos ba6130bb7f fix build
svn path=/trunk/; revision=60597
2013-10-10 09:39:15 +00:00
Giannis Adamopoulos c138d3ba98 [shell32_apitest]
- Add tests for shell menu classes ( so far only CShellMenu is tested)

svn path=/trunk/; revision=60596
2013-10-10 09:36:13 +00:00
Amine Khaldi 241a81c805 [PSAPI_APITEST]
* Speedup build.

svn path=/trunk/; revision=60574
2013-10-07 12:38:42 +00:00
Pierre Schweitzer 8b0bbbdc07 [PSAPI_APITEST]
Complete the test (tested under w2k3)

svn path=/trunk/; revision=60569
2013-10-07 06:16:19 +00:00
Pierre Schweitzer b7674bb164 [PSAPI_APITEST]
Add an apitest for psapi GetDeviceDriverFileName.

I'm looking for help to bring it even farther. Ideally, it would be interesting
to be able to GetDeviceDriverFileName on ntoskrnl base address. The whole point is
about getting it dynamically.

The day we can do it properly, I can predict that it will fail on ReactOS, we're not having
correct paths for KDCOM, HAL, and NTOSKRNL modules in the kernel (thank you FreeLdr? - Where are you
starting '\'?)

svn path=/trunk/; revision=60566
2013-10-06 22:16:42 +00:00
Thomas Faber 1f7e58ff00 [NTDLL_APITEST]
- Add a test for NtCreateFile with invalid ObjectAttributes. Patch by Aleksandar Andrejevic.
CORE-7167

svn path=/trunk/; revision=60408
2013-09-28 11:39:51 +00:00
Thomas Faber 1e8f970eaa [NTDLL_APITEST]
- Test that NtSetTimerResolution appropriately returns STATUS_TIMER_RESOLUTION_NOT_SET. Patch by Aleksandar Andrejevic.
CORE-7387

svn path=/trunk/; revision=60406
2013-09-28 09:55:29 +00:00
Thomas Faber 8d5a1b7ca7 [NTDLL_APITEST]
- Do not use Zw functions from user mode

svn path=/trunk/; revision=60405
2013-09-28 09:24:47 +00:00
Thomas Faber 13828ad762 [NTDLL_APITEST]
- Add test for RtlGetLengthWithoutTrailingPathSeperators. Patch by David Quintana
CORE-7482

svn path=/trunk/; revision=60404
2013-09-28 09:03:04 +00:00
Thomas Faber 7c35998136 [NTDLL_APITEST]
- Add test for NtCreateThread with invalid ThreadContext parameter. Patch by Aleksander Andrejevic.
CORE-7252

svn path=/trunk/; revision=60402
2013-09-28 08:38:33 +00:00
Amine Khaldi 655b467d9a [GDI32_APITEST]
* Fix GCC warnings.
* Enable -Werror again.
* Remove redundant test header inclusion.
* Speedup linking.

svn path=/trunk/; revision=60347
2013-09-23 21:54:01 +00:00
Amine Khaldi 61db23d804 [POWRPROF_APITEST]
* Fix GCC warnings.
* Enable -Werror again.
* Speedup linking.

svn path=/trunk/; revision=60346
2013-09-23 21:45:58 +00:00
Hermès Bélusca-Maïto 8b1a283ee8 [APITEST:POWRPROF]
Include stdio.h for printf function.

svn path=/trunk/; revision=60328
2013-09-22 21:52:27 +00:00
Hermès Bélusca-Maïto 41539da879 Add extra-parenthesing.
svn path=/trunk/; revision=60321
2013-09-22 19:30:00 +00:00
Hermès Bélusca-Maïto fe6644f895 [APITESTS]
- No need now to declare a NTSTATUS ExceptionStatus; variable to be able to use StartSeh() / EndSeh() macros; this is done automagically.
- Use explicitely unicode macros where it's needed.

svn path=/trunk/; revision=60319
2013-09-22 19:07:35 +00:00
Hermès Bélusca-Maïto 2cdfc40af8 [APITEST:WININET]
Make it use apitest.h

svn path=/trunk/; revision=60316
2013-09-22 18:19:56 +00:00
Hermès Bélusca-Maïto 2a026800b2 [WINHTTP:USER32]
Make it use apitest.h

svn path=/trunk/; revision=60315
2013-09-22 18:19:16 +00:00
Hermès Bélusca-Maïto f63c233859 [APITESTS:USER32]
Make it use apitest.h

svn path=/trunk/; revision=60314
2013-09-22 18:17:54 +00:00
Hermès Bélusca-Maïto 4b95e17c61 [ROSTESTS:APITESTS]
Introduce a "apitest.h" header gathering special things for apitests (SEH macros, wine/test.h inclusion, and so on...).

svn path=/trunk/; revision=60313
2013-09-22 17:52:42 +00:00
Amine Khaldi d317c64bae [COM_APITEST]
* Fix build.

svn path=/trunk/; revision=59841
2013-08-27 19:16:41 +00:00
Hermès Bélusca-Maïto 7b25683467 [ROSTESTS]
Add a newline.

svn path=/trunk/; revision=59789
2013-08-21 11:14:22 +00:00
Hermès Bélusca-Maïto 19906a0907 [ROSTESTS]
Fix timer tests, by Aleksander Andrejevic.
See CORE-7387 for more details, and:
http://mirrors.arcadecontrols.com/www.sysinternals.com/Information/HighResolutionTimers.html too.

svn path=/trunk/; revision=59788
2013-08-20 18:55:42 +00:00
Hermès Bélusca-Maïto 282942655f [ROSTESTS]
Add a test for NtQueryTimerResolution and NtSetTimerResolution, by Aleksander Andrejevic.
See CORE-7387 for more information.

svn path=/trunk/; revision=59786
2013-08-19 21:44:26 +00:00
Thomas Faber b05476d7af [COM_APITEST]
- Add additional classes and interfaces

svn path=/trunk/; revision=59466
2013-07-13 08:07:42 +00:00
Thomas Faber 0402c8a1e8 [COM_APITEST]
- Add support for classes with ThreadingModel values other than Apartment

svn path=/trunk/; revision=59465
2013-07-13 08:01:51 +00:00
Hermès Bélusca-Maïto eb7721d922 Remove an unneccesary commented definition of RegOpenCurrentUser.
svn path=/trunk/; revision=59455
2013-07-10 22:28:29 +00:00
Thomas Faber 7b4f26f22d [COM_APITEST]
- Add a test verifying the interfaces exposed by various COM classes, grouped by server dll
ROSTESTS-98

svn path=/trunk/; revision=59442
2013-07-07 09:10:31 +00:00
Thomas Faber 7a91442d56 [APITESTS]
- Avoid warnings

svn path=/trunk/; revision=59274
2013-06-21 17:22:46 +00:00
Hermès Bélusca-Maïto 450ab7055a [ROSAPPS]
Add 4 little tests for RtlDetermineDosPathNameType 

svn path=/trunk/; revision=59179
2013-06-05 23:24:04 +00:00
Hermès Bélusca-Maïto d313d838eb [APITESTS-KERNEL32]
Commit my FindFiles test.
ROSTESTS-84 #resolve #comment Committed in revision 59146.

svn path=/trunk/; revision=59146
2013-06-02 17:01:22 +00:00
Jérôme Gardou 3b0611bcc9 [NTDLL_APITEST]
* Add tests for NtProtectVirtualMemory

svn path=/trunk/; revision=58924
2013-05-04 15:26:48 +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 4517988f68 [NTDLL_APITEST]
- Add test cases showing that RtlDosPathNameToNtPathName_U strips trailing dots

svn path=/trunk/; revision=58832
2013-04-22 19:09:12 +00:00
Jérôme Gardou 9ba5a55c52 [NTDLL_APITEST]
* Enable the test for committing regions larger than the section again
 * Test behaviour of NtFreeVirtualMemory(MEM_DECOMMIT) for section-backed virtual memory

svn path=/trunk/; revision=58728
2013-04-09 23:27:35 +00:00
Thomas Faber 1740826018 [NTDLL_APITEST]
CORE-7065 #comment Temporarily disable the crashing test to get meaningful testbot results again.

svn path=/trunk/; revision=58708
2013-04-07 10:47:10 +00:00
Jérôme Gardou bffc9025eb [KERNEL32_APITEST]
- Invoke some black voodoo for fixing linux builder

svn path=/trunk/; revision=58694
2013-04-06 19:34:54 +00:00
Jérôme Gardou 583947dac6 [KERNEL32_APITEST]
- Try to fix linux builder

svn path=/trunk/; revision=58693
2013-04-06 19:26:35 +00:00
Jérôme Gardou 000b53fe3e [KERNEL32_APITEST]
- Add a test verifying that the filter set with SetUnhandledExceptionFilter is called.
Take this as an occasion to demonstrate a bug with SSE exceptions in ReactOS

svn path=/trunk/; revision=58692
2013-04-06 19:15:11 +00:00
Timo Kreuzer f73c34fe9a [NTDLL_APITEST]
Add more tests for NtAllocateVirtualMemory and NtMapViewOfSection, make tests 64 bit compatible.

svn path=/trunk/; revision=58684
2013-04-05 19:19:14 +00:00
Hermès Bélusca-Maïto 1e6feb87df [ROSAPPS]
Fix remaining "initialize" misspellings.

svn path=/trunk/; revision=58680
2013-04-04 20:13:05 +00:00
Giannis Adamopoulos 2484252bc4 - Fix some tests for OpenInputDesktop and add some more
svn path=/trunk/; revision=58661
2013-04-03 14:23:02 +00:00
Timo Kreuzer c0642c44b6 [NTDLL_APITEST]
Add more tests for NtAllocateVirtualMemory and NtMapViewOfSection

svn path=/trunk/; revision=58613
2013-03-27 19:10:51 +00:00
Hermès Bélusca-Maïto 6462517d32 Remove the unneeded $Id$ blabla from the source code.
svn path=/trunk/; revision=58492
2013-03-14 00:39:31 +00:00
Timo Kreuzer c383bf7601 [POWRPROF_APITEST]
Fix subscript out of array bounds 

svn path=/trunk/; revision=58327
2013-02-17 10:31:50 +00:00
Amine Khaldi 5bbe8eb4d6 [GDI32_APITEST]
* Add missing stdio inclusion.

svn path=/trunk/; revision=58307
2013-02-10 16:48:18 +00:00
Thomas Faber 7121ae2525 [NTDLL_APITEST]
- Add a few more test cases for RtlDoesFileExists_U*
CORE-6202

svn path=/trunk/; revision=58302
2013-02-09 16:55:04 +00:00
Thomas Faber 555dc7c2aa [KERNEL32_APITEST]
- Fix GCC 4.7 warning; fix a typo spotted by Edijus

svn path=/trunk/; revision=58295
2013-02-09 10:56:28 +00:00
Amine Khaldi c71475e3bb * Addendum to r58214.
svn path=/trunk/; revision=58290
2013-02-05 17:54:22 +00:00
Thomas Faber 5994749f53 [BROWSEUI_APITEST]
- Add a test for SHExplorerParseCmdLine.
CORE-5568

svn path=/trunk/; revision=58218
2013-01-25 23:24:46 +00:00
Amine Khaldi 482bde30b5 * Addendum to r58141.
svn path=/trunk/; revision=58142
2013-01-08 20:34:19 +00:00
Timo Kreuzer b556d39888 [GDI32_APITEST]
Fix a warning and improve code.

svn path=/trunk/; revision=58054
2012-12-30 13:21:52 +00:00
Timo Kreuzer d65327d318 [GDI32_APITEST]
Add tests for SetDIBitsToDevice

svn path=/trunk/; revision=58052
2012-12-30 12:56:55 +00:00
Jérôme Gardou cde9a5f895 [GDI32_APITEST]
- Add test showing that a bitmap created using CreateDIBItmap can be selected into a DC despite a different bits depth

svn path=/trunk/; revision=57693
2012-11-08 14:46:47 +00:00
Jérôme Gardou 26504938df [USER32_APITEST]
- Test behaviour with icons handle from foreign process

svn path=/trunk/; revision=57681
2012-11-06 14:27:03 +00:00
Giannis Adamopoulos d612b03104 [user32_apitests]
- Add some tests for OpenInputDesktop

svn path=/trunk/; revision=57658
2012-10-31 15:23:11 +00:00
Giannis Adamopoulos d93c98ed58 [user32_apitest]
- Add some tests to see how SetCursorPos is affected by the current desktop

svn path=/trunk/; revision=57656
2012-10-31 14:18:06 +00:00
Jérôme Gardou 5b99cd433d [USER32_APITESTS]
- Add some more test for DrawIconEx and CreateIconFromResourceEx

svn path=/trunk/; revision=57655
2012-10-31 14:08:31 +00:00
Giannis Adamopoulos 864bf93f95 [user32_apitest]
- Add a test for LR_SHARED flag for LoadImage

svn path=/trunk/; revision=57651
2012-10-30 13:29:11 +00:00
Jérôme Gardou 95411ee85d [W32K_APITEST]
- Better test for NtUserGetIconInfo

svn path=/trunk/; revision=57650
2012-10-30 02:05:52 +00:00
Jérôme Gardou 1c8f7b026b [USER32_APITEST]
- Commit forgotten file

svn path=/trunk/; revision=57649
2012-10-30 01:39:28 +00:00
Jérôme Gardou f40fbb64a6 [USER32_APITEST]
- More thorough test for what really happens after the "destruction" of a shared cursor.

svn path=/trunk/; revision=57648
2012-10-29 16:14:54 +00:00
Jérôme Gardou a74a3edcc7 [USER32_APITESTS]
- Add some test for DestroyCursor/DestroyIcon

svn path=/trunk/; revision=57647
2012-10-29 16:12:49 +00:00
Timo Kreuzer 9224d278fc [[NTDLL_APITEST}
Fix a bug

svn path=/trunk/; revision=57551
2012-10-13 13:09:15 +00:00
Timo Kreuzer d79e5f50d9 [NTDLL_APITEST}
Add tests for LdrEnumResources

svn path=/trunk/; revision=57550
2012-10-13 13:07:17 +00:00
Hermès Bélusca-Maïto 833bace73a [MSVCRT:APITEST]
Modify the test for GetModuleFileName, should work better now.

svn path=/trunk/; revision=57534
2012-10-10 21:56:27 +00:00
Hermès Bélusca-Maïto a25199df2a [MSVCRT:APITEST]
Update a comment. No code changes.

svn path=/trunk/; revision=57533
2012-10-10 21:23:49 +00:00
Hermès Bélusca-Maïto f79835bb73 [MSVCRT:APITEST]
Update CommandLine test.

svn path=/trunk/; revision=57531
2012-10-10 21:19:45 +00:00
Mike Nordell 335fb884d4 Test for MultiByteToWideChar added. Still needs alot fleshing out.
svn path=/trunk/; revision=57529
2012-10-10 19:10:49 +00:00
Hermès Bélusca-Maïto 7dd746b9cb [MSVCRT:APITEST]
Update encoding, no code changes.

svn path=/trunk/; revision=57528
2012-10-09 22:08:32 +00:00
Hermès Bélusca-Maïto 4690bf4891 [MSVCRT:APITEST]
Move cmdline_util to CmdLineUtil and locate it in bin/data instead of bin

svn path=/trunk/; revision=57527
2012-10-09 22:03:50 +00:00
Hermès Bélusca-Maïto 6dacc020db [MSVCRT:APITEST]
- Add a test which allows testing the command line argument lpCmdLine in WinMain function (GUI programs).

svn path=/trunk/; revision=57524
2012-10-09 20:56:11 +00:00
Hermès Bélusca-Maïto 9050f658d1 [APITEST:NTDLL]
Add a parameter for displaying the current test number when something fails.

svn path=/trunk/; revision=57515
2012-10-07 14:17:37 +00:00
Hermès Bélusca-Maïto 02affbb318 [APITEST:NTDLL]
Improve the code.

svn path=/trunk/; revision=57513
2012-10-07 12:46:44 +00:00
Hermès Bélusca-Maïto f527bc83ef [APITEST:NTDLL]
Add a test for the NtQuerySystemEnvironmentValue API.
Tested successfully under Win2k3 SP1 and Win7.

svn path=/trunk/; revision=57512
2012-10-07 12:31:13 +00:00
Hermès Bélusca-Maïto ae50229cb5 [NTDLL_APITEST]
Initialize Length to default value.

svn path=/trunk/; revision=57498
2012-10-06 14:50:18 +00:00
Jérôme Gardou 8dafc1da92 [APITESTS/USER32]
Improve GetIconInfo tests:
 -Stop leaking each handle we create
 -Show Icons sensitivity to screen bit depth

svn path=/trunk/; revision=57477
2012-10-04 13:38:26 +00:00
Timo Kreuzer f345eac12b [CRT_APITEST]
- Add tests for wcstombs_s
- Improve tests for mbstowcs_s

svn path=/trunk/; revision=57403
2012-09-27 21:46:39 +00:00
Thomas Faber f0d72063a8 [NTDLL_APITEST]
- Use GetProcAddress for RtlGetFullPathName_UstrEx to allow running the test on WinXP

svn path=/trunk/; revision=57393
2012-09-26 18:15:44 +00:00
Mike Nordell 2e2e4fca4e [ROSTEST:APITEST:NTDLL] Give RtlDosPathNameToNtPathName_U more descriptive failure messages, and more tests.
svn path=/trunk/; revision=57390
2012-09-26 15:06:56 +00:00
Mike Nordell 450eea9c2a [ROSTEST:APITEST:NTDLL]\nFlesh out test for RtlDosPathNameToNtPathName_U.
svn path=/trunk/; revision=57388
2012-09-26 02:56:01 +00:00
Amine Khaldi 4304f847cb [W32KNAPI]
* Silence some warnings.

svn path=/trunk/; revision=57387
2012-09-25 21:30:25 +00:00
Mike Nordell 8052454a08 Make RtlDosPathNameToNtPathName_U actually report sucess count too.
svn path=/trunk/; revision=57376
2012-09-24 12:45:55 +00:00
Mike Nordell d39ec05957 Add test for RtlDosPathNameToNtPathName_U. This time with the actual test file too.
svn path=/trunk/; revision=57374
2012-09-24 12:20:06 +00:00
Mike Nordell 83ec1cb161 Add test for RtlDosPathNameToNtPathName_U.
svn path=/trunk/; revision=57373
2012-09-24 12:17:04 +00:00
Timo Kreuzer 702b13fc0f [CRT_APITEST]
Add tests for mbstowcs_s

svn path=/trunk/; revision=57343
2012-09-19 21:20:09 +00:00
Mike Nordell 2d8ccfc5dc Unbreak MSVC build.
svn path=/trunk/; revision=57272
2012-09-11 05:14:33 +00:00
Mike Nordell 52d536853b Hopefully unbreak MSVC build.
svn path=/trunk/; revision=57271
2012-09-11 04:52:19 +00:00
Mike Nordell f908caa0d2 Test for SetUnhandledExceptionFilter actually rerturning what it should.
svn path=/trunk/; revision=57270
2012-09-11 04:34:03 +00:00
Cameron Gutman 358a84e09b [WS2_32_APITEST]
- Add a test for NtReadFile on a socket

svn path=/trunk/; revision=57234
2012-09-04 03:02:40 +00:00
Amine Khaldi 9f7d0ac646 [CMAKE]
* Improve this one while we're at it.

svn path=/trunk/; revision=57211
2012-09-01 11:37:24 +00:00
Amine Khaldi cd70b62ce1 [CMAKE]
* Addendum to r57181. By Hermès Bélusca.

svn path=/trunk/; revision=57210
2012-09-01 11:35:12 +00:00
Timo Kreuzer 5666d93992 [CRT_APITEST]
Fix broken test.

svn path=/trunk/; revision=57208
2012-08-31 17:20:56 +00:00
Mike Nordell 55e8f7ae69 Stop erroneous reporting of SEGV from test case. MS own CRT SEGV on NULL format string
svn path=/trunk/; revision=57207
2012-08-31 14:16:17 +00:00
Jérôme Gardou fdcdcb6339 [KERNEL32_APITESTS]
- Add some tests for lstrncpyW
- This function is fine, I wrote that when chasing some bug thinking this function was at fault.

svn path=/trunk/; revision=57179
2012-08-27 16:34:17 +00:00
Thomas Faber 38ce718bde [GDI32_APITEST]
- Fix build

svn path=/trunk/; revision=57165
2012-08-26 11:35:58 +00:00
Thomas Faber 3287e13f6f [GDI32_APITEST]
- Actually run the CreateIconIndirect test when it's called

svn path=/trunk/; revision=57164
2012-08-26 11:17:37 +00:00
Timo Kreuzer 01800e8784 [GDI32_APITEST]
Fix use of uninitialized variables and remove broken test.
See issue #7299 for more details.

svn path=/trunk/; revision=57157
2012-08-24 20:25:29 +00:00
Giannis Adamopoulos cb4991aa3a [user32_apitest]
- Deactivate Test_SimpleParameters in AttachThreadInput tests until it doesn't crash in win32k.
- Add some more tests in Test_SimpleParameters that should bring win32k to its limits

svn path=/trunk/; revision=57085
2012-08-16 08:43:43 +00:00
Giannis Adamopoulos f31f0a8e5d [user32_apitest]
- Hack around the fact that desktop handling in ros is awful. Now the child threads use the proper desktop.
- Convert all calls to SendMessage to SendMessageTimeout to make sure it won't hang (it doesn't hang in windows but who knows what can happen in ros)
- Add a few more tests

svn path=/trunk/; revision=57079
2012-08-15 19:37:29 +00:00
Giannis Adamopoulos 933cb2d66d [user32_apitest]
- Add support for logging messages in different threads
- Add several tests for AttachThreadInput

svn path=/trunk/; revision=57074
2012-08-13 18:04:04 +00:00
Amine Khaldi aa0fc5cdca [GDI32_APITESTS]
* Allow warnings when compiling with gcc.

svn path=/trunk/; revision=56978
2012-07-29 02:44:53 +00:00
Jérôme Gardou 5cc65e64c7 [APITESTS/CRT]
- Test errno value on failure

svn path=/trunk/; revision=56930
2012-07-21 20:15:12 +00:00
Jérôme Gardou 221e348e01 [APITESTS/CRT]
- Add more tests for _vsnprintf
- Add tests for _vsnwprintf, _vscprintf, _vscwprintf

svn path=/trunk/; revision=56928
2012-07-21 20:00:56 +00:00
Jérôme Gardou f505107ac2 [APITESTS]
- Move _vsnprintf to crt tests, where it belongs, and make it pass for crtdll

svn path=/trunk/; revision=56925
2012-07-21 17:15:08 +00:00
Jérôme Gardou 7ee4b9f4f0 [MSVCRT_APITEST]
- add basic test for _vsnprintf
This is mostly to verify if WINE's implementation of _vcsprintf is correct

svn path=/trunk/; revision=56924
2012-07-21 16:31:03 +00:00
Thomas Faber 20d01189db [USER32_APITEST]
- Handle some wsprintf-specific cases in the CRT sprintf test

svn path=/trunk/; revision=56862
2012-07-10 08:07:44 +00:00
Thomas Faber e985ec1cd4 [WS2_32_APITEST]
- Gracefully handle uninitialized data in WSAStartup test

svn path=/trunk/; revision=56828
2012-07-04 20:05:43 +00:00
Thomas Faber feae1a7ab7 [USER32_APITEST]
- Prevent duplicate test name

svn path=/trunk/; revision=56824
2012-07-04 18:01:13 +00:00
Thomas Faber 755d14eac4 [CRT TEST][USER32_APITEST]
- Add a test for sprintf/wsprintfA (mainly NULL buffer and string precision)

svn path=/trunk/; revision=56823
2012-07-04 17:33:56 +00:00
Thomas Faber f2f1135505 [ROSTESTS]
- Add CRT tests to build
See issue #7155 for more details.

svn path=/trunk/; revision=56822
2012-07-04 17:04:44 +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
Thomas Faber 2f0d0258a2 [WS2_32_APITEST]
- Fix GCC build

svn path=/trunk/; revision=56805
2012-06-26 06:28:06 +00:00
Thomas Faber 041ff27f2d [APITESTS] - Add wininet and winhttp tests for Winsock loading and initialization behavior
[WS2_32_APITEST] - Make WSAStartup test more robust and stricter

svn path=/trunk/; revision=56804
2012-06-26 06:08:38 +00:00
Thomas Faber bfa3a605c9 [WS2_32_APITEST]
- Add a few more getaddrinfo tests
- Add a test for WSAStartup

svn path=/trunk/; revision=56802
2012-06-25 08:21:11 +00:00
Timo Kreuzer 1e6ffd8f10 [NTDLL_APITEST]
Add some more tests for rtl bitmap functions

svn path=/trunk/; revision=56798
2012-06-24 18:28:33 +00:00
Thomas Faber 2874d1c817 [WS2_32_APITEST]
- Add a test for basic functionality of getaddrinfo

svn path=/trunk/; revision=56787
2012-06-23 12:40:36 +00:00
Timo Kreuzer db959776cc [NTDLL_APITEST]
rename rtl bitmap tests

svn path=/trunk/; revision=56677
2012-05-30 21:16:24 +00:00
Timo Kreuzer 4f76ca4995 [NTDLL_APITEST]
Add tests for rtl bitmap function

svn path=/trunk/; revision=56675
2012-05-29 18:46:25 +00:00
Timo Kreuzer c73fd0768f [GDI32_APITEST]
- Create a global 4bpp dib section for tests
- More tests for GetDIBits

svn path=/trunk/; revision=56606
2012-05-17 18:56:00 +00:00
Timo Kreuzer 62d76ebae8 [GDI32_APITEST]
More tests for CreateBitmap by Victor Martinez

svn path=/trunk/; revision=56605
2012-05-17 18:51:47 +00:00
Timo Kreuzer cb383858f1 [GDI32_APITEST]
Simplify code

svn path=/trunk/; revision=56586
2012-05-14 11:48:17 +00:00
Timo Kreuzer 2e19d5b6f6 [GDI32_APITEST]
Add more tests for GetDIBColorTable

svn path=/trunk/; revision=56545
2012-05-08 23:15:49 +00:00
Timo Kreuzer 6743cf9776 [GDI32_APITEST]
Add more tests for CreateDIBitmap and CreateDIBPatternBrushPt

svn path=/trunk/; revision=56542
2012-05-08 15:49:04 +00:00
Timo Kreuzer 2d7b85a68d [GDI32_APITEST]
- Try to fix some more test fails on win 2003

svn path=/trunk/; revision=56512
2012-05-05 14:19:22 +00:00
Timo Kreuzer da7a389957 [GDI32_APITEST]
- Try to fix some more test fails on win 2003

svn path=/trunk/; revision=56511
2012-05-05 12:59:08 +00:00
Timo Kreuzer 2fb827a99c Add missing test data files
svn path=/trunk/; revision=56510
2012-05-05 12:24:49 +00:00
Timo Kreuzer bc53e4ea25 [GDI32_APITEST]
- Comment out tests that fail on windows 2003
- Try to fix a number of tests for Windows 2003

svn path=/trunk/; revision=56509
2012-05-05 12:21:56 +00:00
Thomas Faber 8faff057db [POWRPROF_APITEST]
- Fix warnings - there is no DischargePolicy[4]
- Disable tests that fail on Windows 2003 (576 failures?!)
- Add missing file header

svn path=/trunk/; revision=56506
2012-05-05 10:21:19 +00:00
Thomas Faber 6443144a2b [POWRPROF_WINETEST]
- This test is not from Wine! Move to apitests.

svn path=/trunk/; revision=56505
2012-05-05 10:09:38 +00:00
Timo Kreuzer 5b92fc6b91 [GDI32_APITEST]
Fix warnings

svn path=/trunk/; revision=56499
2012-05-04 19:06:12 +00:00
Timo Kreuzer 92d1183079 [GDI32_APITEST]
- Add tests for CreateDIBPatternBrush(Pt)
- Add some helper code to initialize a dibsection and a palette, which can be reused by other tests
- Add tests for DIB brush in GetObject

svn path=/trunk/; revision=56498
2012-05-04 18:56:43 +00:00
Timo Kreuzer 7434309535 [GDI32_APITEST]
- Comment out a broken test (works only on 32bpp)
- Fix MSVC warning

svn path=/trunk/; revision=56495
2012-05-04 12:32:11 +00:00
Thomas Faber 3d4754e67f [KERNEL32_APITEST]
- Add a test checking that GetModuleFileName returns a full path
See issue #6786 for more details.

svn path=/trunk/; revision=56494
2012-05-04 12:31:47 +00:00
Timo Kreuzer 6c68899cf1 [GDI32_APITEST]
Fix gcc build

svn path=/trunk/; revision=56493
2012-05-04 12:10:15 +00:00
Timo Kreuzer f0771d26df [GDI32_APITEST]
- Add tests for GetDIBColorTable and SetPixel, 
- Add more tests for CreateBitmap, GetPixel, PatBlt

svn path=/trunk/; revision=56492
2012-05-04 11:40:36 +00:00
Thomas Faber 1cb2379b98 [KERNEL32_APITEST]
- Add some tests for GetCurrentDirectory and SetCurrentDirectory

svn path=/trunk/; revision=56489
2012-05-04 10:28:54 +00:00
Timo Kreuzer a97d8f8aee [GDI32_APITEST]
Add tests for SetBrushOrgEx

svn path=/trunk/; revision=56485
2012-05-03 18:54:19 +00:00
Thomas Faber ae1974497f [NTDLL_APITEST]
- Add initial tests for RtlDosSearchPath_U & RtlDosSearchPath_Ustr
- Work around Wine ok() silliness
- Fix 64 bit warnings

svn path=/trunk/; revision=56468
2012-05-01 16:19:17 +00:00
Timo Kreuzer e28f37f061 [GDI32_APITEST]
Add more tests for SetWindowExtEx

svn path=/trunk/; revision=56423
2012-04-25 18:14:52 +00:00
Timo Kreuzer 308687a953 [GDI32_APITEST]
Add more tests for CombineTransform and cleanup the code a bit

svn path=/trunk/; revision=56420
2012-04-25 15:18:12 +00:00
Thomas Faber c1abc87910 [NTDLL_APITEST]
- Try GetProcAddress even on private functions. Allows easier testing in ROS by temporarily exporting them.

svn path=/trunk/; revision=56419
2012-04-25 13:06:30 +00:00
Timo Kreuzer 3263e4fd82 {ROSTESTS]
Fix compilation

svn path=/trunk/; revision=56418
2012-04-25 12:42:40 +00:00
Thomas Faber d0683c7f6f [NTDLL_APITEST]
- Add a test for RtlDoesFileExists_U (and its three friends, if addresses are provided)
- Various small path test improvements

svn path=/trunk/; revision=56416
2012-04-25 12:13:38 +00:00
Thomas Faber bf4b9fbaad [NTDLL_APITEST]
- Add a test for RtlGetFullPathName_Ustr (requires the function address to be known)
- Various improvements to the other path tests

svn path=/trunk/; revision=56413
2012-04-25 09:52:38 +00:00
Thomas Faber 5eecc92cb2 [NTDLL_APITEST]
- Fix GCC build

svn path=/trunk/; revision=56412
2012-04-25 07:57:50 +00:00
Thomas Faber fb43dc26f7 [NTDLL_APITEST]
- Add test for RtlGetLongestNtPathLength
- Add test for RtlDetermineDosPathNameType_U (and RtlDetermineDosPathNameType_Ustr, if address is known)

svn path=/trunk/; revision=56411
2012-04-25 07:43:33 +00:00
Timo Kreuzer 65873aaab9 [GDI32_APITEST]
- Add tests for CombineRgn

svn path=/trunk/; revision=56408
2012-04-24 17:11:08 +00:00
Timo Kreuzer 4fc848b780 [GDI32_APITEST]
- Add more tests for GetObject

svn path=/trunk/; revision=56405
2012-04-24 14:45:12 +00:00
Timo Kreuzer bbf9dac724 [GDI32_APITEST]
- Add more tests for GetObject and SelectObject
- Fix a bug that made gcc builds crash

svn path=/trunk/; revision=56402
2012-04-23 22:16:50 +00:00
Timo Kreuzer 4bea149dd8 fix build
svn path=/trunk/; revision=56398
2012-04-23 19:06:10 +00:00
Timo Kreuzer ce51c9773d [GDI32_APITEST]
- Add more tests for GetCurrentObject and GetObject
- Comment out tests that fail on debug builds

svn path=/trunk/; revision=56397
2012-04-23 19:02:51 +00:00
Timo Kreuzer cc8ff50175 [GDI32_APITEST]
Fix build

svn path=/trunk/; revision=56394
2012-04-23 10:56:45 +00:00
Timo Kreuzer 3f8f2a7550 [GDI32_APITEST]
Add tests for CreateBitmap, CreateIconIndirect, GetRandomRgn and PatBlt

svn path=/trunk/; revision=56393
2012-04-23 10:42:22 +00:00
Timo Kreuzer daedde8ad3 [CRT TEST]
disable the crt tests until the cmake issues are resolved

svn path=/trunk/; revision=56365
2012-04-18 18:06:23 +00:00
Timo Kreuzer a791cb5f36 [CRT TEST]
for now disable the static test, it needs some fixes first

svn path=/trunk/; revision=56364
2012-04-18 17:37:21 +00:00
Timo Kreuzer 005d1d2a0c [TESTS]
Add a test framework for crt (ntdll, crtdll, msvcrt and static)

svn path=/trunk/; revision=56363
2012-04-18 17:21:18 +00:00
Amine Khaldi 4a7200a793 [W32KNAPI]
* Adapt to the new subsystem layout.

svn path=/trunk/; revision=56322
2012-04-02 18:43:35 +00:00
Amine Khaldi b5e6b0441c [GDI32_APITEST]
* Addendum to r56319.

svn path=/trunk/; revision=56320
2012-04-02 10:52:54 +00:00
Thomas Faber 5c2322f0f8 [NTDLL_WINETEST]
- Fix running RtlGetFullPathName_UstrEx test from drive root
- Add a test for RtlGetFullPathName_U based on the same test cases

svn path=/trunk/; revision=56230
2012-03-25 21:24:05 +00:00
Thomas Faber 1c4bc49902 [NTDLL_APITEST]
- Add a test for RtlGetFullPathName_UstrEx

svn path=/trunk/; revision=56229
2012-03-25 20:01:12 +00:00
Jérôme Gardou 63fa6d040d [DAMN_IT]
- addendum to r56081

svn path=/trunk/; revision=56082
2012-03-07 21:46:15 +00:00
Amine Khaldi 7d3f5052d0 * Addendum to r55855.
svn path=/trunk/; revision=55856
2012-02-25 17:23:58 +00:00
Amine Khaldi 2494d9170c * Addendum to r55764.
svn path=/trunk/; revision=55765
2012-02-20 22:09:21 +00:00
Giannis Adamopoulos b65af38817 [user32_apitest]
- Test the initial desktop and window station of processes

svn path=/trunk/; revision=55727
2012-02-19 23:46:06 +00:00
Jérôme Gardou 31a15829d9 [WIN32KDLL]
- use spec file
 - fix use of def files

svn path=/trunk/; revision=55482
2012-02-07 14:54:02 +00:00
Giannis Adamopoulos 29a7102825 [user32_apitest]
- Add some more tests

svn path=/trunk/; revision=55349
2012-01-31 10:49:44 +00:00
Giannis Adamopoulos 3d8783aa35 [user32_apitest]
- Add a couple of tests for SPI_SETMOUSESPEED and SPI_GETMOUSESPEED
- inspired by bug 905

svn path=/trunk/; revision=55347
2012-01-31 09:58:05 +00:00
Thomas Faber 42942c9fbe [NTDLL_APITEST]
- NtAllocateVirtualMemory: fix handling of an error condition; check that newly-committed memory is zeroed

svn path=/trunk/; revision=54748
2011-12-24 10:26:04 +00:00
Pierre Schweitzer b1b439d600 [MSVCRT_APITEST]
Add MSDN example

svn path=/trunk/; revision=54554
2011-11-30 23:47:41 +00:00
Pierre Schweitzer 12c5843d21 [MSVCRT_APITEST]
Add more tests

svn path=/trunk/; revision=54550
2011-11-30 21:03:35 +00:00
Thomas Faber 246357c187 [NTDLL_APITEST]
- Add NtAllocateVirtualMemory test, which is a small stress test for virtual memory allocation/freeing/reuse
- Can be used to reproduce bug 5857 in third stage (install with VT-x enabled, then disable for the test)
- Shows that the bug is a race condition in Mm, and not heap's fault
- I've put ASSERTs instead of ok's for easier debugging

svn path=/trunk/; revision=54548
2011-11-30 17:00:23 +00:00
Pierre Schweitzer a9e9b29ff5 [MSVCRT_APITEST]
Force linking to msvcrt instead of ntdll. Purpose is to test crt from msvcrt not ntdll.
Patch by Sylvain Petreolle.

svn path=/trunk/; revision=54450
2011-11-19 22:06:18 +00:00
Pierre Schweitzer 363b460431 [MSVCRT_APITEST]
Fix tests according to the platform they are run on.
This fixes msvcrt_apitest crash on w2k3.

svn path=/trunk/; revision=54449
2011-11-19 21:59:12 +00:00