/external/python/apitools/apitools/base/protorpclite/ |
D | protojson_test.py | 194 expected_message = MyMessage() 195 expected_message.an_enum = MyMessage.Color.GREEN 197 self.assertEquals(expected_message, message) 212 expected_message = MyMessage() 213 expected_message.an_enum = MyMessage.Color.RED 215 self.assertEquals(expected_message, message) 352 expected_message = MyMessage( 355 self.assertEquals(expected_message, message) 379 expected_message = MyMessage( 385 self.assertEquals(expected_message, message)
|
D | test_util.py | 453 def EncodeDecode(self, encoded, expected_message): argument 454 message = self.PROTOLIB.decode_message(type(expected_message), encoded) 455 self.assertEquals(expected_message, message)
|
/external/tensorflow/tensorflow/python/data/util/ |
D | nest_test.py | 276 expected_message = ( 279 with self.assertRaisesRegexp(ValueError, expected_message): 284 expected_message = ( 288 with self.assertRaisesRegexp(TypeError, expected_message): 294 expected_message = ( 298 with self.assertRaisesRegexp(ValueError, expected_message): 374 expected_message = ("If shallow structure is a sequence, input must also " 376 with self.assertRaisesRegexp(TypeError, expected_message): 383 with self.assertRaisesRegexp(TypeError, expected_message): 391 expected_message = ("If shallow structure is a sequence, input must also " [all …]
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | test_base.py | 207 expected_message = e.message 209 expected_message = expected_message.replace(old, new, count) 212 re.escape(expected_message)):
|
/external/python/cpython2/Lib/idlelib/idle_test/ |
D | test_searchengine.py | 191 expected_message = ("Error: " + msg + "\nPattern: [a-z") 192 Equal(showerror.message, expected_message) 196 expected_message += "\nOffset: 5" 197 Equal(showerror.message, expected_message)
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_searchengine.py | 192 expected_message = ("Error: " + msg + "\nPattern: [a-z") 193 Equal(showerror.message, expected_message) 197 expected_message += "\nOffset: 5" 198 Equal(showerror.message, expected_message)
|
/external/yapf/yapftests/ |
D | main_test.py | 90 expected_message = 'yapf: Input filenames did not match any python files\n' 96 self.assertEqual(err.getvalue(), expected_message)
|
/external/python/cpython3/Lib/test/ |
D | test_optparse.py | 83 expected_message): argument 108 if isinstance(expected_message, re.Pattern): 109 self.assertTrue(expected_message.search(actual_message), 115 """ % (expected_message.pattern, actual_message)) 118 expected_message, 124 """ % (expected_message, actual_message)) 178 def assertTypeError(self, func, expected_message, *args): argument 180 self.assertRaises(func, args, None, TypeError, expected_message) 200 def assertOptionError(self, expected_message, args=[], kwargs={}): argument 202 OptionError, expected_message)
|
D | test_httplib.py | 828 expected_message = 'IncompleteRead(%d bytes read)' % len(expected) 829 self.assertEqual(repr(i), expected_message) 830 self.assertEqual(str(i), expected_message) 871 expected_message = 'IncompleteRead(%d bytes read)' % len(expected) 872 self.assertEqual(repr(i), expected_message) 873 self.assertEqual(str(i), expected_message)
|
D | test_types.py | 1133 expected_message = 'type.__new__() takes exactly 3 arguments (1 given)' 1142 self.assertEqual(str(cm.exception), expected_message) 1148 self.assertEqual(str(cm.exception), expected_message)
|
/external/python/cpython2/Lib/test/ |
D | test_optparse.py | 85 expected_message): argument 110 if isinstance(expected_message, retype): 111 self.assertTrue(expected_message.search(actual_message), 117 """ % (expected_message.pattern, actual_message)) 120 expected_message, 126 """ % (expected_message, actual_message)) 183 def assertTypeError(self, func, expected_message, *args): argument 185 self.assertRaises(func, args, None, TypeError, expected_message) 205 def assertOptionError(self, expected_message, args=[], kwargs={}): argument 207 OptionError, expected_message)
|
D | test_py3kwarn.py | 37 def assertWarning(self, _, warning, expected_message): argument 38 self.assertEqual(str(warning.message), expected_message)
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | text_literal_test.cpp | 402 std::string expected_message = "Invalid unsigned integer literal: " + input; in TEST() local 405 Eq(expected_message)); in TEST() 408 Eq(expected_message)); in TEST()
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | text_literal_test.cpp | 402 std::string expected_message = "Invalid unsigned integer literal: " + input; in TEST() local 405 Eq(expected_message)); in TEST() 408 Eq(expected_message)); in TEST()
|
/external/tensorflow/tensorflow/python/util/ |
D | nest_test.py | 378 expected_message = "The two structures don't have the same.*" 379 with self.assertRaisesRegexp(ValueError, expected_message): 658 expected_message = ("If shallow structure is a sequence, input must also " 660 with self.assertRaisesRegexp(TypeError, expected_message): 667 with self.assertRaisesRegexp(TypeError, expected_message): 675 expected_message = ("If shallow structure is a sequence, input must also " 677 with self.assertRaisesRegexp(TypeError, expected_message): 684 with self.assertRaisesRegexp(TypeError, expected_message):
|
/external/libchrome/ipc/ |
D | ipc_mojo_bootstrap_unittest.cc | 64 bool expected_message = in ~PeerPidReceiver() local 66 EXPECT_EQ(expected_message, received_message_); in ~PeerPidReceiver()
|
/external/autotest/client/cros/crash/ |
D | user_crash_test.py | 282 expected_message = ( 300 lambda: self._log_reader.can_find(expected_message), 302 desc='Logs contain crash_reporter message: ' + expected_message)
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | native_struct_unittest.cc | 75 [](const std::string& expected_message, in TEST_P()
|
/external/libchrome/mojo/core/ |
D | data_pipe_unittest.cc | 1870 std::string expected_message = ReadMessageWithHandles(h, &c, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local 1876 uint32_t num_bytes = static_cast<uint32_t>(expected_message.size()); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1877 std::vector<char> bytes(expected_message.size()); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1882 EXPECT_EQ(expected_message, message); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1936 std::string expected_message = ReadMessageWithHandles(child, &c, 1); in TEST_F() local 1942 uint32_t num_bytes = static_cast<uint32_t>(expected_message.size()); in TEST_F() 1943 std::vector<char> bytes(expected_message.size()); in TEST_F() 1949 EXPECT_EQ(expected_message, message); in TEST_F()
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | transformer_test.py | 309 expected_message = r'expected "ast.AST", got "\<(type|class) \'list\'\>"' 310 self.assertRegexpMatches(obtained_message, expected_message)
|
/external/googletest/googlemock/test/ |
D | gmock-internal-utils_test.cc | 453 std::string expected_message = in TEST() local 458 EXPECT_THAT(log, HasSubstr(expected_message)); in TEST() 459 int skip_count = atoi(log.substr(expected_message.size()).c_str()); in TEST()
|
/external/google-styleguide/cpplint/ |
D | cpplint_unittest.py | 217 def TestLint(self, code, expected_message): argument 218 self.assertEquals(expected_message, self.PerformSingleLineLint(code)) 220 def TestMultiLineLint(self, code, expected_message): argument 221 self.assertEquals(expected_message, self.PerformMultiLineLint(code)) 229 def TestLanguageRulesCheck(self, file_name, code, expected_message): argument 230 self.assertEquals(expected_message, 233 def TestIncludeWhatYouUse(self, code, expected_message): argument 234 self.assertEquals(expected_message, 4394 def TestLintLogCodeOnError(self, code, expected_message): argument 4397 if result != expected_message: [all …]
|
/external/grpc-grpc/test/cpp/end2end/ |
D | hybrid_end2end_test.cc | 319 grpc::string expected_message; in SendSimpleClientStreaming() local 326 expected_message.append(send_request.message()); in SendSimpleClientStreaming() 330 EXPECT_EQ(expected_message, recv_response.message()); in SendSimpleClientStreaming()
|
/external/tensorflow/tensorflow/python/framework/ |
D | test_util.py | 1649 expected_message = expected_message_maybe_ascii 1650 self._AssertProtoEquals(expected_message, message) 1652 expected_message = type(message)() 1655 expected_message, 1657 self._AssertProtoEquals(expected_message, message, msg=msg)
|