diff --git a/test/testio.cpp b/test/testio.cpp index 0f21343ff16..a314396ed71 100644 --- a/test/testio.cpp +++ b/test/testio.cpp @@ -836,6 +836,8 @@ class TestIO : public TestFixture { assertEquals(filename, linenr, emptyString, errout_str()); check(code, dinit(CheckOptions, $.inconclusive = true, $.platform = Platform::Type::Win32A, $.onlyFormatStr = true, $.cpp = cpp)); assertEquals(filename, linenr, emptyString, errout_str()); + check(code, dinit(CheckOptions, $.inconclusive = true, $.platform = Platform::Type::Win32W, $.onlyFormatStr = true, $.cpp = cpp)); + assertEquals(filename, linenr, emptyString, errout_str()); check(code, dinit(CheckOptions, $.inconclusive = true, $.platform = Platform::Type::Win64, $.onlyFormatStr = true, $.cpp = cpp)); assertEquals(filename, linenr, emptyString, errout_str()); } @@ -850,6 +852,8 @@ class TestIO : public TestFixture { assertEquals(filename, linenr, testScanfErrString, errout_str()); check(code, dinit(CheckOptions, $.inconclusive = true, $.platform = Platform::Type::Win32A, $.onlyFormatStr = true, $.cpp = cpp)); assertEquals(filename, linenr, testScanfErrString, errout_str()); + check(code, dinit(CheckOptions, $.inconclusive = true, $.platform = Platform::Type::Win32W, $.onlyFormatStr = true, $.cpp = cpp)); + assertEquals(filename, linenr, testScanfErrString, errout_str()); check(code, dinit(CheckOptions, $.inconclusive = true, $.platform = Platform::Type::Win64, $.onlyFormatStr = true, $.cpp = cpp)); assertEquals(filename, linenr, testScanfErrString, errout_str()); } @@ -864,6 +868,8 @@ class TestIO : public TestFixture { assertEquals(filename, linenr, testScanfErrAkaString, errout_str()); check(code, dinit(CheckOptions, $.inconclusive = true, $.portability = true, $.platform = Platform::Type::Win32A, $.onlyFormatStr = true, $.cpp = cpp)); assertEquals(filename, linenr, testScanfErrAkaString, errout_str()); + check(code, dinit(CheckOptions, $.inconclusive = true, $.portability = true, $.platform = Platform::Type::Win32W, $.onlyFormatStr = true, $.cpp = cpp)); + assertEquals(filename, linenr, testScanfErrAkaString, errout_str()); check(code, dinit(CheckOptions, $.inconclusive = true, $.portability = true, $.platform = Platform::Type::Win64, $.onlyFormatStr = true, $.cpp = cpp)); assertEquals(filename, linenr, testScanfErrAkaWin64String, errout_str()); } @@ -878,6 +884,8 @@ class TestIO : public TestFixture { assertEquals(filename, linenr, emptyString, errout_str()); check(code, dinit(CheckOptions, $.inconclusive = true, $.portability = true, $.platform = Platform::Type::Win32A, $.onlyFormatStr = true, $.cpp = cpp)); assertEquals(filename, linenr, emptyString, errout_str()); + check(code, dinit(CheckOptions, $.inconclusive = true, $.portability = true, $.platform = Platform::Type::Win32W, $.onlyFormatStr = true, $.cpp = cpp)); + assertEquals(filename, linenr, emptyString, errout_str()); check(code, dinit(CheckOptions, $.inconclusive = true, $.portability = true, $.platform = Platform::Type::Win64, $.onlyFormatStr = true, $.cpp = cpp)); assertEquals(filename, linenr, testScanfErrAkaWin64String, errout_str()); } @@ -892,6 +900,8 @@ class TestIO : public TestFixture { assertEquals(filename, linenr, testScanfErrAkaString, errout_str()); check(code, dinit(CheckOptions, $.inconclusive = true, $.portability = true, $.platform = Platform::Type::Win32A, $.onlyFormatStr = true, $.cpp = cpp)); assertEquals(filename, linenr, testScanfErrAkaString, errout_str()); + check(code, dinit(CheckOptions, $.inconclusive = true, $.portability = true, $.platform = Platform::Type::Win32W, $.onlyFormatStr = true, $.cpp = cpp)); + assertEquals(filename, linenr, testScanfErrAkaString, errout_str()); check(code, dinit(CheckOptions, $.inconclusive = true, $.portability = true, $.platform = Platform::Type::Win64, $.onlyFormatStr = true, $.cpp = cpp)); assertEquals(filename, linenr, emptyString, errout_str()); } @@ -2152,6 +2162,8 @@ class TestIO : public TestFixture { ASSERT_EQUALS(result, errout_str()); check(code, dinit(CheckOptions, $.portability = true, $.platform = Platform::Type::Win32A)); ASSERT_EQUALS(result, errout_str()); + check(code, dinit(CheckOptions, $.portability = true, $.platform = Platform::Type::Win32W)); + ASSERT_EQUALS(result, errout_str()); check(code, dinit(CheckOptions, $.portability = true, $.platform = Platform::Type::Win64)); ASSERT_EQUALS(result_win64, errout_str()); }