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

Function TEST

tensorflow/core/util/rpc/rpc_factory_registry_test.cc:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31} // namespace
32
33TEST(RPCFactoryRegistryTest, TestBasic) {
34 EXPECT_EQ(RPCFactoryRegistry::Global()->Get("NON-EXISTENT"), nullptr);
35 auto factory1 = RPCFactoryRegistry::Global()->Get("TEST FACTORY 1");
36 EXPECT_NE(factory1, nullptr);
37 auto factory2 = RPCFactoryRegistry::Global()->Get("TEST FACTORY 2");
38 EXPECT_NE(factory2, nullptr);
39}
40
41} // namespace tensorflow

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected