MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getTestData

Function getTestData

snap_drawing/test/utils/TestDataUtils.cpp:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 testPath.append(path);
42 return testPath;
43}
44
45Valdi::Result<Valdi::BytesView> getTestData(const std::string& filename) {
46 auto path = resolveTestPath(filename);
47 return DiskUtils::load(path);
48}
49

Callers 3

registerFontMethod · 0.85
registerFontMethod · 0.85
SetUpMethod · 0.85

Calls 2

loadFunction · 0.85
resolveTestPathFunction · 0.70

Tested by

no test coverage detected