~mzanetti/autopilot-qt/add-tests

« back to all changes in this revision

Viewing changes to tests/unittests/tst_introspection.cpp

  • Committer: Michael Zanetti
  • Date: 2013-03-18 10:04:55 UTC
  • Revision ID: michael.zanetti@canonical.com-20130318100455-32eghk6bgj3lkclo
add a query that should not return any results

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
    QTest::newRow("//QPushButton") << "//QPushButton" << 2 << "QPushButton" << "objectName" << QVariant("myButton1");
126
126
 
127
127
    QTest::newRow("//QWidget/*") << "//QWidget/*" << 5 << "QGridLayout" << "objectName" << QVariant("myTestLayout");
 
128
    QTest::newRow("broken query") << "broken query" << 0 << QString() << QString() << QVariant();
128
129
}
129
130
 
130
131
void tst_Introspection::test_introspect()