aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/snippets/tst_snippets.cpp
Commit message (Collapse)AuthorAgeFilesLines
* tests: fix license headersJ-P Nurmi2015-11-081-1/+1
| | | | | Change-Id: Id3be5a62dec38d610695d71ad792016fabdc922d Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Move the code snippets to a more logical placeJ-P Nurmi2015-10-301-2/+2
| | | | | | | | | | They are part of the documentation, but just auto-tested to ensure that they are actually creatable and don't throw warnings. Therefore the logical place is in the doc/snippets folder instead of somewhere in the tests/ tree. Change-Id: Id79a19890f7457ef277e7434a3fc6b6fb20eaa25 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Make tst_snippets fail if there are QML warningsJ-P Nurmi2015-10-161-0/+11
| | | | | Change-Id: I6680d891bd9a1c54746cc97c5eae742c1cca4e62 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Docs: SwipeViewJ-P Nurmi2015-10-141-0/+2
| | | | | | Change-Id: Iabeb3ebc54f64d2f3d0b008a5f5a16a89f701f85 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com> Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Use constBegin/End with const_iteratorFrederik Gladhorn2015-07-241-1/+1
| | | | | | | Change-Id: I9c4801ac91c52d487e98a99ff4d38e133f0679a3 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
* Add tst_snippetsJ-P Nurmi2015-06-271-0/+106
This is going to include all snippets used in the documentation, which will be then automatically tested for vality, and at the same time the respective screenshots are automatically generated. Notice that copying the screenshots over to src/doc/images is still a manual step. This is fully intentional because the screenshot results may vary quite a bit across different platforms due to different fonts and so on. FWIW, my personal favorite for generating the screenshots is OS X. Change-Id: I72b299f15b498abc1afd0a686c56d43159bee775 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>