Lines Matching full:found
76 ASSERT_FALSE(recordTable.empty()) << "No records found in the program."; in CheckAnnoDecl()
77 auto found = recordTable.find(annoName); in CheckAnnoDecl() local
78 ASSERT_NE(found, recordTable.end()); in CheckAnnoDecl()
81 auto scalarValue = found->second.fieldList[i].metadata->GetValue(); in CheckAnnoDecl()
83 …CompareActualWithExpected(expectedAnnotations[i].second, &*scalarValue, found->second.fieldList[i]… in CheckAnnoDecl()
95 auto found = literalarrayTable.find(literalArray.first); in CheckLiteralArrayTable() local
96 ASSERT_NE(found, literalarrayTable.end()); in CheckLiteralArrayTable()
100 … ASSERT_EQ(value, found->second.literals[i].value) << "Value mismatch for " + literalArray.first; in CheckLiteralArrayTable()
122 ASSERT_FALSE(recordTable.empty()) << "No records found in the program."; in CheckRecordAnnotations()
123 auto found = recordTable.find(recordName); in CheckRecordAnnotations() local
124 ASSERT_NE(found, recordTable.end()); in CheckRecordAnnotations()
127 auto annotations = found->second.metadata->GetAnnotations(); in CheckRecordAnnotations()
144 ASSERT_FALSE(recordTable.empty()) << "No records found in the program."; in CheckModuleAnnotation()
145 auto found = recordTable.find(recordName); in CheckModuleAnnotation() local
146 ASSERT_NE(found, recordTable.end()); in CheckModuleAnnotation()
148 auto annotations = found->second.metadata->GetAnnotations(); in CheckModuleAnnotation()
178 ASSERT_FALSE(recordTable.empty()) << "No records found in the program."; in CheckRecordWithoutAnnotations()
179 auto found = recordTable.find(recordName); in CheckRecordWithoutAnnotations() local
180 ASSERT_NE(found, recordTable.end()); in CheckRecordWithoutAnnotations()
182 ASSERT_EQ(found->second.metadata->GetAnnotations().size(), 1); in CheckRecordWithoutAnnotations()
184 ASSERT(found->second.metadata->GetAnnotations().empty()); in CheckRecordWithoutAnnotations()
192 auto found = functionTable.find(functionName); in CheckFunctionAnnotations() local
193 ASSERT_NE(found, functionTable.end()) << "Unexpected function Name: " << functionName; in CheckFunctionAnnotations()
196 auto annotations = found->second.metadata->GetAnnotations(); in CheckFunctionAnnotations()
213 auto found = functionTable.find(functionName); in CheckFunctionWithoutAnnotations() local
214 ASSERT_NE(found, functionTable.end()) << "Unexpected function Name: " << functionName; in CheckFunctionWithoutAnnotations()
215 ASSERT(found->second.metadata->GetAnnotations().empty()); in CheckFunctionWithoutAnnotations()
223 auto found = functionTable.find(functionName); in CheckFunctionParameterAnnotations() local
224 ASSERT_NE(found, functionTable.end()); in CheckFunctionParameterAnnotations()
225 ASSERT_LT(paramIndex, found->second.params.size()); in CheckFunctionParameterAnnotations()
228 … auto annotations = found->second.params.at(paramIndex).GetOrCreateMetadata().GetAnnotations(); in CheckFunctionParameterAnnotations()
246 auto found = functionTable.find(functionName); in CheckFunctionParameterWithoutAnnotations() local
247 ASSERT_NE(found, functionTable.end()); in CheckFunctionParameterWithoutAnnotations()
248 ASSERT_LT(paramIndex, found->second.params.size()); in CheckFunctionParameterWithoutAnnotations()
249 ASSERT(found->second.params.at(paramIndex).GetOrCreateMetadata().GetAnnotations().empty()); in CheckFunctionParameterWithoutAnnotations()
256 auto found = recordTable.find(recordName); in CheckClassFieldAnnotations() local
257 ASSERT_NE(found, recordTable.end()); in CheckClassFieldAnnotations()
258 auto &filedList = found->second.fieldList; in CheckClassFieldAnnotations()
280 auto found = recordTable.find(recordName); in CheckClassFieldWithoutAnnotations() local
281 ASSERT_NE(found, recordTable.end()); in CheckClassFieldWithoutAnnotations()
282 auto &filedList = found->second.fieldList; in CheckClassFieldWithoutAnnotations()