Home
last modified time | relevance | path

Searched refs:expected_msg (Results 1 – 13 of 13) 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/autotest/server/site_tests/firmware_Cr50PartialBoardId/
Dfirmware_Cr50PartialBoardId.py83 def set_board_id_check_response(self, set_bid, expected_bid, expected_msg): argument
100 expected_msg)
110 if expected_msg and expected_msg not in result_msg:
113 expected_msg))
/external/python/apitools/apitools/base/py/
Dencoding_test.py684 expected_msg = AdditionalPropertiesMessage()
685 expected_msg.additionalProperties = [
689 self.assertEqual(encoded_msg, expected_msg)
697 expected_msg = AdditionalPropertiesMessage()
698 expected_msg.additionalProperties = [
703 self.assertEqual(encoded_msg, expected_msg)
710 expected_msg = AdditionalIntPropertiesMessage()
711 expected_msg.additionalProperties = [
715 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/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/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.cc1566 string expected_msg = in TestGradientsError() local
1571 EXPECT_EQ(expected_msg, TF_Message(s_)); in TestGradientsError()
/external/python/cffi/testing/cffi1/
Dtest_parse_c_type.py132 def parse_error(input, expected_msg, expected_location): argument
134 assert e.value.args[0] == expected_msg
/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/python/eager/
Dfunction_test.py2741 expected_msg = '.*() should not modify'
2743 with self.assertRaisesRegexp(ValueError, expected_msg):
2751 with self.assertRaisesRegexp(ValueError, expected_msg):
2759 with self.assertRaisesRegexp(ValueError, expected_msg):
2767 with self.assertRaisesRegexp(ValueError, expected_msg):
2775 with self.assertRaisesRegexp(ValueError, expected_msg):
2783 with self.assertRaisesRegexp(ValueError, expected_msg):
2794 with self.assertRaisesRegexp(ValueError, expected_msg):
2803 with self.assertRaisesRegexp(ValueError, expected_msg):
2817 expected_msg = '.* should not modify'
[all …]
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py1917 expected_msg = map_unittest_pb2.TestMap()
1918 expected_msg.CopyFrom(msg)
1919 expected_msg.map_int64_int64[88] = 99
1920 self.assertEqual(msg2, expected_msg)
1987 expected_msg = map_unittest_pb2.TestMap()
1988 expected_msg.CopyFrom(msg)
1989 expected_msg.map_int64_int64[88] = 99
1990 self.assertEqual(msg2, expected_msg)
/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dtensor_bundle_test.cc927 const string& expected_msg, Tensor& val) { in TEST() argument
931 EXPECT_TRUE(absl::StrContains(status.ToString(), expected_msg)); in TEST()