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

Method Synchronizer_syncFromPDF

unit-tests/Document_test.cpp:946–954  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

944}
945
946void TestDocument::Synchronizer_syncFromPDF()
947{
948 QFETCH(QSharedPointer<TWSyncTeXSynchronizer>, synchronizer);
949 QFETCH(TWSynchronizer::Resolution, resolution);
950 QFETCH(TWSynchronizer::TeXSyncPoint, texPoint);
951 QFETCH(TWSynchronizer::PDFSyncPoint, pdfPoint);
952
953 QCOMPARE(synchronizer->syncFromPDF(pdfPoint, resolution), texPoint);
954}
955
956void TestDocument::rootFile_data()
957{

Callers

nothing calls this directly

Calls 1

syncFromPDFMethod · 0.80

Tested by

no test coverage detected