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

Function HasError

tensorflow/core/framework/resource_mgr_test.cc:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76static void HasError(const Status& s, const string& substr) {
77 EXPECT_TRUE(absl::StrContains(s.ToString(), substr))
78 << s << ", expected substring " << substr;
79}
80
81template <typename T>
82Status FindErr(const ResourceMgr& rm, const string& container,

Callers 1

TESTFunction · 0.70

Calls 2

StrContainsFunction · 0.50
ToStringMethod · 0.45

Tested by

no test coverage detected