aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/sanity/sanity.pro
Commit message (Collapse)AuthorAgeFilesLines
* Add Material styleMitch Curtis2015-11-121-0/+3
| | | | | Change-Id: I93662a53b42858a5b65154c5ede334182e738dde Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* .qmake.conf: set QQC2_SOURCE_TREEJ-P Nurmi2015-10-241-1/+1
| | | | | | | A tad nicer way to pass the correct path for tests. Change-Id: I0415d64737bbaa6de163e855080ed3a147f547d5 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* tst_sanity/tst_creationtime: use the source treeJ-P Nurmi2015-10-101-0/+2
| | | | | | | | | | | Pick the interesting .qml files straight from the project source tree, instead of matching files from the engine's import path list, which might contain undesired stray files eg. while working on multiple features and switching between branches. The tests would fail if it found a file that cannot be instantiated. Change-Id: Ice1e1be3568162a45fafdea3a725e3e3eb27e10d Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Auto test anchors & attached objectsJ-P Nurmi2015-06-141-0/+9
Rename the former tst_declarative to tst_sanity and extend it with tests to prevent: a) use of anchors, and b) multiple attached object instances of the same type. Anchors are not allowed for two reasons: - performance (QQuickAnchors is a QObject), and - to let users relayout delegates (x/y/width/height bindings can be overridden, anchors not so easily) Multiple attached object instances (eg. Theme) can easily happen by accident. "Theme.fooColor" can be used in the control root, but in all delegate items, "control.Theme.fooColor" must be used instead. Change-Id: I4045d5bd717fa21db79d1c3bd618fc450e292fa4 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>