diff options
author | Albert Astals Cid <aacid@kde.org> | 2017-12-01 23:44:17 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2017-12-01 23:44:17 +0100 |
commit | fb4c69d270a618bb23791e52f46ec73c86574294 (patch) | |
tree | 62e45026b1beebd0b2a9064fde8fe4a22de7f539 /qt4/tests/check_actualtext.cpp | |
parent | bb0011b74093cfbf5a21b72861ac46a2b8699c0e (diff) |
Remove the Qt4 frontend
Diffstat (limited to 'qt4/tests/check_actualtext.cpp')
-rw-r--r-- | qt4/tests/check_actualtext.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/qt4/tests/check_actualtext.cpp b/qt4/tests/check_actualtext.cpp deleted file mode 100644 index 5c765c51..00000000 --- a/qt4/tests/check_actualtext.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include <QtTest/QtTest> - -#include <poppler-qt4.h> - -#include <QtCore/QFile> - -class TestActualText: public QObject -{ - Q_OBJECT -private slots: - void checkActualText1(); -}; - -void TestActualText::checkActualText1() -{ - Poppler::Document *doc; - doc = Poppler::Document::load(TESTDATADIR "/unittestcases/WithActualText.pdf"); - QVERIFY( doc ); - - Poppler::Page *page = doc->page(0); - QVERIFY( page ); - - QCOMPARE( page->text(QRectF()), QString("The slow brown fox jumps over the black dog.") ); - - delete page; - - delete doc; -} - -QTEST_MAIN(TestActualText) - -#include "check_actualtext.moc" - |