Commit graph

66 commits

Author SHA1 Message Date
Thomas Faber 3c7c94a174 [COMMENTS]
- Consistent email address is consistent.

svn path=/trunk/; revision=60631
2013-10-12 16:05:54 +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
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 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 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
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 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
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
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
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
Amine Khaldi c71475e3bb * Addendum to r58214.
svn path=/trunk/; revision=58290
2013-02-05 17:54:22 +00:00
Amine Khaldi 482bde30b5 * Addendum to r58141.
svn path=/trunk/; revision=58142
2013-01-08 20:34:19 +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 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
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
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
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 1e6ffd8f10 [NTDLL_APITEST]
Add some more tests for rtl bitmap functions

svn path=/trunk/; revision=56798
2012-06-24 18:28:33 +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
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
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
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
Amine Khaldi 7d3f5052d0 * Addendum to r55855.
svn path=/trunk/; revision=55856
2012-02-25 17:23:58 +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
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
Timo Kreuzer 072e367a5d [ntdll_apitests]
Fix rbuild build

svn path=/trunk/; revision=54080
2011-10-11 16:09:34 +00:00