Home
last modified time | relevance | path

Searched refs:expected_text (Results 1 – 25 of 27) sorted by relevance

12

/third_party/spirv-tools/test/reduce/
Dreduce_test_util.cpp39 void CheckEqual(const spv_target_env env, const std::string& expected_text, in CheckEqual() argument
44 t.Assemble(expected_text, &expected_binary, kReduceAssembleOption)); in CheckEqual()
48 void CheckEqual(const spv_target_env env, const std::string& expected_text, in CheckEqual() argument
52 CheckEqual(env, expected_text, actual_binary); in CheckEqual()
Dreduce_test_util.h33 void CheckEqual(spv_target_env env, const std::string& expected_text,
38 void CheckEqual(spv_target_env env, const std::string& expected_text,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/reduce/
Dreduce_test_util.cpp62 void CheckEqual(const spv_target_env env, const std::string& expected_text, in CheckEqual() argument
67 t.Assemble(expected_text, &expected_binary, kReduceAssembleOption)); in CheckEqual()
71 void CheckEqual(const spv_target_env env, const std::string& expected_text, in CheckEqual() argument
75 CheckEqual(env, expected_text, actual_binary); in CheckEqual()
Dreduce_test_util.h33 void CheckEqual(spv_target_env env, const std::string& expected_text,
38 void CheckEqual(spv_target_env env, const std::string& expected_text,
/third_party/protobuf/src/google/protobuf/compiler/
Dannotation_test_util.cc138 const std::string& expected_text) { in AtLeastOneAnnotationMatchesSubstring() argument
149 if (file_content.substr(begin, end - begin) == expected_text) { in AtLeastOneAnnotationMatchesSubstring()
158 const std::string& expected_text) { in AnnotationMatchesSubstring() argument
162 expected_text); in AnnotationMatchesSubstring()
Dannotation_test_util.h102 const std::string& expected_text);
108 const std::string& expected_text);
Dmock_code_generator.cc147 const std::string& expected_text, in CheckSingleAnnotation() argument
154 EXPECT_EQ(expected_text.size(), annotation.end() - annotation.begin()); in CheckSingleAnnotation()
155 EXPECT_EQ(expected_text, in CheckSingleAnnotation()
156 file_content.substr(annotation.begin(), expected_text.size())); in CheckSingleAnnotation()
Dcommand_line_interface_unittest.cc140 void ExpectErrorText(const std::string& expected_text);
151 void ExpectCapturedStdout(const std::string& expected_text);
413 const std::string& expected_text) { in ExpectErrorText() argument
415 EXPECT_EQ(StringReplace(expected_text, "$tmpdir", temp_directory_, true), in ExpectErrorText()
505 const std::string& expected_text) { in ExpectCapturedStdout() argument
506 EXPECT_EQ(expected_text, captured_stdout_); in ExpectCapturedStdout()
2617 void ExpectStdoutMatchesText(const std::string& expected_text) { in ExpectStdoutMatchesText() argument
2618 EXPECT_EQ(StripCR(expected_text), StripCR(captured_stdout_)); in ExpectStdoutMatchesText()
2621 void ExpectStderrMatchesText(const std::string& expected_text) { in ExpectStderrMatchesText() argument
2622 EXPECT_EQ(StripCR(expected_text), StripCR(captured_stderr_)); in ExpectStderrMatchesText()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/reduce/
Dreduce_test_util.cpp62 void CheckEqual(const spv_target_env env, const std::string& expected_text, in CheckEqual() argument
67 t.Assemble(expected_text, &expected_binary, kReduceAssembleOption)); in CheckEqual()
71 void CheckEqual(const spv_target_env env, const std::string& expected_text, in CheckEqual() argument
75 CheckEqual(env, expected_text, actual_binary); in CheckEqual()
Dreduce_test_util.h33 void CheckEqual(spv_target_env env, const std::string& expected_text,
38 void CheckEqual(spv_target_env env, const std::string& expected_text,
/third_party/spirv-tools/test/fuzz/
Dfuzz_test_util.cpp75 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() argument
79 if (!t.Assemble(expected_text, &expected_binary, kFuzzAssembleOption)) { in IsEqual()
85 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() argument
89 return IsEqual(env, expected_text, actual_binary); in IsEqual()
Dfuzz_test_util.h38 bool IsEqual(spv_target_env env, const std::string& expected_text,
43 bool IsEqual(spv_target_env env, const std::string& expected_text,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dfuzz_test_util.cpp75 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() argument
79 if (!t.Assemble(expected_text, &expected_binary, kFuzzAssembleOption)) { in IsEqual()
85 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() argument
89 return IsEqual(env, expected_text, actual_binary); in IsEqual()
Dfuzz_test_util.h38 bool IsEqual(spv_target_env env, const std::string& expected_text,
43 bool IsEqual(spv_target_env env, const std::string& expected_text,
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
Dfuzz_test_util.cpp75 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() argument
79 if (!t.Assemble(expected_text, &expected_binary, kFuzzAssembleOption)) { in IsEqual()
85 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() argument
89 return IsEqual(env, expected_text, actual_binary); in IsEqual()
Dfuzz_test_util.h38 bool IsEqual(spv_target_env env, const std::string& expected_text,
43 bool IsEqual(spv_target_env env, const std::string& expected_text,
/third_party/flutter/skia/third_party/externals/spirv-tools/test/comp/
Dmarkv_codec_test.cpp135 std::string expected_text; in TestEncodeDecode() local
136 Disassemble(expected_binary, &expected_text); in TestEncodeDecode()
137 ASSERT_FALSE(expected_text.empty()); in TestEncodeDecode()
163 EXPECT_EQ(expected_text, decoded_text) << encoder_comments; in TestEncodeDecode()
/third_party/python/Lib/test/
Dtest_pydoc.py442 expected_text = expected_text_pattern % (
446 self.assertEqual(expected_text, result)
680 expected_text = expected_help_pattern % (
686 self.assertEqual(expected_text, result)
1411 expected_text = expected_dynamicattribute_pattern % (
1414 self.assertEqual(expected_text, result)
1433 expected_text = expected_virtualattribute_pattern1 % __name__
1435 self.assertEqual(expected_text, result)
1496 expected_text = expected_missingattribute_pattern % __name__
1498 self.assertEqual(expected_text, result)
/third_party/grpc/third_party/upb/tests/pb/
Dtest_decoder.cc576 string expected_text; in assert_successful_parse() local
579 vappendf(&expected_text, expected_fmt, args); in assert_successful_parse()
583 run_decoder(proto, &expected_text); in assert_successful_parse()
584 run_decoder(cat( proto, thirty_byte_nop ), &expected_text); in assert_successful_parse()
588 string wrapped_text1 = wrap_text(UPB_DESCRIPTOR_TYPE_MESSAGE, expected_text); in assert_successful_parse()
589 string wrapped_text2 = wrap_text(UPB_DESCRIPTOR_TYPE_GROUP, expected_text); in assert_successful_parse()
/third_party/spirv-tools/test/
Dcpp_interface_test.cpp271 std::string expected_text = Header() + in TEST() local
275 CheckOptimization(original_text, expected_text, o); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dcpp_interface_test.cpp271 std::string expected_text = Header() + in TEST() local
275 CheckOptimization(original_text, expected_text, o); in TEST()
/third_party/skia/third_party/externals/spirv-tools/test/
Dcpp_interface_test.cpp271 std::string expected_text = Header() + in TEST() local
275 CheckOptimization(original_text, expected_text, o); in TEST()
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dcpp_interface_test.cpp309 const char* expected_text = in TEST() local
313 CheckOptimization(original_text, expected_text, o); in TEST()
/third_party/protobuf/src/google/protobuf/
Dmap_test.cc3366 std::string expected_text; in TEST() local
3370 &expected_text, true)); in TEST()
3372 EXPECT_EQ(message->DebugString(), expected_text); in TEST()
3380 std::string expected_text; in TEST() local
3384 &expected_text, true)); in TEST()
3386 CleanStringLineEndings(&expected_text, false); in TEST()
3387 EXPECT_EQ(message.DebugString(), expected_text); in TEST()
3393 EXPECT_EQ(message2.DebugString(), expected_text); in TEST()
/third_party/protobuf/python/google/protobuf/internal/
Dtext_format_test.py516 expected_text = (
562 self.assertEqual(expected_text,
565 text_format.Parse(expected_text, parsed_proto)

12