mirror of
https://github.com/reactos/reactos.git
synced 2025-08-08 16:03:27 +00:00
[APITESTS] Improve and fix tests
This commit is contained in:
parent
cd5cc017cb
commit
465745b683
45 changed files with 832 additions and 566 deletions
|
@ -88,12 +88,20 @@ START_TEST(sprintf)
|
|||
StartSeh()
|
||||
Length = sprintf(NULL, "");
|
||||
ok_int(Length, 0);
|
||||
#if TEST_CRTDLL || TEST_USER32
|
||||
EndSeh(STATUS_ACCESS_VIOLATION);
|
||||
#else
|
||||
EndSeh(STATUS_SUCCESS);
|
||||
#endif
|
||||
|
||||
StartSeh()
|
||||
Length = sprintf(NULL, "Hello");
|
||||
ok_int(Length, 5);
|
||||
#if TEST_CRTDLL || TEST_USER32
|
||||
EndSeh(STATUS_ACCESS_VIOLATION);
|
||||
#else
|
||||
EndSeh(STATUS_SUCCESS);
|
||||
#endif
|
||||
|
||||
/* some basic formats */
|
||||
Length = sprintf(Buffer, "abcde");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue