MCPcopy Create free account
hub / github.com/cucumber/cucumber-cpp / read

Method read

src/drivers/QtTestDriver.cpp:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 QString read() const {
30 QFile file{filename};
31 if (!file.open(QIODevice::ReadOnly | QIODevice::Text))
32 return QString();
33 QTextStream in(&file);
34 return in.readAll();
35 }
36
37private:
38 const QString filename{getTmpFileName()};

Callers 1

invokeStepBodyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected