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

Method rootFile

unit-tests/Document_test.cpp:1025–1032  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1023}
1024
1025void TestDocument::rootFile()
1026{
1027 QFETCH(QSharedPointer<Tw::Document::TeXDocument>, doc);
1028 QFETCH(QString, rootPath);
1029
1030 QVERIFY(!doc.isNull());
1031 QCOMPARE(doc->getRootFilePath(), rootPath);
1032}
1033
1034} // namespace UnitTest
1035

Callers

nothing calls this directly

Calls 2

isNullMethod · 0.80
getRootFilePathMethod · 0.45

Tested by

no test coverage detected