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

Function TEST_F

serving/processor/serving/model_config_test.cc:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8};
9
10TEST_F(ModelConfigTest, ShouldReturnInvalidWhenEmptyInput) {
11 ModelConfig* model_config = nullptr;
12 EXPECT_FALSE(ModelConfigFactory::Create("", &model_config).ok());
13 EXPECT_EQ(nullptr, model_config);
14}
15
16TEST_F(ModelConfigTest, ShouldSuccessWhenOssAndRedis) {
17const std::string oss_and_redis_config = " \

Callers

nothing calls this directly

Calls 4

c_strMethod · 0.80
CreateFunction · 0.50
okMethod · 0.45
codeMethod · 0.45

Tested by

no test coverage detected