Commit Graph

124 Commits

Author SHA1 Message Date
Sebastian Lackner 7280762238 oleaut32: Fix possible integer overflow in VarR4FromDec. 2015-08-19 20:19:57 +09:00
Nikolay Sivov 444bc3556d oleaut32/tests: Skip cache tests if it's disabled. 2015-04-13 15:05:19 +09:00
Nikolay Sivov 613a65982f oleaut32/tests: Some tests for IsMatchingType(). 2015-03-10 15:09:00 +09:00
Francois Gouget 0dd5cb1cef Assorted spelling fixes. 2014-09-29 10:36:36 +02:00
Sebastian Lackner ec218b4218 oleaut32: Decrease accuracy if scaling is not possible in VarDecAdd. 2014-07-09 09:28:11 +02:00
Sebastian Lackner 04f11ee55a oleaut32/tests: Add additional tests for VarDecAdd. 2014-07-09 09:27:30 +02:00
Piotr Caban d1469144e9 oleaut32: Handle VariantCopy errors in VariantChangeTypeEx. 2014-05-01 16:32:14 +02:00
Shuai Meng 1809f7c782 oleaut32: Fixed bounds of VarIntFromFloat. 2014-03-25 19:01:32 +01:00
Nikolay Sivov 8c2b4bfe48 oleaut32: Initialize result VARIANT in *FromDisp(). 2014-02-10 10:41:41 +01:00
Nikolay Sivov 60252ea65b oleaut32: Fix RecordCopy()/RecordClear() behavior. 2014-02-04 11:10:48 +01:00
Frédéric Delanoy f4fa510ea0 oleaut32/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-29 14:50:53 +01:00
Nikolay Sivov dd89dd1932 oleaut32/tests: Use local IDispatch test impl instead of global variable. 2014-01-28 10:52:18 +01:00
Nikolay Sivov bb711b6133 oleaut32/tests: Test Invoke() arguments in *FromDisp() tests. 2014-01-14 20:18:26 +01:00
Nikolay Sivov 39fcf4ec77 oleaut32/tests: Make it clear which vartypes are tested, skip calls on undefined vartype values. 2014-01-13 17:37:05 +01:00
Andrew Eikum 87c459ab23 oleaut32: Implement VarDecRound. 2013-09-18 13:13:30 +02:00
André Hentschel b1804fd7e3 oleaut32/tests: Don't use autoheader styled defines in vartype. 2013-06-26 12:13:03 +02:00
André Hentschel a7c77f93ea oleaut32/tests: Get rid of HAVE_OLEAUT32_CY in vartype. 2013-06-26 12:12:22 +02:00
André Hentschel 5601edd043 oleaut32/tests: Get rid of HAVE_OLEAUT32_DECIMAL in vartype. 2013-06-26 12:12:18 +02:00
André Hentschel c64d409aa8 oleaut32/tests: Get rid of HAVE_OLEAUT32_RECORD in vartype. 2013-06-26 12:12:10 +02:00
André Hentschel 7bb58e88a4 oleaut32/tests: Get rid of IS_ANCIENT in vartype. 2013-06-26 12:12:00 +02:00
Alistair Leslie-Hughes 661c2b8a0e oleaut32/tests: Add DECIMAL tests. 2013-06-13 12:18:49 +02:00
André Hentschel b3f7de8fec oleaut32/tests: Add tests for VarDecCmpR8 (gcov). 2013-06-11 11:52:28 +02:00
Piotr Caban 209b58c64e oleaut32: Fixed VarBstrFromDate behavior on dates before year 1600. 2013-02-22 19:15:59 +01:00
Piotr Caban 8f7d1ed520 oleaut32: Fixed time outputing for dates before 1899 in VarBstrFromDate. 2013-02-22 19:15:28 +01:00
Jacek Caban 16d1b3b026 oleaut32: Added some SysFreeString tests. 2013-02-13 19:10:17 +01:00
Francois Gouget af3114a5c4 oleaut32/tests: Skip the VarBstrCat() tests when that API is not available.
For the early NT4 releases.
2012-01-09 12:52:13 +01:00
Marcus Meissner 49cade4b01 oleaut32: Use correct variable (Coverity). 2011-11-14 20:15:43 +01:00
Michael Stefaniuc 42ac8afe9a oleaut32/tests: Cleanup the EXPECTRES macros. 2011-10-08 17:37:24 +02:00
Michael Stefaniuc ef0a5a30c5 oleaut32/tests: Make the EXPECT_* macros that take no args more robust. 2011-10-08 17:37:12 +02:00
Michael Stefaniuc 38794b4ba0 oleaut32: Fix some VarCyFrom* tests.
Due to a broken EXPECTRES macro the EXPECT_OVERFLOW accepts S_OK return
values.
2011-10-08 17:36:47 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
John Fremlin 66c42df02e oleau32: Stop incorrectly parsing dates in bogus YDM order in European locales. 2011-04-26 15:31:28 +02:00
Michael Stefaniuc 6fade2400a oleaut32/tests: COM cleanup in vartype.c. 2011-03-18 11:31:29 +01:00
Austin English 00b8083b86 oleaut32/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-15 17:09:25 +01:00
Nikolay Sivov 4e17e38aa2 oleaut32/tests: Cleanup some test macros. 2011-01-03 16:45:59 +01:00
Nikolay Sivov cb0d7276c1 oleaut32/tests: Some VarDateFromStr() tests. 2010-11-29 11:23:41 +01:00
Alexandre Julliard 4e94fd5567 oleaut32: Fix the overflow check in VarNumFromParseNum.
Spotted by Adam Martinson.
2010-11-17 14:01:16 +01:00
Adam Martinson 5d7aac8c38 oleaut32/tests: Test VT_BSTR => VT_UI8 at upper limit. 2010-11-17 14:01:15 +01:00
Nikolay Sivov 9a5098bbb4 oleaut32: Copy bytes instead of WCHARs in VarBstrCat. 2010-06-01 11:04:11 +02:00
Gerald Pfeifer b98f916dae oleaut32/tests: Remove variable changed which is not really used from test_SysReAllocStringLen. 2010-05-10 13:44:17 +02:00
André Hentschel 7b66e1aeeb oleaut32: Check if the delimiter is a date delimiter. 2010-05-08 13:12:33 +02:00
Gerald Pfeifer 14bf2dd2b6 oleaut32: Remove two variables that are not really used; corresponding checks are disabled. 2010-04-22 12:12:05 +02:00
André Hentschel 81c812ecba oleaut32: Add some spaces to the test output for better reading. 2010-03-30 14:49:30 +02:00
André Hentschel db020d58d1 oleaut32/tests: Remove a todo_wine from a dead test. 2010-03-15 13:28:23 +01:00
André Hentschel a360c98187 oleaut32: Fix localized date and time parsing. 2010-03-04 12:28:33 +01:00
André Hentschel 71f24431b9 oleaut32: Fix localized date parsing. 2010-03-04 12:28:28 +01:00
Piotr Caban 7e3fd4e3c6 oleaut32: Fix SysReAllocStringLen implementation. 2009-12-16 13:04:34 +01:00
Huw Davies 487dc6b639 oleaut32: Fix memory leaks in the tests.
Found by Valgrind.
2009-12-16 12:42:40 +01:00
Huw Davies 08760936e4 oleaut32: Fix a leak in the tests.
Found by Valgrind.
2009-12-15 16:25:03 +01:00
Huw Davies 026576995e oleaut32: Fix double-free in tests.
Found by Valgrind.
2009-12-11 17:47:29 +01:00