MCPcopy Create free account
hub / github.com/comaps/comaps / GetFileName

Function GetFileName

generator/generator_tests/common.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19std::string GetFileName(std::string const & filename)
20{
21 auto & platform = GetPlatform();
22 return filename.empty() ? platform.TmpPathForFile() : platform.TmpPathForFile(filename);
23}
24
25} // namespace generator_tests

Callers 5

UNIT_TESTFunction · 0.70
UNIT_TESTFunction · 0.70
UNIT_TESTFunction · 0.70
TestAccessFixtureMethod · 0.70
UNIT_TESTFunction · 0.70

Calls 2

emptyMethod · 0.45
TmpPathForFileMethod · 0.45

Tested by 5

UNIT_TESTFunction · 0.56
UNIT_TESTFunction · 0.56
UNIT_TESTFunction · 0.56
TestAccessFixtureMethod · 0.56
UNIT_TESTFunction · 0.56