MCPcopy Create free account
hub / github.com/QuasarApp/CQtDeployer / getFilePath

Method getFilePath

tests/units/testutils.cpp:72–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72QString TestUtils::getFilePath(const QString& i) {
73 auto file = i;
74 auto delimiter = file.lastIndexOf("/");
75 auto shared = file.indexOf(".so.", Qt::CaseInsensitive);
76
77 if (shared > delimiter) {
78 file = file.left(shared);
79 file.push_back(".so");
80 }
81
82 return file;
83}
84
85QSet<QString> TestUtils::createTree(const QStringList &tree) {
86 QSet<QString> res;

Callers

nothing calls this directly

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected