Commit graph

40 commits

Author SHA1 Message Date
Mark Jansen 6ee0488c6d [CRT_APITEST] Add tests for __getmainargs, testing a commandline ending with spaces. Patch by Yaroslav Veremenko CORE-9199
svn path=/trunk/; revision=72762
2016-09-21 19:26:47 +00:00
Mark Jansen caa5c5b12d [CRT][CRT_APITEST] Fix __getmainargs and __wgetmainargs parsing, verified with apitests. Patch by Yaroslav Veremenko. CORE-11673 #resolve #comment Thanks!
svn path=/trunk/; revision=72214
2016-08-12 21:31:32 +00:00
Thomas Faber 3d165be77b [CRT_APITEST]
- Add missing va_end. Patch by Víctor Martínez Calvo.
ROSTESTS-221 #resolve

svn path=/trunk/; revision=71107
2016-04-06 12:34:26 +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
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
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
Timo Kreuzer 7d51577276 [CRT_APITEST]
Disable a broken test.

svn path=/trunk/; revision=67044
2015-04-04 13:42:41 +00:00
Amine Khaldi c0e495f046 [CMAKE]
* Addendum to r64795.
* Also remove unneeded wine linking and ntdll importing.
* Remove redundant defines.

svn path=/trunk/; revision=64796
2014-10-17 23:29:24 +00:00
Timo Kreuzer dc5a81e32e [CRT_APITEST]
Fix some tests based on Windows 2003 SP1 behavior. Patch by Victor Martinez.

svn path=/trunk/; revision=64425
2014-09-30 21:10:15 +00:00
Christoph von Wittich 5d48b37adf [apitest/crt]
apply the same buffer size fix to _vsnwprintf test

svn path=/trunk/; revision=64082
2014-09-08 07:00:00 +00:00
Christoph von Wittich c14e88bd12 [apitests/crt]
pass the correct buffer size

svn path=/trunk/; revision=64068
2014-09-07 18:11:08 +00:00
Timo Kreuzer 0339d4e1a5 [ROSTESTS]
disable some tests on x64, since they don't build. Disable some exports from dllexport_test on non-x86 build, since decorations are x86 specific.

svn path=/trunk/; revision=63453
2014-05-25 20:21:02 +00:00
Amine Khaldi 934a5546ea [MSVCRT_CRT_APITEST]
* Don't enable wcstombs_s() tests (it shouldn't be exported).
CORE-7889

svn path=/trunk/; revision=63401
2014-05-21 14:26:20 +00:00
Amine Khaldi b5adad7bfa [MSVCRT_CRT_APITEST]
* Don't enable mbstowcs_s() tests (it shouldn't be exported).
CORE-7889

svn path=/trunk/; revision=63400
2014-05-21 13:30:26 +00:00
Amine Khaldi be8085bec0 [MSVCRT_CRT_APITEST]
* Don't reply on _set_errno() which shouldn't be exported.

svn path=/trunk/; revision=63399
2014-05-21 13:20:38 +00:00
Thomas Faber 3c7c94a174 [COMMENTS]
- Consistent email address is consistent.

svn path=/trunk/; revision=60631
2013-10-12 16:05:54 +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 4b95e17c61 [ROSTESTS:APITESTS]
Introduce a "apitest.h" header gathering special things for apitests (SEH macros, wine/test.h inclusion, and so on...).

svn path=/trunk/; revision=60313
2013-09-22 17:52:42 +00:00
Amine Khaldi c71475e3bb * Addendum to r58214.
svn path=/trunk/; revision=58290
2013-02-05 17:54:22 +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
Timo Kreuzer 702b13fc0f [CRT_APITEST]
Add tests for mbstowcs_s

svn path=/trunk/; revision=57343
2012-09-19 21:20:09 +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 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
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 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
Timo Kreuzer a791cb5f36 [CRT TEST]
for now disable the static test, it needs some fixes first

svn path=/trunk/; revision=56364
2012-04-18 17:37:21 +00:00
Timo Kreuzer 005d1d2a0c [TESTS]
Add a test framework for crt (ntdll, crtdll, msvcrt and static)

svn path=/trunk/; revision=56363
2012-04-18 17:21:18 +00:00