Searched refs:expected_messages (Results 1 – 7 of 7) 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/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/tensorflow/tensorflow/python/training/ |
D | tensorboard_logging_test.py | 65 def assertLoggedMessagesAre(self, expected_messages): argument 75 for level, message in expected_messages:
|