summaryrefslogtreecommitdiffstats
path: root/QtTest/TestCase.qml
blob: 6b81ca4ba7b5b41e3cc6be3e996e01ab4593ff8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Qt 4.7
import QtTest 1.0

TestCaseBase {
    Component.onCompleted: {
        print("********* Start testing of " + name + " *********")
        var success = run()
        print("Totals: " + numPassed + " passed, " +
                           numFailed + " failed, " +
                           numSkipped + " skipped");
        print("********* Finished testing of " + name + " *********")
        Qt.quit()       // XXX - how do we set the exit value?
    }
}