diff options
author | Bai Jing <jing.t.bai@nokia.com> | 2012-05-29 12:12:35 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-29 13:04:47 +0200 |
commit | 023428018424c77c7479b0851dfc7b05670e4ca3 (patch) | |
tree | 763cbe29be73d9ea1d9d57171c1855a7adf4c436 /tests | |
parent | 6c67754078f88c2af0f0d60ab153bae3bf48d98a (diff) |
change the path to start tests and add missing tests
Change-Id: Ic65f10f97e8556d1d80f51f506f12ca438e186db
Reviewed-by: Tapani Mikola <tapani.mikola@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/tests.xml | 44 | ||||
-rw-r--r-- | tests/benchmarks/tests.xml | 20 |
2 files changed, 46 insertions, 18 deletions
diff --git a/tests/auto/tests.xml b/tests/auto/tests.xml index fc9061e6..d7d388f3 100644 --- a/tests/auto/tests.xml +++ b/tests/auto/tests.xml @@ -4,56 +4,72 @@ <set description=" Simple JSON DB auto tests " feature="JSONDB" level="Auto" name="jsondb-autotests" type="Functional" timeout="2000"> <case name="tst_client" requirement="BAT,CST" component="qt5jsondb" timeout="100"> <description>Client library tests: C++ APIs testcases.</description> - <step>cd /usr/lib/qt5jsondb-tests/auto/client;date && ./tst_client&& date</step> + <step>cd /var/lib/qt5jsondb-tests/auto/client;date && ./tst_client&& date</step> </case> <case name="tst_partition" requirement="BAT" component="qt5jsondb" timeout="2000"> <description> JsonDb partition tests: This testcase tests server behavior.</description> - <step>cd /usr/lib/qt5jsondb-tests/auto/partition;date && ./tst_partition && date</step> + <step>cd /var/lib/qt5jsondb-tests/auto/partition;date && ./tst_partition && date</step> </case> <case name="tst_accesscontrol" requirement="BAT,CST" type="Security" component="qt5jsondb" timeout="600"> <description> JsonDb security tests</description> - <step>cd /usr/lib/qt5jsondb-tests/auto/accesscontrol;date && ./tst_accesscontrol&& date</step> + <step>cd /var/lib/qt5jsondb-tests/auto/accesscontrol;date && ./tst_accesscontrol&& date</step> </case> <case name="tst_jsondblistmodel" requirement="BAT,CST" component="qt5jsondb" timeout="600"> <description>QML JsonDbListModel tests: This testcase tests new JsonDb QML APIs</description> - <step>cd /usr/lib/qt5jsondb-tests/auto/jsondblistmodel;date && ./tst_jsondblistmodel -platform minimal&& date</step> + <step>cd /var/lib/qt5jsondb-tests/auto/jsondblistmodel;date && ./tst_jsondblistmodel -platform minimal&& date</step> </case> <case name="tst_jsondbnotification" requirement="BAT,CST" component="qt5jsondb" timeout="600"> <description>QML JsonDB Notification tests</description> - <step>cd /usr/lib/qt5jsondb-tests/auto/jsondbnotification;date && ./tst_jsondbnotification -platform minimal&& date</step> + <step>cd /var/lib/qt5jsondb-tests/auto/jsondbnotification;date && ./tst_jsondbnotification -platform minimal&& date</step> </case> <case name="tst_jsondbpartition" requirement="BAT,CST" component="qt5jsondb" timeout="600"> <description>QML JsonDB Partition tests</description> - <step>cd /usr/lib/qt5jsondb-tests/auto/jsondbpartition;date && ./tst_jsondbpartition -platform minimal&& date</step> + <step>cd /var/lib/qt5jsondb-tests/auto/jsondbpartition;date && ./tst_jsondbpartition -platform minimal&& date</step> </case> <case name="tst_jsondbcachinglistmodel" requirement="BAT,CST" component="qt5jsondb" timeout="600"> <description>QML JsonDB Caching ListModel tests</description> - <step>cd /usr/lib/qt5jsondb-tests/auto/jsondbcachinglistmodel;date && ./tst_jsondbcachinglistmodel -platform minimal&& date</step> + <step>cd /var/lib/qt5jsondb-tests/auto/jsondbcachinglistmodel;date && ./tst_jsondbcachinglistmodel -platform minimal&& date</step> </case> <case name="tst_jsondbsortinglistmodel" requirement="BAT,CST" component="qt5jsondb" timeout="600"> <description>QML JsonDB Sorting ListModel tests</description> - <step>cd /usr/lib/qt5jsondb-tests/auto/jsondbsortinglistmodel;date && ./tst_jsondbsortinglistmodel -platform minimal&& date</step> + <step>cd /var/lib/qt5jsondb-tests/auto/jsondbsortinglistmodel;date && ./tst_jsondbsortinglistmodel -platform minimal&& date</step> </case> <case name="tst_jsondbqueryobject" requirement="BAT,CST" component="qt5jsondb" timeout="600"> <description>QML JsonDB Query Object tests</description> - <step>cd /usr/lib/qt5jsondb-tests/auto/jsondbqueryobject;date && ./tst_jsondbqueryobject -platform minimal&& date</step> + <step>cd /var/lib/qt5jsondb-tests/auto/jsondbqueryobject;date && ./tst_jsondbqueryobject -platform minimal&& date</step> </case> <case name="tst_qbtree" component="qt5jsondb" timeout="2000"> <description>Btree tests</description> - <step>cd /usr/lib/qt5jsondb-tests/auto/qbtree;date && ./tst_qbtree&& date</step> + <step>cd /var/lib/qt5jsondb-tests/auto/qbtree;date && ./tst_qbtree&& date</step> </case> <case name="tst_qjsondbrequest" component="qt5jsondb" timeout="600"> <description>QJsonDbRequest Class tests</description> - <step>cd /usr/lib/qt5jsondb-tests/auto/qjsondbrequest;date && ./tst_qjsondbrequest && date</step> + <step>cd /var/lib/qt5jsondb-tests/auto/qjsondbrequest;date && ./tst_qjsondbrequest && date</step> </case> <case name="tst_qjsondbflushrequest" component="qt5jsondb" timeout="600"> <description>QJsonDbFlushRequest Class tests</description> - <step>cd /usr/lib/qt5jsondb-tests/auto/qjsondbflushrequest;date && ./tst_qjsondbflushrequest && date</step> + <step>cd /var/lib/qt5jsondb-tests/auto/qjsondbflushrequest;date && ./tst_qjsondbflushrequest && date</step> </case> <case name="tst_qjsondbwatcher" component="qt5jsondb" timeout="600"> <description>QJsonDbWatcher Class tests</description> - <step>cd /usr/lib/qt5jsondb-tests/auto/qjsondbwatcher;date && ./tst_qjsondbwatcher && date</step> + <step>cd /var/lib/qt5jsondb-tests/auto/qjsondbwatcher;date && ./tst_qjsondbwatcher && date</step> </case> - </set> + <case name="tst_hbtree" component="qt5jsondb" timeout="600"> + <description>hbtree tests</description> + <step>cd /var/lib/qt5jsondb-tests/auto/hbtree;date && ./tst_hbtree && date</step> + </case> + <case name="tst_headersclean" component="qt5jsondb" timeout="600"> + <description>Public Headers cleaness tests</description> + <step>cd /var/lib/qt5jsondb-tests/auto/headersclean;date && ./tst_headersclean && date</step> + </case> + <case name="tst_jsonstream" component="qt5jsondb" timeout="600"> + <description>JsonStream Class tests</description> + <step>cd /var/lib/qt5jsondb-tests/auto/jsonstream;date && ./tst_jsonstream && date</step> + </case> + <case name="tst_queries" component="qt5jsondb" timeout="600"> + <description>JsonDb Queries tests</description> + <step>cd /var/lib/qt5jsondb-tests/auto/queries;date && ./tst_queries && date</step> + </case> + </set> </suite> </testdefinition> diff --git a/tests/benchmarks/tests.xml b/tests/benchmarks/tests.xml index 0d4cd1be..92587fdf 100644 --- a/tests/benchmarks/tests.xml +++ b/tests/benchmarks/tests.xml @@ -4,19 +4,31 @@ <set description=" Simple JSON DB performance tests " feature="JSONDB" level="System" name="jsondb-benchmarks" type="Integration" timeout="10000"> <case name="tst_bench_client" timeout="5000" component="qt5jsondb"> <description>Client API performance 01</description> - <step>cd /usr/lib/qt5jsondb-tests/benchmarks/client; date && ./tst_bench_client && date</step> + <step>cd /var/lib/qt5jsondb-tests/benchmarks/client; date && ./tst_bench_client && date</step> </case> <case name="tst_bench_partition" timeout="5000" component="qt5jsondb"> <description>Server-side performance</description> - <step>cd /usr/lib/qt5jsondb-tests/benchmarks/partition; date && ./tst_bench_partition && date</step> + <step>cd /var/lib/qt5jsondb-tests/benchmarks/partition; date && ./tst_bench_partition && date</step> </case> <case name="tst_bench_jsondbcachinglistmodel" timeout="5000" component="qt5jsondb"> <description>JsonDbCachingListModel performance</description> - <step>cd /usr/lib/qt5jsondb-tests/benchmarks/jsondbcachinglistmodel; date && ./tst_bench_jsondbcachinglistmodel -platform minimal && date</step> + <step>cd /var/lib/qt5jsondb-tests/benchmarks/jsondbcachinglistmodel; date && ./tst_bench_jsondbcachinglistmodel -platform minimal && date</step> </case> <case name="tst_bench_jsondbsortinglistmodel" timeout="5000" component="qt5jsondb"> <description>JsonDbCachingListModel performance</description> - <step>cd /usr/lib/qt5jsondb-tests/benchmarks/jsondbsortinglistmodel; date && ./tst_bench_jsondbsortinglistmodel -platform minimal && date</step> + <step>cd /var/lib/qt5jsondb-tests/benchmarks/jsondbsortinglistmodel; date && ./tst_bench_jsondbsortinglistmodel -platform minimal && date</step> + </case> + <case name="tst_bench_jsondbobject" timeout="5000" component="qt5jsondb"> + <description>JsonDbObject performance</description> + <step>cd /var/lib/qt5jsondb-tests/benchmarks/jsondbobject; date && ./tst_bench_jsondbobject && date</step> + </case> + <case name="tst_bench_btrees" timeout="5000" component="qt5jsondb"> + <description>Btrees performance</description> + <step>cd /var/lib/qt5jsondb-tests/benchmarks/btrees; date && ./tst_bench_btrees && date</step> + </case> + <case name="tst_bench_partition" timeout="5000" component="qt5jsondb"> + <description>Partition performance</description> + <step>cd /var/lib/qt5jsondb-tests/benchmarks/partition; date && ./tst_bench_partition && date</step> </case> </set> </suite> |