Need help in getting started with writing the integration test

Dileep Sankhla sankhla.dileep96 at gmail.com
Fri Jun 8 09:50:12 UTC 2018


Thank you. I have created a single test case for the typewriter
toolbutton and have pushed it to the gsoc2018_typewriter branch.

I have defined 3 test cases as follows:
1. Check if the toolbar buttons contain the "Typewriter" button - Done
2. Click the typewriter button, start PickPointEngine engine, click and
drag on PDF page to create a block and check if a popup QInputDialog opens
3. Add typewriter to a Okular::Document with
setTextType(Okular::TextAnnotation::InPlace) and
setInplaceIntent(Okular::TextAnnotation::TypeWriter), and check
Okular::Annotation::getAnnotationPropertiesDomNode for expected attributes.

I'm only sticking to the simple test cases at the initial as I'm new to
writing tests and having the limited time. I don't know how to write a test
that checks painting results pixel-wise and there are already none so my
test cases are simple. I will write more complicated tests after doing the
font color in both Poppler and Okular.

Thanks and Regards
Dileep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20180608/4cfe1f5d/attachment.html>


More information about the Okular-devel mailing list