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

Function HasError

tensorflow/core/common_runtime/function_test.cc:65–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void HasError(const Status& s, StringPiece substr) {
66 EXPECT_TRUE(absl::StrContains(s.ToString(), substr))
67 << s << ", expected substring " << substr;
68}
69
70class FunctionTest : public ::testing::Test {
71 protected:

Callers 1

TEST_FFunction · 0.70

Calls 2

StrContainsFunction · 0.50
ToStringMethod · 0.45

Tested by

no test coverage detected