<table><tr><td style="">heikobecker created this revision.<br />Herald added a project: KDE PIM.<br />Herald added a subscriber: kde-pim.<br />heikobecker requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D14884">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Allowing the test to pass without a running X server.</p>
<p>Make the pdfdocumenttest pass without Poppler</p>
<p>It fails otherwise because PdfDocument::fromData returns a nullptr<br />
in the #else branch of #ifdef HAVE_POPPLER.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>pdfdocumenttest passes with and without Poppler</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R1003 KItinerary: Travel Reservation handling library</div></div></div><br /><div><strong>BRANCH</strong><div><div>Applications/18.08</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14884">https://phabricator.kde.org/D14884</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/extractortest.cpp<br />
autotests/pdfdocumenttest.cpp</div></div></div><br /><div><strong>To: </strong>heikobecker<br /><strong>Cc: </strong>kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>