MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / CreateFileTransform

Function CreateFileTransform

tests/cpu/UnitTestUtils.cpp:39–48  ·  view source on GitHub ↗

Create a FileTransform.

Source from the content-addressed store, hash-verified

37
38// Create a FileTransform.
39FileTransformRcPtr CreateFileTransform(const std::string & fileName)
40{
41 const std::string filePath(GetTestFilesDir() + "/" + fileName);
42
43 // Create a FileTransform
44 FileTransformRcPtr pFileTransform = FileTransform::Create();
45 pFileTransform->setSrc(filePath.c_str());
46
47 return pFileTransform;
48}
49
50void BuildOpsTest(OpRcPtrVec & fileOps,
51 const std::string & fileName,

Callers 4

BuildOpsTestFunction · 0.85
OCIO_ADD_TESTFunction · 0.85
OCIO_ADD_TESTFunction · 0.85

Calls 1

setSrcMethod · 0.45

Tested by

no test coverage detected