| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | | - |
| 19 | | - |
| 20 | | - |
| 21 | | - |
| 22 | | - |
| 23 | | - |
| 24 | | - |
| 25 | | - |
| 26 | | - |
| 27 | | - |
| 28 | | - |
| 29 | | - |
| 30 | static bool runningUnderDebugger() | - |
| 31 | { | - |
| 32 | | - |
| 33 | const QString parentProc = QLatin1String("/proc/") + QString::number(getppid()); | - |
| 34 | const QFileInfo parentProcExe(parentProc + QLatin1String("/exe")); | - |
| 35 | if (parentProcExe.isSymLink()| TRUE | evaluated 135 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| | FALSE | never evaluated |
) | 0-135 |
| 36 | returnexecuted 135 times by 5 tests: return parentProcExe.symLinkTarget().endsWith(QLatin1String("/gdb"));Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
parentProcExe.symLinkTarget().endsWith(QLatin1String("/gdb"));executed 135 times by 5 tests: return parentProcExe.symLinkTarget().endsWith(QLatin1String("/gdb"));Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 135 |
| 37 | QFile f(parentProc + QLatin1String("/cmdline")); | - |
| 38 | if (!f.open(QIODevice::ReadOnly)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 39 | return never executed: return false; false;never executed: return false; | 0 |
| 40 | QByteArray s; | - |
| 41 | char c; | - |
| 42 | while (f.getChar(&c)| TRUE | never evaluated | | FALSE | never evaluated |
&& c| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 43 | if (c == '/'| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 44 | s.clear(); never executed: s.clear(); | 0 |
| 45 | else | - |
| 46 | s += c; never executed: s += c; | 0 |
| 47 | } | - |
| 48 | return never executed: return s == "gdb"; s == "gdb";never executed: return s == "gdb"; | 0 |
| 49 | | - |
| 50 | | - |
| 51 | | - |
| 52 | } | - |
| 53 | | - |
| 54 | QXcbIntegration *QXcbIntegration::m_instance = nullptr; | - |
| 55 | | - |
| 56 | QXcbIntegration::QXcbIntegration(const QStringList ¶meters, int &argc, char **argv) | - |
| 57 | : m_services(new QGenericUnixServices) | - |
| 58 | , m_instanceName(0) | - |
| 59 | , m_canGrab(true) | - |
| 60 | , m_defaultVisualId((2147483647 * 2U + 1U)) | - |
| 61 | { | - |
| 62 | m_instance = this; | - |
| 63 | (static_cast<QGuiApplication *>(QCoreApplication::instance()))->setAttribute(Qt::AA_CompressHighFrequencyEvents, true); | - |
| 64 | | - |
| 65 | qRegisterMetaType<QXcbWindow*>(); | - |
| 66 | | - |
| 67 | XInitThreads(); | - |
| 68 | | - |
| 69 | m_nativeInterface.reset(new QXcbNativeInterface); | - |
| 70 | | - |
| 71 | | - |
| 72 | const char *displayName = 0; | - |
| 73 | bool noGrabArg = false; | - |
| 74 | bool doGrabArg = false; | - |
| 75 | if (argc| TRUE | evaluated 63 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| | FALSE | evaluated 72 times by 2 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
|
) { | 63-72 |
| 76 | int j = 1; | - |
| 77 | for (int i = 1; i < argc| TRUE | evaluated 74 times by 3 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_selftests - unknown status
| | FALSE | evaluated 63 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
; i++) { | 63-74 |
| 78 | QByteArray arg(argv[i]); | - |
| 79 | if (arg.startsWith("--")| TRUE | never evaluated | | FALSE | evaluated 74 times by 3 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_selftests - unknown status
|
) | 0-74 |
| 80 | arg.remove(0, 1); never executed: arg.remove(0, 1); | 0 |
| 81 | if (arg == "-display"| TRUE | never evaluated | | FALSE | evaluated 74 times by 3 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_selftests - unknown status
|
&& i < argc - 1| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-74 |
| 82 | displayName = argv[++i]; never executed: displayName = argv[++i]; | 0 |
| 83 | else if (arg == "-name"| TRUE | never evaluated | | FALSE | evaluated 74 times by 3 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_selftests - unknown status
|
&& i < argc - 1| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-74 |
| 84 | m_instanceName = argv[++i]; never executed: m_instanceName = argv[++i]; | 0 |
| 85 | else if (arg == "-nograb"| TRUE | never evaluated | | FALSE | evaluated 74 times by 3 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_selftests - unknown status
|
) | 0-74 |
| 86 | noGrabArg = true; never executed: noGrabArg = true; | 0 |
| 87 | else if (arg == "-dograb"| TRUE | never evaluated | | FALSE | evaluated 74 times by 3 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_selftests - unknown status
|
) | 0-74 |
| 88 | doGrabArg = true; never executed: doGrabArg = true; | 0 |
| 89 | else if (arg == "-visual"| TRUE | never evaluated | | FALSE | evaluated 74 times by 3 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_selftests - unknown status
|
&& i < argc - 1| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-74 |
| 90 | bool ok = false; | - |
| 91 | m_defaultVisualId = QByteArray(argv[++i]).toUInt(&ok, 0); | - |
| 92 | if (!ok| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 93 | m_defaultVisualId = (2147483647 * 2U + 1U); never executed: m_defaultVisualId = (2147483647 * 2U + 1U); | 0 |
| 94 | } never executed: end of block | 0 |
| 95 | else | - |
| 96 | argv[j++] = argv[i];executed 74 times by 3 tests: argv[j++] = argv[i];Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_selftests - unknown status
| 74 |
| 97 | } | - |
| 98 | argc = j; | - |
| 99 | }executed 63 times by 5 tests: end of blockExecuted by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 63 |
| 100 | | - |
| 101 | bool underDebugger = runningUnderDebugger(); | - |
| 102 | if (noGrabArg| TRUE | never evaluated | | FALSE | evaluated 135 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
&& doGrabArg| TRUE | never evaluated | | FALSE | never evaluated |
&& underDebugger| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-135 |
| 103 | QMessageLogger(__FILE__, 168, __PRETTY_FUNCTION__).warning("Both -nograb and -dograb command line arguments specified. Please pick one. -nograb takes prcedence"); | - |
| 104 | doGrabArg = false; | - |
| 105 | } never executed: end of block | 0 |
| 106 | | - |
| 107 | | - |
| 108 | if (!noGrabArg| TRUE | evaluated 135 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| | FALSE | never evaluated |
&& !doGrabArg| TRUE | evaluated 135 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| | FALSE | never evaluated |
&& underDebugger| TRUE | never evaluated | | FALSE | evaluated 135 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-135 |
| 109 | QMessageLogger(__FILE__, 174, __PRETTY_FUNCTION__).debug("Qt: gdb: -nograb added to command-line options.\n" | - |
| 110 | "\t Use the -dograb option to enforce grabbing."); | - |
| 111 | } never executed: end of block | 0 |
| 112 | | - |
| 113 | m_canGrab = (!underDebugger| TRUE | evaluated 135 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| | FALSE | never evaluated |
&& !noGrabArg| TRUE | evaluated 135 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| | FALSE | never evaluated |
) || (underDebugger| TRUE | never evaluated | | FALSE | never evaluated |
&& doGrabArg| TRUE | never evaluated | | FALSE | never evaluated |
); | 0-135 |
| 114 | | - |
| 115 | static bool canNotGrabEnv = qEnvironmentVariableIsSet("QT_XCB_NO_GRAB_SERVER"); | - |
| 116 | if (canNotGrabEnv| TRUE | never evaluated | | FALSE | evaluated 135 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) | 0-135 |
| 117 | m_canGrab = false; never executed: m_canGrab = false; | 0 |
| 118 | | - |
| 119 | const int numParameters = parameters.size(); | - |
| 120 | m_connections.reserve(1 + numParameters / 2); | - |
| 121 | m_connections << new QXcbConnection(m_nativeInterface.data(), m_canGrab, m_defaultVisualId, displayName); | - |
| 122 | | - |
| 123 | for (int i = 0; i < numParameters - 1| TRUE | never evaluated | | FALSE | evaluated 135 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
; i += 2) { | 0-135 |
| 124 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabled| TRUE | never evaluated | | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 189, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "connecting to additional display: " << parameters.at(i) << parameters.at(i+1);never executed: QMessageLogger(__FILE__, 189, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "connecting to additional display: " << parameters.at(i) << parameters.at(i+1); | 0 |
| 125 | QString display = parameters.at(i) + QLatin1Char(':') + parameters.at(i+1); | - |
| 126 | m_connections << new QXcbConnection(m_nativeInterface.data(), m_canGrab, m_defaultVisualId, display.toLatin1().constData()); | - |
| 127 | } never executed: end of block | 0 |
| 128 | | - |
| 129 | m_fontDatabase.reset(new QGenericUnixFontDatabase()); | - |
| 130 | }executed 135 times by 5 tests: end of blockExecuted by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 135 |
| 131 | | - |
| 132 | QXcbIntegration::~QXcbIntegration() | - |
| 133 | { | - |
| 134 | qDeleteAll(m_connections); | - |
| 135 | m_instance = nullptr; | - |
| 136 | }executed 346 times by 219 tests: end of blockExecuted by:- tst_QApplication
- tst_QGuiApplication
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qclipboard - unknown status
- ...
| 346 |
| 137 | | - |
| 138 | QPlatformWindow *QXcbIntegration::createPlatformWindow(QWindow *window) const | - |
| 139 | { | - |
| 140 | QXcbScreen *screen = static_cast<QXcbScreen *>(window->screen()->handle()); | - |
| 141 | QXcbGlIntegration *glIntegration = screen->connection()->glIntegration(); | - |
| 142 | if (window->type() != Qt::Desktop| TRUE | evaluated 4107 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| | FALSE | evaluated 298 times by 117 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
|
&& window->supportsOpenGL()| TRUE | evaluated 3974 times by 118 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| | FALSE | evaluated 133 times by 12 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QGuiApplication
- tst_QKeyEvent
- tst_QLineEdit
- tst_QMouseEvent
- tst_QRasterWindow
- tst_QTouchEvent
- tst_QWindow
- tst_QWindowContainer
- tst_qinputmethod
|
) { | 133-4107 |
| 143 | if (glIntegration| TRUE | evaluated 3974 times by 118 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| | FALSE | never evaluated |
) { | 0-3974 |
| 144 | QXcbWindow *xcbWindow = glIntegration->createWindow(window); | - |
| 145 | xcbWindow->create(); | - |
| 146 | returnexecuted 3974 times by 118 tests: return xcbWindow;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
xcbWindow;executed 3974 times by 118 tests: return xcbWindow;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 3974 |
| 147 | } | - |
| 148 | } never executed: end of block | 0 |
| 149 | | - |
| 150 | ((!(window->type() == Qt::Desktop || !window->supportsOpenGL() || (!glIntegration && window->surfaceType() == QSurface::RasterGLSurface))) ? qt_assert("window->type() == Qt::Desktop || !window->supportsOpenGL() || (!glIntegration && window->surfaceType() == QSurface::RasterGLSurface)", | - |
| 151 | __FILE__ | - |
| 152 | , | - |
| 153 | 216 | - |
| 154 | ) : qt_noop()) | - |
| 155 | ; | - |
| 156 | QXcbWindow *xcbWindow = new QXcbWindow(window); | - |
| 157 | xcbWindow->create(); | - |
| 158 | returnexecuted 431 times by 124 tests: return xcbWindow;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
xcbWindow;executed 431 times by 124 tests: return xcbWindow;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 431 |
| 159 | } | - |
| 160 | | - |
| 161 | | - |
| 162 | QPlatformOpenGLContext *QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext *context) const | - |
| 163 | { | - |
| 164 | QXcbScreen *screen = static_cast<QXcbScreen *>(context->screen()->handle()); | - |
| 165 | QXcbGlIntegration *glIntegration = screen->connection()->glIntegration(); | - |
| 166 | if (!glIntegration| TRUE | never evaluated | | FALSE | evaluated 57 times by 9 testsEvaluated by:- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGLThreads
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QMdiArea
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QOpenGlConfig
|
) { | 0-57 |
| 167 | QMessageLogger(__FILE__, 228, __PRETTY_FUNCTION__).warning("QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled"); | - |
| 168 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
| 169 | } | - |
| 170 | returnexecuted 57 times by 9 tests: return glIntegration->createPlatformOpenGLContext(context);Executed by:- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGLThreads
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QMdiArea
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QOpenGlConfig
glIntegration->createPlatformOpenGLContext(context);executed 57 times by 9 tests: return glIntegration->createPlatformOpenGLContext(context);Executed by:- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGLThreads
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QMdiArea
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QOpenGlConfig
| 57 |
| 171 | } | - |
| 172 | | - |
| 173 | | - |
| 174 | QPlatformBackingStore *QXcbIntegration::createPlatformBackingStore(QWindow *window) const | - |
| 175 | { | - |
| 176 | returnexecuted 3883 times by 117 tests: return new QXcbBackingStore(window);Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
new QXcbBackingStore(window);executed 3883 times by 117 tests: return new QXcbBackingStore(window);Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3883 |
| 177 | } | - |
| 178 | | - |
| 179 | QPlatformOffscreenSurface *QXcbIntegration::createPlatformOffscreenSurface(QOffscreenSurface *surface) const | - |
| 180 | { | - |
| 181 | QXcbScreen *screen = static_cast<QXcbScreen *>(surface->screen()->handle()); | - |
| 182 | QXcbGlIntegration *glIntegration = screen->connection()->glIntegration(); | - |
| 183 | if (!glIntegration| TRUE | never evaluated | | FALSE | evaluated 26 times by 5 testsEvaluated by:- tst_QGLThreads
- tst_QGraphicsView
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QOpenGlConfig
|
) { | 0-26 |
| 184 | QMessageLogger(__FILE__, 245, __PRETTY_FUNCTION__).warning("QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled"); | - |
| 185 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
| 186 | } | - |
| 187 | returnexecuted 26 times by 5 tests: return glIntegration->createPlatformOffscreenSurface(surface);Executed by:- tst_QGLThreads
- tst_QGraphicsView
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QOpenGlConfig
glIntegration->createPlatformOffscreenSurface(surface);executed 26 times by 5 tests: return glIntegration->createPlatformOffscreenSurface(surface);Executed by:- tst_QGLThreads
- tst_QGraphicsView
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QOpenGlConfig
| 26 |
| 188 | } | - |
| 189 | | - |
| 190 | bool QXcbIntegration::hasCapability(QPlatformIntegration::Capability cap) const | - |
| 191 | { | - |
| 192 | switch (cap) { | - |
| 193 | caseexecuted 131 times by 125 tests: case OpenGL:Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
OpenGL:executed 131 times by 125 tests: case OpenGL:Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 131 |
| 194 | caseexecuted 8 times by 2 tests: case ThreadedOpenGL:Executed by:- tst_QGLThreads
- tst_QOpenGlConfig
ThreadedOpenGL:executed 8 times by 2 tests: case ThreadedOpenGL:Executed by:- tst_QGLThreads
- tst_QOpenGlConfig
| 8 |
| 195 | { | - |
| 196 | const auto *connection = qAsConst(m_connections).first(); | - |
| 197 | if (const| TRUE | evaluated 139 times by 126 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| | FALSE | never evaluated |
auto *integration = connection->glIntegration()| TRUE | evaluated 139 times by 126 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| | FALSE | never evaluated |
) | 0-139 |
| 198 | returnexecuted 139 times by 126 tests: return cap != ThreadedOpenGL || (connection->threadedEventHandling() && integration->supportsThreadedOpenGL());Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
cap != ThreadedOpenGLexecuted 139 times by 126 tests: return cap != ThreadedOpenGL || (connection->threadedEventHandling() && integration->supportsThreadedOpenGL());Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 139 |
| 199 | || (connection->threadedEventHandling() && integration->supportsThreadedOpenGL());executed 139 times by 126 tests: return cap != ThreadedOpenGL || (connection->threadedEventHandling() && integration->supportsThreadedOpenGL());Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 139 |
| 200 | return never executed: return false; false;never executed: return false; | 0 |
| 201 | } | - |
| 202 | | - |
| 203 | caseexecuted 2 times by 2 tests: case ThreadedPixmaps:Executed by:- tst_QOpenGlConfig
- tst_QPixmap
ThreadedPixmaps:executed 2 times by 2 tests: case ThreadedPixmaps:Executed by:- tst_QOpenGlConfig
- tst_QPixmap
| 2 |
| 204 | caseexecuted 2 times by 2 tests: case WindowMasks:Executed by:- tst_QOpenGlConfig
- tst_QWidget
WindowMasks:executed 2 times by 2 tests: case WindowMasks:Executed by:- tst_QOpenGlConfig
- tst_QWidget
| 2 |
| 205 | caseexecuted 2 times by 1 test: case MultipleWindows: MultipleWindows:executed 2 times by 1 test: case MultipleWindows: | 2 |
| 206 | case never executed: case ForeignWindows: ForeignWindows:never executed: case ForeignWindows: | 0 |
| 207 | caseexecuted 9 times by 3 tests: case SyncState:Executed by:- tst_QWidget
- tst_QWidget_window
- tst_QWindow
SyncState:executed 9 times by 3 tests: case SyncState:Executed by:- tst_QWidget
- tst_QWidget_window
- tst_QWindow
| 9 |
| 208 | caseexecuted 4277 times by 120 tests: case RasterGLSurface:Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
RasterGLSurface:executed 4277 times by 120 tests: case RasterGLSurface:Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 4277 |
| 209 | returnexecuted 4292 times by 121 tests: return true;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
true;executed 4292 times by 121 tests: return true;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 4292 |
| 210 | | - |
| 211 | caseexecuted 1 time by 1 test: case SwitchableWidgetComposition: SwitchableWidgetComposition:executed 1 time by 1 test: case SwitchableWidgetComposition: | 1 |
| 212 | { | - |
| 213 | returnexecuted 1 time by 1 test: return m_connections.at(0)->glIntegration() && m_connections.at(0)->glIntegration()->supportsSwitchableWidgetComposition(); m_connections.at(0)->glIntegration()executed 1 time by 1 test: return m_connections.at(0)->glIntegration() && m_connections.at(0)->glIntegration()->supportsSwitchableWidgetComposition(); | 1 |
| 214 | && m_connections.at(0)->glIntegration()->supportsSwitchableWidgetComposition();executed 1 time by 1 test: return m_connections.at(0)->glIntegration() && m_connections.at(0)->glIntegration()->supportsSwitchableWidgetComposition(); | 1 |
| 215 | } | - |
| 216 | | - |
| 217 | defaultexecuted 11991 times by 125 tests: default:Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
:executed 11991 times by 125 tests: default:Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
returnexecuted 11991 times by 125 tests: return QPlatformIntegration::hasCapability(cap);Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
QPlatformIntegration::hasCapability(cap);executed 11991 times by 125 tests: return QPlatformIntegration::hasCapability(cap);Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 11991 |
| 218 | } | - |
| 219 | } | - |
| 220 | | - |
| 221 | QAbstractEventDispatcher *QXcbIntegration::createEventDispatcher() const | - |
| 222 | { | - |
| 223 | QAbstractEventDispatcher *dispatcher = createUnixEventDispatcher(); | - |
| 224 | for (int i = 0; i < m_connections.size()| TRUE | evaluated 135 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| | FALSE | evaluated 135 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
; i++) | 135 |
| 225 | m_connections[i]->eventReader()->registerEventDispatcher(dispatcher);executed 135 times by 5 tests: m_connections[i]->eventReader()->registerEventDispatcher(dispatcher);Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 135 |
| 226 | returnexecuted 135 times by 5 tests: return dispatcher;Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
dispatcher;executed 135 times by 5 tests: return dispatcher;Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 135 |
| 227 | } | - |
| 228 | | - |
| 229 | void QXcbIntegration::initialize() | - |
| 230 | { | - |
| 231 | | - |
| 232 | | - |
| 233 | QString icStr = QPlatformInputContextFactory::requested(); | - |
| 234 | if (icStr.isNull()| TRUE | evaluated 135 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| | FALSE | never evaluated |
) | 0-135 |
| 235 | icStr = QLatin1String("compose");executed 135 times by 5 tests: icStr = QLatin1String("compose");Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 135 |
| 236 | m_inputContext.reset(QPlatformInputContextFactory::create(icStr)); | - |
| 237 | }executed 135 times by 5 tests: end of blockExecuted by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 135 |
| 238 | | - |
| 239 | void QXcbIntegration::moveToScreen(QWindow *window, int screen) | - |
| 240 | { | - |
| 241 | (void)window;; | - |
| 242 | (void)screen;; | - |
| 243 | } never executed: end of block | 0 |
| 244 | | - |
| 245 | QPlatformFontDatabase *QXcbIntegration::fontDatabase() const | - |
| 246 | { | - |
| 247 | returnexecuted 35726 times by 243 tests: return m_fontDatabase.data();Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
m_fontDatabase.data();executed 35726 times by 243 tests: return m_fontDatabase.data();Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 35726 |
| 248 | } | - |
| 249 | | - |
| 250 | QPlatformNativeInterface * QXcbIntegration::nativeInterface() const | - |
| 251 | { | - |
| 252 | returnexecuted 9534 times by 132 tests: return m_nativeInterface.data();Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
m_nativeInterface.data();executed 9534 times by 132 tests: return m_nativeInterface.data();Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
| 9534 |
| 253 | } | - |
| 254 | | - |
| 255 | | - |
| 256 | QPlatformClipboard *QXcbIntegration::clipboard() const | - |
| 257 | { | - |
| 258 | returnexecuted 181 times by 7 tests: return m_connections.at(0)->clipboard();Executed by:- tst_QApplication
- tst_QClipboard
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QStyleSheetStyle
- tst_QTextEdit
m_connections.at(0)->clipboard();executed 181 times by 7 tests: return m_connections.at(0)->clipboard();Executed by:- tst_QApplication
- tst_QClipboard
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QStyleSheetStyle
- tst_QTextEdit
| 181 |
| 259 | } | - |
| 260 | | - |
| 261 | | - |
| 262 | | - |
| 263 | QPlatformDrag *QXcbIntegration::drag() const | - |
| 264 | { | - |
| 265 | returnexecuted 105 times by 9 tests: return m_connections.at(0)->drag();Executed by:- tst_QAbstractItemView
- tst_QDataWidgetMapper
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QItemDelegate
- tst_QItemView
- tst_QListWidget
- tst_QTreeView
- tst_QWidget_window
m_connections.at(0)->drag();executed 105 times by 9 tests: return m_connections.at(0)->drag();Executed by:- tst_QAbstractItemView
- tst_QDataWidgetMapper
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QItemDelegate
- tst_QItemView
- tst_QListWidget
- tst_QTreeView
- tst_QWidget_window
| 105 |
| 266 | } | - |
| 267 | | - |
| 268 | | - |
| 269 | QPlatformInputContext *QXcbIntegration::inputContext() const | - |
| 270 | { | - |
| 271 | returnexecuted 31548 times by 108 tests: return m_inputContext.data();Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- ...
m_inputContext.data();executed 31548 times by 108 tests: return m_inputContext.data();Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- ...
| 31548 |
| 272 | } | - |
| 273 | | - |
| 274 | | - |
| 275 | QPlatformAccessibility *QXcbIntegration::accessibility() const | - |
| 276 | { | - |
| 277 | | - |
| 278 | if (!m_accessibility| TRUE | evaluated 180 times by 128 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| | FALSE | evaluated 526585 times by 129 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
|
) { | 180-526585 |
| 279 | ((!(QCoreApplication::eventDispatcher())) ? qt_assert_x("QXcbIntegration", "Initializing accessibility without event-dispatcher!", | - |
| 280 | __FILE__ | - |
| 281 | , | - |
| 282 | 341 | - |
| 283 | ) : qt_noop()) | - |
| 284 | ; | - |
| 285 | m_accessibility.reset(new QSpiAccessibleBridge()); | - |
| 286 | }executed 180 times by 128 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 180 |
| 287 | | - |
| 288 | | - |
| 289 | returnexecuted 526765 times by 129 tests: return m_accessibility.data();Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
m_accessibility.data();executed 526765 times by 129 tests: return m_accessibility.data();Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
| 526765 |
| 290 | } | - |
| 291 | | - |
| 292 | | - |
| 293 | QPlatformServices *QXcbIntegration::services() const | - |
| 294 | { | - |
| 295 | returnexecuted 2167 times by 125 tests: return m_services.data();Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
m_services.data();executed 2167 times by 125 tests: return m_services.data();Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2167 |
| 296 | } | - |
| 297 | | - |
| 298 | Qt::KeyboardModifiers QXcbIntegration::queryKeyboardModifiers() const | - |
| 299 | { | - |
| 300 | int keybMask = 0; | - |
| 301 | QXcbConnection *conn = m_connections.at(0); | - |
| 302 | QXcbCursor::queryPointer(conn, 0, 0, &keybMask); | - |
| 303 | return never executed: return conn->keyboard()->translateModifiers(keybMask); conn->keyboard()->translateModifiers(keybMask);never executed: return conn->keyboard()->translateModifiers(keybMask); | 0 |
| 304 | } | - |
| 305 | | - |
| 306 | QList<int> QXcbIntegration::possibleKeys(const QKeyEvent *e) const | - |
| 307 | { | - |
| 308 | return never executed: return m_connections.at(0)->keyboard()->possibleKeys(e); m_connections.at(0)->keyboard()->possibleKeys(e);never executed: return m_connections.at(0)->keyboard()->possibleKeys(e); | 0 |
| 309 | } | - |
| 310 | | - |
| 311 | QStringList QXcbIntegration::themeNames() const | - |
| 312 | { | - |
| 313 | returnexecuted 135 times by 5 tests: return QGenericUnixTheme::themeNames();Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
QGenericUnixTheme::themeNames();executed 135 times by 5 tests: return QGenericUnixTheme::themeNames();Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 135 |
| 314 | } | - |
| 315 | | - |
| 316 | QPlatformTheme *QXcbIntegration::createPlatformTheme(const QString &name) const | - |
| 317 | { | - |
| 318 | returnexecuted 135 times by 5 tests: return QGenericUnixTheme::createUnixTheme(name);Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
QGenericUnixTheme::createUnixTheme(name);executed 135 times by 5 tests: return QGenericUnixTheme::createUnixTheme(name);Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 135 |
| 319 | } | - |
| 320 | | - |
| 321 | QVariant QXcbIntegration::styleHint(QPlatformIntegration::StyleHint hint) const | - |
| 322 | { | - |
| 323 | switch (hint) { | - |
| 324 | caseexecuted 3974 times by 49 tests: case QPlatformIntegration::CursorFlashTime:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- tst_QLabel
- ...
QPlatformIntegration::CursorFlashTime:executed 3974 times by 49 tests: case QPlatformIntegration::CursorFlashTime:Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- tst_QLabel
- ...
| 3974 |
| 325 | caseexecuted 126 times by 6 tests: case QPlatformIntegration::KeyboardInputInterval:Executed by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QListView
- tst_QMdiArea
- tst_QTableView
- tst_QTreeView
QPlatformIntegration::KeyboardInputInterval:executed 126 times by 6 tests: case QPlatformIntegration::KeyboardInputInterval:Executed by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QListView
- tst_QMdiArea
- tst_QTableView
- tst_QTreeView
| 126 |
| 326 | caseexecuted 919 times by 25 tests: case QPlatformIntegration::MouseDoubleClickInterval:Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QGestureRecognizer
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMouseEvent
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QTableView
- tst_QTextEdit
- tst_QTouchEvent
- tst_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
QPlatformIntegration::MouseDoubleClickInterval:executed 919 times by 25 tests: case QPlatformIntegration::MouseDoubleClickInterval:Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QGestureRecognizer
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMouseEvent
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QTableView
- tst_QTextEdit
- tst_QTouchEvent
- tst_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
| 919 |
| 327 | case never executed: case QPlatformIntegration::StartDragTime: QPlatformIntegration::StartDragTime:never executed: case QPlatformIntegration::StartDragTime: | 0 |
| 328 | case never executed: case QPlatformIntegration::KeyboardAutoRepeatRate: QPlatformIntegration::KeyboardAutoRepeatRate:never executed: case QPlatformIntegration::KeyboardAutoRepeatRate: | 0 |
| 329 | caseexecuted 3628 times by 54 tests: case QPlatformIntegration::PasswordMaskDelay:Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- ...
QPlatformIntegration::PasswordMaskDelay:executed 3628 times by 54 tests: case QPlatformIntegration::PasswordMaskDelay:Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- ...
| 3628 |
| 330 | case never executed: case QPlatformIntegration::StartDragVelocity: QPlatformIntegration::StartDragVelocity:never executed: case QPlatformIntegration::StartDragVelocity: | 0 |
| 331 | caseexecuted 5 times by 4 tests: case QPlatformIntegration::UseRtlExtensions:Executed by:- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QStyleSheetStyle
- tst_QTextEdit
QPlatformIntegration::UseRtlExtensions:executed 5 times by 4 tests: case QPlatformIntegration::UseRtlExtensions:Executed by:- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QStyleSheetStyle
- tst_QTextEdit
| 5 |
| 332 | caseexecuted 1859 times by 54 tests: case QPlatformIntegration::PasswordMaskCharacter:Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- ...
QPlatformIntegration::PasswordMaskCharacter:executed 1859 times by 54 tests: case QPlatformIntegration::PasswordMaskCharacter:Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- ...
| 1859 |
| 333 | | - |
| 334 | break;executed 10511 times by 71 tests: break;Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsItem
- ...
| 10511 |
| 335 | caseexecuted 135 times by 5 tests: case QPlatformIntegration::FontSmoothingGamma:Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
QPlatformIntegration::FontSmoothingGamma:executed 135 times by 5 tests: case QPlatformIntegration::FontSmoothingGamma:Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 135 |
| 336 | | - |
| 337 | returnexecuted 135 times by 5 tests: return qreal(1.0);Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
qreal(1.0);executed 135 times by 5 tests: return qreal(1.0);Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 135 |
| 338 | caseexecuted 78 times by 3 tests: case QPlatformIntegration::StartDragDistance:Executed by:- tst_QGraphicsView
- tst_QMainWindow
- tst_QMenu
QPlatformIntegration::StartDragDistance:executed 78 times by 3 tests: case QPlatformIntegration::StartDragDistance:Executed by:- tst_QGraphicsView
- tst_QMainWindow
- tst_QMenu
{ | 78 |
| 339 | | - |
| 340 | | - |
| 341 | qreal dpi = 100.0; | - |
| 342 | if (const| TRUE | evaluated 78 times by 3 testsEvaluated by:- tst_QGraphicsView
- tst_QMainWindow
- tst_QMenu
| | FALSE | never evaluated |
QXcbScreen *screen = defaultConnection()->primaryScreen()| TRUE | evaluated 78 times by 3 testsEvaluated by:- tst_QGraphicsView
- tst_QMainWindow
- tst_QMenu
| | FALSE | never evaluated |
) { | 0-78 |
| 343 | if (screen->logicalDpi().first > dpi| TRUE | never evaluated | | FALSE | evaluated 78 times by 3 testsEvaluated by:- tst_QGraphicsView
- tst_QMainWindow
- tst_QMenu
|
) | 0-78 |
| 344 | dpi = screen->logicalDpi().first; never executed: dpi = screen->logicalDpi().first; | 0 |
| 345 | if (screen->logicalDpi().second > dpi| TRUE | never evaluated | | FALSE | evaluated 78 times by 3 testsEvaluated by:- tst_QGraphicsView
- tst_QMainWindow
- tst_QMenu
|
) | 0-78 |
| 346 | dpi = screen->logicalDpi().second; never executed: dpi = screen->logicalDpi().second; | 0 |
| 347 | }executed 78 times by 3 tests: end of blockExecuted by:- tst_QGraphicsView
- tst_QMainWindow
- tst_QMenu
| 78 |
| 348 | returnexecuted 78 times by 3 tests: return 10.0 * dpi / 100.0;Executed by:- tst_QGraphicsView
- tst_QMainWindow
- tst_QMenu
10.0 * dpi / 100.0;executed 78 times by 3 tests: return 10.0 * dpi / 100.0;Executed by:- tst_QGraphicsView
- tst_QMainWindow
- tst_QMenu
| 78 |
| 349 | } | - |
| 350 | caseexecuted 20199 times by 121 tests: case QPlatformIntegration::ShowIsFullScreen:Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
QPlatformIntegration::ShowIsFullScreen:executed 20199 times by 121 tests: case QPlatformIntegration::ShowIsFullScreen:Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 20199 |
| 351 | | - |
| 352 | | - |
| 353 | returnexecuted 20199 times by 121 tests: return false;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
false;executed 20199 times by 121 tests: return false;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 20199 |
| 354 | case never executed: case QPlatformIntegration::ReplayMousePressOutsidePopup: QPlatformIntegration::ReplayMousePressOutsidePopup:never executed: case QPlatformIntegration::ReplayMousePressOutsidePopup: | 0 |
| 355 | return never executed: return false; false;never executed: return false; | 0 |
| 356 | defaultexecuted 26601 times by 122 tests: default:Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
:executed 26601 times by 122 tests: default:Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 26601 |
| 357 | break;executed 26601 times by 122 tests: break;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 26601 |
| 358 | } | - |
| 359 | returnexecuted 37112 times by 125 tests: return QPlatformIntegration::styleHint(hint);Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
QPlatformIntegration::styleHint(hint);executed 37112 times by 125 tests: return QPlatformIntegration::styleHint(hint);Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 37112 |
| 360 | } | - |
| 361 | | - |
| 362 | static QString argv0BaseName() | - |
| 363 | { | - |
| 364 | QString result; | - |
| 365 | const QStringList arguments = QCoreApplication::arguments(); | - |
| 366 | if (!arguments.isEmpty()| TRUE | evaluated 134 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| | FALSE | evaluated 102 times by 2 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
|
&& !arguments.front().isEmpty()| TRUE | evaluated 134 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| | FALSE | never evaluated |
) { | 0-134 |
| 367 | result = arguments.front(); | - |
| 368 | const int lastSlashPos = result.lastIndexOf(QLatin1Char('/')); | - |
| 369 | if (lastSlashPos != -1| TRUE | evaluated 132 times by 124 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| | FALSE | evaluated 2 times by 1 test |
) | 2-132 |
| 370 | result.remove(0, lastSlashPos + 1);executed 132 times by 124 tests: result.remove(0, lastSlashPos + 1);Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 132 |
| 371 | }executed 134 times by 125 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 134 |
| 372 | returnexecuted 236 times by 125 tests: return result;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
result;executed 236 times by 125 tests: return result;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 236 |
| 373 | } | - |
| 374 | | - |
| 375 | static const char resourceNameVar[] = "RESOURCE_NAME"; | - |
| 376 | | - |
| 377 | QByteArray QXcbIntegration::wmClass() const | - |
| 378 | { | - |
| 379 | if (m_wmClass.isEmpty()| TRUE | evaluated 185 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| | FALSE | evaluated 3922 times by 106 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) { | 185-3922 |
| 380 | | - |
| 381 | QString name; | - |
| 382 | if (m_instanceName| TRUE | never evaluated | | FALSE | evaluated 185 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
) | 0-185 |
| 383 | name = QString::fromLocal8Bit(m_instanceName); never executed: name = QString::fromLocal8Bit(m_instanceName); | 0 |
| 384 | if (name.isEmpty()| TRUE | evaluated 185 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| | FALSE | never evaluated |
&& qEnvironmentVariableIsSet(resourceNameVar)| TRUE | never evaluated | | FALSE | evaluated 185 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
) | 0-185 |
| 385 | name = QString::fromLocal8Bit(qgetenv(resourceNameVar)); never executed: name = QString::fromLocal8Bit(qgetenv(resourceNameVar)); | 0 |
| 386 | if (name.isEmpty()| TRUE | evaluated 185 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| | FALSE | never evaluated |
) | 0-185 |
| 387 | name = argv0BaseName();executed 185 times by 125 tests: name = argv0BaseName();Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 185 |
| 388 | | - |
| 389 | | - |
| 390 | | - |
| 391 | QString className = QCoreApplication::applicationName(); | - |
| 392 | if (className.isEmpty()| TRUE | evaluated 51 times by 2 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
| | FALSE | evaluated 134 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
) { | 51-134 |
| 393 | className = argv0BaseName(); | - |
| 394 | if (!className.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 51 times by 2 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
|
&& className.at(0).isLower()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-51 |
| 395 | className[0] = className.at(0).toUpper(); never executed: className[0] = className.at(0).toUpper(); | 0 |
| 396 | }executed 51 times by 2 tests: end of blockExecuted by:- tst_QApplication
- tst_QGuiApplication
| 51 |
| 397 | | - |
| 398 | if (!name.isEmpty()| TRUE | evaluated 134 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| | FALSE | evaluated 51 times by 2 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
|
&& !className.isEmpty()| TRUE | evaluated 134 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| | FALSE | never evaluated |
) { | 0-134 |
| 399 | m_wmClass = name.toLocal8Bit(); | - |
| 400 | m_wmClass.append('\0'); | - |
| 401 | m_wmClass.append(className.toLocal8Bit()); | - |
| 402 | m_wmClass.append('\0'); | - |
| 403 | }executed 134 times by 125 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 134 |
| 404 | }executed 185 times by 125 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 185 |
| 405 | returnexecuted 4107 times by 125 tests: return m_wmClass;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
m_wmClass;executed 4107 times by 125 tests: return m_wmClass;Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4107 |
| 406 | } | - |
| 407 | | - |
| 408 | | - |
| 409 | QPlatformSessionManager *QXcbIntegration::createPlatformSessionManager(const QString &id, const QString &key) const | - |
| 410 | { | - |
| 411 | returnexecuted 135 times by 5 tests: return new QXcbSessionManager(id, key);Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
new QXcbSessionManager(id, key);executed 135 times by 5 tests: return new QXcbSessionManager(id, key);Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 135 |
| 412 | } | - |
| 413 | | - |
| 414 | | - |
| 415 | void QXcbIntegration::sync() | - |
| 416 | { | - |
| 417 | for (int i = 0; i < m_connections.size()| TRUE | evaluated 9 times by 3 testsEvaluated by:- tst_QWidget
- tst_QWidget_window
- tst_QWindow
| | FALSE | evaluated 9 times by 3 testsEvaluated by:- tst_QWidget
- tst_QWidget_window
- tst_QWindow
|
; i++) { | 9 |
| 418 | m_connections.at(i)->sync(); | - |
| 419 | }executed 9 times by 3 tests: end of blockExecuted by:- tst_QWidget
- tst_QWidget_window
- tst_QWindow
| 9 |
| 420 | }executed 9 times by 3 tests: end of blockExecuted by:- tst_QWidget
- tst_QWidget_window
- tst_QWindow
| 9 |
| 421 | | - |
| 422 | | - |
| 423 | void QXcbIntegration::beep() const | - |
| 424 | { | - |
| 425 | QScreen *priScreen = QGuiApplication::primaryScreen(); | - |
| 426 | if (!priScreen| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 427 | return; never executed: return; | 0 |
| 428 | QPlatformScreen *screen = priScreen->handle(); | - |
| 429 | if (!screen| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 430 | return; never executed: return; | 0 |
| 431 | xcb_connection_t *connection = static_cast<QXcbScreen *>(screen)->xcb_connection(); | - |
| 432 | xcb_bell(connection, 0); | - |
| 433 | } never executed: end of block | 0 |
| 434 | | - |
| 435 | | - |
| | |