• Francois Gouget's avatar
    Move the test strings into their own array and convert them to unicode · 49e119f9
    Francois Gouget authored
    using a for loop. This lets us later print the offending string when a
    test fails.
    Fix the MSVC compilation error (XXXe183) and warnings (put suffixes as
    in 0L & 1.0F, signed/unsigned warnings, s/-2147483648/0x80000000L/).
    Uncomment the DateFromStr tests and fill in the todo fields where
    appropriate.
    Define an NB_OLE_STRINGS macro and use it to make sure all the arrays
    have the right number of fields.
    In the *FromStr loops, fill the return field with a dummy value (42)
    before calling the conversion function. This way a test no longer
    depends on whether the previous test failed or not!
    If a test is expected to fail, then retval is meaningless -> omit it
    from the result arrays.
    If a test actually fails or was expected to fail, then there is no
    point in checking retval.
    Improve error reporting.
    Pass the printf-style format directly to ok, remove the unnecessary
    sprintfs.
    49e119f9
Name
Last commit
Last update
..
tests Loading commit data...
.cvsignore Loading commit data...
Makefile.in Loading commit data...
connpt.c Loading commit data...
connpt.h Loading commit data...
dispatch.c Loading commit data...
hash.c Loading commit data...
ole2disp.c Loading commit data...
ole2disp.h Loading commit data...
ole2disp.spec Loading commit data...
oleaut.c Loading commit data...
oleaut32.spec Loading commit data...
olefont.c Loading commit data...
olepicture.c Loading commit data...
parsedt.c Loading commit data...
parsedt.h Loading commit data...
safearray.c Loading commit data...
stubs.c Loading commit data...
tmarshal.c Loading commit data...
tmarshal.h Loading commit data...
typelib.c Loading commit data...
typelib.h Loading commit data...
typelib.spec Loading commit data...
typelib16.c Loading commit data...
variant.c Loading commit data...
version.rc Loading commit data...