MCPcopy Create free account
hub / github.com/Samsung/UTopia / TEST

Function TEST

tests/apiloader/TestAPILoader.cpp:6–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4using namespace ftg;
5
6TEST(APIJsonLoader, PublicAPIJsonLoadP) {
7 std::string PublicAPIJsonPath =
8 "tests/resources/apiloader_input/public_api.json";
9 APIJsonLoader *Loader = new APIJsonLoader(PublicAPIJsonPath);
10
11 ASSERT_EQ(Loader->load().size(), 3);
12}
13
14TEST(APIJsonLoaderDeathTest, NotExistPublicAPIJsonLoadN) {
15 std::string PublicAPIJsonPath = "not_exists_public_api.json";

Callers

nothing calls this directly

Calls 3

ASSERT_DEATHFunction · 0.85
sizeMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected