List of All Members for TestCase
这是完整成员列表为
TestCase
,包括继承的成员。
-
completed
: bool
-
name
: string
-
optional
: bool
-
running
: bool
-
when
: bool
-
windowShown
: bool
-
cleanup
()
-
cleanupTestCase
()
-
compare
(
actual
,
expected
,
message
)
-
对象
createTemporaryObject
(Component
component
, object
parent
, object
properties
)
-
对象
createTemporaryQmlObject
(string
qml
, object
parent
, string
filePath
)
-
expectFail
(
tag
,
message
)
-
expectFailContinue
(
tag
,
message
)
-
fail
(
message
)
-
QtObject
findChild
(
parent
,
objectName
)
-
fuzzyCompare
(
actual
,
expected
,
delta
,
message
)
-
对象
grabImage
(
item
)
-
ignoreWarning
(
message
)
-
init
()
-
initTestCase
()
-
bool
isPolishScheduled
(object
item
)
-
keyClick
(
key
,
modifiers
,
delay
)
-
keyPress
(
key
,
modifiers
,
delay
)
-
keyRelease
(
key
,
modifiers
,
delay
)
-
keySequence
(
keySequence
)
-
mouseClick
(
item
,
x
,
y
,
button
,
modifiers
,
delay
)
-
mouseDoubleClickSequence
(
item
,
x
,
y
,
button
,
modifiers
,
delay
)
-
mouseDrag
(
item
,
x
,
y
,
dx
,
dy
,
button
,
modifiers
,
delay
)
-
mouseMove
(
item
,
x
,
y
,
delay
,
buttons
)
-
mousePress
(
item
,
x
,
y
,
button
,
modifiers
,
delay
)
-
mouseRelease
(
item
,
x
,
y
,
button
,
modifiers
,
delay
)
-
mouseWheel
(
item
,
x
,
y
,
xDelta
,
yDelta
,
button
,
modifiers
,
delay
)
-
skip
(
message
)
-
sleep
(
ms
)
-
TouchEventSequence
touchEvent
(object
item
)
-
tryCompare
(
obj
,
property
,
expected
,
timeout
,
message
)
-
tryVerify
(
function
,
timeout
,
message
)
-
verify
(
条件
,
message
)
-
wait
(
ms
)
-
bool
waitForItemPolished
(object
item
, int
timeout
)
-
waitForRendering
(
item
,
timeout
)
-
warn
(
message
)
The following members are inherited from
Item
.