oleaut32/tests: Test VT_BSTR => VT_UI8 at upper limit.
This commit is contained in:
parent
d3e2e84feb
commit
5d7aac8c38
|
@ -2588,10 +2588,11 @@ static void test_VarUI8FromStr(void)
|
|||
|
||||
CHECKPTR(VarUI8FromStr);
|
||||
|
||||
CONVERT_STR(VarUI8FromStr,NULL,0); EXPECT_MISMATCH;
|
||||
CONVERT_STR(VarUI8FromStr,"0",0); EXPECTI8(0);
|
||||
CONVERT_STR(VarUI8FromStr,"-1",0); EXPECT_OVERFLOW;
|
||||
CONVERT_STR(VarUI8FromStr,"2147483647",0); EXPECTI8(2147483647);
|
||||
CONVERT_STR(VarUI8FromStr,NULL,0); EXPECT_MISMATCH;
|
||||
CONVERT_STR(VarUI8FromStr,"0",0); EXPECTI8(0);
|
||||
CONVERT_STR(VarUI8FromStr,"-1",0); EXPECT_OVERFLOW;
|
||||
CONVERT_STR(VarUI8FromStr,"2147483647",0); EXPECTI8(2147483647);
|
||||
CONVERT_STR(VarUI8FromStr,"18446744073709551615",0); todo_wine EXPECTI864(0xFFFFFFFF,0xFFFFFFFF);
|
||||
|
||||
CONVERT_STR(VarUI8FromStr,"-1.5",LOCALE_NOUSEROVERRIDE); EXPECT_OVERFLOW;
|
||||
CONVERT_STR(VarUI8FromStr,"-0.6",LOCALE_NOUSEROVERRIDE); EXPECT_OVERFLOW;
|
||||
|
|
Loading…
Reference in New Issue