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
Timo Kreuzer
64820cf82f
[WIN32KDLL_2K3SP2]
...
Export NtUserGetClassInfoEx (as it's called in 2k3) both as NtUserGetClassInfo (as it's called on XP) and NtUserGetClassInfo. They have the same prototype.
svn path=/trunk/; revision=70463
2015-12-28 23:51:05 +00:00
Timo Kreuzer
0c24f4ecd6
[WIN32KDLL_2K3SP2]
...
- "Fix" an export name: NtUserGetClassInfoEx on 2k3 is the same as NtUserGetClassInfo on XP (note that we currently use the default, aka ros specific, win32kdll on the WHS testbot, but it's mostly identical.
[WIN32KNT_APITEST]
- Fix a typo
- add missing tests to testlist.c
svn path=/trunk/; revision=70462
2015-12-28 23:03:04 +00:00
Timo Kreuzer
7e81805878
[GDITOOLS]
...
3rd try to fix WHS rostests build
svn path=/trunk/; revision=70461
2015-12-28 20:53:34 +00:00
Timo Kreuzer
25b8fe488d
[WIN32NT_APITEST]
...
2nd try to fix WHS rostests build
svn path=/trunk/; revision=70460
2015-12-28 20:51:28 +00:00
Timo Kreuzer
96071c690b
[WIN32NT_APITEST]
...
Try to fix WHS rostests build
svn path=/trunk/; revision=70459
2015-12-28 20:46:05 +00:00
Timo Kreuzer
7ad21a4425
[APOTESTS]
...
- Convert win32k native api test to actual wine style api-tests
- Hack around a bit with the win32k dlls, some renaming, etc.
- Delete old apitest stuff
svn path=/trunk/; revision=70458
2015-12-28 20:31:10 +00:00
Timo Kreuzer
3ef0e98b4b
[GDITOOLS]
...
Add a library with some helper routines for GDI tests
svn path=/trunk/; revision=70457
2015-12-28 20:24:57 +00:00
Timo Kreuzer
c88949294c
[CRT_APITEST]
...
Fix sprintf tests to succeed on W2K3
svn path=/trunk/; revision=70456
2015-12-28 15:49:29 +00:00
Timo Kreuzer
42a833ef22
[CRT_APITEST]
...
Add tests for _snprintf, _snwprintf, strtoul, wcstoul
Patch by Thomas Faber (slightly modified by me)
CORE-6510
svn path=/trunk/; revision=70455
2015-12-28 15:24:47 +00:00
Timo Kreuzer
66908136d4
[CRT_APITEST]
...
- Disable a check for crtdll
- Fix an MSVC warning
svn path=/trunk/; revision=70453
2015-12-28 11:01:03 +00:00
Timo Kreuzer
2866514570
[CRT_APITEST]
...
Add another test for strlen, that tests, whether the direction flag in ELFAGS has been modified. While clearing it is legitimate to do according to the ABI, the native implementation does not change it, so we don't want to do it either.
svn path=/trunk/; revision=70429
2015-12-26 20:32:31 +00:00
Timo Kreuzer
909f7439d0
[CRT_APITEST]
...
- disable GCC builtins
- Add simple tests for strlen, showing that a NULL pointer will cause an access violation, which is broken in our asm implementation
svn path=/trunk/; revision=70427
2015-12-26 19:20:54 +00:00
Pierre Schweitzer
df6860337a
[IPHLPAPI_APITEST]
...
Rewrite the two existing tests for ICMP and add a third one (for IPv6).
Patch by Tim Crawford.
ROSTESTS-212 #resolve #comment Commited in r70367. Thanks!
svn path=/trunk/; revision=70367
2015-12-16 21:11:22 +00:00
Pierre Schweitzer
1a18680120
[IPHLPAPI_APITEST]
...
Add more tests
svn path=/trunk/; revision=70326
2015-12-12 09:45:23 +00:00
Ged Murphy
78c2f01594
Caught out by unix again
...
svn path=/trunk/; revision=70313
2015-12-08 22:18:41 +00:00
Ged Murphy
452bc55d4b
[GDI32_APITEST]
...
- Add some tests for GetGlyphIndices
svn path=/trunk/; revision=70311
2015-12-08 22:14:48 +00:00
Pierre Schweitzer
4042ba935e
[IPHLPAPI_APITEST]
...
Add another check that shows that data returned by GetAdaptersAddresses() are incomplete and thus broken...
"This isn't the type you're looking for." would say an old man
svn path=/trunk/; revision=70290
2015-12-07 22:33:29 +00:00
Pierre Schweitzer
ebb8c660f4
[IPHLPAPI]
...
Display the IP address used for tests
This highlights an issue with returned IP in ReactOS
svn path=/trunk/; revision=70286
2015-12-07 11:21:20 +00:00
Amine Khaldi
cc656f9803
[IPHLPAPI_APITEST] Move icmp tests from winetests to apitests where they belong. By Tim Crawford. ROSTESTS-201
...
svn path=/trunk/; revision=70261
2015-12-04 10:34:24 +00:00
Pierre Schweitzer
1fe3047f6b
[IPHLPAPI_APITEST]
...
Add a new apitest for iphlpapi.dll.
It includes tests for testing the SendARP() and its underlying IOCTL.
Tested against W2K3.
Obviously, most of these tests fail on ReactOS.
svn path=/trunk/; revision=70210
2015-11-29 19:31:33 +00:00
Thomas Faber
e38b0c1eb4
[CRT_APITEST]
...
- Add tests for static object destructors. Patch by Mark Jansen.
CORE-10562
svn path=/trunk/; revision=70023
2015-11-22 14:01:04 +00:00
Thomas Faber
3aee20e0d8
[CRT_APITEST]
...
- Fix dll loading in static_construct test
CORE-10562
svn path=/trunk/; revision=70022
2015-11-22 13:51:19 +00:00
Thomas Faber
9b5d026744
[CRT_APITEST]
...
- Also test static constructors/destructors in a DLL.
CORE-10562
svn path=/trunk/; revision=69993
2015-11-21 13:45:45 +00:00
Thomas Faber
bfa1295d2b
[CRT_APITEST]
...
- Add tests for static initialization and static constructors
CORE-10562
svn path=/trunk/; revision=69991
2015-11-21 12:04:36 +00:00
Thomas Faber
1d90274758
[USER32_DYNAMIC]
...
- Show that user32 keeps an extra reference to itself
CORE-10540
svn path=/trunk/; revision=69962
2015-11-20 17:27:27 +00:00
Thomas Faber
72d1f8be4f
[USER32_DYNAMIC_APITEST]
...
- Add a test that uses LoadLibrary/FreeLibrary on user32.dll, causing it to re-initialize.
CORE-10540
svn path=/trunk/; revision=69923
2015-11-17 13:45:59 +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
Sylvain Petreolle
9eec8dc5b9
[COM_APITEST]
...
Use explicit W calls.
All the code is unicode-based.
svn path=/trunk/; revision=69830
2015-11-07 11:59:23 +00:00
Thomas Faber
0f4f3d7cd8
[ATL]
...
- Implement more CComBSTR methods. Patch by Mark Jansen.
CORE-10478 #resolve
svn path=/trunk/; revision=69815
2015-11-05 10:49:52 +00:00
Amine Khaldi
2b6ae1241e
[USER32_APITEST] Fix a typo.
...
svn path=/trunk/; revision=69799
2015-11-03 21:14:15 +00:00
Thomas Faber
7744b35234
[USER32_APITEST]
...
- Add a test for sending recursive inter-thread messages
CORE-9210
svn path=/trunk/; revision=69797
2015-11-03 20:40:19 +00:00
Timo Kreuzer
5de8b3d15c
[GDI32_APITEST]
...
Formatting: tabs -> spaces
svn path=/trunk/; revision=69754
2015-10-31 15:24:09 +00:00
Timo Kreuzer
96afb9e14c
[GDI32_APITEST]
...
Fix tests for GetObject
svn path=/trunk/; revision=69752
2015-10-31 14:59:08 +00:00
Thomas Faber
dde60eb9ef
[USER32_APITEST]
...
- Add some tests for other WS_CHILD/WS_POPUP combinations
svn path=/trunk/; revision=69710
2015-10-26 12:12:01 +00:00
Thomas Faber
a8f4623261
[USER32_APITEST]
...
- Remove nonexistent test...
svn path=/trunk/; revision=69708
2015-10-26 12:05:35 +00:00
Thomas Faber
ca8fcf5402
[USER32_APITEST]
...
- Add a test for the bug in win32k highlighted by the recent ATL breakage
CORE-10413
svn path=/trunk/; revision=69707
2015-10-26 12:03:09 +00:00
Pierre Schweitzer
54af95dc46
[CRT_APITEST]
...
Add more tests
CORE-10390
svn path=/trunk/; revision=69681
2015-10-25 07:42:34 +00:00
Pierre Schweitzer
16543cd058
[CRT_APITEST]
...
Add a few tests to show mbstowcs/wcstombs behavior will NULL ptr.
CORE-10390
svn path=/trunk/; revision=69680
2015-10-24 23:18:33 +00:00
Pierre Schweitzer
34c9b63005
[MSVCRT]
...
Add a test that shows that _splitpath() null-terminates drive
svn path=/trunk/; revision=69661
2015-10-24 08:20:05 +00:00
Thomas Faber
237a82dc51
[ATL]
...
- Add CComHeapPtr implementation and tests. Patch by Mark Jansen.
CORE-10344 #resolve
svn path=/trunk/; revision=69593
2015-10-18 10:46:11 +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
Thomas Faber
9c78e0659c
[USER32_APITEST]
...
- Add some tests for window properties
CORE-3897
svn path=/trunk/; revision=69490
2015-10-10 16:08:31 +00:00
Sylvain Petreolle
4aa8ae13c2
[user32_apitest]
...
0x%lu does not mean anything correct.
svn path=/trunk/; revision=69434
2015-10-03 21:41:10 +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
Pierre Schweitzer
9099445189
[KERNEL32_APITEST]
...
Rename apitest Mailslot test to MailslotRead to avoid testman issue with mailslot winetest
svn path=/trunk/; revision=69352
2015-09-25 14:53:08 +00:00
Pierre Schweitzer
2f233ce1f9
[KERNEL32_APITEST]
...
Add a test for CORE-10188 (which was fixed by Thomas in r69236).
It is based on Nikita Pechenkin's patch with a few modifications by me to avoid race condition on start (and avoid flappy test) and to match more closely our coding style
ROSTESTS-190 #resolve #comment Committed in r69351. Thanks!
svn path=/trunk/; revision=69351
2015-09-25 14:44:38 +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
Hermès Bélusca-Maïto
e709e70d0e
[PEFILE:APITEST]: Validate IMAGE_SCN_MEM_NOT_PAGED flag for PE files. By Mark Jansen. CORE-10160
...
svn path=/trunk/; revision=69198
2015-09-12 13:08:47 +00:00
Amine Khaldi
de917295f6
[PEFILE_APITEST] Introduce tests that load ntoskrnl.exe and validate various section flags. Created by Mark Jansen in light of r68930. CORE-10106
...
svn path=/trunk/; revision=69154
2015-09-09 17:27:36 +00:00
Amine Khaldi
d69d6cab4e
[APITESTS] Add missing xdk dependency. CORE-9586
...
svn path=/trunk/; revision=69117
2015-09-08 12:51:53 +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
Sylvain Petreolle
4921df2054
[COM_APITEST]
...
Do not test for ISFHelper anymore.
svn path=/trunk/; revision=68919
2015-09-02 20:52:34 +00:00
Thomas Faber
a54882acc1
[ADVAPI32_APITEST]
...
- Do not call RtlInitUnicodeString on an unterminated string (DPH)
svn path=/trunk/; revision=68867
2015-08-30 08:37:13 +00:00
Thomas Faber
a46c9450de
[GDI32_APITEST]
...
- Add a simple test for SetBoundsRect
svn path=/trunk/; revision=68750
2015-08-18 10:24:01 +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
Christoph von Wittich
1f7ffb9c1d
[GDI32_APITEST]
...
-include the testdata in all targets
-load it from the correct path even when the application is using a different working directory
svn path=/trunk/; revision=68623
2015-08-08 08:31:49 +00:00
Christoph von Wittich
96c2ec9407
[GDI32_APITEST]
...
use correct testdata path
svn path=/trunk/; revision=68618
2015-08-07 17:40:55 +00:00
Thomas Faber
0436f08597
[WS2_32_APITEST]
...
- Apparently doesntexist.reactos.org... exists
svn path=/trunk/; revision=68577
2015-07-26 09:26:29 +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
4b4eaae90e
[PSDK]
...
- Add IFolderView2 definition from Wine
svn path=/trunk/; revision=68357
2015-07-06 18:38:15 +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
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
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
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
Hermès Bélusca-Maïto
71a0dd0f0e
Forgot this change too.
...
svn path=/trunk/; revision=67443
2015-04-26 17:50:38 +00:00
Hermès Bélusca-Maïto
b4ebdb1ae9
[REACTOS]: Add a "testdata" subdirectory in %SystemRoot%\bin\ where you can put all needed extra files for the tests. In addition, all the files present in your rostests\testdata local directory of your working copy are also copied into %SystemRoot%\bin\testdata .
...
svn path=/trunk/; revision=67442
2015-04-26 17:47:55 +00:00
Kamil Hornicek
d3a6637990
[W32KNAPI]
...
- NEW_CURSORICON is no more
svn path=/trunk/; revision=67436
2015-04-26 13:17:24 +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
c92559c27c
[GDI32_APITEST]
...
- Add a test for NtGdiAddFontResourceW. This goes in gdi32_apitest until we fix w32knapi to be Testman-compatible (ROSTESTS-167). Patch by Víctor Martínez Calvo.
ROSTESTS-166 #resolve
svn path=/trunk/; revision=67391
2015-04-25 10:41:32 +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