Home
last modified time | relevance | path

Searched refs:expected_msg (Results 1 – 11 of 11) sorted by relevance

/external/grpc-grpc/src/ruby/spec/pb/health/
Dchecker_spec.rb138 expected_msg = /#{StatusCodes::NOT_FOUND}/
139 expect(&blk).to raise_error GRPC::NotFound, expected_msg
157 expected_msg = /#{StatusCodes::NOT_FOUND}/
158 expect(&blk).to raise_error GRPC::NotFound, expected_msg
179 expected_msg = /#{StatusCodes::NOT_FOUND}/
180 expect(&blk).to raise_error GRPC::NotFound, expected_msg
230 expected_msg = /#{StatusCodes::NOT_FOUND}/
231 expect(&blk).to raise_error GRPC::NotFound, expected_msg
/external/python/apitools/apitools/base/py/
Dencoding_test.py472 expected_msg = AdditionalPropertiesMessage()
473 expected_msg.additional_properties = [
477 self.assertEqual(encoded_msg, expected_msg)
486 expected_msg = AdditionalPropertiesMessage()
487 expected_msg.additional_properties = [
492 self.assertEqual(encoded_msg, expected_msg)
499 expected_msg = AdditionalIntPropertiesMessage()
500 expected_msg.additional_properties = [
504 self.assertEqual(encoded_msg, expected_msg)
/external/tensorflow/tensorflow/core/grappler/
Dmutable_graph_view_test.cc294 string expected_msg = in TEST() local
300 EXPECT_EQ(s.error_message(), expected_msg); in TEST()
847 string expected_msg = in TEST() local
851 EXPECT_EQ(s.error_message(), expected_msg); in TEST()
854 expected_msg = in TEST()
858 EXPECT_EQ(s.error_message(), expected_msg); in TEST()
1692 string expected_msg = absl::Substitute( in TestUpdateFaninFromFaninToNodeAsSwitchControl() local
1697 EXPECT_EQ(s.error_message(), expected_msg); in TestUpdateFaninFromFaninToNodeAsSwitchControl()
2397 string expected_msg = in TEST() local
2400 EXPECT_EQ(s.error_message(), expected_msg); in TEST()
[all …]
/external/python/cpython2/Lib/test/
Dtest_cmd_line_script.py91 def _check_import_error(self, script_name, expected_msg, argument
98 print 'Expected output: %r' % expected_msg
99 self.assertIn(expected_msg, data)
/external/tensorflow/tensorflow/python/eager/
Dfunction_test.py2279 expected_msg = (
2285 with self.assertRaisesRegexp(ValueError, expected_msg):
2293 with self.assertRaisesRegexp(ValueError, expected_msg):
2301 with self.assertRaisesRegexp(ValueError, expected_msg):
2309 with self.assertRaisesRegexp(ValueError, expected_msg):
2317 with self.assertRaisesRegexp(ValueError, expected_msg):
2325 with self.assertRaisesRegexp(ValueError, expected_msg):
2336 with self.assertRaisesRegexp(ValueError, expected_msg):
2345 with self.assertRaisesRegexp(ValueError, expected_msg):
2359 expected_msg = (
[all …]
/external/grpc-grpc/src/core/tsi/
Dfake_transport_security.cc614 tsi_fake_handshake_message expected_msg = in fake_handshaker_process_bytes_from_peer() local
634 if (received_msg != expected_msg) { in fake_handshaker_process_bytes_from_peer()
637 tsi_fake_handshake_message_to_string(expected_msg)); in fake_handshaker_process_bytes_from_peer()
/external/python/cpython3/Lib/test/
Dtest_cmd_line_script.py135 def _check_import_error(self, script_exec_args, expected_msg, argument
148 print('Expected output: %r' % expected_msg)
149 self.assertIn(expected_msg.encode('utf-8'), err)
/external/tensorflow/tensorflow/c/
Dwhile_loop_test.cc66 void ExpectError(TF_Code expected_code, const string& expected_msg) { in ExpectError() argument
69 EXPECT_EQ(expected_msg, TF_Message(s_)); in ExpectError()
Dc_api_test.cc1565 string expected_msg = in TestGradientsError() local
1570 EXPECT_EQ(expected_msg, TF_Message(s_)); in TestGradientsError()
/external/v8/tools/release/
Dtest_scripts.py633 def _TestSquashCommits(self, change_log, expected_msg): argument
646 self.assertEquals(FileToText(TEST_CONFIG["COMMITMSG_FILE"]), expected_msg)
/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dtensor_bundle_test.cc687 const string& expected_msg, Tensor& val) { in TEST() argument
691 EXPECT_TRUE(str_util::StrContains(status.ToString(), expected_msg)); in TEST()