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
()
-
keyClick
(
key
,
modifiers
,
delay
)
-
keyPress
(
key
,
modifiers
,
delay
)
-
keyRelease
(
key
,
modifiers
,
delay
)
-
mouseClick
(
item
,
x
,
y
,
button
,
modifiers
,
delay
)
-
mouseDoubleClick
(
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
)
-
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
)
-
waitForRendering
(
item
,
timeout
)
-
warn
(
message
)
The following members are inherited from
Item
.
-
activeFocus
: bool
-
activeFocusOnTab
: bool
-
anchors.alignWhenCentered
: bool
-
anchors.baseline
: AnchorLine
-
anchors.baselineOffset
: real
-
anchors.bottom
: AnchorLine
-
anchors.bottomMargin
: real
-
anchors.centerIn
: Item
-
anchors.fill
: Item
-
anchors.horizontalCenter
: AnchorLine
-
anchors.horizontalCenterOffset
: real
-
anchors.left
: AnchorLine
-
anchors.leftMargin
: real
-
anchors.margins
: real
-
anchors.right
: AnchorLine
-
anchors.rightMargin
: real
-
anchors.top
: AnchorLine
-
anchors.topMargin
: real
-
anchors.verticalCenter
: AnchorLine
-
anchors.verticalCenterOffset
: real
-
antialiasing
: bool
-
baselineOffset
: int
-
children
: list<Item>
-
childrenRect.height
: real
-
childrenRect.width
: real
-
childrenRect.x
: real
-
childrenRect.y
: real
-
clip
: bool
-
data
: list<Object>
-
enabled
: bool
-
focus
: bool
-
height
: real
-
implicitHeight
: real
-
implicitWidth
: real
-
layer.effect
: Component
-
layer.enabled
: bool
-
layer.format
: enumeration
-
layer.mipmap
: bool
-
layer.samplerName
: string
-
layer.smooth
: bool
-
layer.sourceRect
: rect
-
layer.textureMirroring
: enumeration
-
layer.textureSize
: size
-
layer.wrapMode
: enumeration
-
opacity
: real
-
parent
: Item
-
resources
: list<Object>
-
rotation
: real
-
scale
: real
-
smooth
: bool
-
state
: string
-
states
: list<State>
-
transform
: list<Transform>
-
transformOrigin
: enumeration
-
transitions
: list<Transition>
-
visible
: bool
-
visibleChildren
: list<Item>
-
width
: real
-
x
: real
-
y
: real
-
z
: real
-
childAt
(real
x
, real
y
)
-
bool
contains
(point
point
)
-
forceActiveFocus
(Qt::FocusReason
reason
)
-
forceActiveFocus
()
-
bool
grabToImage
(
callback
,
targetSize
)
-
对象
mapFromGlobal
(real
x
, real
y
)
-
对象
mapFromItem
(Item
item
, real
x
, real
y
, real
width
, real
height
)
-
对象
mapFromItem
(Item
item
, real
x
, real
y
)
-
对象
mapToGlobal
(real
x
, real
y
)
-
对象
mapToItem
(Item
item
, real
x
, real
y
, real
width
, real
height
)
-
对象
mapToItem
(Item
item
, real
x
, real
y
)
-
nextItemInFocusChain
(bool
forward
)
The following members are inherited from
QtObject
.