qmltests: working but by calling qmltestrunner explicitly
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import QtQuick 2.3
|
||||
import QtTest 1.0
|
||||
|
||||
TestCase {
|
||||
name: "MathTests Test2"
|
||||
|
||||
function test_math() {
|
||||
compare(2 + 2, 4, "2 + 2 = 4")
|
||||
}
|
||||
|
||||
function test_fail() {
|
||||
compare(2 + 2, 5, "2 + 2 = 5")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user