MCPcopy Create free account
hub / github.com/TeXworks/texworks / launchFile

Method launchFile

unit-tests/MockScriptingAPI.h:75–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 };
74 }
75 QMap<QString, QVariant> launchFile(const QString& fileName) const override {
76 Q_UNUSED(fileName);
77 return {
78 {QStringLiteral("status"), ScriptAPIInterface::SystemAccess_Failed},
79 {QStringLiteral("message"), QStringLiteral("This is only a MockAPI")},
80 };
81 }
82 int writeFile(const QString& filename, const QString& content) const override {
83 Q_UNUSED(filename);
84 Q_UNUSED(content);

Callers 1

mocksMethod · 0.45

Calls

no outgoing calls

Tested by 1

mocksMethod · 0.36