Commit graph

134 commits

Author SHA1 Message Date
Thomas Faber ac5bba8ea8 [NTDLL_APITEST]
- Add tests for RtlIsNameLegalDOS8Dot3 and RtlUpcaseUnicodeStringToCountedOemString with the ® sign.
CORE-8617

svn path=/trunk/; revision=73190
2016-11-10 10:18:25 +00:00
Thomas Faber a51ac2be8c [NTDLL_APITEST]
- Add a test for NtReadFile, also covering buffer size too large for an MDL
CORE-12132

svn path=/trunk/; revision=73071
2016-10-29 20:14:16 +00:00
Thomas Faber 8d77737ce9 [NTDLL_APITEST]
- Add tests for NtWriteFile with buffer sizes larger than an MDL can describe.
CORE-12132

svn path=/trunk/; revision=73059
2016-10-29 11:39:07 +00:00
Thomas Faber 0d36dcef60 [NTDLL_APITEST]
- Show that NtOpenKey and NtCreateKey accept, but ignore, KEY_WOW64_32KEY and KEY_WOW64_64KEY
CORE-9691

svn path=/trunk/; revision=72974
2016-10-15 18:33:21 +00:00
Dmitry Chapyshev 92e7c0979a [NTDLL_APITEST] Add test for invalid pointer
svn path=/trunk/; revision=72801
2016-09-25 16:57:55 +00:00
Pierre Schweitzer 7d2b56ccb0 [NTDLL_APITEST]
RtlGenerate8dot3Name: show that we don't deal correctly with checksums while generating short names.

Dedicated to Christoph

svn path=/trunk/; revision=72666
2016-09-13 09:57:52 +00:00
Jérôme Gardou 9726a48493 [NTDLL_APITEST]
- Add some tests which show how Windows handles the ZeroBits argument

svn path=/trunk/; revision=72468
2016-08-26 21:08:24 +00:00
Hermès Bélusca-Maïto 9a84ae8ab1 Remove extra ending semicolons in our C code base.
svn path=/trunk/; revision=72199
2016-08-11 16:50:41 +00:00
Thomas Faber a315554938 [RTL]
- Return the ACE pointer from RtlFirstFreeAce also if it is at the end of the ACL buffer.
CORE-11304 #resolve

svn path=/trunk/; revision=71382
2016-05-22 22:11:54 +00:00
Mark Jansen 0f8226d756 [NTDLL_APITEST] Show that NtMapViewOfSection does not properly NULL out the remainder of the mapped memory. CORE-11206
svn path=/trunk/; revision=71289
2016-05-08 17:01:15 +00:00
Thomas Faber 0f3e91c5f7 [NTDLL_APITEST]
- Add a test for heap user values and flags when using RtlReAllocateHeap in-place
CORE-11196

svn path=/trunk/; revision=71278
2016-05-08 08:03:50 +00:00
Mark Jansen 3a8ce2cae5 [NTOSKRNL][NTDLL_APITEST] Fix error returned from NtCreateSection when opening an empty file. CORE-11166
svn path=/trunk/; revision=71261
2016-05-05 12:06:07 +00:00
Thomas Faber c55c338dfa [NTOS:CM]
- Correctly handle NULL Data with nonzero DataSize in NtSetValueKey
ROSTESTS-200 #resolve

svn path=/trunk/; revision=71232
2016-05-02 13:19:44 +00:00
Thomas Faber d58a87beca [NTOS:PS]
- Return sensible values for KernelTime/UserTime from NtQueryInformationProcess:ProcessTimes
CORE-7007 #resolve

svn path=/trunk/; revision=71153
2016-04-12 17:44:47 +00:00
Thomas Faber 8bed306ee8 [NTDLL_APITEST]
- Add a test for NtQueryInformationProcess:ProcessTimes
CORE-7007

svn path=/trunk/; revision=71152
2016-04-12 17:39:01 +00:00
Thomas Faber 518a536514 [NTDLL_APITEST]
- Add missing va_end. Patch by Víctor Martínez Calvo.
ROSTESTS-202 #resolve

svn path=/trunk/; revision=71108
2016-04-06 19:31:20 +00:00
Pierre Schweitzer f8ab19dde0 [NTDLL_APITEST]
RtlGenerate8dot3Name: add more test locales

svn path=/trunk/; revision=71028
2016-03-20 11:31:42 +00:00
Pierre Schweitzer 34de8c69b3 [NTDLL_APITEST]
Set correct locale in RtlGenerate8dot3Name test.
This makes the test reproducible on every target plateform.

Patch by Mark Jansen.

ROSTESTS-218 #resolve #comment Patch commited in r71027. Thanks!

svn path=/trunk/; revision=71027
2016-03-20 10:51:14 +00:00
Thomas Faber 043845e1cd [NTDLL_APITEST]
- Add a test for RtlImageRvaToVa
CORE-10523

svn path=/trunk/; revision=69895
2015-11-16 09:48:39 +00:00
Pierre Schweitzer fedc72ff66 [NTDLL_APITEST]
Fix test
Spotted by Alex

svn path=/trunk/; revision=69516
2015-10-12 17:43:42 +00:00
Pierre Schweitzer c4b93ac3c5 [WHOOPS]
C/P error

svn path=/trunk/; revision=69507
2015-10-11 21:51:32 +00:00
Pierre Schweitzer 24420c2ba1 [NTDLL_APITESTS]
Extend the RtlAllocateHeap() test

svn path=/trunk/; revision=69506
2015-10-11 21:49:16 +00:00
Pierre Schweitzer 7feed70d00 [NTDLL_APITESTS]
Add a test that shows that RtlAllocateHeap() totally ignores HEAP_CREATE_ALIGN_16

svn path=/trunk/; revision=69504
2015-10-11 21:10:03 +00:00
Pierre Schweitzer 2f08cf3f2a [NTDLL_APITEST]
*.S expects length in chars

svn path=/trunk/; revision=69392
2015-09-28 08:53:31 +00:00
Pierre Schweitzer df8ea25b31 [NTDLL_APITEST]
Add more tests for RtlGenerate8dot3Name().
Not sure how many more are failing in ReactOS: they all pass in my WC (teasing :-))

CORE-10223

svn path=/trunk/; revision=69388
2015-09-27 20:41:14 +00:00
Thomas Faber c43914c6a7 [NTDLL_APITEST]
- Fix a test failure on WHS-Testbot

svn path=/trunk/; revision=69331
2015-09-23 15:53:24 +00:00
Thomas Faber 5e43107328 [NTDLL_APITEST]
- Add simple tests for NtOpenThreadToken[Ex] and NtOpenProcessToken[Ex]

svn path=/trunk/; revision=69329
2015-09-23 15:14:25 +00:00
Pierre Schweitzer 40d3c19242 [NTDLL_APITESTS]
Add more tests

svn path=/trunk/; revision=69307
2015-09-20 17:51:41 +00:00
Pierre Schweitzer 9fce9f4c34 [NTDLL_APITESTS]
Properly init string length

svn path=/trunk/; revision=69305
2015-09-20 14:04:48 +00:00
Pierre Schweitzer 2a99e6260e [NTDLL_APITESTS]
Add more tests

svn path=/trunk/; revision=69304
2015-09-20 13:32:34 +00:00
Pierre Schweitzer 1e31c8d334 [NTDLL_APITESTS]
Add a few tests for RtlGenerate8dot3Name()

svn path=/trunk/; revision=69303
2015-09-20 10:42:05 +00:00
Thomas Faber 2565dcba26 [NTOS:PS]
- Implement NtApphelpCacheControl. Patch by Mark Jansen
CORE-9914 #resolve

svn path=/trunk/; revision=69022
2015-09-05 11:49:54 +00:00
Thomas Faber 195d119706 [NTDLL_APITEST]
- Add tests for mapping and relocating an image with an IMAGE_SCN_TYPE_NOLOAD section
CORE-8384

svn path=/trunk/; revision=68676
2015-08-11 07:21:33 +00:00
Thomas Faber 7bccf4601e [NTDLL_APITEST]
- Properly clean up after tests

svn path=/trunk/; revision=68675
2015-08-11 07:13:51 +00:00
Thomas Faber 7a5715dced [NTDLL_APITEST]
- Look for test.dll in the right place

svn path=/trunk/; revision=68674
2015-08-11 06:45:45 +00:00
Thomas Faber 082ca2d474 [NTDLL_APITEST]
- Add test for SystemKernelDebuggerInformation, showing that it accepts an unaligned info pointer

svn path=/trunk/; revision=68393
2015-07-12 17:52:42 +00:00
Thomas Faber 39d42581f4 [NTDLL_APITEST]
- Add some tests for NtQuerySystemInformation with invalid info class

svn path=/trunk/; revision=68391
2015-07-12 08:53:40 +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 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 410d16c399 [NTDLL_APITEST]
- Add a test for NtQueryKey(KeyFullInformation)
CORE-6976

svn path=/trunk/; revision=67414
2015-04-25 15:05:36 +00:00
Thomas Faber bccac1a15b [NTDLL_APITEST]
- Gracefully handle failures in NtMapViewOfSection test. CORE-9189
- Correctly handle unterminated strings in NtQueryKey test. Powered by DPH.

svn path=/trunk/; revision=67370
2015-04-23 18:41:08 +00:00
Thomas Faber 95ebf88866 [NTDLL_APITEST]
- Add some more tests for RtlDoesFileExists_*, in particular passing NT paths
CORE-9523

svn path=/trunk/; revision=67334
2015-04-21 10:50:12 +00:00
Thomas Faber b11c872f36 [NTDLL_APITEST]
- Also test decreasing the size in RtlReAllocateHeap. Patch by Mark Jansen.
CORE-9441

svn path=/trunk/; revision=66960
2015-03-29 14:47:21 +00:00
Thomas Faber c7d57b853b [NTDLL_APITEST]
- Add a test for RtlReAllocateHeap -- shows that it doesn't handle allocations larger than 0x7f000 correctly in ROS
CORE-9441

svn path=/trunk/; revision=66958
2015-03-29 14:07:00 +00:00
Jérôme Gardou 91ab921a3d [NTDLL_APITEST]
- Add tests showing windows behaviour in case of stack overflow.

svn path=/trunk/; revision=66326
2015-02-16 21:15:55 +00:00
Jérôme Gardou 03d126b2fa [NTDLL_APITEST]
- Add tests showing how NtAllocateVirtualMemory and NtQueryVirtualMemory work together

svn path=/trunk/; revision=66325
2015-02-16 21:15:27 +00:00
Thomas Faber 268d1c62fe [RTL]
- Fix a buffer overflow in RtlSetBits/RtlClearBits

svn path=/trunk/; revision=64867
2014-10-21 14:22:28 +00:00