Contains all the functions and declarations that are related to Qt Test
Java wrapper for Qt header file QTest
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQTest::KeyAction
static enum
Java wrapper for Qt enumQTest::MouseAction
static class
Java wrapper for Qt classQTest::QBenchmarkIterationController
static enum
Java wrapper for Qt enumQTest::QBenchmarkMetric
static final class
Used to simulate a sequence of touch eventsstatic enum
Java wrapper for Qt enumQTest::TestFailMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
SeeQTest::
mouseDoubleClickInterval -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> void
static void
Deprecated.static void
addColumnInternal
(int id, String name) SeeQTest::
addColumnInternal(int, const char*) static Qt.Key
asciiToKey
(char ascii) SeeQTest::
asciiToKey(char) static boolean
compare_helper
(boolean success, String failureMsg, String val1, String val2, String actual, String expected, String file, int line) SeeQTest::
compare_helper(bool, const char*, char*, char*, const char*, const char*, const char*, int) static QTouchDevice
Overloaded function forcreateTouchDevice(io.qt.gui.QTouchDevice.DeviceType)
withdevType = io.qt.gui.QTouchDevice.DeviceType.TouchScreen
.static QTouchDevice
createTouchDevice
(QTouchDevice.DeviceType devType) static String
static String
static boolean
static String
static Qt.MouseButton
Kotlin property getter.static int
Kotlin property getter.static void
ignoreMessage
(QtMsgType type, QRegularExpression messagePattern) static void
ignoreMessage
(QtMsgType type, String message) static void
Overloaded function forkeyClick(io.qt.gui.QWindow, char, io.qt.core.Qt.KeyboardModifiers, int)
static void
keyClick
(QWindow window, char key, Qt.KeyboardModifiers modifier) Overloaded function forkeyClick(io.qt.gui.QWindow, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyClick
(QWindow window, char key, Qt.KeyboardModifiers modifier, int delay) static void
Overloaded function forkeyClick(io.qt.gui.QWindow, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
static void
keyClick
(QWindow window, Qt.Key key, Qt.KeyboardModifiers modifier) Overloaded function forkeyClick(io.qt.gui.QWindow, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyClick
(QWindow window, Qt.Key key, Qt.KeyboardModifiers modifier, int delay) static void
Overloaded function forkeyClick(io.qt.widgets.QWidget, char, io.qt.core.Qt.KeyboardModifiers, int)
static void
keyClick
(QWidget widget, char key, Qt.KeyboardModifiers modifier) Overloaded function forkeyClick(io.qt.widgets.QWidget, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyClick
(QWidget widget, char key, Qt.KeyboardModifiers modifier, int delay) static void
Overloaded function forkeyClick(io.qt.widgets.QWidget, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
static void
keyClick
(QWidget widget, Qt.Key key, Qt.KeyboardModifiers modifier) Overloaded function forkeyClick(io.qt.widgets.QWidget, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyClick
(QWidget widget, Qt.Key key, Qt.KeyboardModifiers modifier, int delay) static void
Overloaded function forkeyClicks(io.qt.widgets.QWidget, java.lang.String, io.qt.core.Qt.KeyboardModifiers, int)
static void
keyClicks
(QWidget widget, String sequence, Qt.KeyboardModifiers modifier) Overloaded function forkeyClicks(io.qt.widgets.QWidget, java.lang.String, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyClicks
(QWidget widget, String sequence, Qt.KeyboardModifiers modifier, int delay) static void
keyEvent
(QTest.KeyAction action, QWindow window, char ascii) static void
keyEvent
(QTest.KeyAction action, QWindow window, char ascii, Qt.KeyboardModifiers modifier) Overloaded function forkeyEvent(io.qt.test.QTest.KeyAction, io.qt.gui.QWindow, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyEvent
(QTest.KeyAction action, QWindow window, char ascii, Qt.KeyboardModifiers modifier, int delay) static void
keyEvent
(QTest.KeyAction action, QWindow window, Qt.Key key) static void
keyEvent
(QTest.KeyAction action, QWindow window, Qt.Key key, Qt.KeyboardModifiers modifier) Overloaded function forkeyEvent(io.qt.test.QTest.KeyAction, io.qt.gui.QWindow, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyEvent
(QTest.KeyAction action, QWindow window, Qt.Key key, Qt.KeyboardModifiers modifier, int delay) static void
keyEvent
(QTest.KeyAction action, QWidget widget, char ascii) static void
keyEvent
(QTest.KeyAction action, QWidget widget, char ascii, Qt.KeyboardModifiers modifier) Overloaded function forkeyEvent(io.qt.test.QTest.KeyAction, io.qt.widgets.QWidget, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyEvent
(QTest.KeyAction action, QWidget widget, char ascii, Qt.KeyboardModifiers modifier, int delay) static void
keyEvent
(QTest.KeyAction action, QWidget widget, Qt.Key key) static void
keyEvent
(QTest.KeyAction action, QWidget widget, Qt.Key key, Qt.KeyboardModifiers modifier) Overloaded function forkeyEvent(io.qt.test.QTest.KeyAction, io.qt.widgets.QWidget, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyEvent
(QTest.KeyAction action, QWidget widget, Qt.Key key, Qt.KeyboardModifiers modifier, int delay) static void
Overloaded function forkeyPress(io.qt.gui.QWindow, char, io.qt.core.Qt.KeyboardModifiers, int)
static void
keyPress
(QWindow window, char key, Qt.KeyboardModifiers modifier) Overloaded function forkeyPress(io.qt.gui.QWindow, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyPress
(QWindow window, char key, Qt.KeyboardModifiers modifier, int delay) static void
Overloaded function forkeyPress(io.qt.gui.QWindow, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
static void
keyPress
(QWindow window, Qt.Key key, Qt.KeyboardModifiers modifier) Overloaded function forkeyPress(io.qt.gui.QWindow, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyPress
(QWindow window, Qt.Key key, Qt.KeyboardModifiers modifier, int delay) static void
Overloaded function forkeyPress(io.qt.widgets.QWidget, char, io.qt.core.Qt.KeyboardModifiers, int)
static void
keyPress
(QWidget widget, char key, Qt.KeyboardModifiers modifier) Overloaded function forkeyPress(io.qt.widgets.QWidget, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyPress
(QWidget widget, char key, Qt.KeyboardModifiers modifier, int delay) static void
Overloaded function forkeyPress(io.qt.widgets.QWidget, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
static void
keyPress
(QWidget widget, Qt.Key key, Qt.KeyboardModifiers modifier) Overloaded function forkeyPress(io.qt.widgets.QWidget, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyPress
(QWidget widget, Qt.Key key, Qt.KeyboardModifiers modifier, int delay) static void
keyRelease
(QWindow window, char key) Overloaded function forkeyRelease(io.qt.gui.QWindow, char, io.qt.core.Qt.KeyboardModifiers, int)
static void
keyRelease
(QWindow window, char key, Qt.KeyboardModifiers modifier) Overloaded function forkeyRelease(io.qt.gui.QWindow, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyRelease
(QWindow window, char key, Qt.KeyboardModifiers modifier, int delay) static void
keyRelease
(QWindow window, Qt.Key key) Overloaded function forkeyRelease(io.qt.gui.QWindow, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
static void
keyRelease
(QWindow window, Qt.Key key, Qt.KeyboardModifiers modifier) Overloaded function forkeyRelease(io.qt.gui.QWindow, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyRelease
(QWindow window, Qt.Key key, Qt.KeyboardModifiers modifier, int delay) static void
keyRelease
(QWidget widget, char key) Overloaded function forkeyRelease(io.qt.widgets.QWidget, char, io.qt.core.Qt.KeyboardModifiers, int)
static void
keyRelease
(QWidget widget, char key, Qt.KeyboardModifiers modifier) Overloaded function forkeyRelease(io.qt.widgets.QWidget, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyRelease
(QWidget widget, char key, Qt.KeyboardModifiers modifier, int delay) static void
keyRelease
(QWidget widget, Qt.Key key) Overloaded function forkeyRelease(io.qt.widgets.QWidget, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
static void
keyRelease
(QWidget widget, Qt.Key key, Qt.KeyboardModifiers modifier) Overloaded function forkeyRelease(io.qt.widgets.QWidget, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
keyRelease
(QWidget widget, Qt.Key key, Qt.KeyboardModifiers modifier, int delay) static void
keySequence
(QWindow window, QKeySequence keySequence) static void
keySequence
(QWidget widget, QKeySequence keySequence) static byte
keyToAscii
(Qt.Key key) SeeQTest::
keyToAscii(Qt::Key) static Qt.MouseButton
SeeQTest::
lastMouseButton static int
SeeQTest::
lastMouseTimestamp static void
mouseClick
(QWindow window, Qt.MouseButton button) static void
mouseClick
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
mouseClick
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function formouseClick(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
mouseClick
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
mouseClick
(QWidget widget, Qt.MouseButton button) static void
mouseClick
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
mouseClick
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function formouseClick(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
mouseClick
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
mouseDClick
(QWindow window, Qt.MouseButton button) static void
mouseDClick
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
mouseDClick
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function formouseDClick(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
mouseDClick
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
mouseDClick
(QWidget widget, Qt.MouseButton button) static void
mouseDClick
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
mouseDClick
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function formouseDClick(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
mouseDClick
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
mouseEvent
(QTest.MouseAction action, QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function formouseEvent(io.qt.test.QTest.MouseAction, io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
mouseEvent
(QTest.MouseAction action, QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) SeeQTest::
mouseEvent(QTest::MouseAction, QWindow*, Qt::MouseButton, Qt::KeyboardModifiers, QPoint, int) static void
mouseEvent
(QTest.MouseAction action, QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function formouseEvent(io.qt.test.QTest.MouseAction, io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
mouseEvent
(QTest.MouseAction action, QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) SeeQTest::
mouseEvent(QTest::MouseAction, QWidget*, Qt::MouseButton, Qt::KeyboardModifiers, QPoint, int) static void
Overloaded function formouseMove(io.qt.gui.QWindow, io.qt.core.QPoint, int)
static void
Overloaded function formouseMove(io.qt.gui.QWindow, io.qt.core.QPoint, int)
withdelay = -1
.static void
static void
Overloaded function formouseMove(io.qt.widgets.QWidget, io.qt.core.QPoint, int)
static void
Overloaded function formouseMove(io.qt.widgets.QWidget, io.qt.core.QPoint, int)
withdelay = -1
.static void
static void
mousePress
(QWindow window, Qt.MouseButton button) static void
mousePress
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
mousePress
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function formousePress(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
mousePress
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
mousePress
(QWidget widget, Qt.MouseButton button) static void
mousePress
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
mousePress
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function formousePress(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
mousePress
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
mouseRelease
(QWindow window, Qt.MouseButton button) static void
mouseRelease
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
mouseRelease
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function formouseRelease(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
mouseRelease
(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
mouseRelease
(QWidget widget, Qt.MouseButton button) static void
mouseRelease
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) static void
mouseRelease
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function formouseRelease(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.static void
mouseRelease
(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) static void
QBENCHMARK
(Runnable runnable) SeeQBENCHMARK
static void
QBENCHMARK_ONCE
(Runnable runnable) SeeQBENCHMARK_ONCE
static void
qCleanup()
SeeQTest::
qCleanup() static boolean
SeeQTest::
qCompare(double, double, const char*, const char*, const char*, int) static boolean
SeeQTest::
qCompare(double, float, const char*, const char*, const char*, int) static boolean
SeeQTest::
qCompare(float, double, const char*, const char*, const char*, int) static boolean
SeeQTest::
qCompare(float, float, const char*, const char*, const char*, int) static boolean
SeeQTest::
qCompare(int, int, const char*, const char*, const char*, int) static boolean
SeeQTest::
qCompare(qint32, qint64, const char*, const char*, const char*, int) static boolean
SeeQTest::
qCompare(qint64, qint32, const char*, const char*, const char*, int) static <T> boolean
SeeQTest::
qCompare(QList<T>, QList<T>, const char*, const char*, const char*, int) static boolean
SeeQTest::
qCompare(QIcon, QIcon, const char*, const char*, const char*, int) static boolean
SeeQTest::
qCompare(QImage, QImage, const char*, const char*, const char*, int) static boolean
SeeQTest::
qCompare(QPixmap, QPixmap, const char*, const char*, const char*, int) static boolean
SeeQTest::
qCompare(QStringView, QStringView, const char*, const char*, const char*, int) static boolean
qCompare
(Collection<String> t1, Collection<String> t2, String actual, String expected, String file, int line) SeeQTest::
qCompare(QStringList, QStringList, const char*, const char*, const char*, int) static <T extends Comparable<T>>
booleanstatic void
QCOMPARE
(double t1, double t2) static void
QCOMPARE
(double t1, float t2) static void
QCOMPARE
(float t1, double t2) static void
QCOMPARE
(float t1, float t2) static void
QCOMPARE
(int t1, int t2) static void
static void
static void
static void
static <T extends Comparable<T>>
voidQCOMPARE
(T t1, T t2) static Object
SeeQTest::
qData(const char*, int) static Object
qElementData
(String elementName, int metaTypeId) SeeQTest::
qElementData(const char*, int) static int
static int
qExec
(QObject testObject, Collection<String> arguments) static int
static void
QEXPECT_FAIL
(String dataIndex, String comment, QTest.TestFailMode mode) static boolean
qExpectFail
(String dataIndex, String comment, QTest.TestFailMode mode, String file, int line) SeeQTest::
qExpectFail(const char*, const char*, QTest::TestFailMode, const char*, int) static QTemporaryDir
qExtractTestData
(String dirName) static QTemporaryDir
QEXTRACTTESTDATA
(String resourcePath) SeeQTest
static void
SeeQTest::
qFail(const char*, const char*, int) static void
SeeQFAIL(message)
static <T> T
Deprecated.static <T> T
static <T> T
QFETCH_GLOBAL
(Class<T> type, String name) Deprecated.static <T> T
QFETCH_GLOBAL
(String name, Class<T> type, QMetaType... instantiations) static String
qFindTestData
(String basepath) Overloaded function forqFindTestData(java.lang.String, java.lang.String, int, java.lang.String)
static String
qFindTestData
(String basepath, String file) Overloaded function forqFindTestData(java.lang.String, java.lang.String, int, java.lang.String)
static String
qFindTestData
(String basepath, String file, int line) Overloaded function forqFindTestData(java.lang.String, java.lang.String, int, java.lang.String)
withbuilddir = null
.static String
qFindTestData
(String basepath, String file, int line, String builddir) SeeQTest::
qFindTestData(QString, const char*, int, const char*) static String
QFINDTESTDATA
(String basepath) static String
QFINDTESTDATA
(String basepath, String builddir) static Object
qGlobalData
(String tagName, int typeId) SeeQTest::
qGlobalData(const char*, int) static void
SeeQTest::
qInit(QObject*, int, char**) static int
qRun()
SeeQTest::
qRun() static void
SeeQTest::
qSkip(const char*, const char*, int) static void
static void
qSleep
(int ms) static void
qt_handleKeyEvent
(QWindow w, QEvent.Type t, int k, Qt.KeyboardModifiers mods) static void
qt_handleKeyEvent
(QWindow w, QEvent.Type t, int k, Qt.KeyboardModifiers mods, String text) static void
qt_handleKeyEvent
(QWindow w, QEvent.Type t, int k, Qt.KeyboardModifiers mods, String text, boolean autorep) Overloaded function forqt_handleKeyEvent(io.qt.gui.QWindow, io.qt.core.QEvent.Type, int, io.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, short)
withcount = 1
.static void
qt_handleKeyEvent
(QWindow w, QEvent.Type t, int k, Qt.KeyboardModifiers mods, String text, boolean autorep, short count) Seeqt_handleKeyEvent(QWindow*,
QEvent::Type, int, Qt::KeyboardModifiers, QString, bool, ushort) static void
qt_handleMouseEvent
(QWindow window, QPointF local, QPointF global, Qt.MouseButtons state, Qt.MouseButton button, QEvent.Type type, Qt.KeyboardModifiers mods, int timestamp) Seeqt_handleMouseEvent(QWindow*,
QPointF, QPointF, Qt::MouseButtons, Qt::MouseButton, QEvent::Type, Qt::KeyboardModifiers, int) static boolean
qt_sendShortcutOverrideEvent
(QObject o, int timestamp, int k, Qt.KeyboardModifiers mods) static boolean
qt_sendShortcutOverrideEvent
(QObject o, int timestamp, int k, Qt.KeyboardModifiers mods, String text) static boolean
qt_sendShortcutOverrideEvent
(QObject o, int timestamp, int k, Qt.KeyboardModifiers mods, String text, boolean autorep) Overloaded function forqt_sendShortcutOverrideEvent(io.qt.core.QObject, int, int, io.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, short)
withcount = 1
.static boolean
qt_sendShortcutOverrideEvent
(QObject o, int timestamp, int k, Qt.KeyboardModifiers mods, String text, boolean autorep, short count) Seeqt_sendShortcutOverrideEvent(QObject*,
ulong, int, Qt::KeyboardModifiers, QString, bool, ushort) static <T> boolean
static <T> void
static int
QTEST_APPLESS_MAIN
(String... args) Place this macro-like method in the main method of the test class.static int
QTEST_GUILESS_MAIN
(String... args) Place this macro-like method in the main method of the test class.static int
QTEST_MAIN
(String... args) Place this macro-like method in the main method of the test class.static int
QTEST_WIDGETLESS_MAIN
(String... args) Place this macro-like method in the main method of the test class.static <T extends Comparable<T>>
voidQTRY_COMPARE
(T t1, T t2) static <T extends Comparable<T>>
voidQTRY_COMPARE_WITH_TIMEOUT
(T t1, T t2, int timeout) static void
QTRY_VERIFY_WITH_TIMEOUT
(BooleanSupplier expr, int timeout) static void
QTRY_VERIFY_WITH_TIMEOUT
(BooleanSupplier expr, String messageExpression, int timeout) static boolean
SeeQTest::
qVerify(bool, const char*, const char*, const char*, int) static void
QVERIFY
(BooleanSupplier statement) static void
QVERIFY
(BooleanSupplier statement, String description) static void
qWait
(int ms) static boolean
qWaitFor
(BooleanSupplier predicate) Overloaded function forqWaitFor(java.util.function.BooleanSupplier, int)
withtimeout = 5000
.static boolean
qWaitFor
(BooleanSupplier predicate, int timeout) static boolean
qWaitForWindowActive
(QWindow window) Overloaded function forqWaitForWindowActive(io.qt.gui.QWindow, int)
withtimeout = 5000
.static boolean
qWaitForWindowActive
(QWindow window, int timeout) static boolean
qWaitForWindowActive
(QWidget widget) Overloaded function forqWaitForWindowActive(io.qt.widgets.QWidget, int)
withtimeout = 5000
.static boolean
qWaitForWindowActive
(QWidget widget, int timeout) static boolean
qWaitForWindowExposed
(QWindow window) Overloaded function forqWaitForWindowExposed(io.qt.gui.QWindow, int)
withtimeout = 5000
.static boolean
qWaitForWindowExposed
(QWindow window, int timeout) static boolean
qWaitForWindowExposed
(QWidget widget) Overloaded function forqWaitForWindowExposed(io.qt.widgets.QWidget, int)
withtimeout = 5000
.static boolean
qWaitForWindowExposed
(QWidget widget, int timeout) static void
Overloaded function forqWarn(java.lang.String, java.lang.String, int)
static void
Overloaded function forqWarn(java.lang.String, java.lang.String, int)
withline = 0
.static void
SeeQTest::
qWarn(const char*, const char*, int) static void
SeeQTest
static void
sendKeyEvent
(QTest.KeyAction action, QWindow window, Qt.Key code, char ascii, Qt.KeyboardModifiers modifier) Overloaded function forsendKeyEvent(io.qt.test.QTest.KeyAction, io.qt.gui.QWindow, io.qt.core.Qt.Key, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
sendKeyEvent
(QTest.KeyAction action, QWindow window, Qt.Key code, char ascii, Qt.KeyboardModifiers modifier, int delay) SeeQTest::
sendKeyEvent(QTest::KeyAction, QWindow*, Qt::Key, char, Qt::KeyboardModifiers, int) static void
sendKeyEvent
(QTest.KeyAction action, QWindow window, Qt.Key code, String text, Qt.KeyboardModifiers modifier) Overloaded function forsendKeyEvent(io.qt.test.QTest.KeyAction, io.qt.gui.QWindow, io.qt.core.Qt.Key, java.lang.String, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
sendKeyEvent
(QTest.KeyAction action, QWindow window, Qt.Key code, String text, Qt.KeyboardModifiers modifier, int delay) SeeQTest::
sendKeyEvent(QTest::KeyAction, QWindow*, Qt::Key, QString, Qt::KeyboardModifiers, int) static void
sendKeyEvent
(QTest.KeyAction action, QWidget widget, Qt.Key code, char ascii, Qt.KeyboardModifiers modifier) Overloaded function forsendKeyEvent(io.qt.test.QTest.KeyAction, io.qt.widgets.QWidget, io.qt.core.Qt.Key, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
sendKeyEvent
(QTest.KeyAction action, QWidget widget, Qt.Key code, char ascii, Qt.KeyboardModifiers modifier, int delay) SeeQTest::
sendKeyEvent(QTest::KeyAction, QWidget*, Qt::Key, char, Qt::KeyboardModifiers, int) static void
sendKeyEvent
(QTest.KeyAction action, QWidget widget, Qt.Key code, String text, Qt.KeyboardModifiers modifier) Overloaded function forsendKeyEvent(io.qt.test.QTest.KeyAction, io.qt.widgets.QWidget, io.qt.core.Qt.Key, java.lang.String, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
.static void
sendKeyEvent
(QTest.KeyAction action, QWidget widget, Qt.Key code, String text, Qt.KeyboardModifiers modifier, int delay) SeeQTest::
sendKeyEvent(QTest::KeyAction, QWidget*, Qt::Key, QString, Qt::KeyboardModifiers, int) static void
setBenchmarkResult
(double result, QTest.QBenchmarkMetric metric) static void
setLastMouseButton
(Qt.MouseButton lastMouseButton) SeeQTest::
lastMouseButton static void
setLastMouseTimestamp
(int lastMouseTimestamp) SeeQTest::
lastMouseTimestamp static void
setMainSourcePath
(String file) Overloaded function forsetMainSourcePath(java.lang.String, java.lang.String)
withbuilddir = null
.static void
setMainSourcePath
(String file, String builddir) SeeQTest::
setMainSourcePath(const char*, const char*) static void
simulateEvent
(QWindow window, boolean press, int code, Qt.KeyboardModifiers modifier, String text, boolean repeat) Overloaded function forsimulateEvent(io.qt.gui.QWindow, boolean, int, io.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, int)
withdelay = -1
.static void
simulateEvent
(QWindow window, boolean press, int code, Qt.KeyboardModifiers modifier, String text, boolean repeat, int delay) SeeQTest::
simulateEvent(QWindow*, bool, int, Qt::KeyboardModifiers, QString, bool, int) static void
simulateEvent
(QWidget widget, boolean press, int code, Qt.KeyboardModifiers modifier, String text, boolean repeat) Overloaded function forsimulateEvent(io.qt.widgets.QWidget, boolean, int, io.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, int)
withdelay = -1
.static void
simulateEvent
(QWidget widget, boolean press, int code, Qt.KeyboardModifiers modifier, String text, boolean repeat, int delay) SeeQTest::
simulateEvent(QWidget*, bool, int, Qt::KeyboardModifiers, QString, bool, int) static QObject
SeeQTest::
testObject() static QTest.QTouchEventSequence
touchEvent
(QWindow window, QTouchDevice device) static QTest.QTouchEventSequence
touchEvent
(QWindow window, QTouchDevice device, boolean autoCommit) static QTest.QTouchEventSequence
touchEvent
(QWidget window, QTouchDevice device) static QTest.QTouchEventSequence
touchEvent
(QWidget window, QTouchDevice device, boolean autoCommit)
-
Field Details
-
mouseDoubleClickInterval
public static final int mouseDoubleClickIntervalSee
QTest::
mouseDoubleClickInterval
-
-
Method Details
-
addColumn
-
addColumnInternal
See
QTest::
addColumnInternal(int, const char*) -
asciiToKey
See
QTest::
asciiToKey(char) -
compare_helper
public static boolean compare_helper(boolean success, String failureMsg, String val1, String val2, String actual, String expected, String file, int line) See
QTest::
compare_helper(bool, const char*, char*, char*, const char*, const char*, const char*, int) -
createTouchDevice
Overloaded function for
createTouchDevice(io.qt.gui.QTouchDevice.DeviceType)
withdevType = io.qt.gui.QTouchDevice.DeviceType.TouchScreen
. -
createTouchDevice
-
currentAppName
-
currentDataTag
-
currentTestFailed
public static boolean currentTestFailed() -
currentTestFunction
-
ignoreMessage
-
ignoreMessage
-
keyClick
Overloaded function for
keyClick(io.qt.widgets.QWidget, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyClick
Overloaded function for
keyClick(io.qt.widgets.QWidget, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyClick
-
keyClick
Overloaded function for
keyClick(io.qt.widgets.QWidget, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyClick
Overloaded function for
keyClick(io.qt.widgets.QWidget, char, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyClick
-
keyClick
Overloaded function for
keyClick(io.qt.gui.QWindow, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyClick
Overloaded function for
keyClick(io.qt.gui.QWindow, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyClick
-
keyClick
Overloaded function for
keyClick(io.qt.gui.QWindow, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyClick
Overloaded function for
keyClick(io.qt.gui.QWindow, char, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyClick
-
keyClicks
Overloaded function for
keyClicks(io.qt.widgets.QWidget, java.lang.String, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyClicks
Overloaded function for
keyClicks(io.qt.widgets.QWidget, java.lang.String, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyClicks
public static void keyClicks(QWidget widget, String sequence, Qt.KeyboardModifiers modifier, int delay) -
keyEvent
public static void keyEvent(QTest.KeyAction action, QWidget widget, Qt.Key key, Qt.KeyboardModifiers modifier) Overloaded function for
keyEvent(io.qt.test.QTest.KeyAction, io.qt.widgets.QWidget, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyEvent
Overloaded function for
keyEvent(io.qt.test.QTest.KeyAction, io.qt.widgets.QWidget, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyEvent
public static void keyEvent(QTest.KeyAction action, QWidget widget, Qt.Key key, Qt.KeyboardModifiers modifier, int delay) -
keyEvent
public static void keyEvent(QTest.KeyAction action, QWidget widget, char ascii, Qt.KeyboardModifiers modifier) Overloaded function for
keyEvent(io.qt.test.QTest.KeyAction, io.qt.widgets.QWidget, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyEvent
Overloaded function for
keyEvent(io.qt.test.QTest.KeyAction, io.qt.widgets.QWidget, char, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyEvent
public static void keyEvent(QTest.KeyAction action, QWidget widget, char ascii, Qt.KeyboardModifiers modifier, int delay) -
keyEvent
public static void keyEvent(QTest.KeyAction action, QWindow window, Qt.Key key, Qt.KeyboardModifiers modifier) Overloaded function for
keyEvent(io.qt.test.QTest.KeyAction, io.qt.gui.QWindow, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyEvent
Overloaded function for
keyEvent(io.qt.test.QTest.KeyAction, io.qt.gui.QWindow, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyEvent
public static void keyEvent(QTest.KeyAction action, QWindow window, Qt.Key key, Qt.KeyboardModifiers modifier, int delay) -
keyEvent
public static void keyEvent(QTest.KeyAction action, QWindow window, char ascii, Qt.KeyboardModifiers modifier) Overloaded function for
keyEvent(io.qt.test.QTest.KeyAction, io.qt.gui.QWindow, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyEvent
Overloaded function for
keyEvent(io.qt.test.QTest.KeyAction, io.qt.gui.QWindow, char, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyEvent
public static void keyEvent(QTest.KeyAction action, QWindow window, char ascii, Qt.KeyboardModifiers modifier, int delay) -
keyPress
Overloaded function for
keyPress(io.qt.widgets.QWidget, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyPress
Overloaded function for
keyPress(io.qt.widgets.QWidget, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyPress
-
keyPress
Overloaded function for
keyPress(io.qt.widgets.QWidget, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyPress
Overloaded function for
keyPress(io.qt.widgets.QWidget, char, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyPress
-
keyPress
Overloaded function for
keyPress(io.qt.gui.QWindow, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyPress
Overloaded function for
keyPress(io.qt.gui.QWindow, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyPress
-
keyPress
Overloaded function for
keyPress(io.qt.gui.QWindow, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyPress
Overloaded function for
keyPress(io.qt.gui.QWindow, char, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyPress
-
keyRelease
Overloaded function for
keyRelease(io.qt.widgets.QWidget, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyRelease
Overloaded function for
keyRelease(io.qt.widgets.QWidget, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyRelease
-
keyRelease
Overloaded function for
keyRelease(io.qt.widgets.QWidget, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyRelease
Overloaded function for
keyRelease(io.qt.widgets.QWidget, char, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyRelease
-
keyRelease
Overloaded function for
keyRelease(io.qt.gui.QWindow, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyRelease
Overloaded function for
keyRelease(io.qt.gui.QWindow, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyRelease
-
keyRelease
Overloaded function for
keyRelease(io.qt.gui.QWindow, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
keyRelease
Overloaded function for
keyRelease(io.qt.gui.QWindow, char, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifier = new io.qt.core.Qt.KeyboardModifiers(0)
delay = -1
-
keyRelease
-
keySequence
-
keySequence
-
keyToAscii
See
QTest::
keyToAscii(Qt::Key) -
mouseClick
public static void mouseClick(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function for
mouseClick(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
. -
mouseClick
Overloaded function for
mouseClick(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
pos = new io.qt.core.QPoint()
delay = -1
-
mouseClick
Overloaded function for
mouseClick(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
stateKey = new io.qt.core.Qt.KeyboardModifiers(0)
pos = new io.qt.core.QPoint()
delay = -1
-
mouseClick
public static void mouseClick(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) -
mouseClick
public static void mouseClick(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function for
mouseClick(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
. -
mouseClick
Overloaded function for
mouseClick(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
pos = new io.qt.core.QPoint()
delay = -1
-
mouseClick
Overloaded function for
mouseClick(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
stateKey = new io.qt.core.Qt.KeyboardModifiers(0)
pos = new io.qt.core.QPoint()
delay = -1
-
mouseClick
public static void mouseClick(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) -
mouseDClick
public static void mouseDClick(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function for
mouseDClick(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
. -
mouseDClick
public static void mouseDClick(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) Overloaded function for
mouseDClick(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
pos = new io.qt.core.QPoint()
delay = -1
-
mouseDClick
Overloaded function for
mouseDClick(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
stateKey = new io.qt.core.Qt.KeyboardModifiers(0)
pos = new io.qt.core.QPoint()
delay = -1
-
mouseDClick
public static void mouseDClick(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) -
mouseDClick
public static void mouseDClick(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function for
mouseDClick(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
. -
mouseDClick
public static void mouseDClick(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) Overloaded function for
mouseDClick(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
pos = new io.qt.core.QPoint()
delay = -1
-
mouseDClick
Overloaded function for
mouseDClick(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
stateKey = new io.qt.core.Qt.KeyboardModifiers(0)
pos = new io.qt.core.QPoint()
delay = -1
-
mouseDClick
public static void mouseDClick(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) -
mouseEvent
public static void mouseEvent(QTest.MouseAction action, QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function for
mouseEvent(io.qt.test.QTest.MouseAction, io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
. -
mouseEvent
public static void mouseEvent(QTest.MouseAction action, QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) See
QTest::
mouseEvent(QTest::MouseAction, QWidget*, Qt::MouseButton, Qt::KeyboardModifiers, QPoint, int) -
mouseEvent
public static void mouseEvent(QTest.MouseAction action, QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function for
mouseEvent(io.qt.test.QTest.MouseAction, io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
. -
mouseEvent
public static void mouseEvent(QTest.MouseAction action, QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) See
QTest::
mouseEvent(QTest::MouseAction, QWindow*, Qt::MouseButton, Qt::KeyboardModifiers, QPoint, int) -
mouseMove
Overloaded function for
mouseMove(io.qt.widgets.QWidget, io.qt.core.QPoint, int)
withdelay = -1
. -
mouseMove
Overloaded function for
mouseMove(io.qt.widgets.QWidget, io.qt.core.QPoint, int)
with:
pos = new io.qt.core.QPoint()
delay = -1
-
mouseMove
-
mouseMove
Overloaded function for
mouseMove(io.qt.gui.QWindow, io.qt.core.QPoint, int)
withdelay = -1
. -
mouseMove
Overloaded function for
mouseMove(io.qt.gui.QWindow, io.qt.core.QPoint, int)
with:
pos = new io.qt.core.QPoint()
delay = -1
-
mouseMove
-
mousePress
public static void mousePress(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function for
mousePress(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
. -
mousePress
Overloaded function for
mousePress(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
pos = new io.qt.core.QPoint()
delay = -1
-
mousePress
Overloaded function for
mousePress(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
stateKey = new io.qt.core.Qt.KeyboardModifiers(0)
pos = new io.qt.core.QPoint()
delay = -1
-
mousePress
public static void mousePress(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) -
mousePress
public static void mousePress(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function for
mousePress(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
. -
mousePress
Overloaded function for
mousePress(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
pos = new io.qt.core.QPoint()
delay = -1
-
mousePress
Overloaded function for
mousePress(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
stateKey = new io.qt.core.Qt.KeyboardModifiers(0)
pos = new io.qt.core.QPoint()
delay = -1
-
mousePress
public static void mousePress(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) -
mouseRelease
public static void mouseRelease(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function for
mouseRelease(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
. -
mouseRelease
public static void mouseRelease(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) Overloaded function for
mouseRelease(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
pos = new io.qt.core.QPoint()
delay = -1
-
mouseRelease
Overloaded function for
mouseRelease(io.qt.widgets.QWidget, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
stateKey = new io.qt.core.Qt.KeyboardModifiers(0)
pos = new io.qt.core.QPoint()
delay = -1
-
mouseRelease
public static void mouseRelease(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) -
mouseRelease
public static void mouseRelease(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function for
mouseRelease(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
. -
mouseRelease
public static void mouseRelease(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey) Overloaded function for
mouseRelease(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
pos = new io.qt.core.QPoint()
delay = -1
-
mouseRelease
Overloaded function for
mouseRelease(io.qt.gui.QWindow, io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
stateKey = new io.qt.core.Qt.KeyboardModifiers(0)
pos = new io.qt.core.QPoint()
delay = -1
-
mouseRelease
public static void mouseRelease(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) -
qCleanup
public static void qCleanup()See
QTest::
qCleanup() -
qCompare
public static boolean qCompare(String t1, String t2, String actual, String expected, String file, int line) See
QTest::
qCompare(QStringView, QStringView, const char*, const char*, const char*, int) -
qCompare
public static boolean qCompare(QIcon t1, QIcon t2, String actual, String expected, String file, int line) See
QTest::
qCompare(QIcon, QIcon, const char*, const char*, const char*, int) -
qCompare
public static boolean qCompare(QImage t1, QImage t2, String actual, String expected, String file, int line) See
QTest::
qCompare(QImage, QImage, const char*, const char*, const char*, int) -
qCompare
public static <T> boolean qCompare(QList<T> t1, QList<T> t2, String actual, String expected, String file, int line) See
QTest::
qCompare(QList<T>, QList<T>, const char*, const char*, const char*, int) -
qCompare
public static boolean qCompare(QPixmap t1, QPixmap t2, String actual, String expected, String file, int line) See
QTest::
qCompare(QPixmap, QPixmap, const char*, const char*, const char*, int) -
qCompare
public static boolean qCompare(Collection<String> t1, Collection<String> t2, String actual, String expected, String file, int line) See
QTest::
qCompare(QStringList, QStringList, const char*, const char*, const char*, int) -
qCompare
public static boolean qCompare(double t1, double t2, String actual, String expected, String file, int line) See
QTest::
qCompare(double, double, const char*, const char*, const char*, int) -
qCompare
public static boolean qCompare(double t1, float t2, String actual, String expected, String file, int line) See
QTest::
qCompare(double, float, const char*, const char*, const char*, int) -
qCompare
public static boolean qCompare(float t1, double t2, String actual, String expected, String file, int line) See
QTest::
qCompare(float, double, const char*, const char*, const char*, int) -
qCompare
public static boolean qCompare(float t1, float t2, String actual, String expected, String file, int line) See
QTest::
qCompare(float, float, const char*, const char*, const char*, int) -
qCompare
public static boolean qCompare(int t1, long t2, String actual, String expected, String file, int line) See
QTest::
qCompare(qint32, qint64, const char*, const char*, const char*, int) -
qCompare
public static boolean qCompare(long t1, int t2, String actual, String expected, String file, int line) See
QTest::
qCompare(qint64, qint32, const char*, const char*, const char*, int) -
qCompare
public static boolean qCompare(int t1, int t2, String actual, String expected, String file, int line) See
QTest::
qCompare(int, int, const char*, const char*, const char*, int) -
qData
See
QTest::
qData(const char*, int) -
qElementData
See
QTest::
qElementData(const char*, int) -
qExec
-
qExec
-
qExpectFail
public static boolean qExpectFail(String dataIndex, String comment, QTest.TestFailMode mode, String file, int line) See
QTest::
qExpectFail(const char*, const char*, QTest::TestFailMode, const char*, int) -
qExtractTestData
-
qFail
See
QTest::
qFail(const char*, const char*, int) -
qFindTestData
Overloaded function for
qFindTestData(java.lang.String, java.lang.String, int, java.lang.String)
withbuilddir = null
. -
qFindTestData
Overloaded function for
qFindTestData(java.lang.String, java.lang.String, int, java.lang.String)
with:
line = 0
builddir = null
-
qFindTestData
Overloaded function for
qFindTestData(java.lang.String, java.lang.String, int, java.lang.String)
with:
file = null
line = 0
builddir = null
-
qFindTestData
See
QTest::
qFindTestData(QString, const char*, int, const char*) -
qGlobalData
See
QTest::
qGlobalData(const char*, int) -
qInit
See
QTest::
qInit(QObject*, int, char**) -
qRun
public static int qRun()See
QTest::
qRun() -
qSkip
See
QTest::
qSkip(const char*, const char*, int) -
qSleep
public static void qSleep(int ms) -
qVerify
public static boolean qVerify(boolean statement, String statementStr, String description, String file, int line) See
QTest::
qVerify(bool, const char*, const char*, const char*, int) -
qWait
public static void qWait(int ms) -
qWaitFor
Overloaded function for
qWaitFor(java.util.function.BooleanSupplier, int)
withtimeout = 5000
. -
qWaitFor
-
qWaitForWindowActive
Overloaded function for
qWaitForWindowActive(io.qt.widgets.QWidget, int)
withtimeout = 5000
. -
qWaitForWindowActive
-
qWaitForWindowActive
Overloaded function for
qWaitForWindowActive(io.qt.gui.QWindow, int)
withtimeout = 5000
. -
qWaitForWindowActive
-
qWaitForWindowExposed
Overloaded function for
qWaitForWindowExposed(io.qt.widgets.QWidget, int)
withtimeout = 5000
. -
qWaitForWindowExposed
-
qWaitForWindowExposed
Overloaded function for
qWaitForWindowExposed(io.qt.gui.QWindow, int)
withtimeout = 5000
. -
qWaitForWindowExposed
-
qWarn
Overloaded function for
qWarn(java.lang.String, java.lang.String, int)
withline = 0
. -
qWarn
-
qWarn
See
QTest::
qWarn(const char*, const char*, int) -
qt_handleKeyEvent
public static void qt_handleKeyEvent(QWindow w, QEvent.Type t, int k, Qt.KeyboardModifiers mods, String text, boolean autorep) Overloaded function for
qt_handleKeyEvent(io.qt.gui.QWindow, io.qt.core.QEvent.Type, int, io.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, short)
withcount = 1
. -
qt_handleKeyEvent
public static void qt_handleKeyEvent(QWindow w, QEvent.Type t, int k, Qt.KeyboardModifiers mods, String text) Overloaded function for
qt_handleKeyEvent(io.qt.gui.QWindow, io.qt.core.QEvent.Type, int, io.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, short)
with:
autorep = false
count = 1
-
qt_handleKeyEvent
Overloaded function for
qt_handleKeyEvent(io.qt.gui.QWindow, io.qt.core.QEvent.Type, int, io.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, short)
with:
text = (String)null
autorep = false
count = 1
-
qt_handleKeyEvent
public static void qt_handleKeyEvent(QWindow w, QEvent.Type t, int k, Qt.KeyboardModifiers mods, String text, boolean autorep, short count) See
qt_handleKeyEvent(QWindow*,
QEvent::Type, int, Qt::KeyboardModifiers, QString, bool, ushort) -
qt_handleMouseEvent
public static void qt_handleMouseEvent(QWindow window, QPointF local, QPointF global, Qt.MouseButtons state, Qt.MouseButton button, QEvent.Type type, Qt.KeyboardModifiers mods, int timestamp) See
qt_handleMouseEvent(QWindow*,
QPointF, QPointF, Qt::MouseButtons, Qt::MouseButton, QEvent::Type, Qt::KeyboardModifiers, int) -
qt_sendShortcutOverrideEvent
public static boolean qt_sendShortcutOverrideEvent(QObject o, int timestamp, int k, Qt.KeyboardModifiers mods, String text, boolean autorep) Overloaded function for
qt_sendShortcutOverrideEvent(io.qt.core.QObject, int, int, io.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, short)
withcount = 1
. -
qt_sendShortcutOverrideEvent
public static boolean qt_sendShortcutOverrideEvent(QObject o, int timestamp, int k, Qt.KeyboardModifiers mods, String text) Overloaded function for
qt_sendShortcutOverrideEvent(io.qt.core.QObject, int, int, io.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, short)
with:
autorep = false
count = 1
-
qt_sendShortcutOverrideEvent
public static boolean qt_sendShortcutOverrideEvent(QObject o, int timestamp, int k, Qt.KeyboardModifiers mods) Overloaded function for
qt_sendShortcutOverrideEvent(io.qt.core.QObject, int, int, io.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, short)
with:
text = (String)null
autorep = false
count = 1
-
qt_sendShortcutOverrideEvent
public static boolean qt_sendShortcutOverrideEvent(QObject o, int timestamp, int k, Qt.KeyboardModifiers mods, String text, boolean autorep, short count) See
qt_sendShortcutOverrideEvent(QObject*,
ulong, int, Qt::KeyboardModifiers, QString, bool, ushort) -
sendKeyEvent
public static void sendKeyEvent(QTest.KeyAction action, QWidget widget, Qt.Key code, String text, Qt.KeyboardModifiers modifier) Overloaded function for
sendKeyEvent(io.qt.test.QTest.KeyAction, io.qt.widgets.QWidget, io.qt.core.Qt.Key, java.lang.String, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
sendKeyEvent
public static void sendKeyEvent(QTest.KeyAction action, QWidget widget, Qt.Key code, String text, Qt.KeyboardModifiers modifier, int delay) See
QTest::
sendKeyEvent(QTest::KeyAction, QWidget*, Qt::Key, QString, Qt::KeyboardModifiers, int) -
sendKeyEvent
public static void sendKeyEvent(QTest.KeyAction action, QWidget widget, Qt.Key code, char ascii, Qt.KeyboardModifiers modifier) Overloaded function for
sendKeyEvent(io.qt.test.QTest.KeyAction, io.qt.widgets.QWidget, io.qt.core.Qt.Key, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
sendKeyEvent
public static void sendKeyEvent(QTest.KeyAction action, QWidget widget, Qt.Key code, char ascii, Qt.KeyboardModifiers modifier, int delay) See
QTest::
sendKeyEvent(QTest::KeyAction, QWidget*, Qt::Key, char, Qt::KeyboardModifiers, int) -
sendKeyEvent
public static void sendKeyEvent(QTest.KeyAction action, QWindow window, Qt.Key code, String text, Qt.KeyboardModifiers modifier) Overloaded function for
sendKeyEvent(io.qt.test.QTest.KeyAction, io.qt.gui.QWindow, io.qt.core.Qt.Key, java.lang.String, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
sendKeyEvent
public static void sendKeyEvent(QTest.KeyAction action, QWindow window, Qt.Key code, String text, Qt.KeyboardModifiers modifier, int delay) See
QTest::
sendKeyEvent(QTest::KeyAction, QWindow*, Qt::Key, QString, Qt::KeyboardModifiers, int) -
sendKeyEvent
public static void sendKeyEvent(QTest.KeyAction action, QWindow window, Qt.Key code, char ascii, Qt.KeyboardModifiers modifier) Overloaded function for
sendKeyEvent(io.qt.test.QTest.KeyAction, io.qt.gui.QWindow, io.qt.core.Qt.Key, char, io.qt.core.Qt.KeyboardModifiers, int)
withdelay = -1
. -
sendKeyEvent
public static void sendKeyEvent(QTest.KeyAction action, QWindow window, Qt.Key code, char ascii, Qt.KeyboardModifiers modifier, int delay) See
QTest::
sendKeyEvent(QTest::KeyAction, QWindow*, Qt::Key, char, Qt::KeyboardModifiers, int) -
setBenchmarkResult
-
setMainSourcePath
Overloaded function for
setMainSourcePath(java.lang.String, java.lang.String)
withbuilddir = null
. -
setMainSourcePath
See
QTest::
setMainSourcePath(const char*, const char*) -
simulateEvent
public static void simulateEvent(QWidget widget, boolean press, int code, Qt.KeyboardModifiers modifier, String text, boolean repeat) Overloaded function for
simulateEvent(io.qt.widgets.QWidget, boolean, int, io.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, int)
withdelay = -1
. -
simulateEvent
public static void simulateEvent(QWidget widget, boolean press, int code, Qt.KeyboardModifiers modifier, String text, boolean repeat, int delay) See
QTest::
simulateEvent(QWidget*, bool, int, Qt::KeyboardModifiers, QString, bool, int) -
simulateEvent
public static void simulateEvent(QWindow window, boolean press, int code, Qt.KeyboardModifiers modifier, String text, boolean repeat) Overloaded function for
simulateEvent(io.qt.gui.QWindow, boolean, int, io.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, int)
withdelay = -1
. -
simulateEvent
public static void simulateEvent(QWindow window, boolean press, int code, Qt.KeyboardModifiers modifier, String text, boolean repeat, int delay) See
QTest::
simulateEvent(QWindow*, bool, int, Qt::KeyboardModifiers, QString, bool, int) -
testObject
See
QTest::
testObject() -
setLastMouseButton
See
QTest::
lastMouseButton -
getLastMouseButton
Kotlin property getter. In Java use
lastMouseButton()
instead. -
lastMouseButton
See
QTest::
lastMouseButton -
setLastMouseTimestamp
public static void setLastMouseTimestamp(int lastMouseTimestamp) See
QTest::
lastMouseTimestamp -
getLastMouseTimestamp
public static int getLastMouseTimestamp()Kotlin property getter. In Java use
lastMouseTimestamp()
instead. -
lastMouseTimestamp
public static int lastMouseTimestamp()See
QTest::
lastMouseTimestamp -
QBENCHMARK
See
QBENCHMARK
-
QBENCHMARK_ONCE
See
QBENCHMARK_ONCE
-
qCompare
@QtUninvokable public static <T extends Comparable<T>> boolean qCompare(T t1, T t2, String actual, String expected, String file, int line) -
qCompare
@QtUninvokable public static <T> boolean qCompare(T t1, T t2, String actual, String expected, String file, int line) -
QCOMPARE
@QtUninvokable public static <T extends Comparable<T>> void QCOMPARE(T t1, T t2) throws AssertionError - Throws:
AssertionError
-
QCOMPARE
- Throws:
AssertionError
-
QCOMPARE
- Throws:
AssertionError
-
QCOMPARE
- Throws:
AssertionError
-
QCOMPARE
- Throws:
AssertionError
-
QCOMPARE
- Throws:
AssertionError
-
QCOMPARE
- Throws:
AssertionError
-
QCOMPARE
- Throws:
AssertionError
-
QCOMPARE
- Throws:
AssertionError
-
QCOMPARE
- Throws:
AssertionError
-
QCOMPARE
- Throws:
AssertionError
-
QEXPECT_FAIL
@QtUninvokable public static void QEXPECT_FAIL(String dataIndex, String comment, QTest.TestFailMode mode) throws AssertionError - Throws:
AssertionError
-
QFAIL
See
QFAIL(message)
- Throws:
AssertionError
-
QFETCH
Deprecated.UseQFETCH(String, Class, io.qt.core.QMetaType...)
instead. -
QFETCH_GLOBAL
Deprecated. -
QFETCH
-
QFETCH_GLOBAL
@QtUninvokable public static <T> T QFETCH_GLOBAL(String name, Class<T> type, QMetaType... instantiations) -
QFINDTESTDATA
-
QFINDTESTDATA
-
QSKIP
-
qTest
@QtUninvokable public static <T> boolean qTest(T actual, String elementName, String actualStr, String expected, String file, int line) -
QTEST
- Throws:
AssertionError
-
qExec
-
QTRY_COMPARE_WITH_TIMEOUT
@QtUninvokable public static <T extends Comparable<T>> void QTRY_COMPARE_WITH_TIMEOUT(T t1, T t2, int timeout) throws AssertionError - Throws:
AssertionError
-
QTRY_COMPARE
@QtUninvokable public static <T extends Comparable<T>> void QTRY_COMPARE(T t1, T t2) throws AssertionError - Throws:
AssertionError
-
QTRY_COMPARE_WITH_TIMEOUT
@QtUninvokable public static <T> void QTRY_COMPARE_WITH_TIMEOUT(T t1, T t2, int timeout) throws AssertionError - Throws:
AssertionError
-
QTRY_COMPARE
- Throws:
AssertionError
-
QTRY_VERIFY_WITH_TIMEOUT
@QtUninvokable public static void QTRY_VERIFY_WITH_TIMEOUT(BooleanSupplier expr, int timeout) throws AssertionError - Throws:
AssertionError
-
QTRY_VERIFY_WITH_TIMEOUT
@QtUninvokable public static void QTRY_VERIFY_WITH_TIMEOUT(BooleanSupplier expr, String messageExpression, int timeout) throws AssertionError - Throws:
AssertionError
-
QVERIFY
- Throws:
AssertionError
-
QVERIFY
@QtUninvokable public static void QVERIFY(BooleanSupplier statement, String description) throws AssertionError - Throws:
AssertionError
-
QWARN
See
QTest
-
QEXTRACTTESTDATA
See
QTest
-
addColumn
Deprecated.UseaddColumn(String, Class, QMetaType...)
instead. -
QTEST_MAIN
Place this macro-like method in the main method of the test class. -
QTEST_WIDGETLESS_MAIN
Place this macro-like method in the main method of the test class. -
QTEST_GUILESS_MAIN
Place this macro-like method in the main method of the test class. -
QTEST_APPLESS_MAIN
Place this macro-like method in the main method of the test class. -
touchEvent
@QtUninvokable public static QTest.QTouchEventSequence touchEvent(QWindow window, QTouchDevice device) -
touchEvent
@QtUninvokable public static QTest.QTouchEventSequence touchEvent(QWindow window, QTouchDevice device, boolean autoCommit) -
touchEvent
@QtUninvokable public static QTest.QTouchEventSequence touchEvent(QWidget window, QTouchDevice device) -
touchEvent
@QtUninvokable public static QTest.QTouchEventSequence touchEvent(QWidget window, QTouchDevice device, boolean autoCommit)
-
QFETCH(String, Class, io.qt.core.QMetaType...)
instead.