Searched refs:expected_messages (Results 1 – 9 of 9) sorted by relevance
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | pass_utils.cpp | 39 std::vector<Message>& expected_messages) { in GetTestMessageConsumer() argument 40 return [&expected_messages](spv_message_level_t level, const char* source, in GetTestMessageConsumer() 43 EXPECT_TRUE(!expected_messages.empty()); in GetTestMessageConsumer() 44 if (expected_messages.empty()) { in GetTestMessageConsumer() 48 EXPECT_EQ(expected_messages[0].level, level); in GetTestMessageConsumer() 49 EXPECT_EQ(expected_messages[0].line_number, position.line); in GetTestMessageConsumer() 50 EXPECT_EQ(expected_messages[0].column_number, position.column); in GetTestMessageConsumer() 51 EXPECT_STREQ(expected_messages[0].source_file, source); in GetTestMessageConsumer() 52 EXPECT_STREQ(expected_messages[0].message, message); in GetTestMessageConsumer() 54 expected_messages.erase(expected_messages.begin()); in GetTestMessageConsumer()
|
D | pass_utils.h | 41 MessageConsumer GetTestMessageConsumer(std::vector<Message>& expected_messages);
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/ |
D | pass_utils.cpp | 39 std::vector<Message>& expected_messages) { in GetTestMessageConsumer() argument 40 return [&expected_messages](spv_message_level_t level, const char* source, in GetTestMessageConsumer() 43 EXPECT_TRUE(!expected_messages.empty()); in GetTestMessageConsumer() 44 if (expected_messages.empty()) { in GetTestMessageConsumer() 48 EXPECT_EQ(expected_messages[0].level, level); in GetTestMessageConsumer() 49 EXPECT_EQ(expected_messages[0].line_number, position.line); in GetTestMessageConsumer() 50 EXPECT_EQ(expected_messages[0].column_number, position.column); in GetTestMessageConsumer() 51 EXPECT_STREQ(expected_messages[0].source_file, source); in GetTestMessageConsumer() 52 EXPECT_STREQ(expected_messages[0].message, message); in GetTestMessageConsumer() 54 expected_messages.erase(expected_messages.begin()); in GetTestMessageConsumer()
|
D | pass_utils.h | 41 MessageConsumer GetTestMessageConsumer(std::vector<Message>& expected_messages);
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | pass_utils.cpp | 39 std::vector<Message>& expected_messages) { in GetTestMessageConsumer() argument 40 return [&expected_messages](spv_message_level_t level, const char* source, in GetTestMessageConsumer() 43 EXPECT_TRUE(!expected_messages.empty()); in GetTestMessageConsumer() 44 if (expected_messages.empty()) { in GetTestMessageConsumer() 48 EXPECT_EQ(expected_messages[0].level, level); in GetTestMessageConsumer() 49 EXPECT_EQ(expected_messages[0].line_number, position.line); in GetTestMessageConsumer() 50 EXPECT_EQ(expected_messages[0].column_number, position.column); in GetTestMessageConsumer() 51 EXPECT_STREQ(expected_messages[0].source_file, source); in GetTestMessageConsumer() 52 EXPECT_STREQ(expected_messages[0].message, message); in GetTestMessageConsumer() 54 expected_messages.erase(expected_messages.begin()); in GetTestMessageConsumer()
|
D | pass_utils.h | 41 MessageConsumer GetTestMessageConsumer(std::vector<Message>& expected_messages);
|
/external/openscreen/platform/impl/ |
D | logging_unittest.cc | 56 expected_messages.push_back({level_string, std::string(message)}); in ExpectLog() 62 ASSERT_EQ(expected_messages.size(), log_messages.size()); in VerifyLogs() 63 auto expected_it = expected_messages.begin(); in VerifyLogs() 67 while (expected_it != expected_messages.end()) { in VerifyLogs() 75 expected_messages.clear(); in VerifyLogs() 85 std::vector<LogMessage> expected_messages; member in openscreen::LoggingTest
|
/external/webrtc/tools_webrtc/presubmit_checks_lib/ |
D | check_package_boundaries_test.py | 41 expected_messages = ReadPylFile(os.path.join(test_dir, 'expected.pyl')) 42 self.assertListEqual(sorted(expected_messages), sorted(messages))
|
/external/tensorflow/tensorflow/python/training/ |
D | tensorboard_logging_test.py | 65 def assertLoggedMessagesAre(self, expected_messages): argument 75 for level, message in expected_messages:
|