MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ExpectOK

Method ExpectOK

tensorflow/compiler/aot/codegen_test.cc:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75class 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;

Callers

nothing calls this directly

Calls 1

ParseCppClassFunction · 0.85

Tested by

no test coverage detected