/third_party/node/test/fixtures/wpt/resources/ |
H A D | check-layout.js | 55 var expectedOffset = checkAttribute(output, node, "data-offset-x"); 56 if (expectedOffset) { 57 if (isNaN(expectedOffset) || Math.abs(node.offsetLeft - expectedOffset) >= 1) 58 failures.push("Expected " + expectedOffset + " for offsetLeft, but got " + node.offsetLeft + ". "); 61 var expectedOffset = checkAttribute(output, node, "data-offset-y"); 62 if (expectedOffset) { 63 if (isNaN(expectedOffset) || Math.abs(node.offsetTop - expectedOffset) >= 1) 64 failures.push("Expected " + expectedOffset [all...] |
H A D | check-layout-th.js | 76 var expectedOffset = checkAttribute(output, node, "data-offset-x"); 77 if (expectedOffset) { 78 assert_tolerance(node.offsetLeft, expectedOffset, prefix + "offsetLeft"); 81 var expectedOffset = checkAttribute(output, node, "data-offset-y"); 82 if (expectedOffset) { 83 assert_tolerance(node.offsetTop, expectedOffset, prefix + "offsetTop"); 116 var expectedOffset = checkAttribute(output, node, "data-total-x"); 117 if (expectedOffset) { 119 assert_tolerance(totalLeft, expectedOffset, prefix + 123 var expectedOffset [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/ |
H A D | esextcTextureBufferMAXSizeValidation.cpp | 192 const int expectedOffset = 0; in iterate() local 194 if (expectedOffset != textureOffset) in iterate() 197 << "Expected GL_TEXTURE_BUFFER_OFFSET_EXT parameter value : " << expectedOffset << "\n" in iterate()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | numbertest_skeletons.cpp | 285 int32_t expectedOffset = u_strlen(stem) + ((suffix[0] == u'/') ? 1 : 0); in stemsRequiringOption() local 286 assertEquals(skeletonString, expectedOffset, perror.offset); in stemsRequiringOption() 287 UnicodeString expectedPreContext = skeletonString.tempSubString(0, expectedOffset); in stemsRequiringOption() 289 expectedPreContext = expectedPreContext.tempSubString(expectedOffset - U_PARSE_CONTEXT_LEN + 1); in stemsRequiringOption() 292 UnicodeString expectedPostContext = skeletonString.tempSubString(expectedOffset); in stemsRequiringOption()
|
H A D | rbbiapts.h | 100 void doTest(UnicodeString& testString, int32_t start, int32_t gotoffset, int32_t expectedOffset, const char* expected);
|
H A D | numbertest_parse.cpp | 214 int32_t expectedOffset; in testSeriesMatcher() member 238 assertEquals("'" + input + "'", cas.expectedOffset, actualOffset); in testSeriesMatcher()
|
H A D | tztest.cpp | 329 double expectedOffset = (((double)expectedHour) * millisPerHour); in TestPRTOffset() local 332 if (expectedOffset != foundOffset) { in TestPRTOffset() 1162 int32_t expectedOffset; in TestCustomParse() member 1196 int32_t exp = kData[i].expectedOffset; in TestCustomParse()
|
H A D | rbbiapts.cpp | 1468 void RBBIAPITest::doTest(UnicodeString& testString, int32_t start, int32_t gotoffset, int32_t expectedOffset, const char* expectedString){ in doTest() argument 1472 if(gotoffset != expectedOffset) in doTest() 1473 errln((UnicodeString)"ERROR:****returned #" + gotoffset + (UnicodeString)" instead of #" + expectedOffset); in doTest()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/ |
H A D | RBBIAPITest.java | 467 private void doTest(String testString, int start, int gotoffset, int expectedOffset, String expectedString) { in doTest() argument 470 if (gotoffset != expectedOffset) in doTest() 471 errln("ERROR:****returned #" + gotoffset + " instead of #" + expectedOffset); in doTest()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
H A D | RBBIAPITest.java | 464 private void doTest(String testString, int start, int gotoffset, int expectedOffset, String expectedString) { in doTest() argument 467 if (gotoffset != expectedOffset) in doTest() 468 errln("ERROR:****returned #" + gotoffset + " instead of #" + expectedOffset); in doTest()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
H A D | TimeZoneRegressionTest.java | 1184 int expectedOffset = ONE_HOUR*2; // GMT+2 - NO DST in TestJohannesburg() 1187 if(offset != expectedOffset) { in TestJohannesburg() 1188 errln("FAIL: zone " + j_id +" returned offset in July " + offset +", expected "+expectedOffset); in TestJohannesburg() 1195 if(offset2 != expectedOffset) { in TestJohannesburg() 1196 errln("FAIL: zone " + j_id +" returned offset in December " + offset2 +", expected "+expectedOffset); in TestJohannesburg()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
H A D | TimeZoneRegressionTest.java | 1181 int expectedOffset = ONE_HOUR*2; // GMT+2 - NO DST in TestJohannesburg() 1184 if(offset != expectedOffset) { in TestJohannesburg() 1185 errln("FAIL: zone " + j_id +" returned offset in July " + offset +", expected "+expectedOffset); in TestJohannesburg() 1192 if(offset2 != expectedOffset) { in TestJohannesburg() 1193 errln("FAIL: zone " + j_id +" returned offset in December " + offset2 +", expected "+expectedOffset); in TestJohannesburg()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
H A D | NumberParserTest.java | 245 int expectedOffset = (Integer) cas[1]; in testSeriesMatcher() 253 assertEquals("'" + input + "'", expectedOffset, actualOffset); in testSeriesMatcher()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
H A D | NumberParserTest.java | 242 int expectedOffset = (Integer) cas[1]; in testSeriesMatcher() 250 assertEquals("'" + input + "'", expectedOffset, actualOffset); in testSeriesMatcher()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | capitst.c | 2151 int32_t expectedOffset; in TestShortString() member 2234 if(parseError.offset != testCases[i].expectedOffset) { in TestShortString() 2236 parseError.offset, testCases[i].expectedOffset, testCases[i].input); in TestShortString()
|