Contains all the functions and declarations that are related to Qt Test
Java wrapper for Qt's namespace QTest
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QTest::KeyActionstatic enum
Java wrapper for Qt enum QTest::MouseActionstatic class
Java wrapper for Qt class QTest::QBenchmarkIterationControllerstatic enum
Java wrapper for Qt enum QTest::QBenchmarkMetricstatic class
Used to simulate a sequence of touch eventsstatic final class
Java wrapper for Qt class QTest::QTouchEventWidgetSequencestatic enum
Java wrapper for Qt enum QTest::TestFailMode -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Deprecated.static <T> void
static void
addColumnInternal
(int id, String name) static Qt.Key
asciiToKey
(char ascii) static boolean
compare_helper
(boolean success, String failureMsg, String val1, String val2, String actual, String expected, String file, int line) static QPointingDevice
Overloaded function forcreateTouchDevice(io.qt.gui.QInputDevice.DeviceType, io.qt.gui.QInputDevice.Capabilities)
static QPointingDevice
createTouchDevice
(QInputDevice.DeviceType devType) Overloaded function forcreateTouchDevice(io.qt.gui.QInputDevice.DeviceType, io.qt.gui.QInputDevice.Capabilities)
withcaps = new io.qt.gui.QInputDevice.Capabilities(1)
.static QPointingDevice
createTouchDevice
(QInputDevice.DeviceType devType, QInputDevice.Capabilities caps) static QPointingDevice
createTouchDevice
(QInputDevice.DeviceType devType, QInputDevice.Capability... caps) Overloaded function forcreateTouchDevice(io.qt.gui.QInputDevice.DeviceType, io.qt.gui.QInputDevice.Capabilities)
.static String
static String
static boolean
static String
static void
failOnWarning
(QRegularExpression messagePattern) static void
failOnWarning
(String message) 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) static int
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) 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) 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) See QBENCHMARKstatic void
QBENCHMARK_ONCE
(Runnable runnable) See QBENCHMARK_ONCEstatic void
static void
qCleanup()
static boolean
static boolean
static boolean
static boolean
static boolean
static <T> boolean
static boolean
static boolean
static boolean
static boolean
static boolean
qCompare
(Collection<String> t1, Collection<String> t2, String actual, String expected, String file, int line) 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
static Object
qElementData
(String elementName, int metaTypeId) static int
static int
static int
qExec
(QObject testObject, Collection<String> arguments) 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) static QTemporaryDir
qExtractTestData
(String dirName) static QTemporaryDir
QEXTRACTTESTDATA
(String resourcePath) See QTeststatic void
static void
See QFAIL(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, java.lang.String)
static String
qFindTestData
(String basepath, String file) Overloaded function forqFindTestData(java.lang.String, java.lang.String, int, java.lang.String, 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, java.lang.String)
static String
qFindTestData
(String basepath, String file, int line, String builddir) Overloaded function forqFindTestData(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String)
withsourcedir = null
.static String
qFindTestData
(String basepath, String file, int line, String builddir, String sourcedir) static String
QFINDTESTDATA
(String basepath) static String
QFINDTESTDATA
(String basepath, String builddir) static String
QFINDTESTDATA
(String basepath, String builddir, String sourcedir) static Object
qGlobalData
(String tagName, int typeId) static void
static int
qRun()
static void
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) static void
qt_handleMouseEvent
(QWindow window, QPointF local, QPointF global, Qt.MouseButtons state, Qt.MouseButton button, QEvent.Type type, Qt.KeyboardModifiers mods, int timestamp) 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) 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
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
Deprecated.Use qWarning() insteadstatic void
Deprecated.Use qWarning() insteadstatic void
Deprecated.Use qWarning() insteadstatic void
See QTeststatic 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) 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) 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) 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) static void
setBenchmarkResult
(double result, QTest.QBenchmarkMetric metric) static void
setLastMouseTimestamp
(int lastMouseTimestamp) static void
setMainSourcePath
(String file) Overloaded function forsetMainSourcePath(java.lang.String, java.lang.String)
withbuilddir = null
.static void
setMainSourcePath
(String file, String builddir) 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) 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) static QObject
static QTest.QTouchEventSequence
touchEvent
(QWindow window, QPointingDevice device) static QTest.QTouchEventSequence
touchEvent
(QWindow window, QPointingDevice device, boolean autoCommit) touchEvent
(QWidget window, QPointingDevice device) touchEvent
(QWidget window, QPointingDevice device, boolean autoCommit) static void
Deprecated.Don't use QVERIFY_EXCEPTION_THROWN(expr, type) anymore, use QVERIFY_THROWS_EXCEPTION(type, expr...) instead
-
Field Details
-
mouseDoubleClickInterval
public static final int mouseDoubleClickInterval
-
-
Method Details
-
addColumn
-
addColumnInternal
-
asciiToKey
-
compare_helper
-
createTouchDevice
public static QPointingDevice createTouchDevice(QInputDevice.DeviceType devType, QInputDevice.Capability... caps) Overloaded function for
createTouchDevice(io.qt.gui.QInputDevice.DeviceType, io.qt.gui.QInputDevice.Capabilities)
. -
createTouchDevice
Overloaded function for
createTouchDevice(io.qt.gui.QInputDevice.DeviceType, io.qt.gui.QInputDevice.Capabilities)
withcaps = new io.qt.gui.QInputDevice.Capabilities(1)
. -
createTouchDevice
Overloaded function for
createTouchDevice(io.qt.gui.QInputDevice.DeviceType, io.qt.gui.QInputDevice.Capabilities)
with:
devType = io.qt.gui.QInputDevice.DeviceType.TouchScreen
caps = new io.qt.gui.QInputDevice.Capabilities(1)
-
createTouchDevice
public static QPointingDevice createTouchDevice(QInputDevice.DeviceType devType, QInputDevice.Capabilities caps) -
currentAppName
-
currentDataTag
-
currentTestFailed
public static boolean currentTestFailed() -
currentTestFunction
-
failOnWarning
-
failOnWarning
-
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
-
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) -
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) -
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) -
qCaught
-
qCleanup
public static void qCleanup() -
qCompare
-
qCompare
-
qCompare
-
qCompare
public static boolean qCompare(Collection<String> t1, Collection<String> t2, String actual, String expected, String file, int line) -
qCompare
-
qCompare
-
qCompare
-
qCompare
-
qCompare
-
qCompare
-
qCompare
-
qData
-
qElementData
-
qExec
-
qExec
-
qExpectFail
public static boolean qExpectFail(String dataIndex, String comment, QTest.TestFailMode mode, String file, int line) -
qExtractTestData
-
qFail
-
qFindTestData
Overloaded function for
qFindTestData(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String)
withsourcedir = null
. -
qFindTestData
Overloaded function for
qFindTestData(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String)
with:
builddir = null
sourcedir = null
-
qFindTestData
Overloaded function for
qFindTestData(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String)
with:
line = 0
builddir = null
sourcedir = null
-
qFindTestData
Overloaded function for
qFindTestData(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String)
with:
file = null
line = 0
builddir = null
sourcedir = null
-
qFindTestData
-
qGlobalData
-
qInit
-
qRun
public static int qRun() -
qSkip
-
qSleep
public static void qSleep(int ms) -
qVerify
-
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
Deprecated.Use qWarning() insteadOverloaded function for
qWarn(java.lang.String, java.lang.String, int)
withline = 0
. -
qWarn
Deprecated.Use qWarning() instead -
qWarn
Deprecated.Use qWarning() instead -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
setBenchmarkResult
-
setMainSourcePath
Overloaded function for
setMainSourcePath(java.lang.String, java.lang.String)
withbuilddir = null
. -
setMainSourcePath
-
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) -
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) -
testObject
-
useVerifyThrowsException
Deprecated.Don't use QVERIFY_EXCEPTION_THROWN(expr, type) anymore, use QVERIFY_THROWS_EXCEPTION(type, expr...) instead -
setLastMouseTimestamp
public static void setLastMouseTimestamp(int lastMouseTimestamp) -
lastMouseTimestamp
public static int 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, QPointingDevice device) -
touchEvent
@QtUninvokable public static QTest.QTouchEventSequence touchEvent(QWindow window, QPointingDevice device, boolean autoCommit) -
touchEvent
@QtUninvokable public static QTest.QTouchEventWidgetSequence touchEvent(QWidget window, QPointingDevice device) -
touchEvent
@QtUninvokable public static QTest.QTouchEventWidgetSequence touchEvent(QWidget window, QPointingDevice device, boolean autoCommit) -
QFINDTESTDATA
@QtUninvokable public static String QFINDTESTDATA(String basepath, String builddir, String sourcedir)
-
QFETCH(String, Class, io.qt.core.QMetaType...)
instead.