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

Method Synchronizer_syncTeXFilename

unit-tests/Document_test.cpp:521–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519}
520
521void TestDocument::Synchronizer_syncTeXFilename()
522{
523 TWSyncTeXSynchronizer valid(QStringLiteral("sync.pdf"), nullptr, nullptr);
524 TWSyncTeXSynchronizer invalid(QStringLiteral("does-not-exist"), nullptr, nullptr);
525
526 QCOMPARE(valid.syncTeXFilename(), QStringLiteral("sync.synctex.gz"));
527 QCOMPARE(invalid.syncTeXFilename(), QString());
528}
529
530void TestDocument::Synchronizer_pdfFilename()
531{

Callers

nothing calls this directly

Calls 1

syncTeXFilenameMethod · 0.80

Tested by

no test coverage detected