Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Go to the source code of this file.
Namespaces | |
namespace | QTest |
[15] | |
Functions | |
QVERIFY (spy.isValid()) | |
[0] | |
template<> | |
char * | QTest::toString (const MyPoint &point) |
void | processTouchEvent () |
[toString-overload] | |
char * | toString (const MyType &t) |
[31] | |
QSignalSpy | doubleClickSpy (target, &TargetClass::doubleClicked) |
[34] | |
QVERIFY (target.isPressed()) | |
QCOMPARE (target.isPressed(), false) | |
QCOMPARE (target.pressCount(), 2) | |
QCOMPARE (doubleClickSpy.count(), 1) | |
template<> | |
char * | QTest::toString (const MyPoint &point) |
Variables | |
QWidget | myWindow |
[26] | |
const QPoint | p (1, 2) |
[0] | |
QSignalSpy doubleClickSpy | ( | target | , |
&TargetClass::doubleClicked | ) |
[34]
[35]
void processTouchEvent | ( | ) |
[toString-overload]
[25]
[25]
[25]
[25]
Definition at line 45 of file src_qtestlib_qtestcase_snippet.cpp.
QCOMPARE | ( | doubleClickSpy. | count(), |
1 | ) |
QCOMPARE | ( | target. | isPressed(), |
false | ) |
QCOMPARE | ( | target. | pressCount(), |
2 | ) |
QVERIFY | ( | spy. | isValid() | ) |
[0]
QVERIFY | ( | target. | isPressed() | ) |
char * toString | ( | const MyType & | t | ) |
QTest::mouseRelease & myWindow |