Commit Graph

87 Commits

Author SHA1 Message Date
Francois Gouget fbb892c604 oleaut32/tests: Fix the EQ_DOUBLE() and EQ_FLOAT() macros so they work no matter how large the values to compare are.
Use them everywhere.
2007-05-31 14:18:20 +02:00
Francois Gouget 82a7753058 oleaut32/tests: Remove unneeded parentheses. 2007-05-31 14:18:07 +02:00
Francois Gouget c2d24fdba9 oleaut32/tests: Remove redundant semi-colons. 2007-05-31 14:17:59 +02:00
Francois Gouget fa48cb042c Assorted spelling fixes. 2007-05-29 13:47:18 +02:00
Francois Gouget ffbf92f5f2 oleaut32/tests: Fix the Visual C++ double to float conversion warnings. 2007-05-29 13:47:09 +02:00
Francois Gouget 1f692cdcaa oleaut32/tests: Fix compilation on systems that don't support nameless structs or unions. 2007-04-11 12:54:30 +02:00
Jason Edmeades 94b9b6146d oleaut32: Convert to VT_DECIMAL fails with overflow (with test). 2007-04-03 11:32:57 +02:00
Francois Gouget 536e738552 Assorted spelling fixes. 2007-02-14 21:03:57 +01:00
Francois Gouget 7f05a94f50 oleaut32/tests: Fix compilation on systems that don't support nameless structs (e.g. gcc 2.95). 2007-01-23 11:26:39 +01:00
Alexandre Julliard 25571d8789 oleaut32/tests: Replace some macros by functions to reduce code size and compile time. 2007-01-15 13:01:42 +01:00
Francois Gouget 3dd1a8b4f1 oleaut32/tests: Replace some '#if 0's with 'if (0)'s. 2007-01-08 12:07:45 +01:00
Francois Gouget ac25a3f93d oleaut32/tests: Fix compilation on systems with no nameless unions (e.g. gcc 2.95). 2007-01-08 12:07:37 +01:00
Alex Villacís Lasso c290f623e0 oleaut32: Fix VarMod(VT_DECIMAL) test by properly initializing the DECIMAL to use.
Fix Wine handling of VT_DECIMAL in VarMod.
2006-12-26 13:25:03 +01:00
Rob Shearman 029d244ea9 oleaut32: Fix a crash when executing the VarAnd test with an old version of oleaut32.dll. 2006-12-24 13:08:10 +01:00
Rob Shearman 452c127071 oleaut32: Fix the VarPow tests for older versions of oleaut32. 2006-12-24 13:08:06 +01:00
Francois Gouget 30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Hans Leidekker 279207b258 oleaut32/tests: Win64 printf format warning fixes. 2006-10-12 20:41:09 +02:00
Stefan Leichter a94bd8afdd oleaut32/tests: Print each 64-bit integers as two 32 bit integers. 2006-10-02 11:55:53 +02:00
Benjamin Arai 8d921f1d3c oleaut32: Conformance test for function variant:VarImp. 2006-09-21 11:25:45 +02:00
Benjamin Arai 7e1f392a27 oleaut32: Conformance test for function variant:VarIdiv. 2006-09-12 10:53:56 +02:00
Benjamin Arai a4ec2721a4 oleaut32: Conformance test for function variant:VarDiv. 2006-09-12 10:53:14 +02:00
Benjamin Arai aee8a62136 oleaut32: Conformance test for function variant:VarPow. 2006-09-08 12:55:05 +02:00
Benjamin Arai 9e3e591bf2 oleaut32: Conformance test for function variant:VarAnd. 2006-09-08 12:52:22 +02:00
Benjamin Arai 6aaf2af5c0 oleaut32: Updated conformance test return string for VT_RESERVED. 2006-08-24 11:51:58 +02:00
Benjamin Arai 63c26dac23 oleaut32: Move varformat conformance tests to new file varformat.c 2006-07-31 11:21:45 +02:00
Benjamin Arai f10ed1f16e oleaut32: VarSub: Conformance test. 2006-07-28 12:56:45 +02:00
Benjamin Arai b636e4dbf4 oleaut32: Fix missing tests and heap errors for VarCat conformance. 2006-07-21 13:40:39 +02:00
Benjamin Arai 911af4dce9 oleaut32: Update error codes for VarMod. 2006-07-19 09:38:50 +02:00
Robert Shearman c793bfe028 oleaut32: Test the return value of VarCat in the tests. 2006-07-17 14:46:26 +02:00
Benjamin Arai 700adac9ac oleaut32: Conformance test and patch for VarCat. 2006-07-11 17:14:58 +02:00
qingdoa daoo 5e09c29867 oleaut32: Copying a NULL BSTR should result in an empty BSTR in VariantCopy. 2006-07-10 11:52:45 +02:00
Robert Shearman 123592f0c3 oleaut32: Fix parsing of hex numbers with 'e' in the string by moving
the exponent parsing to after the hex digit parsing.
2006-07-03 11:33:23 +02:00
Kevin Koltzau 0e8b75bb12 oleaut32: Fix 64bit warnings in tests. 2006-06-19 09:21:19 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Huw Davies 2898b5d9ad oleaut32: Remove weird attempt to clear VT_VARIANT.
Add some tests.
2006-05-07 10:10:56 +02:00
Robert Shearman 93acfeb7f0 oleaut: Fix VarFormat for VT_NULL variants. 2006-03-06 11:09:54 +01:00
Robert Shearman e5b2c14665 oleaut: Add some more VarFormat tests and fix the VarMod decimal test. 2006-03-06 11:08:32 +01:00
Michael Stefaniuc ba23adba41 oleaut: Add missing SysFreeString to the Var{Mul,Add,Cmp} tests. 2006-01-18 11:30:23 +01:00
Michael Stefaniuc 0d00d9af0e oleaut: Merge the VarCmp tests from vartype.c into vartest.c. 2006-01-18 11:30:01 +01:00
Michael Stefaniuc 2f9c9b31ae oleaut32: Tests for the VarCmp reimplementation. 2006-01-16 21:34:59 +01:00
Alexandre Julliard 7c1925a0f3 Remove the 'L' suffix on a number of constants to avoid comparison
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Marcus Meissner bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Michael Stefaniuc 4d36546c07 - VarAdd, VarMul: I4 overflows to R8 and not I8 even if the result
would fit in I8. Fix tests.
- Document a brokeness in the handling of I8 numbers in
  VarNumFromParseNum. Fix tests.
2005-08-23 09:33:37 +00:00
Francois Gouget c7dcf642ea Add trailing '\n's to ok() calls. 2005-07-06 15:46:47 +00:00
Michael Stefaniuc 0b1f8cdf4d - more VarFormat fixes for number formats (exponent, mixed '#' and '0'
in formats, rounding, etc). Simplify the code.
- previous VarFormat todo_wine tests pass now + add more tests
2005-06-23 09:48:07 +00:00
Saulius Krasuckas 8272074b85 Change (long long) to (LONGLONG) to compile with MSVC. 2005-06-14 12:25:29 +00:00
Michael Stefaniuc b9208137c1 - Fix VarFormat for formats that mix '0' and '#' in the whole number
part.
- Fix VarFormat for negative exponent formats.
- Add tests for the above + a couple of "todo_wine"'s.
2005-06-14 11:39:32 +00:00
Alexandre Julliard c2d5b444b3 Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they
can be used in all the test.
2005-06-13 12:10:54 +00:00
Michael Stefaniuc 485d140b36 Tests for VarAdd. 2005-05-29 20:00:50 +00:00
Michael Stefaniuc d0dbae3b18 Tests for VarMul(). 2005-05-23 11:46:36 +00:00