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

Method loadUT

lib/generation/GenLoader.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51bool GenLoader::loadUT(const std::string &UTReportPath) {
52 auto JsonValue = util::parseJsonFileToJsonValue(UTReportPath.c_str());
53 // NOTE: TypeReport should be loaded before InputReport.
54 TypeReport.fromJson(JsonValue);
55 InputReport.fromJson(JsonValue, TypeReport);
56 SourceReport.fromJson(JsonValue);
57 return true;
58}
59
60} // namespace ftg

Callers

nothing calls this directly

Calls 2

parseJsonFileToJsonValueFunction · 0.85
fromJsonMethod · 0.45

Tested by

no test coverage detected