Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/tools/compatibility/
Dtf_upgrade_v2_test.py571 expected_text = ns + "(loss_reduction=tf.compat.v1.losses.Reduction.SUM)"
573 self.assertEqual(expected_text, new_text)
576 expected_text = ns + "(loss_reduction=TEST)"
580 expected_text = (
585 self.assertEqual(expected_text, new_text)
588 expected_text = ("tf.estimator.BaselineClassifier(" +
592 self.assertEqual(expected_text, new_text)
600 expected_text = "tf.compat.v1.estimator." + c + suffix
602 self.assertEqual(new_text, expected_text)
616 expected_text = "tf.compat.v1.estimator." + c + suffix
[all …]
/external/u-boot/test/py/tests/
Dtest_efi_loader.py125 expected_text = 'Bytes transferred = '
128 expected_text += '%d' % sz
129 assert expected_text in output
154 expected_text = 'Hello, world'
155 assert expected_text in output
156 expected_text = '## Application terminated, r = 0'
157 assert expected_text in output
168 expected_text = 'Hello, world'
169 assert expected_text in output
Dtest_net.py153 expected_text = 'Bytes transferred = '
156 expected_text += '%d' % sz
157 assert expected_text in output
193 expected_text = 'Bytes transferred = '
196 expected_text += '%d' % sz
197 assert expected_text in output
/external/swiftshader/third_party/SPIRV-Tools/test/reduce/
Dreduce_test_util.cpp35 void CheckEqual(const spv_target_env env, const std::string& expected_text, in CheckEqual() argument
40 t.Assemble(expected_text, &expected_binary, kReduceAssembleOption)); in CheckEqual()
44 void CheckEqual(const spv_target_env env, const std::string& expected_text, in CheckEqual() argument
48 CheckEqual(env, expected_text, actual_binary); in CheckEqual()
Dreduce_test_util.h51 void CheckEqual(spv_target_env env, const std::string& expected_text,
56 void CheckEqual(spv_target_env env, const std::string& expected_text,
/external/deqp-deps/SPIRV-Tools/test/reduce/
Dreduce_test_util.cpp35 void CheckEqual(const spv_target_env env, const std::string& expected_text, in CheckEqual() argument
40 t.Assemble(expected_text, &expected_binary, kReduceAssembleOption)); in CheckEqual()
44 void CheckEqual(const spv_target_env env, const std::string& expected_text, in CheckEqual() argument
48 CheckEqual(env, expected_text, actual_binary); in CheckEqual()
Dreduce_test_util.h51 void CheckEqual(spv_target_env env, const std::string& expected_text,
56 void CheckEqual(spv_target_env env, const std::string& expected_text,
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc144 void ExpectErrorText(const string& expected_text);
155 void ExpectCapturedStdout(const string& expected_text);
398 void CommandLineInterfaceTest::ExpectErrorText(const string& expected_text) { in Run() argument
400 EXPECT_EQ(StringReplace(expected_text, "$tmpdir", temp_directory_, true), in Run()
483 const string& expected_text) { in Run() argument
484 EXPECT_EQ(expected_text, captured_stdout_); in Run()
1755 void ExpectStdoutMatchesText(const string& expected_text) { in Run() argument
1756 EXPECT_EQ(StripCR(expected_text), StripCR(captured_stdout_)); in Run()
1759 void ExpectStderrMatchesText(const string& expected_text) { in Run() argument
1760 EXPECT_EQ(StripCR(expected_text), StripCR(captured_stderr_)); in Run()
/external/swiftshader/third_party/SPIRV-Tools/test/comp/
Dmarkv_codec_test.cpp101 std::string expected_text; in TestEncodeDecode() local
102 Disassemble(expected_binary, &expected_text); in TestEncodeDecode()
103 ASSERT_FALSE(expected_text.empty()); in TestEncodeDecode()
134 EXPECT_EQ(expected_text, decoded_text) << encoder_comments.str(); in TestEncodeDecode()
/external/deqp-deps/SPIRV-Tools/test/comp/
Dmarkv_codec_test.cpp101 std::string expected_text; in TestEncodeDecode() local
102 Disassemble(expected_binary, &expected_text); in TestEncodeDecode()
103 ASSERT_FALSE(expected_text.empty()); in TestEncodeDecode()
134 EXPECT_EQ(expected_text, decoded_text) << encoder_comments.str(); in TestEncodeDecode()
/external/tensorflow/tensorflow/core/lib/wav/
Dwav_io.cc111 Status ExpectText(const string& data, const string& expected_text, in ExpectText() argument
115 IncrementOffset(*offset, expected_text.size(), data.size(), &new_offset)); in ExpectText()
117 if (found_text != expected_text) { in ExpectText()
118 return errors::InvalidArgument("Header mismatch: Expected ", expected_text, in ExpectText()
Dwav_io_test.cc31 Status ExpectText(const string& data, const string& expected_text, int* offset);
/external/python/cpython3/Lib/test/
Dtest_pydoc.py443 expected_text = expected_text_pattern % (
447 self.assertEqual(expected_text, result)
551 expected_text = expected_help_pattern % (
557 self.assertEqual(expected_text, result)
1090 expected_text = expected_dynamicattribute_pattern % (
1093 self.assertEqual(expected_text, result)
1112 expected_text = expected_virtualattribute_pattern1 % __name__
1114 self.assertEqual(expected_text, result)
1175 expected_text = expected_missingattribute_pattern % __name__
1177 self.assertEqual(expected_text, result)
Dtest_argparse.py3015 expected_text = getattr(tester, self.func_suffix)
3016 expected_text = textwrap.dedent(expected_text)
3017 tester.assertEqual(expected_text, parser_text)
Dtest_enum.py2887 expected_text = expected_help_output_without_docs % __name__
2889 expected_text = expected_help_output_with_docs % __name__
2894 self.assertEqual(result, expected_text)
/external/protobuf/src/google/protobuf/compiler/cpp/
Dmetadata_test.cc183 const string& expected_text) { in AnnotationMatchesSubstring() argument
189 return file_content.substr(begin, end - begin) == expected_text; in AnnotationMatchesSubstring()
/external/autotest/client/common_lib/
Dlogging_manager_test.py198 def _compare_logs(self, log_buffer, expected_text): argument
200 expected_lines = expected_text.splitlines()
/external/python/cpython2/Lib/test/
Dtest_pydoc.py336 expected_text = expected_text_pattern % (
339 if result != expected_text:
340 print_diffs(expected_text, result)
Dtest_argparse.py2868 expected_text = getattr(tester, self.func_suffix)
2869 expected_text = textwrap.dedent(expected_text)
2870 if expected_text != parser_text:
2871 print(repr(expected_text))
2873 for char1, char2 in zip(expected_text, parser_text):
2877 tester.assertEqual(expected_text, parser_text)
/external/deqp-deps/SPIRV-Tools/test/
Dcpp_interface_test.cpp271 std::string expected_text = Header() + in TEST() local
275 CheckOptimization(original_text, expected_text, o); in TEST()
/external/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()
/external/protobuf/src/google/protobuf/
Dmap_test.cc2706 string expected_text; in TEST() local
2711 &expected_text, true)); in TEST()
2713 EXPECT_EQ(message.DebugString(), expected_text); in TEST()
2719 EXPECT_EQ(message2.DebugString(), expected_text); in TEST()
/external/libchrome/ipc/
Dipc_sync_channel_unittest.cc875 const std::string& expected_text, in QueuedReplyClient() argument
879 expected_text_(expected_text) { in QueuedReplyClient()