| 75 | class ParseCppClassTest : public ::testing::Test { |
| 76 | protected: |
| 77 | void ExpectOK(const string& cpp_class, const string& want_class_name, |
| 78 | const std::vector<string>& want_namespaces) { |
| 79 | string class_name; |
| 80 | std::vector<string> namespaces; |
| 81 | TF_EXPECT_OK(ParseCppClass(cpp_class, &class_name, &namespaces)); |
| 82 | EXPECT_EQ(class_name, want_class_name); |
| 83 | EXPECT_EQ(namespaces, want_namespaces); |
| 84 | } |
| 85 | |
| 86 | void ExpectFail(const string& cpp_class) { |
| 87 | string class_name; |
nothing calls this directly
no test coverage detected