ahmadosama updated this revision to Diff 28622. ahmadosama added a comment.
I have created an auto test but it is not working, in the test class I created a page view class that takes a document pointer in its constructor then it calls the reset function in the pageview class. I am thinking of a way of getting it to work other than creating a reset function in the document class. REPOSITORY R223 Okular CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D10932?vs=28296&id=28622 REVISION DETAIL https://phabricator.kde.org/D10932 AFFECTED FILES autotests/resetformstest.cpp To: ahmadosama Cc: ngraham, aacid, #okular, michaelweghorn