Home
last modified time | relevance | path

Searched refs:expected_messages (Results 1 – 7 of 7) sorted by relevance

/external/deqp-deps/SPIRV-Tools/test/opt/
Dpass_utils.cpp39 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()
Dpass_utils.h41 MessageConsumer GetTestMessageConsumer(std::vector<Message>& expected_messages);
/external/angle/third_party/spirv-tools/src/test/opt/
Dpass_utils.cpp39 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()
Dpass_utils.h41 MessageConsumer GetTestMessageConsumer(std::vector<Message>& expected_messages);
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpass_utils.cpp39 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()
Dpass_utils.h41 MessageConsumer GetTestMessageConsumer(std::vector<Message>& expected_messages);
/external/tensorflow/tensorflow/python/training/
Dtensorboard_logging_test.py65 def assertLoggedMessagesAre(self, expected_messages): argument
75 for level, message in expected_messages: