Commit graph

338 commits

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