Home
last modified time | relevance | path

Searched refs:expected_msg (Results 1 – 17 of 17) 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/llvm-project/lldb/test/API/test_utils/
DTestPExpectTest.py17 def assert_expect_fails_with(self, cmd, expect_args, expected_msg): argument
21 self.assertIn(expected_msg, str(e))
/external/llvm-project/lldb/test/API/assert_messages_test/
DTestAssertMessages.py17 def assert_expect_fails_with(self, cmd, expect_args, expected_msg): argument
23 self.expect(str(e), exe=False, substrs=[dedent(expected_msg)])
/external/python/apitools/apitools/base/py/
Dencoding_test.py683 expected_msg = AdditionalPropertiesMessage()
684 expected_msg.additionalProperties = [
688 self.assertEqual(encoded_msg, expected_msg)
696 expected_msg = AdditionalPropertiesMessage()
697 expected_msg.additionalProperties = [
702 self.assertEqual(encoded_msg, expected_msg)
709 expected_msg = AdditionalIntPropertiesMessage()
710 expected_msg.additionalProperties = [
714 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/rust/crates/regex-syntax/src/
Derror.rs291 fn assert_panic_message(pattern: &str, expected_msg: &str) -> () { in assert_panic_message()
298 assert_eq!(err.to_string(), expected_msg.trim()); in assert_panic_message()
/external/tensorflow/tensorflow/c/
Dwhile_loop_test.cc65 void ExpectError(TF_Code expected_code, const string& expected_msg) { in ExpectError() argument
68 EXPECT_EQ(expected_msg, TF_Message(s_)); in ExpectError()
Dc_api_test.cc1603 string expected_msg = in TestGradientsError() local
1608 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/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/rust/crates/grpcio-sys/grpc/src/core/tsi/
Dfake_transport_security.cc618 tsi_fake_handshake_message expected_msg = in fake_handshaker_process_bytes_from_peer() local
638 if (received_msg != expected_msg) { in fake_handshaker_process_bytes_from_peer()
641 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/python/eager/
Dfunction_test.py3061 expected_msg = '.*() should not modify'
3063 with self.assertRaisesRegex(ValueError, expected_msg):
3071 with self.assertRaisesRegex(ValueError, expected_msg):
3079 with self.assertRaisesRegex(ValueError, expected_msg):
3087 with self.assertRaisesRegex(ValueError, expected_msg):
3095 with self.assertRaisesRegex(ValueError, expected_msg):
3103 with self.assertRaisesRegex(ValueError, expected_msg):
3114 with self.assertRaisesRegex(ValueError, expected_msg):
3123 with self.assertRaisesRegex(ValueError, expected_msg):
3137 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.cc930 const string& expected_msg, Tensor& val) { in TEST() argument
934 EXPECT_TRUE(absl::StrContains(status.ToString(), expected_msg)); in TEST()