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::ComparisonOperation
static 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 class
Used to simulate a sequence of touch eventsstatic final class
Java wrapper for Qt classQTest::QTouchEventWidgetSequence
static 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 actual, String expected, String file, int line) SeeQTest::
compare_helper(bool, const char*, const char*, const char*, const char*, int) static boolean
compare_helper
(boolean success, String failureMsg, String actualVal, String expectedVal, String actual, String expected, String file, int line) SeeQTest::
compare_helper(bool, const char*, char*, char*, const char*, const char*, const char*, int) static boolean
compare_helper
(boolean success, String failureMsg, Supplier<String> actualVal, Supplier<String> expectedVal, String actual, String expected, String file, int line) SeeQTest::
compare_helper(bool, const char*, qxp::function_ref<const char*()>, qxp::function_ref<const char*()>, const char*, const char*, const char*, int) 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 boolean
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, int keySequence) Overloaded function forkeySequence(io.qt.gui.QWindow, io.qt.gui.QKeySequence)
.static void
keySequence
(QWindow window, QKeyCombination keySequence) Overloaded function forkeySequence(io.qt.gui.QWindow, io.qt.gui.QKeySequence)
.static void
keySequence
(QWindow window, QKeySequence keySequence) static void
keySequence
(QWindow window, QKeySequence.StandardKey keySequence) Overloaded function forkeySequence(io.qt.gui.QWindow, io.qt.gui.QKeySequence)
.static void
keySequence
(QWindow window, String keySequence) Overloaded function forkeySequence(io.qt.gui.QWindow, io.qt.gui.QKeySequence)
.static void
keySequence
(QWidget widget, int keySequence) Overloaded function forkeySequence(io.qt.widgets.QWidget, io.qt.gui.QKeySequence)
.static void
keySequence
(QWidget widget, QKeyCombination keySequence) Overloaded function forkeySequence(io.qt.widgets.QWidget, io.qt.gui.QKeySequence)
.static void
keySequence
(QWidget widget, QKeySequence keySequence) static void
keySequence
(QWidget widget, QKeySequence.StandardKey keySequence) Overloaded function forkeySequence(io.qt.widgets.QWidget, io.qt.gui.QKeySequence)
.static void
keySequence
(QWidget widget, String keySequence) Overloaded function forkeySequence(io.qt.widgets.QWidget, io.qt.gui.QKeySequence)
.static byte
keyToAscii
(Qt.Key key) SeeQTest::
keyToAscii(Qt::Key) 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
SeeQTest::
qCaught(const char*, const char*, const char*, int) 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<T>(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
static boolean
SeeQTest::
qCompare(QImage, QImage, const char*, const char*, const char*, int) static boolean
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<T>(QList<T>, QList<T>, 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 void
QCOMPARE_EQ
(double lhs, double rhs) SeeQCOMPARE_EQ
static void
QCOMPARE_EQ
(int lhs, int rhs) SeeQCOMPARE_EQ
static void
QCOMPARE_EQ
(long lhs, long rhs) SeeQCOMPARE_EQ
static <T> void
QCOMPARE_EQ
(T lhs, T rhs) SeeQCOMPARE_EQ
static void
QCOMPARE_GE
(double lhs, double rhs) SeeQCOMPARE_GE
static void
QCOMPARE_GE
(int lhs, int rhs) SeeQCOMPARE_GE
static void
QCOMPARE_GE
(long lhs, long rhs) SeeQCOMPARE_GE
static <T extends Comparable<T>>
voidQCOMPARE_GE
(T lhs, T rhs) SeeQCOMPARE_GE
static void
QCOMPARE_GT
(double lhs, double rhs) SeeQCOMPARE_GT
static void
QCOMPARE_GT
(int lhs, int rhs) SeeQCOMPARE_GT
static void
QCOMPARE_GT
(long lhs, long rhs) SeeQCOMPARE_GT
static <T extends Comparable<T>>
voidQCOMPARE_GT
(T lhs, T rhs) SeeQCOMPARE_GT
static void
QCOMPARE_LE
(double lhs, double rhs) SeeQCOMPARE_LE
static void
QCOMPARE_LE
(int lhs, int rhs) SeeQCOMPARE_LE
static void
QCOMPARE_LE
(long lhs, long rhs) SeeQCOMPARE_LE
static <T extends Comparable<T>>
voidQCOMPARE_LE
(T lhs, T rhs) SeeQCOMPARE_LE
static void
QCOMPARE_LT
(double lhs, double rhs) SeeQCOMPARE_LT
static void
QCOMPARE_LT
(int lhs, int rhs) SeeQCOMPARE_LT
static void
QCOMPARE_LT
(long lhs, long rhs) SeeQCOMPARE_LT
static <T extends Comparable<T>>
voidQCOMPARE_LT
(T lhs, T rhs) SeeQCOMPARE_LT
static void
QCOMPARE_NE
(double lhs, double rhs) SeeQCOMPARE_NE
static void
QCOMPARE_NE
(int lhs, int rhs) SeeQCOMPARE_NE
static void
QCOMPARE_NE
(long lhs, long rhs) SeeQCOMPARE_NE
static <T> void
QCOMPARE_NE
(T lhs, T rhs) SeeQCOMPARE_NE
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, 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) SeeQTest::
qFindTestData(QString, const char*, int, const char*, const char*) 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) 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 void
qt_handleMouseEvent
(QWindow window, QPointF local, QPoint global, Qt.MouseButtons state, Qt.MouseButton button, QEvent.Type type, Qt.KeyboardModifiers mods, int timestamp) static void
qt_handleMouseEvent
(QWindow window, QPoint local, QPointF global, Qt.MouseButtons state, Qt.MouseButton button, QEvent.Type type, Qt.KeyboardModifiers mods, int timestamp) static void
qt_handleMouseEvent
(QWindow window, QPoint local, QPoint global, Qt.MouseButtons state, Qt.MouseButton button, QEvent.Type type, Qt.KeyboardModifiers mods, int timestamp) static boolean
qt_handleTouchEventv2
(QWindow w, QPointingDevice device, Collection<? extends QEventPoint> points) Overloaded function forqt_handleTouchEventv2(io.qt.gui.QWindow, io.qt.gui.QPointingDevice, java.util.Collection, io.qt.core.Qt.KeyboardModifiers)
withmods = new io.qt.core.Qt.KeyboardModifiers(0)
.static boolean
qt_handleTouchEventv2
(QWindow w, QPointingDevice device, Collection<? extends QEventPoint> points, Qt.KeyboardModifier ... mods) static boolean
qt_handleTouchEventv2
(QWindow w, QPointingDevice device, Collection<? extends QEventPoint> points, Qt.KeyboardModifiers mods) Seeqt_handleTouchEventv2(QWindow*,
const QPointingDevice*, QList<QEventPoint>, Qt::KeyboardModifiers) 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 boolean
reportResult
(boolean success, Supplier<String> lhs, Supplier<String> rhs, String lhsExpr, String rhsExpr, QTest.ComparisonOperation op, String file, int line) SeeQTest::
reportResult(bool, qxp::function_ref<const char*()>, qxp::function_ref<const char*()>, const char*, const char*, QTest::ComparisonOperation, const char*, int) static boolean
SeeQTest::
runningTest() 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
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, 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 mouseDoubleClickIntervalSee
QTest::
mouseDoubleClickInterval
-
-
Method Details
-
addColumn
- Parameters:
name
-type
-instantiations
-
-
addColumnInternal
See
QTest::
addColumnInternal(int, const char*) - Parameters:
id
-name
-
-
asciiToKey
See
QTest::
asciiToKey(char) - Parameters:
ascii
-- Returns:
-
compare_helper
public static boolean compare_helper(boolean success, String failureMsg, String actualVal, String expectedVal, String actual, String expected, String file, int line) See
QTest::
compare_helper(bool, const char*, char*, char*, const char*, const char*, const char*, int) - Parameters:
success
-failureMsg
-actualVal
-expectedVal
-actual
-expected
-file
-line
-- Returns:
-
compare_helper
public static boolean compare_helper(boolean success, String failureMsg, String actual, String expected, String file, int line) See
QTest::
compare_helper(bool, const char*, const char*, const char*, const char*, int) - Parameters:
success
-failureMsg
-actual
-expected
-file
-line
-- Returns:
-
compare_helper
public static boolean compare_helper(boolean success, String failureMsg, Supplier<String> actualVal, Supplier<String> expectedVal, String actual, String expected, String file, int line) See
QTest::
compare_helper(bool, const char*, qxp::function_ref<const char*()>, qxp::function_ref<const char*()>, const char*, const char*, const char*, int) - Parameters:
success
-failureMsg
-actualVal
-expectedVal
-actual
-expected
-file
-line
-- Returns:
-
createTouchDevice
public static QPointingDevice createTouchDevice(QInputDevice.DeviceType devType, QInputDevice.Capabilities caps) - Parameters:
devType
-caps
-- Returns:
-
currentAppName
- Returns:
-
currentDataTag
- Returns:
-
currentTestFailed
public static boolean currentTestFailed()- Returns:
-
currentTestFunction
- Returns:
-
currentTestResolved
public static boolean currentTestResolved()- Returns:
- Since:
- This function was introduced in Qt 6.5.
-
failOnWarning
- Parameters:
messagePattern
-- Since:
- This function was introduced in Qt 6.3.
-
failOnWarning
- Parameters:
message
-- Since:
- This function was introduced in Qt 6.3.
-
ignoreMessage
- Parameters:
type
-messagePattern
-
-
ignoreMessage
- Parameters:
type
-message
-
-
keyClick
- Parameters:
widget
-key
-modifier
-delay
-
-
keyClick
- Parameters:
widget
-key
-modifier
-delay
-
-
keyClick
- Parameters:
window
-key
-modifier
-delay
-
-
keyClick
- Parameters:
window
-key
-modifier
-delay
-
-
keyClicks
public static void keyClicks(QWidget widget, String sequence, Qt.KeyboardModifiers modifier, int delay) - Parameters:
widget
-sequence
-modifier
-delay
-
-
keyEvent
public static void keyEvent(QTest.KeyAction action, QWidget widget, Qt.Key key, Qt.KeyboardModifiers modifier, int delay) - Parameters:
action
-widget
-key
-modifier
-delay
-
-
keyEvent
public static void keyEvent(QTest.KeyAction action, QWidget widget, char ascii, Qt.KeyboardModifiers modifier, int delay) - Parameters:
action
-widget
-ascii
-modifier
-delay
-
-
keyEvent
public static void keyEvent(QTest.KeyAction action, QWindow window, Qt.Key key, Qt.KeyboardModifiers modifier, int delay) - Parameters:
action
-window
-key
-modifier
-delay
-
-
keyEvent
public static void keyEvent(QTest.KeyAction action, QWindow window, char ascii, Qt.KeyboardModifiers modifier, int delay) - Parameters:
action
-window
-ascii
-modifier
-delay
-
-
keyPress
- Parameters:
widget
-key
-modifier
-delay
-
-
keyPress
- Parameters:
widget
-key
-modifier
-delay
-
-
keyPress
- Parameters:
window
-key
-modifier
-delay
-
-
keyPress
- Parameters:
window
-key
-modifier
-delay
-
-
keyRelease
- Parameters:
widget
-key
-modifier
-delay
-
-
keyRelease
- Parameters:
widget
-key
-modifier
-delay
-
-
keyRelease
- Parameters:
window
-key
-modifier
-delay
-
-
keyRelease
- Parameters:
window
-key
-modifier
-delay
-
-
keySequence
- Parameters:
widget
-keySequence
-
-
keySequence
- Parameters:
window
-keySequence
-
-
keyToAscii
See
QTest::
keyToAscii(Qt::Key) - Parameters:
key
-- Returns:
-
mouseClick
public static void mouseClick(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) - Parameters:
widget
-button
-stateKey
-pos
-delay
-
-
mouseClick
public static void mouseClick(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) - Parameters:
window
-button
-stateKey
-pos
-delay
-
-
mouseDClick
public static void mouseDClick(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) - Parameters:
widget
-button
-stateKey
-pos
-delay
-
-
mouseDClick
public static void mouseDClick(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) - Parameters:
window
-button
-stateKey
-pos
-delay
-
-
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) - Parameters:
action
-widget
-button
-stateKey
-pos
-delay
-
-
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) - Parameters:
action
-window
-button
-stateKey
-pos
-delay
-
-
mouseMove
- Parameters:
widget
-pos
-delay
-
-
mouseMove
- Parameters:
window
-pos
-delay
-
-
mousePress
public static void mousePress(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) - Parameters:
widget
-button
-stateKey
-pos
-delay
-
-
mousePress
public static void mousePress(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) - Parameters:
window
-button
-stateKey
-pos
-delay
-
-
mouseRelease
public static void mouseRelease(QWidget widget, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) - Parameters:
widget
-button
-stateKey
-pos
-delay
-
-
mouseRelease
public static void mouseRelease(QWindow window, Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) - Parameters:
window
-button
-stateKey
-pos
-delay
-
-
qCaught
See
QTest::
qCaught(const char*, const char*, const char*, int) - Parameters:
expected
-what
-file
-line
-
-
qCleanup
public static void qCleanup()See
QTest::
qCleanup() -
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) - Parameters:
t1
-t2
-actual
-expected
-file
-line
-- Returns:
-
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) - Parameters:
t1
-t2
-actual
-expected
-file
-line
-- Returns:
-
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) - Parameters:
t1
-t2
-actual
-expected
-file
-line
-- Returns:
-
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) - Parameters:
t1
-t2
-actual
-expected
-file
-line
-- Returns:
-
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) - Parameters:
t1
-t2
-actual
-expected
-file
-line
-- Returns:
-
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) - Parameters:
t1
-t2
-actual
-expected
-file
-line
-- Returns:
-
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) - Parameters:
t1
-t2
-actual
-expected
-file
-line
-- Returns:
-
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) - Parameters:
t1
-t2
-actual
-expected
-file
-line
-- Returns:
-
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) - Parameters:
t1
-t2
-actual
-expected
-file
-line
-- Returns:
-
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) - Parameters:
t1
-t2
-actual
-expected
-file
-line
-- Returns:
-
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) - Parameters:
t1
-t2
-actual
-expected
-file
-line
-- Returns:
-
qCompare
public static boolean qCompare(Collection<String> t1, Collection<String> t2, String actual, String expected, String file, int line) See
QTest::
qCompare<T>(QList<T>, QList<T>, const char*, const char*, const char*, int) - Parameters:
t1
-t2
-actual
-expected
-file
-line
-- Returns:
-
qCompare
public static <T> boolean qCompare(QList<T> t1, QList<T> t2, String actual, String expected, String file, int line) See
QTest::
qCompare<T>(QList<T>, QList<T>, const char*, const char*, const char*, int) - Parameters:
t1
-t2
-actual
-expected
-file
-line
-- Returns:
-
qData
See
QTest::
qData(const char*, int) - Parameters:
tagName
-typeId
-- Returns:
-
qElementData
See
QTest::
qElementData(const char*, int) - Parameters:
elementName
-metaTypeId
-- Returns:
-
qExec
- Parameters:
testObject
-arguments
-- Returns:
-
qExec
- Parameters:
testObject
-- Returns:
-
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) - Parameters:
dataIndex
-comment
-mode
-file
-line
-- Returns:
-
qExtractTestData
- Parameters:
dirName
-- Returns:
-
qFail
See
QTest::
qFail(const char*, const char*, int) - Parameters:
message
-file
-line
-
-
qFindTestData
public static String qFindTestData(String basepath, String file, int line, String builddir, String sourcedir) See
QTest::
qFindTestData(QString, const char*, int, const char*, const char*) - Parameters:
basepath
-file
-line
-builddir
-sourcedir
-- Returns:
-
qGlobalData
See
QTest::
qGlobalData(const char*, int) - Parameters:
tagName
-typeId
-- Returns:
-
qInit
See
QTest::
qInit(QObject*, int, char**) - Parameters:
testObject
-
-
qRun
public static int qRun()See
QTest::
qRun() - Returns:
-
qSkip
See
QTest::
qSkip(const char*, const char*, int) - Parameters:
message
-file
-line
-
-
qSleep
public static void qSleep(int ms) - Parameters:
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) - Parameters:
statement
-statementStr
-description
-file
-line
-- Returns:
-
qWait
public static void qWait(int ms) - Parameters:
ms
-
-
qWaitFor
- Parameters:
predicate
-timeout
-- Returns:
-
qWaitForWindowActive
- Parameters:
widget
-timeout
-- Returns:
-
qWaitForWindowActive
- Parameters:
window
-timeout
-- Returns:
-
qWaitForWindowExposed
- Parameters:
widget
-timeout
-- Returns:
-
qWaitForWindowExposed
- Parameters:
window
-timeout
-- Returns:
-
qWarn
See
QTest::
qWarn(const char*, const char*, int) - Parameters:
message
-file
-line
-
-
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) - Parameters:
w
-t
-k
-mods
-text
-autorep
-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) See
qt_handleMouseEvent(QWindow*,
QPointF, QPointF, Qt::MouseButtons, Qt::MouseButton, QEvent::Type, Qt::KeyboardModifiers, int) - Parameters:
window
-local
-global
-state
-button
-type
-mods
-timestamp
-
-
qt_handleTouchEventv2
public static boolean qt_handleTouchEventv2(QWindow w, QPointingDevice device, Collection<? extends QEventPoint> points, Qt.KeyboardModifiers mods) See
qt_handleTouchEventv2(QWindow*,
const QPointingDevice*, QList<QEventPoint>, Qt::KeyboardModifiers) - Parameters:
w
-device
-points
-mods
-- Returns:
-
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) - Parameters:
o
-timestamp
-k
-mods
-text
-autorep
-count
-- Returns:
-
reportResult
public static boolean reportResult(boolean success, Supplier<String> lhs, Supplier<String> rhs, String lhsExpr, String rhsExpr, QTest.ComparisonOperation op, String file, int line) See
QTest::
reportResult(bool, qxp::function_ref<const char*()>, qxp::function_ref<const char*()>, const char*, const char*, QTest::ComparisonOperation, const char*, int) - Parameters:
success
-lhs
-rhs
-lhsExpr
-rhsExpr
-op
-file
-line
-- Returns:
-
runningTest
public static boolean runningTest()See
QTest::
runningTest() - Returns:
-
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) - Parameters:
action
-widget
-code
-text
-modifier
-delay
-
-
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) - Parameters:
action
-widget
-code
-ascii
-modifier
-delay
-
-
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) - Parameters:
action
-window
-code
-text
-modifier
-delay
-
-
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) - Parameters:
action
-window
-code
-ascii
-modifier
-delay
-
-
setBenchmarkResult
- Parameters:
result
-metric
-
-
setMainSourcePath
See
QTest::
setMainSourcePath(const char*, const char*) - Parameters:
file
-builddir
-
-
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) - Parameters:
widget
-press
-code
-modifier
-text
-repeat
-delay
-
-
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) - Parameters:
window
-press
-code
-modifier
-text
-repeat
-delay
-
-
testObject
See
QTest::
testObject() - Returns:
-
useVerifyThrowsException
Deprecated.Don't use QVERIFY_EXCEPTION_THROWN(expr, type) anymore, use QVERIFY_THROWS_EXCEPTION(type, expr...) insteadSee
QTest::
useVerifyThrowsException() -
setLastMouseTimestamp
public static void setLastMouseTimestamp(int lastMouseTimestamp) See
QTest::
lastMouseTimestamp - Parameters:
lastMouseTimestamp
-
-
lastMouseTimestamp
public static int lastMouseTimestamp()See
QTest::
lastMouseTimestamp - Returns:
-
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) -
QCOMPARE_EQ
See
QCOMPARE_EQ
- Throws:
AssertionError
-
QCOMPARE_NE
See
QCOMPARE_NE
- Throws:
AssertionError
-
QCOMPARE_EQ
@QtUninvokable public static <T extends Comparable<T>> void QCOMPARE_EQ(T lhs, T rhs) throws AssertionError See
QCOMPARE_EQ
- Throws:
AssertionError
-
QCOMPARE_EQ
See
QCOMPARE_EQ
- Throws:
AssertionError
-
QCOMPARE_EQ
See
QCOMPARE_EQ
- Throws:
AssertionError
-
QCOMPARE_EQ
See
QCOMPARE_EQ
- Throws:
AssertionError
-
QCOMPARE_NE
@QtUninvokable public static <T extends Comparable<T>> void QCOMPARE_NE(T lhs, T rhs) throws AssertionError See
QCOMPARE_NE
- Throws:
AssertionError
-
QCOMPARE_NE
See
QCOMPARE_NE
- Throws:
AssertionError
-
QCOMPARE_NE
See
QCOMPARE_NE
- Throws:
AssertionError
-
QCOMPARE_NE
See
QCOMPARE_NE
- Throws:
AssertionError
-
QCOMPARE_LT
@QtUninvokable public static <T extends Comparable<T>> void QCOMPARE_LT(T lhs, T rhs) throws AssertionError See
QCOMPARE_LT
- Throws:
AssertionError
-
QCOMPARE_LT
See
QCOMPARE_LT
- Throws:
AssertionError
-
QCOMPARE_LT
See
QCOMPARE_LT
- Throws:
AssertionError
-
QCOMPARE_LT
See
QCOMPARE_LT
- Throws:
AssertionError
-
QCOMPARE_LE
@QtUninvokable public static <T extends Comparable<T>> void QCOMPARE_LE(T lhs, T rhs) throws AssertionError See
QCOMPARE_LE
- Throws:
AssertionError
-
QCOMPARE_LE
See
QCOMPARE_LE
- Throws:
AssertionError
-
QCOMPARE_LE
See
QCOMPARE_LE
- Throws:
AssertionError
-
QCOMPARE_LE
See
QCOMPARE_LE
- Throws:
AssertionError
-
QCOMPARE_GT
@QtUninvokable public static <T extends Comparable<T>> void QCOMPARE_GT(T lhs, T rhs) throws AssertionError See
QCOMPARE_GT
- Throws:
AssertionError
-
QCOMPARE_GT
See
QCOMPARE_GT
- Throws:
AssertionError
-
QCOMPARE_GT
See
QCOMPARE_GT
- Throws:
AssertionError
-
QCOMPARE_GT
See
QCOMPARE_GT
- Throws:
AssertionError
-
QCOMPARE_GE
@QtUninvokable public static <T extends Comparable<T>> void QCOMPARE_GE(T lhs, T rhs) throws AssertionError See
QCOMPARE_GE
- Throws:
AssertionError
-
QCOMPARE_GE
See
QCOMPARE_GE
- Throws:
AssertionError
-
QCOMPARE_GE
See
QCOMPARE_GE
- Throws:
AssertionError
-
QCOMPARE_GE
See
QCOMPARE_GE
- Throws:
AssertionError
-
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.Capability ... caps) Overloaded function for
createTouchDevice(io.qt.gui.QInputDevice.DeviceType, io.qt.gui.QInputDevice.Capabilities)
. -
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
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
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
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
-
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
-
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, 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, 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, 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
-
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
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
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
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
-
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
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
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
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
-
keySequence
Overloaded function for
keySequence(io.qt.widgets.QWidget, io.qt.gui.QKeySequence)
. -
keySequence
Overloaded function for
keySequence(io.qt.widgets.QWidget, io.qt.gui.QKeySequence)
. -
keySequence
Overloaded function for
keySequence(io.qt.widgets.QWidget, io.qt.gui.QKeySequence)
. -
keySequence
Overloaded function for
keySequence(io.qt.widgets.QWidget, io.qt.gui.QKeySequence)
. -
keySequence
Overloaded function for
keySequence(io.qt.gui.QWindow, io.qt.gui.QKeySequence)
. -
keySequence
Overloaded function for
keySequence(io.qt.gui.QWindow, io.qt.gui.QKeySequence)
. -
keySequence
Overloaded function for
keySequence(io.qt.gui.QWindow, io.qt.gui.QKeySequence)
. -
keySequence
Overloaded function for
keySequence(io.qt.gui.QWindow, io.qt.gui.QKeySequence)
. -
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(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
-
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(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
-
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, 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
. -
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
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
-
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(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
-
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(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
-
qCompare
-
qCompare
-
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
-
qWaitFor
Overloaded function for
qWaitFor(java.util.function.BooleanSupplier, int)
withtimeout = 5000
. -
qWaitForWindowActive
Overloaded function for
qWaitForWindowActive(io.qt.widgets.QWidget, int)
withtimeout = 5000
. -
qWaitForWindowActive
Overloaded function for
qWaitForWindowActive(io.qt.gui.QWindow, int)
withtimeout = 5000
. -
qWaitForWindowExposed
Overloaded function for
qWaitForWindowExposed(io.qt.widgets.QWidget, int)
withtimeout = 5000
. -
qWaitForWindowExposed
Overloaded function for
qWaitForWindowExposed(io.qt.gui.QWindow, int)
withtimeout = 5000
. -
qWarn
Overloaded function for
qWarn(java.lang.String, java.lang.String, int)
withline = 0
. -
qWarn
-
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_handleMouseEvent
public static void qt_handleMouseEvent(QWindow window, QPoint local, QPointF global, Qt.MouseButtons state, Qt.MouseButton button, QEvent.Type type, Qt.KeyboardModifiers mods, int timestamp) -
qt_handleMouseEvent
public static void qt_handleMouseEvent(QWindow window, QPointF local, QPoint global, Qt.MouseButtons state, Qt.MouseButton button, QEvent.Type type, Qt.KeyboardModifiers mods, int timestamp) -
qt_handleMouseEvent
public static void qt_handleMouseEvent(QWindow window, QPoint local, QPoint global, Qt.MouseButtons state, Qt.MouseButton button, QEvent.Type type, Qt.KeyboardModifiers mods, int timestamp) -
qt_handleTouchEventv2
public static boolean qt_handleTouchEventv2(QWindow w, QPointingDevice device, Collection<? extends QEventPoint> points) Overloaded function for
qt_handleTouchEventv2(io.qt.gui.QWindow, io.qt.gui.QPointingDevice, java.util.Collection, io.qt.core.Qt.KeyboardModifiers)
withmods = new io.qt.core.Qt.KeyboardModifiers(0)
. -
qt_handleTouchEventv2
public static boolean qt_handleTouchEventv2(QWindow w, QPointingDevice device, Collection<? extends QEventPoint> points, Qt.KeyboardModifier ... mods) -
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
-
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, 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, 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, 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
. -
setMainSourcePath
Overloaded function for
setMainSourcePath(java.lang.String, java.lang.String)
withbuilddir = null
. -
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(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
.
-
QFETCH(String, Class, io.qt.core.QMetaType...)
instead.