1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
<?xml version="1.0" encoding="UTF-8"?>
<testdefinition version="1.0">
<suite name="qtcontacts-sqlite-qt5-tests" domain="mw">
<description>QtContacts SQLite backend automatic tests</description>
<set name="unit-tests" feature="qtcontacts-sqlite-qt5">
<description>Backend correctness automatic tests</description>
<case manual="false" name="aggregation">
<step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "rm -rf /home/$DEVICEUSER/.local/share/system/privileged/Contacts/qtcontacts-sqlite-test" $DEVICEUSER'</step>
<step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_aggregation" $DEVICEUSER'</step>
</case>
<case manual="false" name="synctransactions">
<step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "rm -rf /home/$DEVICEUSER/.local/share/system/privileged/Contacts/qtcontacts-sqlite-test" $DEVICEUSER'</step>
<step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_synctransactions" $DEVICEUSER'</step>
</case>
<case manual="false" name="displaylabelgroups">
<step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "rm -rf /home/$DEVICEUSER/.local/share/system/privileged/Contacts/qtcontacts-sqlite-test" $DEVICEUSER'</step>
<step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_displaylabelgroups" $DEVICEUSER'</step>
</case>
<case manual="false" name="detailfetchrequest">
<step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "rm -rf /home/$DEVICEUSER/.local/share/system/privileged/Contacts/qtcontacts-sqlite-test" $DEVICEUSER'</step>
<step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_detailfetchrequest" $DEVICEUSER'</step>
</case>
<case manual="false" name="contactmanager">
<step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "rm -rf /home/$DEVICEUSER/.local/share/system/privileged/Contacts/qtcontacts-sqlite-test" $DEVICEUSER'</step>
<step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_qcontactmanager" $DEVICEUSER'</step>
</case>
<case manual="false" name="contactmanagerfiltering">
<step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "rm -rf /home/$DEVICEUSER/.local/share/system/Contacts/qtcontacts-sqlite-test" $DEVICEUSER'</step>
<step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_qcontactmanagerfiltering" $DEVICEUSER'</step>
</case>
<case manual="false" name="database">
<step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_database -perfcounter tickcounter" $DEVICEUSER'</step>
</case>
<case manual="false" name="memorytable">
<step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_memorytable" $DEVICEUSER'</step>
</case>
<case manual="false" name="phonenumber">
<step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_phonenumber" $DEVICEUSER'</step>
</case>
</set>
</suite>
</testdefinition>
|