/external/python/apitools/apitools/base/protorpclite/ |
D | protojson_test.py | 199 expected_message = MyMessage() 200 expected_message.an_enum = MyMessage.Color.GREEN 202 self.assertEquals(expected_message, message) 210 expected_message = MyMessage() 212 self.assertEquals(expected_message, message) 221 expected_message = MyMessage() 222 expected_message.an_enum = MyMessage.Color.RED 224 self.assertEquals(expected_message, message) 232 expected_message = MyMessage() 234 self.assertEquals(expected_message, message) [all …]
|
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 | 289 expected_message = ( 292 with self.assertRaisesRegex(ValueError, expected_message): 297 expected_message = ( 301 with self.assertRaisesRegex(TypeError, expected_message): 307 expected_message = ( 311 with self.assertRaisesRegex(ValueError, expected_message): 387 expected_message = ("If shallow structure is a sequence, input must also " 389 with self.assertRaisesRegex(TypeError, expected_message): 396 with self.assertRaisesRegex(TypeError, expected_message): 404 expected_message = ("If shallow structure is a sequence, input must also " [all …]
|
/external/fmtlib/test/ |
D | gtest-extra.h | 16 #define FMT_TEST_THROW_(statement, expected_exception, expected_message, fail) \ argument 19 std::string gtest_expected_message = expected_message; \ 50 #define EXPECT_THROW_MSG(statement, expected_exception, expected_message) \ argument 51 FMT_TEST_THROW_(statement, expected_exception, expected_message, \
|
/external/pigweed/pw_multisink/ |
D | multisink_test.cc | 33 std::span<const std::byte> expected_message, in ExpectMessageAndDropCount() argument 37 if (expected_message.empty()) { in ExpectMessageAndDropCount() 42 expected_message.data(), in ExpectMessageAndDropCount() 43 expected_message.size_bytes()), in ExpectMessageAndDropCount()
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | test_base.py | 272 expected_message = e.message 274 expected_message = expected_message.replace(old, new, count) 277 re.escape(expected_message)):
|
/external/python/pybind11/tests/ |
D | test_stl.py | 224 expected_message = ( 233 assert expected_message in str(excinfo.value) 237 assert expected_message in str(excinfo.value)
|
/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/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 | 194 expected_message = ("Error: " + msg + "\nPattern: [a-z") 195 Equal(showerror.message, expected_message) 199 expected_message += "\nOffset: 5" 200 Equal(showerror.message, expected_message)
|
/external/openscreen/osp/impl/presentation/ |
D | presentation_connection_unittest.cc | 179 const std::string expected_message = message; in TEST_F() local 180 const std::string expected_response = MakeEchoResponse(expected_message); in TEST_F() 186 OnStringMessage(static_cast<absl::string_view>(expected_message))) in TEST_F()
|
/external/autotest/client/cros/crash/ |
D | user_crash_test.py | 280 expected_message = (( 287 expected_message = (( 304 lambda: self._log_reader.can_find(expected_message), 306 desc='Logs contain crash_reporter message: ' + 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)
|
/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)
|
/external/tensorflow/tensorflow/python/util/ |
D | nest_test.py | 432 expected_message = "The two structures don't have the same.*" 433 with self.assertRaisesRegex(ValueError, expected_message): 730 expected_message = ("If shallow structure is a sequence, input must also " 732 with self.assertRaisesRegex(TypeError, expected_message): 739 with self.assertRaisesRegex(TypeError, expected_message): 747 expected_message = ("If shallow structure is a sequence, input must also " 749 with self.assertRaisesRegex(TypeError, expected_message): 756 with self.assertRaisesRegex(TypeError, expected_message): 763 expected_message = nest._STRUCTURES_HAVE_MISMATCHING_LENGTHS.format( 765 …with self.assertRaisesRegex(ValueError, expected_message): # pylint: disable=g-error-prone-assert…
|
/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/angle/third_party/vulkan-deps/spirv-tools/src/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/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/libchrome/mojo/public/cpp/bindings/tests/ |
D | native_struct_unittest.cc | 75 [](const std::string& expected_message, in TEST_P()
|
/external/perfetto/tools/ |
D | diff_test_trace_processor.py | 125 expected_message = metrics_message_factory() 126 text_format.Merge(expected, expected_message) 134 expected_text = text_format.MessageToString(expected_message)
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | transformer_test.py | 213 expected_message = r'expected "ast.AST", got "\<(type|class) \'list\'\>"' 214 self.assertRegex(obtained_message, expected_message)
|
/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/googletest/googlemock/test/ |
D | gmock-internal-utils_test.cc | 444 std::string expected_message = in TEST() local 449 EXPECT_THAT(log, HasSubstr(expected_message)); in TEST() 450 int skip_count = atoi(log.substr(expected_message.size()).c_str()); in TEST()
|
/external/google-styleguide/cpplint/ |
D | cpplint_unittest.py | 222 def TestLint(self, code, expected_message): argument 223 self.assertEquals(expected_message, self.PerformSingleLineLint(code)) 225 def TestMultiLineLint(self, code, expected_message): argument 226 self.assertEquals(expected_message, self.PerformMultiLineLint(code)) 234 def TestLanguageRulesCheck(self, file_name, code, expected_message): argument 235 self.assertEquals(expected_message, 238 def TestIncludeWhatYouUse(self, code, expected_message): argument 239 self.assertEquals(expected_message, 4403 def TestLintLogCodeOnError(self, code, expected_message): argument 4406 if result != expected_message: [all …]
|