Home
last modified time | relevance | path

Searched refs:expectedType (Results 1 – 25 of 34) sorted by relevance

12

/third_party/node/test/async-hooks/
Dtest-emit-init.js11 const expectedType = 'test_emit_init_type'; constant
17 assert.strictEqual(type, expectedType);
25 async_hooks.emitInit(expectedId, expectedType, expectedTriggerId,
33 assert.strictEqual(type, expectedType);
39 async_hooks.emitInit(expectedId, expectedType, null, expectedResource);
Dtest-emit-before-after.js11 const expectedType = 'test_emit_before_after_type'; constant
36 async_hooks.emitInit(expectedId, expectedType, expectedTriggerId);
/third_party/flutter/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
Dchar_test.cpp53 int expectedType = pp::Token::LAST; in TEST_P() local
63 expectedType = pp::Token::IDENTIFIER; in TEST_P()
68 expectedType = pp::Token::CONST_INT; in TEST_P()
73 expectedType = str[0]; in TEST_P()
89 EXPECT_EQ(expectedType, token.type); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
Dchar_test.cpp53 int expectedType = pp::Token::LAST; in TEST_P() local
63 expectedType = pp::Token::IDENTIFIER; in TEST_P()
68 expectedType = pp::Token::CONST_INT; in TEST_P()
73 expectedType = str[0]; in TEST_P()
89 EXPECT_EQ(expectedType, token.type); in TEST_P()
/third_party/libphonenumber/tools/java/cpp-build/test/com/google/i18n/phonenumbers/
DBuildMetadataCppFromXmlTest.java147 private final Type expectedType; field in BuildMetadataCppFromXmlTest.MockedCommand
153 String expectedOutputDirPath, Type expectedType, Variant expectedVariant) { in MockedCommand() argument
158 this.expectedType = expectedType; in MockedCommand()
169 assertEquals(expectedType, type); in openHeaderStream()
174 assertEquals(expectedType, type); in openSourceStream()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DRegionTest.java400 Region.RegionType expectedType = Region.RegionType.valueOf(data[2]); in TestGetInstanceString() local
405 if ( !expectedType.equals(r.getType())) { in TestGetInstanceString()
406 …egion type for Region.getInstance(\"" + inputID + "\"); Expected: " + expectedType + " Got: " + r.… in TestGetInstanceString()
431 Region.RegionType expectedType = Region.RegionType.valueOf(data[2]); in TestGetInstanceInt() local
436 if ( !expectedType.equals(r.getType())) { in TestGetInstanceInt()
437 …ed region type for Region.getInstance(" + inputID + "); Expected: " + expectedType + " Got: " + r.… in TestGetInstanceInt()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DRegionTest.java397 Region.RegionType expectedType = Region.RegionType.valueOf(data[2]); in TestGetInstanceString() local
402 if ( !expectedType.equals(r.getType())) { in TestGetInstanceString()
403 …egion type for Region.getInstance(\"" + inputID + "\"); Expected: " + expectedType + " Got: " + r.… in TestGetInstanceString()
428 Region.RegionType expectedType = Region.RegionType.valueOf(data[2]); in TestGetInstanceInt() local
433 if ( !expectedType.equals(r.getType())) { in TestGetInstanceInt()
434 …ed region type for Region.getInstance(" + inputID + "); Expected: " + expectedType + " Got: " + r.… in TestGetInstanceInt()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DValidateAST.cpp355 TType expectedType(node->getLeft()->getType()); in validateExpressionTypeBinary() local
356 if (!expectedType.isArray()) in validateExpressionTypeBinary()
363 expectedType.toArrayElementType(); in validateExpressionTypeBinary()
365 if (!IsSameType(node->getType(), expectedType)) in validateExpressionTypeBinary()
367 const TSymbol *symbol = expectedType.getStruct(); in validateExpressionTypeBinary()
370 symbol = expectedType.getInterfaceBlock(); in validateExpressionTypeBinary()
377 else if (expectedType.isScalar()) in validateExpressionTypeBinary()
381 else if (expectedType.isVector()) in validateExpressionTypeBinary()
387 ASSERT(expectedType.isMatrix()); in validateExpressionTypeBinary()
DOutputSPIRV.cpp269 const TType &expectedType,
322 const TType &expectedType,
1473 const TType &expectedType, in createConstructorVectorFromScalar() argument
1481 castBasicType(parameters[0], parameterType, expectedType, nullptr); in createConstructorVectorFromScalar()
1483 spirv::IdRefList replicatedParameter(expectedType.getNominalSize(), castParameter); in createConstructorVectorFromScalar()
1503 const TType &expectedType = node->getType(); in createConstructorVectorFromMatrix() local
1510 if (arg0Type.getBasicType() != expectedType.getBasicType()) in createConstructorVectorFromMatrix()
1519 if (arg0Type.getBasicType() != expectedType.getBasicType()) in createConstructorVectorFromMatrix()
1521 result = castBasicType(result, arg0TypeAsVector, expectedType, nullptr); in createConstructorVectorFromMatrix()
1857 const TType &expectedType = node->getType(); in extractComponents() local
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DInitOutputVariables_test.cpp34 const TType &expectedType = expected->getType(); in AreSymbolsTheSame() local
36 const bool sameTypes = expectedType == candidateType && in AreSymbolsTheSame()
37 expectedType.getPrecision() == candidateType.getPrecision() && in AreSymbolsTheSame()
38 expectedType.getQualifier() == candidateType.getQualifier(); in AreSymbolsTheSame()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DInitOutputVariables_test.cpp34 const TType &expectedType = expected->getType(); in AreSymbolsTheSame() local
36 const bool sameTypes = expectedType == candidateType && in AreSymbolsTheSame()
37 expectedType.getPrecision() == candidateType.getPrecision() && in AreSymbolsTheSame()
38 expectedType.getQualifier() == candidateType.getQualifier(); in AreSymbolsTheSame()
/third_party/flutter/skia/tests/
DSkDOMTest.cpp17 SkDOM::Type expectedType) { in check_node() argument
21 REPORTER_ASSERT(r, dom.getType(node) == expectedType); in check_node()
DGeometryTest.cpp223 const std::array<SkPoint, 4>& bezierPoints, SkCubicType expectedType, in check_cubic_type() argument
228 REPORTER_ASSERT(reporter, actualType == expectedType); in check_cubic_type()
/third_party/skia/tests/
DSkDOMTest.cpp17 SkDOM::Type expectedType) { in check_node() argument
21 REPORTER_ASSERT(r, dom.getType(node) == expectedType); in check_node()
DGeometryTest.cpp288 const std::array<SkPoint, 4>& bezierPoints, SkCubicType expectedType, in check_cubic_type() argument
293 REPORTER_ASSERT(reporter, actualType == expectedType); in check_cubic_type()
/third_party/icu/icu4c/source/test/intltest/
Dregiontst.cpp399 URegionType expectedType; in TestGetInstanceString() member
444 if ( type != data.expectedType) { in TestGetInstanceString()
445 …n type for Region::getInstance(\"%s\"); Expected: %d Got: %d",data.inputID,data.expectedType,type); in TestGetInstanceString()
454 URegionType expectedType; in TestGetInstanceInt() member
488 if ( data.expectedType != type) { in TestGetInstanceInt()
489 …egion type for Region.getInstance(%d)); Expected: %d Got: %d",data.inputID,data.expectedType,type); in TestGetInstanceInt()
Ddcfmtest.cpp337 const UnicodeString &expectedType, in execParseTest() argument
367 expectedType.extract(0, 1, expectedTypeC, 2, US_INV); in execParseTest()
375 lineNum, InvariantStringPiece(expectedType).data()); in execParseTest()
Ddcfmtest.h42 const UnicodeString &expectedType,
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DInstance.cpp178 auto Register = [this](BackendConnection* connection, BackendType expectedType) { in EnsureBackendConnections() argument
180 ASSERT(connection->GetType() == expectedType); in EnsureBackendConnections()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DInstance.cpp161 auto Register = [this](BackendConnection* connection, wgpu::BackendType expectedType) { in EnsureBackendConnection() argument
163 ASSERT(connection->GetType() == expectedType); in EnsureBackendConnection()
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/RealWorld/
Dparserharness.ts1093 public isOfType(expr: string, expectedType: string) {
1096 it('Expression "' + expr + '" is of type "' + expectedType + '"', function () {
1097 assert.equal(actualType.type, expectedType);
/third_party/typescript/tests/baselines/reference/
Dparserharness.js1093 public isOfType(expr: string, expectedType: string) {
1096 it('Expression "' + expr + '" is of type "' + expectedType + '"', function () {
1097 assert.equal(actualType.type, expectedType);
3022 TypeFactory.prototype.isOfType = function (expr, expectedType) { argument
3024 it('Expression "' + expr + '" is of type "' + expectedType + '"', function () {
3025 assert.equal(actualType.type, expectedType);
Dparserharness.types4423 public isOfType(expr: string, expectedType: string) {
4424 >isOfType : (expr: string, expectedType: string) => void
4426 >expectedType : string
4439 it('Expression "' + expr + '" is of type "' + expectedType + '"', function () {
4440 … + expr + '" is of type "' + expectedType + '"', function () { assert.equal(act…
4442 >'Expression "' + expr + '" is of type "' + expectedType + '"' : string
4443 >'Expression "' + expr + '" is of type "' + expectedType : string
4449 >expectedType : string
4451 >function () { assert.equal(actualType.type, expectedType); } : (…
4453 assert.equal(actualType.type, expectedType);
[all …]
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrReferenceContext.cpp647 Texture::Type expectedType = Texture::TYPE_LAST; in bindTexture() local
650 case GL_TEXTURE_1D: expectedType = Texture::TYPE_1D; break; in bindTexture()
651 case GL_TEXTURE_2D: expectedType = Texture::TYPE_2D; break; in bindTexture()
652 case GL_TEXTURE_CUBE_MAP: expectedType = Texture::TYPE_CUBE_MAP; break; in bindTexture()
653 case GL_TEXTURE_2D_ARRAY: expectedType = Texture::TYPE_2D_ARRAY; break; in bindTexture()
654 case GL_TEXTURE_3D: expectedType = Texture::TYPE_3D; break; in bindTexture()
655 case GL_TEXTURE_CUBE_MAP_ARRAY: expectedType = Texture::TYPE_CUBE_MAP_ARRAY; break; in bindTexture()
659 RC_IF_ERROR(texObj->getType() != expectedType, GL_INVALID_OPERATION, RC_RET_VOID); in bindTexture()
/third_party/typescript/src/compiler/
DcommandLineParser.ts2024 const expectedType = isString(option.type) ? option.type : "string"; constant
2025 return typeof value === expectedType;

12