Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | using QtMiscUtils::toHexUpper; | - |
13 | using QtMiscUtils::fromHex; | - |
14 | | - |
15 | static void disableCoreDump() | - |
16 | { | - |
17 | bool ok = false; | - |
18 | const int disableCoreDump = qEnvironmentVariableIntValue("QTEST_DISABLE_CORE_DUMP", &ok); | - |
19 | if (okTRUE | evaluated 69 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 680 times by 3 testsEvaluated by:- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_selftests - unknown status
|
&& disableCoreDump == 1TRUE | evaluated 69 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | never evaluated |
) { | 0-680 |
20 | | - |
21 | struct rlimit limit; | - |
22 | limit.rlim_cur = 0; | - |
23 | limit.rlim_max = 0; | - |
24 | if (setrlimit(RLIMIT_CORE, &limit) != 0TRUE | never evaluated | FALSE | evaluated 69 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) | 0-69 |
25 | QMessageLogger(__FILE__, 119, __PRETTY_FUNCTION__).warning("Failed to disable core dumps: %d", (*__errno_location ())); never executed: QMessageLogger(__FILE__, 119, __PRETTY_FUNCTION__).warning("Failed to disable core dumps: %d", (*__errno_location ())); | 0 |
26 | | - |
27 | }executed 69 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 69 |
28 | }executed 749 times by 3 tests: end of block Executed by:- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_selftests - unknown status
| 749 |
29 | namespace { static const struct disableCoreDump_ctor_class_ { inline disableCoreDump_ctor_class_() { disableCoreDump(); }executed 749 times by 3 tests: end of block Executed by:- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_selftests - unknown status
} disableCoreDump_ctor_instance_; }; | 749 |
30 | | - |
31 | static void stackTrace() | - |
32 | { | - |
33 | bool ok = false; | - |
34 | const int disableStackDump = qEnvironmentVariableIntValue("QTEST_DISABLE_STACK_DUMP", &ok); | - |
35 | if (okTRUE | never evaluated | FALSE | never evaluated |
&& disableStackDump == 1TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
36 | return; never executed: return; | 0 |
37 | | - |
38 | fprintf(stderr, "\n========= Received signal, dumping stack ==============\n"); | - |
39 | char cmd[512]; | - |
40 | qsnprintf(cmd, 512, "gdb --pid %d 2>/dev/null <<EOF\n" | - |
41 | "set prompt\n" | - |
42 | "set height 0\n" | - |
43 | "thread apply all where full\n" | - |
44 | "detach\n" | - |
45 | "quit\n" | - |
46 | "EOF\n", | - |
47 | (int)getpid()); | - |
48 | if (system(cmd) == -1TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
49 | fprintf(stderr, "calling gdb failed\n"); never executed: fprintf(stderr, "calling gdb failed\n"); | 0 |
50 | fprintf(stderr, "========= End of stack trace ==============\n"); | - |
51 | } never executed: end of block | 0 |
52 | static bool installCoverageTool(const char * appname, const char * testname) | - |
53 | { | - |
54 | | - |
55 | if (!qEnvironmentVariableIsEmpty("QT_TESTCOCOON_ACTIVE")TRUE | evaluated 695 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | never evaluated |
) | 0-695 |
56 | returnexecuted 695 times by 1 test: return false; Executed by:- tst_selftests - unknown status
false;executed 695 times by 1 test: return false; Executed by:- tst_selftests - unknown status
| 695 |
57 | | - |
58 | | - |
59 | qputenv("QT_TESTCOCOON_ACTIVE", "1"); | - |
60 | | - |
61 | | - |
62 | __coveragescanner_install(appname); | - |
63 | __coveragescanner_testname(testname); | - |
64 | __coveragescanner_clear(); | - |
65 | returnexecuted 542 times by 538 tests: return true; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
true;executed 542 times by 538 tests: return true; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 542 |
66 | | - |
67 | | - |
68 | | - |
69 | | - |
70 | | - |
71 | } | - |
72 | | - |
73 | namespace QTest | - |
74 | { | - |
75 | static QObject *currentTestObject = 0; | - |
76 | static QString mainSourcePath; | - |
77 | | - |
78 | class TestFunction { | - |
79 | public: | - |
80 | TestFunction() : function_(-1), data_(0) {}executed 17920 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 17920 |
81 | void set(int function, char *data) { function_ = function; data_ = data; }executed 56 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 56 |
82 | char *data() const { returnexecuted 56 times by 1 test: return data_; Executed by:- tst_selftests - unknown status
data_;executed 56 times by 1 test: return data_; Executed by:- tst_selftests - unknown status
} | 56 |
83 | int function() const { returnexecuted 56 times by 1 test: return function_; Executed by:- tst_selftests - unknown status
function_;executed 56 times by 1 test: return function_; Executed by:- tst_selftests - unknown status
} | 56 |
84 | ~TestFunction() { delete[] data_; }executed 17920 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 17920 |
85 | private: | - |
86 | int function_; | - |
87 | char *data_; | - |
88 | }; | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | | - |
94 | | - |
95 | static TestFunction * testFuncs = 0; | - |
96 | static int testFuncCount = 0; | - |
97 | | - |
98 | | - |
99 | static struct TestFuncCleanup | - |
100 | { | - |
101 | void cleanup() | - |
102 | { | - |
103 | delete[] testFuncs; | - |
104 | testFuncCount = 0; | - |
105 | testFuncs = 0; | - |
106 | }executed 597 times by 541 tests: end of block Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| 597 |
107 | | - |
108 | ~TestFuncCleanup() { cleanup(); }executed 562 times by 541 tests: end of block Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| 562 |
109 | } testFuncCleaner; | - |
110 | | - |
111 | static int keyDelay = -1; | - |
112 | static int mouseDelay = -1; | - |
113 | static int eventDelay = -1; | - |
114 | static int timeout = -1; | - |
115 | static bool noCrashHandler = false; | - |
116 | | - |
117 | | - |
118 | | - |
119 | | - |
120 | static void invokeMethod(QObject *obj, const char *methodName) | - |
121 | { | - |
122 | const QMetaObject *metaObject = obj->metaObject(); | - |
123 | int funcIndex = metaObject->indexOfMethod(methodName); | - |
124 | if (funcIndex >= 0TRUE | evaluated 110923 times by 428 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- ...
| FALSE | evaluated 166568 times by 540 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
) { | 110923-166568 |
125 | QMetaMethod method = metaObject->method(funcIndex); | - |
126 | method.invoke(obj, Qt::DirectConnection); | - |
127 | }executed 110923 times by 428 tests: end of block Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- ...
| 110923 |
128 | }executed 277491 times by 540 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 277491 |
129 | | - |
130 | int defaultEventDelay() | - |
131 | { | - |
132 | if (eventDelay == -1TRUE | evaluated 72 times by 72 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialogButtonBox
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- ...
| FALSE | evaluated 36 times by 36 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- ...
|
) { | 36-72 |
133 | const QByteArray env = qgetenv("QTEST_EVENT_DELAY"); | - |
134 | if (!env.isEmpty()TRUE | never evaluated | FALSE | evaluated 72 times by 72 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialogButtonBox
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- ...
|
) | 0-72 |
135 | eventDelay = atoi(env.constData()); never executed: eventDelay = atoi(env.constData()); | 0 |
136 | else | - |
137 | eventDelay = 0;executed 72 times by 72 tests: eventDelay = 0; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialogButtonBox
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- ...
| 72 |
138 | } | - |
139 | returnexecuted 108 times by 72 tests: return eventDelay; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialogButtonBox
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- ...
eventDelay;executed 108 times by 72 tests: return eventDelay; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialogButtonBox
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- ...
| 108 |
140 | } | - |
141 | | - |
142 | int __attribute__((visibility("default"))) defaultMouseDelay() | - |
143 | { | - |
144 | if (mouseDelay == -1TRUE | evaluated 50 times by 50 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGroupBox
- tst_QGuiApplication
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- ...
| FALSE | evaluated 8829 times by 45 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGroupBox
- tst_QGuiApplication
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- ...
|
) { | 50-8829 |
145 | const QByteArray env = qgetenv("QTEST_MOUSEEVENT_DELAY"); | - |
146 | if (!env.isEmpty()TRUE | never evaluated | FALSE | evaluated 50 times by 50 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGroupBox
- tst_QGuiApplication
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- ...
|
) | 0-50 |
147 | mouseDelay = atoi(env.constData()); never executed: mouseDelay = atoi(env.constData()); | 0 |
148 | else | - |
149 | mouseDelay = defaultEventDelay();executed 50 times by 50 tests: mouseDelay = defaultEventDelay(); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGroupBox
- tst_QGuiApplication
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- ...
| 50 |
150 | } | - |
151 | returnexecuted 8879 times by 50 tests: return mouseDelay; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGroupBox
- tst_QGuiApplication
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- ...
mouseDelay;executed 8879 times by 50 tests: return mouseDelay; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGroupBox
- tst_QGuiApplication
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- ...
| 8879 |
152 | } | - |
153 | | - |
154 | int __attribute__((visibility("default"))) defaultKeyDelay() | - |
155 | { | - |
156 | if (keyDelay == -1TRUE | evaluated 58 times by 58 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialogButtonBox
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 14498 times by 54 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- ...
|
) { | 58-14498 |
157 | const QByteArray env = qgetenv("QTEST_KEYEVENT_DELAY"); | - |
158 | if (!env.isEmpty()TRUE | never evaluated | FALSE | evaluated 58 times by 58 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialogButtonBox
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 0-58 |
159 | keyDelay = atoi(env.constData()); never executed: keyDelay = atoi(env.constData()); | 0 |
160 | else | - |
161 | keyDelay = defaultEventDelay();executed 58 times by 58 tests: keyDelay = defaultEventDelay(); Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialogButtonBox
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 58 |
162 | } | - |
163 | returnexecuted 14556 times by 58 tests: return keyDelay; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialogButtonBox
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
keyDelay;executed 14556 times by 58 tests: return keyDelay; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialogButtonBox
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 14556 |
164 | } | - |
165 | | - |
166 | static int defaultTimeout() | - |
167 | { | - |
168 | if (timeout == -1TRUE | evaluated 1122 times by 534 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 129359 times by 508 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
|
) { | 1122-129359 |
169 | bool ok = false; | - |
170 | timeout = qEnvironmentVariableIntValue("QTEST_FUNCTION_TIMEOUT", &ok); | - |
171 | | - |
172 | if (!okTRUE | evaluated 1122 times by 534 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | never evaluated |
|| timeout <= 0TRUE | never evaluated | FALSE | never evaluated |
) | 0-1122 |
173 | timeout = 5*60*1000;executed 1122 times by 534 tests: timeout = 5*60*1000; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 1122 |
174 | }executed 1122 times by 534 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 1122 |
175 | returnexecuted 130481 times by 535 tests: return timeout; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
timeout;executed 130481 times by 535 tests: return timeout; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 130481 |
176 | } | - |
177 | | - |
178 | static bool isValidSlot(const QMetaMethod &sl) | - |
179 | { | - |
180 | if (sl.access() != QMetaMethod::PrivateTRUE | evaluated 5383 times by 536 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 19343 times by 537 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
|| sl.parameterCount() != 0TRUE | evaluated 1123 times by 536 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 18220 times by 536 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
| 1123-19343 |
181 | || sl.returnType() != QMetaType::VoidTRUE | never evaluated | FALSE | evaluated 18220 times by 536 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
|| sl.methodType() != QMetaMethod::SlotTRUE | never evaluated | FALSE | evaluated 18220 times by 536 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
) | 0-18220 |
182 | returnexecuted 6506 times by 536 tests: return false; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
false;executed 6506 times by 536 tests: return false; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 6506 |
183 | QByteArray name = sl.name(); | - |
184 | if (name.isEmpty()TRUE | never evaluated | FALSE | evaluated 18220 times by 536 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
) | 0-18220 |
185 | return never executed: return false; false;never executed: return false; | 0 |
186 | if (name.endsWith("_data")TRUE | evaluated 4685 times by 361 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
| FALSE | evaluated 13535 times by 536 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
) | 4685-13535 |
187 | returnexecuted 4685 times by 361 tests: return false; Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
false;executed 4685 times by 361 tests: return false; Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
| 4685 |
188 | if (name == "initTestCase"TRUE | evaluated 143 times by 119 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- tst_QAtomicInteger_Gcc_qlonglong
- tst_QAtomicInteger_Gcc_qptrdiff
- tst_QAtomicInteger_Gcc_quintptr
- tst_QAtomicInteger_Gcc_qulonglong
- tst_QAtomicInteger_Gcc_schar
- tst_QAtomicInteger_Gcc_short
- tst_QAtomicInteger_Gcc_uchar
- tst_QAtomicInteger_Gcc_uint
- tst_QAtomicInteger_Gcc_ulong
- tst_QAtomicInteger_Gcc_ushort
- tst_QAtomicInteger_Gcc_wchar_t
- tst_QAtomicInteger_NoCxx11_char
- tst_QAtomicInteger_NoCxx11_char16_t
- tst_QAtomicInteger_NoCxx11_char32_t
- tst_QAtomicInteger_NoCxx11_int
- tst_QAtomicInteger_NoCxx11_long
- ...
| FALSE | evaluated 13392 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
|| name == "cleanupTestCase"TRUE | evaluated 90 times by 27 testsEvaluated by:- tst_LargeFile
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileInfo
- tst_QGlyphRun
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QIODevice
- tst_QItemDelegate
- tst_QLabel
- tst_QLogging
- tst_QMimeDatabase
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QResourceEngine
- tst_QStyle
- tst_QVariant
- tst_QXmlStream
- tst_qdbuscpp2xml
- tst_qmakelib
- tst_rcc
- ...
| FALSE | evaluated 13302 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
| 90-13392 |
189 | || name == "cleanup"TRUE | evaluated 95 times by 33 testsEvaluated by:- tst_LargeFile
- tst_QAbstractItemView
- tst_QActionGroup
- tst_QBoxLayout
- tst_QDBusAbstractInterface
- tst_QDialog
- tst_QFile
- tst_QFormLayout
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QItemDelegate
- tst_QLabel
- tst_QLayout
- tst_QMainWindow
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkReply
- tst_QProgressDialog
- tst_QSizePolicy
- tst_QStaticText
- tst_QStyle
- tst_QToolTip
- ...
| FALSE | evaluated 13207 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
|| name == "init"TRUE | evaluated 83 times by 20 testsEvaluated by:- tst_LargeFile
- tst_QClipboard
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusServiceWatcher
- tst_QDir
- tst_QFile
- tst_QGlyphRun
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QItemDelegate
- tst_QLabel
- tst_QMimeDatabase
- tst_QRawFont
- tst_QStaticText
- tst_QStyle
- tst_QToolTip
- tst_qdesktopservices
- tst_selftests - unknown status
| FALSE | evaluated 13124 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
) | 83-13207 |
190 | returnexecuted 411 times by 136 tests: return false; Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QActionGroup
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- tst_QAtomicInteger_Gcc_qlonglong
- tst_QAtomicInteger_Gcc_qptrdiff
- tst_QAtomicInteger_Gcc_quintptr
- tst_QAtomicInteger_Gcc_qulonglong
- tst_QAtomicInteger_Gcc_schar
- tst_QAtomicInteger_Gcc_short
- tst_QAtomicInteger_Gcc_uchar
- tst_QAtomicInteger_Gcc_uint
- tst_QAtomicInteger_Gcc_ulong
- tst_QAtomicInteger_Gcc_ushort
- tst_QAtomicInteger_Gcc_wchar_t
- tst_QAtomicInteger_NoCxx11_char
- tst_QAtomicInteger_NoCxx11_char16_t
- tst_QAtomicInteger_NoCxx11_char32_t
- tst_QAtomicInteger_NoCxx11_int
- ...
false;executed 411 times by 136 tests: return false; Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QActionGroup
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- tst_QAtomicInteger_Gcc_qlonglong
- tst_QAtomicInteger_Gcc_qptrdiff
- tst_QAtomicInteger_Gcc_quintptr
- tst_QAtomicInteger_Gcc_qulonglong
- tst_QAtomicInteger_Gcc_schar
- tst_QAtomicInteger_Gcc_short
- tst_QAtomicInteger_Gcc_uchar
- tst_QAtomicInteger_Gcc_uint
- tst_QAtomicInteger_Gcc_ulong
- tst_QAtomicInteger_Gcc_ushort
- tst_QAtomicInteger_Gcc_wchar_t
- tst_QAtomicInteger_NoCxx11_char
- tst_QAtomicInteger_NoCxx11_char16_t
- tst_QAtomicInteger_NoCxx11_char32_t
- tst_QAtomicInteger_NoCxx11_int
- ...
| 411 |
191 | returnexecuted 13124 times by 535 tests: return true; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
true;executed 13124 times by 535 tests: return true; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 13124 |
192 | } | - |
193 | | - |
194 | __attribute__((visibility("default"))) bool printAvailableFunctions = false; | - |
195 | __attribute__((visibility("default"))) QStringList testFunctions; | - |
196 | __attribute__((visibility("default"))) QStringList testTags; | - |
197 | | - |
198 | static void qPrintTestSlots(FILE *stream, const char *filter = 0) | - |
199 | { | - |
200 | for (int i = 0; i < QTest::currentTestObject->metaObject()->methodCount()TRUE | never evaluated | FALSE | never evaluated |
; ++i) { | 0 |
201 | QMetaMethod sl = QTest::currentTestObject->metaObject()->method(i); | - |
202 | if (isValidSlot(sl)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
203 | const QByteArray signature = sl.methodSignature(); | - |
204 | if (!filterTRUE | never evaluated | FALSE | never evaluated |
|| QString::fromLatin1(signature).contains(QLatin1String(filter), Qt::CaseInsensitive)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
205 | fprintf(stream, "%s\n", signature.constData()); never executed: fprintf(stream, "%s\n", signature.constData()); | 0 |
206 | } never executed: end of block | 0 |
207 | } never executed: end of block | 0 |
208 | } never executed: end of block | 0 |
209 | | - |
210 | static void qPrintDataTags(FILE *stream) | - |
211 | { | - |
212 | | - |
213 | QTestLog::setPrintAvailableTagsMode(); | - |
214 | | - |
215 | | - |
216 | QTestTable::globalTestTable(); | - |
217 | invokeMethod(QTest::currentTestObject, "initTestCase_data()"); | - |
218 | const QTestTable *gTable = QTestTable::globalTestTable(); | - |
219 | | - |
220 | const QMetaObject *currTestMetaObj = QTest::currentTestObject->metaObject(); | - |
221 | | - |
222 | | - |
223 | for (int i = 0; i < currTestMetaObj->methodCount()TRUE | evaluated 44 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 4 times by 1 testEvaluated by:- tst_selftests - unknown status
|
; ++i) { | 4-44 |
224 | QMetaMethod tf = currTestMetaObj->method(i); | - |
225 | | - |
226 | if (isValidSlot(tf)TRUE | evaluated 12 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 32 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 12-32 |
227 | | - |
228 | | - |
229 | QStringList localTags; | - |
230 | QTestTable table; | - |
231 | char *slot = qstrdup(tf.methodSignature().constData()); | - |
232 | slot[strlen(slot) - 2] = '\0'; | - |
233 | QByteArray member; | - |
234 | member.resize(qstrlen(slot) + qstrlen("_data()") + 1); | - |
235 | qsnprintf(member.data(), member.size(), "%s_data()", slot); | - |
236 | invokeMethod(QTest::currentTestObject, member.constData()); | - |
237 | const int dataCount = table.dataCount(); | - |
238 | localTags.reserve(dataCount); | - |
239 | for (int j = 0; j < dataCountTRUE | evaluated 20 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 12 times by 1 testEvaluated by:- tst_selftests - unknown status
|
; ++j) | 12-20 |
240 | localTags << QLatin1String(table.testData(j)->dataTag());executed 20 times by 1 test: localTags << QLatin1String(table.testData(j)->dataTag()); Executed by:- tst_selftests - unknown status
| 20 |
241 | | - |
242 | | - |
243 | if (gTable->dataCount() == 0TRUE | evaluated 6 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 6 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 6 |
244 | if (localTags.count() == 0TRUE | evaluated 2 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 4 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 2-4 |
245 | | - |
246 | fprintf(stream, "%s %s\n", currTestMetaObj->className(), slot); | - |
247 | }executed 2 times by 1 test: end of block Executed by:- tst_selftests - unknown status
else { | 2 |
248 | | - |
249 | for (int k = 0; k < localTags.size()TRUE | evaluated 10 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 4 times by 1 testEvaluated by:- tst_selftests - unknown status
|
; ++k) | 4-10 |
250 | fprintf(executed 10 times by 1 test: fprintf( stream, "%s %s %s\n", currTestMetaObj->className(), slot, localTags.at(k).toLatin1().data()); Executed by:- tst_selftests - unknown status
| 10 |
251 | stream, "%s %s %s\n",executed 10 times by 1 test: fprintf( stream, "%s %s %s\n", currTestMetaObj->className(), slot, localTags.at(k).toLatin1().data()); Executed by:- tst_selftests - unknown status
| 10 |
252 | currTestMetaObj->className(), slot, localTags.at(k).toLatin1().data());executed 10 times by 1 test: fprintf( stream, "%s %s %s\n", currTestMetaObj->className(), slot, localTags.at(k).toLatin1().data()); Executed by:- tst_selftests - unknown status
| 10 |
253 | }executed 4 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 4 |
254 | } else { | - |
255 | for (int j = 0; j < gTable->dataCount()TRUE | evaluated 12 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 6 times by 1 testEvaluated by:- tst_selftests - unknown status
|
; ++j) { | 6-12 |
256 | if (localTags.count() == 0TRUE | evaluated 4 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 8 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 4-8 |
257 | | - |
258 | fprintf( | - |
259 | stream, "%s %s __global__ %s\n", | - |
260 | currTestMetaObj->className(), slot, gTable->testData(j)->dataTag()); | - |
261 | }executed 4 times by 1 test: end of block Executed by:- tst_selftests - unknown status
else { | 4 |
262 | | - |
263 | | - |
264 | for (int k = 0; k < localTags.size()TRUE | evaluated 20 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 8 times by 1 testEvaluated by:- tst_selftests - unknown status
|
; ++k) | 8-20 |
265 | fprintf(executed 20 times by 1 test: fprintf( stream, "%s %s %s __global__ %s\n", currTestMetaObj->className(), slot, localTags.at(k).toLatin1().data(), gTable->testData(j)->dataTag()); Executed by:- tst_selftests - unknown status
| 20 |
266 | stream, "%s %s %s __global__ %s\n", currTestMetaObj->className(), slot,executed 20 times by 1 test: fprintf( stream, "%s %s %s __global__ %s\n", currTestMetaObj->className(), slot, localTags.at(k).toLatin1().data(), gTable->testData(j)->dataTag()); Executed by:- tst_selftests - unknown status
| 20 |
267 | localTags.at(k).toLatin1().data(), gTable->testData(j)->dataTag());executed 20 times by 1 test: fprintf( stream, "%s %s %s __global__ %s\n", currTestMetaObj->className(), slot, localTags.at(k).toLatin1().data(), gTable->testData(j)->dataTag()); Executed by:- tst_selftests - unknown status
| 20 |
268 | }executed 8 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 8 |
269 | } | - |
270 | }executed 6 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 6 |
271 | | - |
272 | delete[] slot; | - |
273 | }executed 12 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 12 |
274 | }executed 44 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 44 |
275 | }executed 4 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 4 |
276 | | - |
277 | static int qToInt(char *str) | - |
278 | { | - |
279 | char *pEnd; | - |
280 | int l = (int)strtol(str, &pEnd, 10); | - |
281 | if (*TRUE | never evaluated | FALSE | evaluated 17 times by 1 testEvaluated by:- tst_selftests - unknown status
|
pEnd != 0TRUE | never evaluated | FALSE | evaluated 17 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-17 |
282 | fprintf(stderr, "Invalid numeric parameter: '%s'\n", str); | - |
283 | exit(1); never executed: exit(1); | 0 |
284 | } | - |
285 | returnexecuted 17 times by 1 test: return l; Executed by:- tst_selftests - unknown status
l;executed 17 times by 1 test: return l; Executed by:- tst_selftests - unknown status
| 17 |
286 | } | - |
287 | | - |
288 | __attribute__((visibility("default"))) void qtest_qParseArgs(int argc, char *argv[], bool qml) | - |
289 | { | - |
290 | QTestLog::LogMode logFormat = QTestLog::Plain; | - |
291 | const char *logFilename = 0; | - |
292 | | - |
293 | | - |
294 | | - |
295 | | - |
296 | | - |
297 | | - |
298 | const char *testOptions = | - |
299 | " New-style logging options:\n" | - |
300 | " -o filename,format : Output results to file in the specified format\n" | - |
301 | " Use - to output to stdout\n" | - |
302 | " Valid formats are:\n" | - |
303 | " txt : Plain text\n" | - |
304 | " csv : CSV format (suitable for benchmarks)\n" | - |
305 | " xunitxml : XML XUnit document\n" | - |
306 | " xml : XML document\n" | - |
307 | " lightxml : A stream of XML tags\n" | - |
308 | "\n" | - |
309 | " *** Multiple loggers can be specified, but at most one can log to stdout.\n" | - |
310 | "\n" | - |
311 | " Old-style logging options:\n" | - |
312 | " -o filename : Write the output into file\n" | - |
313 | " -txt : Output results in Plain Text\n" | - |
314 | " -csv : Output results in a CSV format (suitable for benchmarks)\n" | - |
315 | " -xunitxml : Output results as XML XUnit document\n" | - |
316 | " -xml : Output results as XML document\n" | - |
317 | " -lightxml : Output results as stream of XML tags\n" | - |
318 | "\n" | - |
319 | " *** If no output file is specified, stdout is assumed.\n" | - |
320 | " *** If no output format is specified, -txt is assumed.\n" | - |
321 | "\n" | - |
322 | " Test log detail options:\n" | - |
323 | " -silent : Log failures and fatal errors only\n" | - |
324 | " -v1 : Log the start of each testfunction\n" | - |
325 | " -v2 : Log each QVERIFY/QCOMPARE/QTEST (implies -v1)\n" | - |
326 | " -vs : Log every signal emission and resulting slot invocations\n" | - |
327 | "\n" | - |
328 | " *** The -silent and -v1 options only affect plain text output.\n" | - |
329 | "\n" | - |
330 | " Testing options:\n" | - |
331 | " -functions : Returns a list of current testfunctions\n" | - |
332 | " -datatags : Returns a list of current data tags.\n" | - |
333 | " A global data tag is preceded by ' __global__ '.\n" | - |
334 | " -eventdelay ms : Set default delay for mouse and keyboard simulation to ms milliseconds\n" | - |
335 | " -keydelay ms : Set default delay for keyboard simulation to ms milliseconds\n" | - |
336 | " -mousedelay ms : Set default delay for mouse simulation to ms milliseconds\n" | - |
337 | " -maxwarnings n : Sets the maximum amount of messages to output.\n" | - |
338 | " 0 means unlimited, default: 2000\n" | - |
339 | " -nocrashhandler : Disables the crash handler. Useful for debugging crashes.\n" | - |
340 | "\n" | - |
341 | " Benchmarking options:\n" | - |
342 | | - |
343 | " -callgrind : Use callgrind to time benchmarks\n" | - |
344 | | - |
345 | | - |
346 | " -perf : Use Linux perf events to time benchmarks\n" | - |
347 | " -perfcounter name : Use the counter named 'name'\n" | - |
348 | " -perfcounterlist : Lists the counters available\n" | - |
349 | | - |
350 | | - |
351 | " -tickcounter : Use CPU tick counters to time benchmarks\n" | - |
352 | | - |
353 | " -eventcounter : Counts events received during benchmarks\n" | - |
354 | " -minimumvalue n : Sets the minimum acceptable measurement value\n" | - |
355 | " -minimumtotal n : Sets the minimum acceptable total for repeated executions of a test function\n" | - |
356 | " -iterations n : Sets the number of accumulation iterations.\n" | - |
357 | " -median n : Sets the number of median iterations.\n" | - |
358 | " -vb : Print out verbose benchmarking information.\n"; | - |
359 | | - |
360 | for (int i = 1; i < argcTRUE | evaluated 1184 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 695 times by 1 testEvaluated by:- tst_selftests - unknown status
|
; ++i) { | 695-1184 |
361 | if (strcmp(argv[i], "-help") == 0TRUE | never evaluated | FALSE | evaluated 1184 times by 1 testEvaluated by:- tst_selftests - unknown status
|
|| strcmp(argv[i], "--help") == 0TRUE | never evaluated | FALSE | evaluated 1184 times by 1 testEvaluated by:- tst_selftests - unknown status
|
| 0-1184 |
362 | || strcmp(argv[i], "/?") == 0TRUE | never evaluated | FALSE | evaluated 1184 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-1184 |
363 | printf(" Usage: %s [options] [testfunction[:testdata]]...\n" | - |
364 | " By default, all testfunctions will be run.\n\n" | - |
365 | "%s", argv[0], testOptions); | - |
366 | | - |
367 | if (qmlTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
368 | printf ("\n" | - |
369 | " QmlTest options:\n" | - |
370 | " -import dir : Specify an import directory.\n" | - |
371 | " -plugins dir : Specify a directory where to search for plugins.\n" | - |
372 | " -input dir/file : Specify the root directory for test cases or a single test case file.\n" | - |
373 | " -qtquick1 : Run with QtQuick 1 rather than QtQuick 2.\n" | - |
374 | " -translation file : Specify the translation file.\n" | - |
375 | ); | - |
376 | } never executed: end of block | 0 |
377 | | - |
378 | printf("\n" | - |
379 | " -help : This help\n"); | - |
380 | exit(0); never executed: exit(0); | 0 |
381 | } else if (strcmp(argv[i], "-functions") == 0TRUE | never evaluated | FALSE | evaluated 1184 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-1184 |
382 | if (qmlTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
383 | QTest::printAvailableFunctions = true; | - |
384 | } never executed: end of block else { | 0 |
385 | qPrintTestSlots(stdout); | - |
386 | exit(0); never executed: exit(0); | 0 |
387 | } | - |
388 | } else if (strcmp(argv[i], "-datatags") == 0TRUE | evaluated 4 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 1180 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 4-1180 |
389 | if (!qmlTRUE | evaluated 4 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | never evaluated |
) { | 0-4 |
390 | qPrintDataTags(stdout); | - |
391 | exit(0);executed 4 times by 1 test: exit(0); Executed by:- tst_selftests - unknown status
| 4 |
392 | } | - |
393 | } never executed: end of block else if (strcmp(argv[i], "-txt") == 0TRUE | never evaluated | FALSE | evaluated 1180 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-1180 |
394 | logFormat = QTestLog::Plain; | - |
395 | } never executed: end of block else if (strcmp(argv[i], "-csv") == 0TRUE | evaluated 4 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 1176 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-1176 |
396 | logFormat = QTestLog::CSV; | - |
397 | }executed 4 times by 1 test: end of block Executed by:- tst_selftests - unknown status
else if (strcmp(argv[i], "-xunitxml") == 0TRUE | evaluated 62 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 1114 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 4-1114 |
398 | logFormat = QTestLog::XunitXML; | - |
399 | }executed 62 times by 1 test: end of block Executed by:- tst_selftests - unknown status
else if (strcmp(argv[i], "-xml") == 0TRUE | evaluated 62 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 1052 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 62-1052 |
400 | logFormat = QTestLog::XML; | - |
401 | }executed 62 times by 1 test: end of block Executed by:- tst_selftests - unknown status
else if (strcmp(argv[i], "-lightxml") == 0TRUE | evaluated 62 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 990 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 62-990 |
402 | logFormat = QTestLog::LightXML; | - |
403 | }executed 62 times by 1 test: end of block Executed by:- tst_selftests - unknown status
else if (strcmp(argv[i], "-silent") == 0TRUE | evaluated 2 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 988 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 2-988 |
404 | QTestLog::setVerboseLevel(-1); | - |
405 | }executed 2 times by 1 test: end of block Executed by:- tst_selftests - unknown status
else if (strcmp(argv[i], "-v1") == 0TRUE | evaluated 21 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 967 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 2-967 |
406 | QTestLog::setVerboseLevel(1); | - |
407 | }executed 21 times by 1 test: end of block Executed by:- tst_selftests - unknown status
else if (strcmp(argv[i], "-v2") == 0TRUE | evaluated 42 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 925 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 21-925 |
408 | QTestLog::setVerboseLevel(2); | - |
409 | }executed 42 times by 1 test: end of block Executed by:- tst_selftests - unknown status
else if (strcmp(argv[i], "-vs") == 0TRUE | never evaluated | FALSE | evaluated 925 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-925 |
410 | QSignalDumper::startDump(); | - |
411 | } never executed: end of block else if (strcmp(argv[i], "-o") == 0TRUE | evaluated 783 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 142 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-783 |
412 | if (i + 1 >= argcTRUE | never evaluated | FALSE | evaluated 783 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-783 |
413 | fprintf(stderr, "-o needs an extra parameter specifying the filename and optional format\n"); | - |
414 | exit(1); never executed: exit(1); | 0 |
415 | } | - |
416 | ++i; | - |
417 | | - |
418 | char *filename = new char[strlen(argv[i])+1]; | - |
419 | char *format = new char[strlen(argv[i])+1]; | - |
420 | if (sscanf(argv[i], "%[^,],%s", filename, format) == 1TRUE | evaluated 125 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 658 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 125-658 |
421 | | - |
422 | logFilename = argv[i]; | - |
423 | }executed 125 times by 1 test: end of block Executed by:- tst_selftests - unknown status
else { | 125 |
424 | | - |
425 | if (strcmp(format, "txt") == 0TRUE | evaluated 256 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 402 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) | 256-402 |
426 | logFormat = QTestLog::Plain;executed 256 times by 1 test: logFormat = QTestLog::Plain; Executed by:- tst_selftests - unknown status
| 256 |
427 | else if (strcmp(format, "csv") == 0TRUE | evaluated 4 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 398 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) | 4-398 |
428 | logFormat = QTestLog::CSV;executed 4 times by 1 test: logFormat = QTestLog::CSV; Executed by:- tst_selftests - unknown status
| 4 |
429 | else if (strcmp(format, "lightxml") == 0TRUE | evaluated 123 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 275 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) | 123-275 |
430 | logFormat = QTestLog::LightXML;executed 123 times by 1 test: logFormat = QTestLog::LightXML; Executed by:- tst_selftests - unknown status
| 123 |
431 | else if (strcmp(format, "xml") == 0TRUE | evaluated 122 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 153 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) | 122-153 |
432 | logFormat = QTestLog::XML;executed 122 times by 1 test: logFormat = QTestLog::XML; Executed by:- tst_selftests - unknown status
| 122 |
433 | else if (strcmp(format, "xunitxml") == 0TRUE | evaluated 153 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | never evaluated |
) | 0-153 |
434 | logFormat = QTestLog::XunitXML;executed 153 times by 1 test: logFormat = QTestLog::XunitXML; Executed by:- tst_selftests - unknown status
| 153 |
435 | else { | - |
436 | fprintf(stderr, "output format must be one of txt, csv, lightxml, xml or xunitxml\n"); | - |
437 | exit(1); never executed: exit(1); | 0 |
438 | } | - |
439 | if (strcmp(filename, "-") == 0TRUE | evaluated 262 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 396 times by 1 testEvaluated by:- tst_selftests - unknown status
|
&& QTestLog::loggerUsingStdout()TRUE | never evaluated | FALSE | evaluated 262 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-396 |
440 | fprintf(stderr, "only one logger can log to stdout\n"); | - |
441 | exit(1); never executed: exit(1); | 0 |
442 | } | - |
443 | QTestLog::addLogger(logFormat, filename); | - |
444 | }executed 658 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 658 |
445 | delete [] filename; | - |
446 | delete [] format; | - |
447 | }executed 783 times by 1 test: end of block Executed by:- tst_selftests - unknown status
else if (strcmp(argv[i], "-eventdelay") == 0TRUE | never evaluated | FALSE | evaluated 142 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-783 |
448 | if (i + 1 >= argcTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
449 | fprintf(stderr, "-eventdelay needs an extra parameter to indicate the delay(ms)\n"); | - |
450 | exit(1); never executed: exit(1); | 0 |
451 | } else { | - |
452 | QTest::eventDelay = qToInt(argv[++i]); | - |
453 | } never executed: end of block | 0 |
454 | } else if (strcmp(argv[i], "-keydelay") == 0TRUE | never evaluated | FALSE | evaluated 142 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-142 |
455 | if (i + 1 >= argcTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
456 | fprintf(stderr, "-keydelay needs an extra parameter to indicate the delay(ms)\n"); | - |
457 | exit(1); never executed: exit(1); | 0 |
458 | } else { | - |
459 | QTest::keyDelay = qToInt(argv[++i]); | - |
460 | } never executed: end of block | 0 |
461 | } else if (strcmp(argv[i], "-mousedelay") == 0TRUE | never evaluated | FALSE | evaluated 142 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-142 |
462 | if (i + 1 >= argcTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
463 | fprintf(stderr, "-mousedelay needs an extra parameter to indicate the delay(ms)\n"); | - |
464 | exit(1); never executed: exit(1); | 0 |
465 | } else { | - |
466 | QTest::mouseDelay = qToInt(argv[++i]); | - |
467 | } never executed: end of block | 0 |
468 | } else if (strcmp(argv[i], "-maxwarnings") == 0TRUE | never evaluated | FALSE | evaluated 142 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-142 |
469 | if (i + 1 >= argcTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
470 | fprintf(stderr, "-maxwarnings needs an extra parameter with the amount of warnings\n"); | - |
471 | exit(1); never executed: exit(1); | 0 |
472 | } else { | - |
473 | QTestLog::setMaxWarnings(qToInt(argv[++i])); | - |
474 | } never executed: end of block | 0 |
475 | } else if (strcmp(argv[i], "-nocrashhandler") == 0TRUE | never evaluated | FALSE | evaluated 142 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-142 |
476 | QTest::noCrashHandler = true; | - |
477 | | - |
478 | } never executed: end of block else if (strcmp(argv[i], "-callgrind") == 0TRUE | never evaluated | FALSE | evaluated 142 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-142 |
479 | if (QBenchmarkValgrindUtils::haveValgrind()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
480 | if (QFileInfo(QDir::currentPath()).isWritable()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
481 | QBenchmarkGlobalData::current->setMode(QBenchmarkGlobalData::CallgrindParentProcess); | - |
482 | } never executed: end of block else { | 0 |
483 | fprintf(stderr, "WARNING: Current directory not writable. Using the walltime measurer.\n"); | - |
484 | } never executed: end of block | 0 |
485 | else { | - |
486 | fprintf(stderr, "WARNING: Valgrind not found or too old. Make sure it is installed and in your path. " | - |
487 | "Using the walltime measurer.\n"); | - |
488 | } never executed: end of block | 0 |
489 | } else if (strcmp(argv[i], "-callgrindchild") == 0TRUE | never evaluated | FALSE | evaluated 142 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-142 |
490 | QBenchmarkGlobalData::current->setMode(QBenchmarkGlobalData::CallgrindChildProcess); | - |
491 | QBenchmarkGlobalData::current->callgrindOutFileBase = | - |
492 | QBenchmarkValgrindUtils::outFileBase(); | - |
493 | | - |
494 | | - |
495 | } never executed: end of block else if (strcmp(argv[i], "-perf") == 0TRUE | never evaluated | FALSE | evaluated 142 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-142 |
496 | if (QBenchmarkPerfEventsMeasurer::isAvailable()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
497 | | - |
498 | QBenchmarkGlobalData::current->setMode(QBenchmarkGlobalData::PerfCounter); | - |
499 | } never executed: end of block else { | 0 |
500 | fprintf(stderr, "WARNING: Linux perf events not available. Using the walltime measurer.\n"); | - |
501 | } never executed: end of block | 0 |
502 | } else if (strcmp(argv[i], "-perfcounter") == 0TRUE | never evaluated | FALSE | evaluated 142 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-142 |
503 | if (i + 1 >= argcTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
504 | fprintf(stderr, "-perfcounter needs an extra parameter with the name of the counter\n"); | - |
505 | exit(1); never executed: exit(1); | 0 |
506 | } else { | - |
507 | QBenchmarkPerfEventsMeasurer::setCounter(argv[++i]); | - |
508 | } never executed: end of block | 0 |
509 | } else if (strcmp(argv[i], "-perfcounterlist") == 0TRUE | never evaluated | FALSE | evaluated 142 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-142 |
510 | QBenchmarkPerfEventsMeasurer::listCounters(); | - |
511 | exit(0); never executed: exit(0); | 0 |
512 | | - |
513 | | - |
514 | } else if (strcmp(argv[i], "-tickcounter") == 0TRUE | never evaluated | FALSE | evaluated 142 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-142 |
515 | QBenchmarkGlobalData::current->setMode(QBenchmarkGlobalData::TickCounter); | - |
516 | | - |
517 | } never executed: end of block else if (strcmp(argv[i], "-eventcounter") == 0TRUE | evaluated 69 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 73 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-73 |
518 | QBenchmarkGlobalData::current->setMode(QBenchmarkGlobalData::EventCounter); | - |
519 | }executed 69 times by 1 test: end of block Executed by:- tst_selftests - unknown status
else if (strcmp(argv[i], "-minimumvalue") == 0TRUE | evaluated 2 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 71 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 2-71 |
520 | if (i + 1 >= argcTRUE | never evaluated | FALSE | evaluated 2 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-2 |
521 | fprintf(stderr, "-minimumvalue needs an extra parameter to indicate the minimum time(ms)\n"); | - |
522 | exit(1); never executed: exit(1); | 0 |
523 | } else { | - |
524 | QBenchmarkGlobalData::current->walltimeMinimum = qToInt(argv[++i]); | - |
525 | }executed 2 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 2 |
526 | } else if (strcmp(argv[i], "-minimumtotal") == 0TRUE | never evaluated | FALSE | evaluated 71 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-71 |
527 | if (i + 1 >= argcTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
528 | fprintf(stderr, "-minimumtotal needs an extra parameter to indicate the minimum total measurement\n"); | - |
529 | exit(1); never executed: exit(1); | 0 |
530 | } else { | - |
531 | QBenchmarkGlobalData::current->minimumTotal = qToInt(argv[++i]); | - |
532 | } never executed: end of block | 0 |
533 | } else if (strcmp(argv[i], "-iterations") == 0TRUE | evaluated 15 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 56 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 15-56 |
534 | if (i + 1 >= argcTRUE | never evaluated | FALSE | evaluated 15 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-15 |
535 | fprintf(stderr, "-iterations needs an extra parameter to indicate the number of iterations\n"); | - |
536 | exit(1); never executed: exit(1); | 0 |
537 | } else { | - |
538 | QBenchmarkGlobalData::current->iterationCount = qToInt(argv[++i]); | - |
539 | }executed 15 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 15 |
540 | } else if (strcmp(argv[i], "-median") == 0TRUE | never evaluated | FALSE | evaluated 56 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-56 |
541 | if (i + 1 >= argcTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
542 | fprintf(stderr, "-median needs an extra parameter to indicate the number of median iterations\n"); | - |
543 | exit(1); never executed: exit(1); | 0 |
544 | } else { | - |
545 | QBenchmarkGlobalData::current->medianIterationCount = qToInt(argv[++i]); | - |
546 | } never executed: end of block | 0 |
547 | | - |
548 | } else if (strcmp(argv[i], "-vb") == 0TRUE | never evaluated | FALSE | evaluated 56 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-56 |
549 | QBenchmarkGlobalData::current->verboseOutput = true; | - |
550 | } never executed: end of block else if (argv[i][0] == '-'TRUE | never evaluated | FALSE | evaluated 56 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-56 |
551 | fprintf(stderr, "Unknown option: '%s'\n\n%s", argv[i], testOptions); | - |
552 | if (qmlTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
553 | fprintf(stderr, "\nqmltest related options:\n" | - |
554 | " -import : Specify an import directory.\n" | - |
555 | " -plugins : Specify a directory where to search for plugins.\n" | - |
556 | " -input : Specify the root directory for test cases.\n" | - |
557 | " -qtquick1 : Run with QtQuick 1 rather than QtQuick 2.\n" | - |
558 | ); | - |
559 | } never executed: end of block | 0 |
560 | | - |
561 | fprintf(stderr, "\n" | - |
562 | " -help : This help\n"); | - |
563 | exit(1); never executed: exit(1); | 0 |
564 | } else if (qmlTRUE | never evaluated | FALSE | evaluated 56 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-56 |
565 | | - |
566 | | - |
567 | int colon = -1; | - |
568 | int offset; | - |
569 | for (offset = 0; *(TRUE | never evaluated | FALSE | never evaluated |
argv[i]+offset)TRUE | never evaluated | FALSE | never evaluated |
; ++offset) { | 0 |
570 | if (*(TRUE | never evaluated | FALSE | never evaluated |
argv[i]+offset) == ':'TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
571 | if (*(TRUE | never evaluated | FALSE | never evaluated |
argv[i]+offset+1) == ':'TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
572 | | - |
573 | | - |
574 | ++offset; | - |
575 | } never executed: end of block else { | 0 |
576 | colon = offset; | - |
577 | break; never executed: break; | 0 |
578 | } | - |
579 | } | - |
580 | } never executed: end of block | 0 |
581 | if (colon == -1TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
582 | QTest::testFunctions += QString::fromLatin1(argv[i]); | - |
583 | QTest::testTags += QString(); | - |
584 | } never executed: end of block else { | 0 |
585 | QTest::testFunctions += | - |
586 | QString::fromLatin1(argv[i], colon); | - |
587 | QTest::testTags += | - |
588 | QString::fromLatin1(argv[i] + colon + 1); | - |
589 | } never executed: end of block | 0 |
590 | } else { | - |
591 | if (!QTest::testFuncsTRUE | evaluated 35 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 21 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 21-35 |
592 | QTest::testFuncs = new QTest::TestFunction[512]; | - |
593 | }executed 35 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 35 |
594 | | - |
595 | int colon = -1; | - |
596 | char buf[512], *data=0; | - |
597 | int off; | - |
598 | for (off = 0; *(TRUE | evaluated 741 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 33 times by 1 testEvaluated by:- tst_selftests - unknown status
|
argv[i]+off)TRUE | evaluated 741 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 33 times by 1 testEvaluated by:- tst_selftests - unknown status
|
; ++off) { | 33-741 |
599 | if (*(TRUE | evaluated 23 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 718 times by 1 testEvaluated by:- tst_selftests - unknown status
|
argv[i]+off) == ':'TRUE | evaluated 23 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 718 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 23-718 |
600 | colon = off; | - |
601 | break;executed 23 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 23 |
602 | } | - |
603 | }executed 718 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 718 |
604 | if (colon != -1TRUE | evaluated 23 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 33 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 23-33 |
605 | data = qstrdup(argv[i]+colon+1); | - |
606 | }executed 23 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 23 |
607 | qsnprintf(buf, qMin(512, off + 1), "%s", argv[i]); | - |
608 | qsnprintf(buf + off, qMin(512 - off, 3), "()"); | - |
609 | int idx = QTest::currentTestObject->metaObject()->indexOfMethod(buf); | - |
610 | if (idx < 0TRUE | never evaluated | FALSE | evaluated 56 times by 1 testEvaluated by:- tst_selftests - unknown status
|
|| !isValidSlot(QTest::currentTestObject->metaObject()->method(idx))TRUE | never evaluated | FALSE | evaluated 56 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-56 |
611 | fprintf(stderr, "Unknown test function: '%s'. Possible matches:\n", buf); | - |
612 | buf[off] = 0; | - |
613 | qPrintTestSlots(stderr, buf); | - |
614 | fprintf(stderr, "\n%s -functions\nlists all available test functions.\n", argv[0]); | - |
615 | exit(1); never executed: exit(1); | 0 |
616 | } | - |
617 | testFuncs[testFuncCount].set(idx, data); | - |
618 | testFuncCount++; | - |
619 | do { if (!(QTest::testFuncCount < 512)TRUE | never evaluated | FALSE | evaluated 56 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) qt_assert("QTest::testFuncCount < 512",__FILE__,1991);never executed: qt_assert("QTest::testFuncCount < 512",__FILE__,1991); } while (0); | 0-56 |
620 | }executed 56 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 56 |
621 | } | - |
622 | | - |
623 | bool installedTestCoverage = installCoverageTool(QTestResult::currentAppName(), QTestResult::currentTestObjectName()); | - |
624 | QTestLog::setInstalledTestCoverage(installedTestCoverage); | - |
625 | | - |
626 | | - |
627 | | - |
628 | | - |
629 | if (QTestLog::loggerCount() == 0TRUE | evaluated 822 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| FALSE | evaluated 415 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) | 415-822 |
630 | QTestLog::addLogger(logFormat, logFilename);executed 822 times by 539 tests: QTestLog::addLogger(logFormat, logFilename); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 822 |
631 | }executed 1237 times by 539 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 1237 |
632 | | - |
633 | QBenchmarkResult qMedian(const QVector<QBenchmarkResult> &container) | - |
634 | { | - |
635 | const int count = container.count(); | - |
636 | if (count == 0TRUE | never evaluated | FALSE | evaluated 266 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
|
) | 0-266 |
637 | return never executed: return QBenchmarkResult(); QBenchmarkResult();never executed: return QBenchmarkResult(); | 0 |
638 | | - |
639 | if (count == 1TRUE | evaluated 266 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| FALSE | never evaluated |
) | 0-266 |
640 | returnexecuted 266 times by 2 tests: return container.front(); Executed by:- tst_QByteDataBuffer
- tst_selftests - unknown status
container.front();executed 266 times by 2 tests: return container.front(); Executed by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| 266 |
641 | | - |
642 | QVector<QBenchmarkResult> containerCopy = container; | - |
643 | std::sort(containerCopy.begin(), containerCopy.end()); | - |
644 | | - |
645 | const int middle = count / 2; | - |
646 | | - |
647 | | - |
648 | return never executed: return containerCopy.at(middle); containerCopy.at(middle);never executed: return containerCopy.at(middle); | 0 |
649 | } | - |
650 | | - |
651 | struct QTestDataSetter | - |
652 | { | - |
653 | QTestDataSetter(QTestData *data) | - |
654 | { | - |
655 | QTestResult::setCurrentTestData(data); | - |
656 | }executed 130481 times by 535 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 130481 |
657 | ~QTestDataSetter() | - |
658 | { | - |
659 | QTestResult::setCurrentTestData(0); | - |
660 | }executed 130432 times by 535 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 130432 |
661 | }; | - |
662 | | - |
663 | namespace { | - |
664 | | - |
665 | qreal addResult(qreal current, const QBenchmarkResult& r) | - |
666 | { | - |
667 | return never executed: return current + r.value; current + r.value;never executed: return current + r.value; | 0 |
668 | } | - |
669 | | - |
670 | } | - |
671 | | - |
672 | static void qInvokeTestMethodDataEntry(char *slot) | - |
673 | { | - |
674 | | - |
675 | | - |
676 | bool isBenchmark = false; | - |
677 | int i = (TRUE | evaluated 130043 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 438 times by 1 testEvaluated by:- tst_selftests - unknown status
|
QBenchmarkGlobalData::current->measurer->needsWarmupIteration())TRUE | evaluated 130043 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 438 times by 1 testEvaluated by:- tst_selftests - unknown status
|
? -1 : 0; | 438-130043 |
678 | | - |
679 | QVector<QBenchmarkResult> results; | - |
680 | bool minimumTotalReached = false; | - |
681 | do { | - |
682 | QBenchmarkTestMethodData::current->beginDataRun(); | - |
683 | | - |
684 | | - |
685 | bool invokeOk; | - |
686 | do { | - |
687 | invokeMethod(QTest::currentTestObject, "init()"); | - |
688 | if (QTestResult::skipCurrentTest()TRUE | evaluated 63 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 130438 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
|| QTestResult::currentTestFailed()TRUE | evaluated 63 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 130375 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
) | 63-130438 |
689 | break;executed 126 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 126 |
690 | | - |
691 | QBenchmarkTestMethodData::current->result = QBenchmarkResult(); | - |
692 | QBenchmarkTestMethodData::current->resultAccepted = false; | - |
693 | | - |
694 | QBenchmarkGlobalData::current->context.tag = | - |
695 | QLatin1String( | - |
696 | QTestResult::currentDataTag() | - |
697 | ? QTestResult::currentDataTag() : ""); | - |
698 | | - |
699 | invokeOk = QMetaObject::invokeMethod(QTest::currentTestObject, slot, | - |
700 | Qt::DirectConnection); | - |
701 | if (!invokeOkTRUE | never evaluated | FALSE | evaluated 130305 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
) | 0-130305 |
702 | QTestResult::addFailure("Unable to execute slot", __FILE__, 2074); never executed: QTestResult::addFailure("Unable to execute slot", __FILE__, 2074); | 0 |
703 | | - |
704 | isBenchmark = QBenchmarkTestMethodData::current->isBenchmark(); | - |
705 | | - |
706 | QTestResult::finishedCurrentTestData(); | - |
707 | | - |
708 | invokeMethod(QTest::currentTestObject, "cleanup()"); | - |
709 | | - |
710 | | - |
711 | if (!isBenchmarkTRUE | evaluated 129917 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 388 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
|
) | 388-129917 |
712 | QTestResult::finishedCurrentTestDataCleanup();executed 129917 times by 535 tests: QTestResult::finishedCurrentTestDataCleanup(); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 129917 |
713 | | - |
714 | | - |
715 | | - |
716 | | - |
717 | | - |
718 | }executed 130305 times by 535 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
while (invokeOkTRUE | evaluated 130305 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | never evaluated |
&& isBenchmarkTRUE | evaluated 388 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| FALSE | evaluated 129917 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
| 0-130305 |
719 | && QBenchmarkTestMethodData::current->resultsAccepted() == falseTRUE | evaluated 12 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 376 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
|
| 12-376 |
720 | && !QTestResult::skipCurrentTest()TRUE | evaluated 12 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | never evaluated |
&& !QTestResult::currentTestFailed()TRUE | evaluated 12 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | never evaluated |
); | 0-12 |
721 | | - |
722 | QBenchmarkTestMethodData::current->endDataRun(); | - |
723 | if (!QTestResult::skipCurrentTest()TRUE | evaluated 129280 times by 534 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 1139 times by 52 testsEvaluated by:- tst_Compiler
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QDBusConnection_NoApplication
- tst_QDBusLocalCalls
- tst_QDataStream
- tst_QDateTime
- tst_QDialog
- tst_QDir
- tst_QDockWidget
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- tst_QFontDatabase
- tst_QFtp
- tst_QGLThreads
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QIODevice
- tst_QImageReader
- tst_QItemView
- tst_QLockFile
- tst_QMainWindow
- tst_QMdiArea
- ...
|
&& !QTestResult::currentTestFailed()TRUE | evaluated 129140 times by 534 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 140 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 140-129280 |
724 | if (i > -1TRUE | evaluated 344 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| FALSE | evaluated 128796 times by 534 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
) | 344-128796 |
725 | results.append(QBenchmarkTestMethodData::current->result);executed 344 times by 2 tests: results.append(QBenchmarkTestMethodData::current->result); Executed by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| 344 |
726 | | - |
727 | if (isBenchmarkTRUE | evaluated 274 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| FALSE | evaluated 128866 times by 534 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
&& QBenchmarkGlobalData::current->verboseOutputTRUE | never evaluated | FALSE | evaluated 274 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
|
) { | 0-128866 |
728 | if (i == -1TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
729 | QTestLog::info(QString(QString::fromLatin1("warmup stage result : %1") .arg(QBenchmarkTestMethodData::current->result.value)).toLocal8Bit().constData() | - |
730 | | - |
731 | , 0, 0); | - |
732 | } never executed: end of block else { | 0 |
733 | QTestLog::info(QString(QString::fromLatin1("accumulation stage result: %1") .arg(QBenchmarkTestMethodData::current->result.value)).toLocal8Bit().constData() | - |
734 | | - |
735 | , 0, 0); | - |
736 | } never executed: end of block | 0 |
737 | } | - |
738 | }executed 129140 times by 534 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 129140 |
739 | | - |
740 | | - |
741 | if (QBenchmarkGlobalData::current->minimumTotal == -1TRUE | evaluated 130419 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | never evaluated |
) { | 0-130419 |
742 | minimumTotalReached = true; | - |
743 | }executed 130419 times by 535 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
else { | 130419 |
744 | const qreal total = std::accumulate(results.begin(), results.end(), 0.0, addResult); | - |
745 | minimumTotalReached = (total >= QBenchmarkGlobalData::current->minimumTotal); | - |
746 | } never executed: end of block | 0 |
747 | } while (isBenchmarkTRUE | evaluated 376 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| FALSE | evaluated 130043 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
| 376-130043 |
748 | && ((++TRUE | evaluated 8 times by 1 test | FALSE | evaluated 368 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
|
i < QBenchmarkGlobalData::current->adjustMedianIterationCount())TRUE | evaluated 8 times by 1 test | FALSE | evaluated 368 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
|
|| !minimumTotalReachedTRUE | never evaluated | FALSE | evaluated 368 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
|
) | 0-368 |
749 | && !QTestResult::skipCurrentTest()TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
&& !QTestResult::currentTestFailed()TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
); | 0-8 |
750 | | - |
751 | | - |
752 | if (isBenchmarkTRUE | evaluated 368 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| FALSE | evaluated 130043 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
) { | 368-130043 |
753 | bool testPassed = !QTestResult::skipCurrentTest()TRUE | evaluated 343 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| FALSE | evaluated 25 times by 1 testEvaluated by:- tst_selftests - unknown status
|
&& !QTestResult::currentTestFailed()TRUE | evaluated 266 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| FALSE | evaluated 77 times by 1 testEvaluated by:- tst_selftests - unknown status
|
; | 25-343 |
754 | QTestResult::finishedCurrentTestDataCleanup(); | - |
755 | | - |
756 | if (testPassedTRUE | evaluated 266 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| FALSE | evaluated 102 times by 1 testEvaluated by:- tst_selftests - unknown status
|
&& QBenchmarkTestMethodData::current->resultsAccepted()TRUE | evaluated 266 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| FALSE | never evaluated |
) | 0-266 |
757 | QTestLog::addBenchmarkResult(qMedian(results));executed 266 times by 2 tests: QTestLog::addBenchmarkResult(qMedian(results)); Executed by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| 266 |
758 | }executed 368 times by 2 tests: end of block Executed by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| 368 |
759 | }executed 130411 times by 535 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 130411 |
760 | | - |
761 | class WatchDog : public QThread | - |
762 | { | - |
763 | public: | - |
764 | WatchDog() | - |
765 | { | - |
766 | QMutexLocker locker(&mutex); | - |
767 | timeout.store(-1); | - |
768 | start(); | - |
769 | waitCondition.wait(&mutex); | - |
770 | }executed 1237 times by 539 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 1237 |
771 | ~WatchDog() { | - |
772 | { | - |
773 | QMutexLocker locker(&mutex); | - |
774 | timeout.store(0); | - |
775 | waitCondition.wakeAll(); | - |
776 | } | - |
777 | wait(); | - |
778 | }executed 1188 times by 541 tests: end of block Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| 1188 |
779 | | - |
780 | void beginTest() { | - |
781 | QMutexLocker locker(&mutex); | - |
782 | timeout.store(defaultTimeout()); | - |
783 | waitCondition.wakeAll(); | - |
784 | }executed 130481 times by 535 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 130481 |
785 | | - |
786 | void testFinished() { | - |
787 | QMutexLocker locker(&mutex); | - |
788 | timeout.store(-1); | - |
789 | waitCondition.wakeAll(); | - |
790 | }executed 130411 times by 535 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 130411 |
791 | | - |
792 | void run() { | - |
793 | QMutexLocker locker(&mutex); | - |
794 | waitCondition.wakeAll(); | - |
795 | while (1) { | - |
796 | int t = timeout.load(); | - |
797 | if (!tTRUE | evaluated 1188 times by 541 testsEvaluated by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| FALSE | evaluated 229499 times by 545 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
) | 1188-229499 |
798 | break;executed 1188 times by 541 tests: break; Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| 1188 |
799 | if (!waitCondition.wait(&mutex, t)TRUE | never evaluated | FALSE | evaluated 229450 times by 977 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- ...
|
) { | 0-229450 |
800 | stackTrace(); | - |
801 | QMessageLogger(__FILE__, 2173, __PRETTY_FUNCTION__).fatal("Test function timed out"); | - |
802 | } never executed: end of block | 0 |
803 | }executed 229450 times by 977 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- ...
| 229450 |
804 | }executed 1188 times by 541 tests: end of block Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| 1188 |
805 | | - |
806 | private: | - |
807 | QBasicAtomicInt timeout; | - |
808 | QMutex mutex; | - |
809 | QWaitCondition waitCondition; | - |
810 | }; | - |
811 | static bool qInvokeTestMethod(const char *slotName, const char *data, WatchDog *watchDog) | - |
812 | { | - |
813 | do { if (!(slotName)TRUE | never evaluated | FALSE | evaluated 13112 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
) qt_assert("slotName",__FILE__,2196);never executed: qt_assert("slotName",__FILE__,2196); } while (0); | 0-13112 |
814 | | - |
815 | QBenchmarkTestMethodData benchmarkData; | - |
816 | QBenchmarkTestMethodData::current = &benchmarkData; | - |
817 | | - |
818 | QBenchmarkGlobalData::current->context.slotName = QLatin1String(slotName); | - |
819 | | - |
820 | char member[512]; | - |
821 | QTestTable table; | - |
822 | | - |
823 | char *slot = qstrdup(slotName); | - |
824 | slot[strlen(slot) - 2] = '\0'; | - |
825 | QTestResult::setCurrentTestFunction(slot); | - |
826 | | - |
827 | const QTestTable *gTable = QTestTable::globalTestTable(); | - |
828 | const int globalDataCount = gTable->dataCount(); | - |
829 | int curGlobalDataIndex = 0; | - |
830 | | - |
831 | | - |
832 | do { | - |
833 | if (!gTable->isEmpty()TRUE | evaluated 1153 times by 15 testsEvaluated by:- tst_QDBusLocalCalls
- tst_QDnsLookup
- tst_QFtp
- tst_QHostInfo
- tst_QSqlDriver
- tst_QSqlRelationalTableModel
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_Utf8
- tst_qdbusxml2cpp
- tst_selftests - unknown status
| FALSE | evaluated 12765 times by 521 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
) | 1153-12765 |
834 | QTestResult::setCurrentGlobalTestData(gTable->testData(curGlobalDataIndex));executed 1153 times by 15 tests: QTestResult::setCurrentGlobalTestData(gTable->testData(curGlobalDataIndex)); Executed by:- tst_QDBusLocalCalls
- tst_QDnsLookup
- tst_QFtp
- tst_QHostInfo
- tst_QSqlDriver
- tst_QSqlRelationalTableModel
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_Utf8
- tst_qdbusxml2cpp
- tst_selftests - unknown status
| 1153 |
835 | | - |
836 | if (curGlobalDataIndex == 0TRUE | evaluated 13112 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 806 times by 12 testsEvaluated by:- tst_QDBusLocalCalls
- tst_QDnsLookup
- tst_QFtp
- tst_QHostInfo
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_Utf8
- tst_qdbusxml2cpp
- tst_selftests - unknown status
|
) { | 806-13112 |
837 | qsnprintf(member, 512, "%s_data()", slot); | - |
838 | invokeMethod(QTest::currentTestObject, member); | - |
839 | }executed 13112 times by 535 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 13112 |
840 | | - |
841 | bool foundFunction = false; | - |
842 | if (!QTestResult::skipCurrentTest()TRUE | evaluated 13701 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 217 times by 12 testsEvaluated by:- tst_QCssParser
- tst_QFtp
- tst_QMimeDatabase
- tst_QNetworkSession
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QSslSocket
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextScriptEngine
- tst_selftests - unknown status
|
) { | 217-13701 |
843 | int curDataIndex = 0; | - |
844 | const int dataCount = table.dataCount(); | - |
845 | | - |
846 | | - |
847 | if (dataTRUE | evaluated 23 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 13678 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
&& !dataCountTRUE | never evaluated | FALSE | evaluated 23 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-13678 |
848 | | - |
849 | if (!*dataTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
850 | data = 0; never executed: data = 0; | 0 |
851 | else { | - |
852 | fprintf(stderr, "Unknown testdata for function %s: '%s'\n", slotName, data); | - |
853 | fprintf(stderr, "Function has no testdata.\n"); | - |
854 | return never executed: return false; false;never executed: return false; | 0 |
855 | } | - |
856 | } | - |
857 | | - |
858 | | - |
859 | do { | - |
860 | QTestResult::setSkipCurrentTest(false); | - |
861 | QTestResult::setBlacklistCurrentTest(false); | - |
862 | if (!dataTRUE | evaluated 130458 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 25 times by 1 testEvaluated by:- tst_selftests - unknown status
|
|| !qstrcmp(data, table.testData(curDataIndex)->dataTag())TRUE | evaluated 23 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 2 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 2-130458 |
863 | foundFunction = true; | - |
864 | | - |
865 | QTestPrivate::checkBlackLists(slot, dataCount ? table.testData(curDataIndex)->dataTag() : 0); | - |
866 | | - |
867 | QTestDataSetter s(curDataIndex >= dataCount ? static_cast<QTestData *>(0) | - |
868 | : table.testData(curDataIndex)); | - |
869 | | - |
870 | if (watchDogTRUE | evaluated 130481 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | never evaluated |
) | 0-130481 |
871 | watchDog->beginTest();executed 130481 times by 535 tests: watchDog->beginTest(); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 130481 |
872 | qInvokeTestMethodDataEntry(slot); | - |
873 | if (watchDogTRUE | evaluated 130411 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | never evaluated |
) | 0-130411 |
874 | watchDog->testFinished();executed 130411 times by 535 tests: watchDog->testFinished(); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 130411 |
875 | | - |
876 | if (dataTRUE | evaluated 23 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 130388 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
) | 23-130388 |
877 | break;executed 23 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 23 |
878 | }executed 130388 times by 535 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 130388 |
879 | ++curDataIndex; | - |
880 | }executed 130390 times by 535 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
while (curDataIndex < dataCountTRUE | evaluated 116782 times by 357 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
| FALSE | evaluated 13608 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
); | 13608-130390 |
881 | }executed 13631 times by 535 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 13631 |
882 | | - |
883 | if (dataTRUE | evaluated 23 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 13825 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
&& !foundFunctionTRUE | never evaluated | FALSE | evaluated 23 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-13825 |
884 | fprintf(stderr, "Unknown testdata for function %s: '%s'\n", slotName, data); | - |
885 | fprintf(stderr, "Available testdata:\n"); | - |
886 | for (int i = 0; i < table.dataCount()TRUE | never evaluated | FALSE | never evaluated |
; ++i) | 0 |
887 | fprintf(stderr, "%s\n", table.testData(i)->dataTag()); never executed: fprintf(stderr, "%s\n", table.testData(i)->dataTag()); | 0 |
888 | return never executed: return false; false;never executed: return false; | 0 |
889 | } | - |
890 | | - |
891 | QTestResult::setCurrentGlobalTestData(0); | - |
892 | ++curGlobalDataIndex; | - |
893 | }executed 13848 times by 535 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
while (curGlobalDataIndex < globalDataCountTRUE | evaluated 806 times by 12 testsEvaluated by:- tst_QDBusLocalCalls
- tst_QDnsLookup
- tst_QFtp
- tst_QHostInfo
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_Utf8
- tst_qdbusxml2cpp
- tst_selftests - unknown status
| FALSE | evaluated 13042 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
); | 806-13848 |
894 | | - |
895 | QTestResult::finishedCurrentTestFunction(); | - |
896 | QTestResult::setSkipCurrentTest(false); | - |
897 | QTestResult::setBlacklistCurrentTest(false); | - |
898 | QTestResult::setCurrentTestData(0); | - |
899 | delete[] slot; | - |
900 | | - |
901 | returnexecuted 13042 times by 535 tests: return true; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
true;executed 13042 times by 535 tests: return true; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 13042 |
902 | } | - |
903 | | - |
904 | void *fetchData(QTestData *data, const char *tagName, int typeId) | - |
905 | { | - |
906 | do { if (!(typeId)TRUE | never evaluated | FALSE | evaluated 437275 times by 363 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
|
) qt_assert("typeId",__FILE__,2289);never executed: qt_assert("typeId",__FILE__,2289); } while (0); | 0-437275 |
907 | do { if (!(data)TRUE | never evaluated | FALSE | evaluated 437275 times by 363 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
|
) qt_assert_x("QTest::fetchData()", "Test data requested, but no testdata available.",__FILE__,2290);never executed: qt_assert_x("QTest::fetchData()", "Test data requested, but no testdata available.",__FILE__,2290); } while (0); | 0-437275 |
908 | do { if (!(data->parent())TRUE | never evaluated | FALSE | evaluated 437275 times by 363 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
|
) qt_assert("data->parent()",__FILE__,2291);never executed: qt_assert("data->parent()",__FILE__,2291); } while (0); | 0-437275 |
909 | | - |
910 | int idx = data->parent()->indexOf(tagName); | - |
911 | | - |
912 | if (idx == -1TRUE | evaluated 21 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 437254 times by 363 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
|
|| idx >= data->dataCount()TRUE | never evaluated | FALSE | evaluated 437254 times by 363 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
|
) { | 0-437254 |
913 | QMessageLogger(__FILE__, 2296, __PRETTY_FUNCTION__).fatal("QFETCH: Requested testdata '%s' not available, check your _data function.", | - |
914 | tagName); | - |
915 | } never executed: end of block | 0 |
916 | | - |
917 | if (typeId != data->parent()->elementTypeId(idx)TRUE | never evaluated | FALSE | evaluated 437254 times by 363 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
|
) { | 0-437254 |
918 | QMessageLogger(__FILE__, 2301, __PRETTY_FUNCTION__).fatal("Requested type '%s' does not match available type '%s'.", | - |
919 | QMetaType::typeName(typeId), | - |
920 | QMetaType::typeName(data->parent()->elementTypeId(idx))); | - |
921 | } never executed: end of block | 0 |
922 | | - |
923 | returnexecuted 437254 times by 363 tests: return data->data(idx); Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
data->data(idx);executed 437254 times by 363 tests: return data->data(idx); Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
| 437254 |
924 | } | - |
925 | char *toHexRepresentation(const char *ba, int length) | - |
926 | { | - |
927 | if (length == 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
928 | return never executed: return qstrdup(""); qstrdup("");never executed: return qstrdup(""); | 0 |
929 | const int maxLen = 50; | - |
930 | const int len = qMin(maxLen, length); | - |
931 | char *result = 0; | - |
932 | | - |
933 | if (length > maxLenTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
934 | const int size = len * 3 + 4; | - |
935 | result = new char[size]; | - |
936 | | - |
937 | char *const forElipsis = result + size - 5; | - |
938 | forElipsis[0] = ' '; | - |
939 | forElipsis[1] = '.'; | - |
940 | forElipsis[2] = '.'; | - |
941 | forElipsis[3] = '.'; | - |
942 | result[size - 1] = '\0'; | - |
943 | } never executed: end of block | 0 |
944 | else { | - |
945 | const int size = len * 3; | - |
946 | result = new char[size]; | - |
947 | result[size - 1] = '\0'; | - |
948 | } never executed: end of block | 0 |
949 | | - |
950 | int i = 0; | - |
951 | int o = 0; | - |
952 | | - |
953 | while (true) { | - |
954 | const char at = ba[i]; | - |
955 | | - |
956 | result[o] = toHexUpper(at >> 4); | - |
957 | ++o; | - |
958 | result[o] = toHexUpper(at); | - |
959 | | - |
960 | ++i; | - |
961 | ++o; | - |
962 | if (i == lenTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
963 | break; never executed: break; | 0 |
964 | else { | - |
965 | result[o] = ' '; | - |
966 | ++o; | - |
967 | } never executed: end of block | 0 |
968 | } | - |
969 | | - |
970 | return never executed: return result; result;never executed: return result; | 0 |
971 | } | - |
972 | | - |
973 | | - |
974 | | - |
975 | | - |
976 | | - |
977 | | - |
978 | char *toPrettyCString(const char *p, int length) | - |
979 | { | - |
980 | bool trimmed = false; | - |
981 | QScopedArrayPointer<char> buffer(new char[256]); | - |
982 | const char *end = p + length; | - |
983 | char *dst = buffer.data(); | - |
984 | | - |
985 | bool lastWasHexEscape = false; | - |
986 | *dst++ = '"'; | - |
987 | for ( ; p != endTRUE | evaluated 448076 times by 89 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDataUrl
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QHeaderView
- tst_QHttpNetworkConnection
- ...
| FALSE | evaluated 9782 times by 91 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDataUrl
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QGetPutEnv
- tst_QGuiVariant
- ...
|
; ++p) { | 9782-448076 |
988 | | - |
989 | | - |
990 | | - |
991 | | - |
992 | | - |
993 | if (dst - buffer.data() > 246TRUE | evaluated 1692 times by 23 testsEvaluated by:- tst_LargeFile
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QDataStream
- tst_QFile
- tst_QFtp
- tst_QHeaderView
- tst_QIODevice
- tst_QNetworkReply
- tst_QPrinter
- tst_QRingBuffer
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QUdpSocket
- tst_Spdy
- tst_rcc
- tst_selftests - unknown status
| FALSE | evaluated 446384 times by 89 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDataUrl
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QHeaderView
- tst_QHttpNetworkConnection
- ...
|
) { | 1692-446384 |
994 | | - |
995 | trimmed = true; | - |
996 | break;executed 1692 times by 23 tests: break; Executed by:- tst_LargeFile
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QDataStream
- tst_QFile
- tst_QFtp
- tst_QHeaderView
- tst_QIODevice
- tst_QNetworkReply
- tst_QPrinter
- tst_QRingBuffer
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QUdpSocket
- tst_Spdy
- tst_rcc
- tst_selftests - unknown status
| 1692 |
997 | } | - |
998 | | - |
999 | | - |
1000 | if (__builtin_expect(!!(lastWasHexEscape), false)TRUE | evaluated 45158 times by 31 testsEvaluated by:- tst_LargeFile
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDataStream
- tst_QDataUrl
- tst_QFile
- tst_QHeaderView
- tst_QListWidget
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QRingBuffer
- tst_QSettings
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringBuilder1
- tst_QStringBuilder2
- tst_QStringBuilder3
- tst_QStringBuilder4
- tst_QTableWidget
- ...
| FALSE | evaluated 401226 times by 89 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDataUrl
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QHeaderView
- tst_QHttpNetworkConnection
- ...
|
) { | 45158-401226 |
1001 | if (fromHex(*p) != -1TRUE | evaluated 3252 times by 17 testsEvaluated by:- tst_LargeFile
- tst_QByteArray
- tst_QCryptographicHash
- tst_QHeaderView
- tst_QListWidget
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTableWidget
- tst_QTextCodec
- tst_QTextStream
- tst_QUdpSocket
- tst_QUuid
- tst_Utf8
| FALSE | evaluated 41906 times by 30 testsEvaluated by:- tst_LargeFile
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDataStream
- tst_QDataUrl
- tst_QFile
- tst_QHeaderView
- tst_QListWidget
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QRingBuffer
- tst_QSettings
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringBuilder1
- tst_QStringBuilder2
- tst_QStringBuilder3
- tst_QStringBuilder4
- tst_QTableWidget
- ...
|
) { | 3252-41906 |
1002 | | - |
1003 | *dst++ = '"'; | - |
1004 | *dst++ = '"'; | - |
1005 | }executed 3252 times by 17 tests: end of block Executed by:- tst_LargeFile
- tst_QByteArray
- tst_QCryptographicHash
- tst_QHeaderView
- tst_QListWidget
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTableWidget
- tst_QTextCodec
- tst_QTextStream
- tst_QUdpSocket
- tst_QUuid
- tst_Utf8
| 3252 |
1006 | lastWasHexEscape = false; | - |
1007 | }executed 45158 times by 31 tests: end of block Executed by:- tst_LargeFile
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDataStream
- tst_QDataUrl
- tst_QFile
- tst_QHeaderView
- tst_QListWidget
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QRingBuffer
- tst_QSettings
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringBuilder1
- tst_QStringBuilder2
- tst_QStringBuilder3
- tst_QStringBuilder4
- tst_QTableWidget
- ...
| 45158 |
1008 | | - |
1009 | if (*TRUE | evaluated 443394 times by 89 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDataUrl
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QHeaderView
- tst_QHttpNetworkConnection
- ...
| FALSE | evaluated 2990 times by 12 testsEvaluated by:- tst_LargeFile
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QNetworkReply
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QTextCodec
|
p < 0x7fTRUE | evaluated 443394 times by 89 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDataUrl
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QHeaderView
- tst_QHttpNetworkConnection
- ...
| FALSE | evaluated 2990 times by 12 testsEvaluated by:- tst_LargeFile
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QNetworkReply
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QTextCodec
|
&& *TRUE | evaluated 390030 times by 88 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QIODevice
- ...
| FALSE | evaluated 53364 times by 45 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDataStream
- tst_QDataUrl
- tst_QFile
- tst_QFtp
- tst_QHeaderView
- tst_QIODevice
- tst_QListWidget
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QProcess
- tst_QResourceEngine
- tst_QRingBuffer
- tst_QSettings
- tst_QSocketNotifier
- tst_QSqlQuery
- tst_QSslCertificate
- ...
|
p >= 0x20TRUE | evaluated 390030 times by 88 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QIODevice
- ...
| FALSE | evaluated 53364 times by 45 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDataStream
- tst_QDataUrl
- tst_QFile
- tst_QFtp
- tst_QHeaderView
- tst_QIODevice
- tst_QListWidget
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QProcess
- tst_QResourceEngine
- tst_QRingBuffer
- tst_QSettings
- tst_QSocketNotifier
- tst_QSqlQuery
- tst_QSslCertificate
- ...
|
&& *TRUE | evaluated 389694 times by 88 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QIODevice
- ...
| FALSE | evaluated 336 times by 12 testsEvaluated by:- tst_LargeFile
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QNetworkReply
- tst_QPrinter
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
|
p != '\\'TRUE | evaluated 389694 times by 88 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QIODevice
- ...
| FALSE | evaluated 336 times by 12 testsEvaluated by:- tst_LargeFile
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QNetworkReply
- tst_QPrinter
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
|
&& *TRUE | evaluated 388882 times by 88 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QIODevice
- ...
| FALSE | evaluated 812 times by 16 testsEvaluated by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_qmake
- tst_rcc
|
p != '"'TRUE | evaluated 388882 times by 88 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QIODevice
- ...
| FALSE | evaluated 812 times by 16 testsEvaluated by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_qmake
- tst_rcc
|
) { | 336-443394 |
1010 | *dst++ = *p; | - |
1011 | continue;executed 388882 times by 88 tests: continue; Executed by:- tst_Collections
- tst_Compiler
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QHeaderView
- tst_QHttpNetworkConnection
- tst_QIODevice
- ...
| 388882 |
1012 | } | - |
1013 | | - |
1014 | | - |
1015 | | - |
1016 | *dst++ = '\\'; | - |
1017 | switch (*p) { | - |
1018 | caseexecuted 336 times by 12 tests: case 0x5c: Executed by:- tst_LargeFile
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QNetworkReply
- tst_QPrinter
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
0x5c:executed 336 times by 12 tests: case 0x5c: Executed by:- tst_LargeFile
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QNetworkReply
- tst_QPrinter
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
| 336 |
1019 | caseexecuted 812 times by 16 tests: case 0x22: Executed by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_qmake
- tst_rcc
0x22:executed 812 times by 16 tests: case 0x22: Executed by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_qmake
- tst_rcc
| 812 |
1020 | *dst++ = uchar(*p); | - |
1021 | break;executed 1148 times by 18 tests: break; Executed by:- tst_LargeFile
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QPrinter
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_qmake
- tst_rcc
| 1148 |
1022 | caseexecuted 292 times by 13 tests: case 0x8: Executed by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QRingBuffer
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
- tst_QVariant
0x8:executed 292 times by 13 tests: case 0x8: Executed by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QRingBuffer
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
- tst_QVariant
| 292 |
1023 | *dst++ = 'b'; | - |
1024 | break;executed 292 times by 13 tests: break; Executed by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QRingBuffer
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
- tst_QVariant
| 292 |
1025 | caseexecuted 306 times by 12 tests: case 0xc: Executed by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QMessageAuthenticationCode
- tst_QRingBuffer
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
- tst_QVariant
0xc:executed 306 times by 12 tests: case 0xc: Executed by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QMessageAuthenticationCode
- tst_QRingBuffer
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
- tst_QVariant
| 306 |
1026 | *dst++ = 'f'; | - |
1027 | break;executed 306 times by 12 tests: break; Executed by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QMessageAuthenticationCode
- tst_QRingBuffer
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
- tst_QVariant
| 306 |
1028 | caseexecuted 7452 times by 33 tests: case 0xa: Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDataStream
- tst_QFile
- tst_QFtp
- tst_QHeaderView
- tst_QIODevice
- tst_QListWidget
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QProcess
- tst_QResourceEngine
- tst_QRingBuffer
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QString
- tst_QTableWidget
- tst_QTcpSocket
- ...
0xa:executed 7452 times by 33 tests: case 0xa: Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDataStream
- tst_QFile
- tst_QFtp
- tst_QHeaderView
- tst_QIODevice
- tst_QListWidget
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QProcess
- tst_QResourceEngine
- tst_QRingBuffer
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QString
- tst_QTableWidget
- tst_QTcpSocket
- ...
| 7452 |
1029 | *dst++ = 'n'; | - |
1030 | break;executed 7452 times by 33 tests: break; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDataStream
- tst_QFile
- tst_QFtp
- tst_QHeaderView
- tst_QIODevice
- tst_QListWidget
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QProcess
- tst_QResourceEngine
- tst_QRingBuffer
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QString
- tst_QTableWidget
- tst_QTcpSocket
- ...
| 7452 |
1031 | caseexecuted 920 times by 14 tests: case 0xd: Executed by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QNetworkReply
- tst_QRingBuffer
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QVariant
0xd:executed 920 times by 14 tests: case 0xd: Executed by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QNetworkReply
- tst_QRingBuffer
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QVariant
| 920 |
1032 | *dst++ = 'r'; | - |
1033 | break;executed 920 times by 14 tests: break; Executed by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QFile
- tst_QNetworkReply
- tst_QRingBuffer
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QVariant
| 920 |
1034 | caseexecuted 872 times by 13 tests: case 0x9: Executed by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDataStream
- tst_QFile
- tst_QNetworkReply
- tst_QRingBuffer
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
- tst_QVariant
0x9:executed 872 times by 13 tests: case 0x9: Executed by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDataStream
- tst_QFile
- tst_QNetworkReply
- tst_QRingBuffer
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
- tst_QVariant
| 872 |
1035 | *dst++ = 't'; | - |
1036 | break;executed 872 times by 13 tests: break; Executed by:- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDataStream
- tst_QFile
- tst_QNetworkReply
- tst_QRingBuffer
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTextCodec
- tst_QVariant
| 872 |
1037 | defaultexecuted 46512 times by 32 tests: default: Executed by:- tst_LargeFile
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDataStream
- tst_QDataUrl
- tst_QFile
- tst_QHeaderView
- tst_QListWidget
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QRingBuffer
- tst_QSettings
- tst_QSocketNotifier
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringBuilder1
- tst_QStringBuilder2
- tst_QStringBuilder3
- tst_QStringBuilder4
- ...
:executed 46512 times by 32 tests: default: Executed by:- tst_LargeFile
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDataStream
- tst_QDataUrl
- tst_QFile
- tst_QHeaderView
- tst_QListWidget
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QRingBuffer
- tst_QSettings
- tst_QSocketNotifier
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringBuilder1
- tst_QStringBuilder2
- tst_QStringBuilder3
- tst_QStringBuilder4
- ...
| 46512 |
1038 | | - |
1039 | *dst++ = 'x'; | - |
1040 | *dst++ = toHexUpper(uchar(*p) >> 4); | - |
1041 | *dst++ = toHexUpper(uchar(*p)); | - |
1042 | lastWasHexEscape = true; | - |
1043 | break;executed 46512 times by 32 tests: break; Executed by:- tst_LargeFile
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDataStream
- tst_QDataUrl
- tst_QFile
- tst_QHeaderView
- tst_QListWidget
- tst_QMessageAuthenticationCode
- tst_QNetworkReply
- tst_QPrinter
- tst_QRingBuffer
- tst_QSettings
- tst_QSocketNotifier
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QStringBuilder1
- tst_QStringBuilder2
- tst_QStringBuilder3
- tst_QStringBuilder4
- ...
| 46512 |
1044 | } | - |
1045 | } | - |
1046 | | - |
1047 | *dst++ = '"'; | - |
1048 | if (trimmedTRUE | evaluated 1692 times by 23 testsEvaluated by:- tst_LargeFile
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QDataStream
- tst_QFile
- tst_QFtp
- tst_QHeaderView
- tst_QIODevice
- tst_QNetworkReply
- tst_QPrinter
- tst_QRingBuffer
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QUdpSocket
- tst_Spdy
- tst_rcc
- tst_selftests - unknown status
| FALSE | evaluated 9782 times by 91 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDataUrl
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QGetPutEnv
- tst_QGuiVariant
- ...
|
) { | 1692-9782 |
1049 | *dst++ = '.'; | - |
1050 | *dst++ = '.'; | - |
1051 | *dst++ = '.'; | - |
1052 | }executed 1692 times by 23 tests: end of block Executed by:- tst_LargeFile
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QDataStream
- tst_QFile
- tst_QFtp
- tst_QHeaderView
- tst_QIODevice
- tst_QNetworkReply
- tst_QPrinter
- tst_QRingBuffer
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QUdpSocket
- tst_Spdy
- tst_rcc
- tst_selftests - unknown status
| 1692 |
1053 | *dst++ = '\0'; | - |
1054 | returnexecuted 11474 times by 93 tests: return buffer.take(); Executed by:- tst_Collections
- tst_Compiler
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDataUrl
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QGetPutEnv
- ...
buffer.take();executed 11474 times by 93 tests: return buffer.take(); Executed by:- tst_Collections
- tst_Compiler
- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QBuffer
- tst_QByteArray
- tst_QByteArrayList
- tst_QByteDataBuffer
- tst_QCryptographicHash
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDataUrl
- tst_QDateTime
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemEntry
- tst_QFtp
- tst_QGetPutEnv
- ...
| 11474 |
1055 | } | - |
1056 | char *toPrettyUnicode(const ushort *p, int length) | - |
1057 | { | - |
1058 | | - |
1059 | bool trimmed = false; | - |
1060 | QScopedArrayPointer<char> buffer(new char[256]); | - |
1061 | const ushort *end = p + length; | - |
1062 | char *dst = buffer.data(); | - |
1063 | | - |
1064 | *dst++ = '"'; | - |
1065 | for ( ; p != endTRUE | evaluated 3515228 times by 247 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QByteArray
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
| FALSE | evaluated 193207 times by 251 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QButtonGroup
- tst_QByteArray
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
|
; ++p) { | 193207-3515228 |
1066 | if (dst - buffer.data() > 245TRUE | evaluated 4397 times by 19 testsEvaluated by:- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDebug
- tst_QFile
- tst_QFileInfo
- tst_QHeaderView
- tst_QImageReader
- tst_QLineEdit
- tst_QProcessEnvironment
- tst_QSslCertificate
- tst_QString
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextPieceTable
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_qdbuscpp2xml
- tst_uic
| FALSE | evaluated 3510831 times by 247 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QByteArray
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- ...
|
) { | 4397-3510831 |
1067 | | - |
1068 | trimmed = true; | - |
1069 | break;executed 4397 times by 19 tests: break; Executed by:- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDebug
- tst_QFile
- tst_QFileInfo
- tst_QHeaderView
- tst_QImageReader
- tst_QLineEdit
- tst_QProcessEnvironment
- tst_QSslCertificate
- tst_QString
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextPieceTable
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_qdbuscpp2xml
- tst_uic
| 4397 |
1070 | } | - |
1071 | | - |
1072 | if (*TRUE | evaluated 3501567 times by 246 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QByteArray
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
| FALSE | evaluated 9264 times by 44 testsEvaluated by:- tst_QChar
- tst_QComplexText
- tst_QDebug
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFontMetrics
- tst_QImageReader
- tst_QIntValidator
- tst_QItemDelegate
- tst_QKeySequence
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QProgressBar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QSpinBox
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QString
- tst_QStringBuilder1
- tst_QStringBuilder2
- ...
|
p < 0x7fTRUE | evaluated 3501567 times by 246 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QByteArray
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
| FALSE | evaluated 9264 times by 44 testsEvaluated by:- tst_QChar
- tst_QComplexText
- tst_QDebug
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFontMetrics
- tst_QImageReader
- tst_QIntValidator
- tst_QItemDelegate
- tst_QKeySequence
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QProgressBar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QSpinBox
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QString
- tst_QStringBuilder1
- tst_QStringBuilder2
- ...
|
&& *TRUE | evaluated 3478719 times by 246 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QByteArray
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
| FALSE | evaluated 22848 times by 43 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCheckBox
- tst_QCommandLineParser
- tst_QComplexText
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDebug
- tst_QDnsLookup
- tst_QGraphicsItem
- tst_QHeaderView
- tst_QImage
- tst_QImageReader
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QMimeData
- tst_QNetworkRequest
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- ...
|
p >= 0x20TRUE | evaluated 3478719 times by 246 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QByteArray
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
| FALSE | evaluated 22848 times by 43 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCheckBox
- tst_QCommandLineParser
- tst_QComplexText
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDebug
- tst_QDnsLookup
- tst_QGraphicsItem
- tst_QHeaderView
- tst_QImage
- tst_QImageReader
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QMimeData
- tst_QNetworkRequest
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- ...
|
&& *TRUE | evaluated 3477787 times by 246 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QByteArray
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
| FALSE | evaluated 932 times by 15 testsEvaluated by:- tst_QDataStream
- tst_QDebug
- tst_QDir
- tst_QImageReader
- tst_QInputDialog
- tst_QLineEdit
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QString
- tst_QUrl
- tst_QUrlQuery
- tst_QXmlSimpleReader
- tst_qmakelib
|
p != '\\'TRUE | evaluated 3477787 times by 246 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QByteArray
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
| FALSE | evaluated 932 times by 15 testsEvaluated by:- tst_QDataStream
- tst_QDebug
- tst_QDir
- tst_QImageReader
- tst_QInputDialog
- tst_QLineEdit
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QString
- tst_QUrl
- tst_QUrlQuery
- tst_QXmlSimpleReader
- tst_qmakelib
|
&& *TRUE | evaluated 3424775 times by 246 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QByteArray
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
| FALSE | evaluated 53012 times by 19 testsEvaluated by:- tst_QComplexText
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDebug
- tst_QImageReader
- tst_QInputDialog
- tst_QLineEdit
- tst_QMetaType
- tst_QNetworkReply
- tst_QTextDocument
- tst_QTextList
- tst_QTextPieceTable
- tst_QUrl
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Selftests
- tst_qdbuscpp2xml
- tst_qmakelib
|
p != '"'TRUE | evaluated 3424775 times by 246 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QByteArray
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
| FALSE | evaluated 53012 times by 19 testsEvaluated by:- tst_QComplexText
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDebug
- tst_QImageReader
- tst_QInputDialog
- tst_QLineEdit
- tst_QMetaType
- tst_QNetworkReply
- tst_QTextDocument
- tst_QTextList
- tst_QTextPieceTable
- tst_QUrl
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Selftests
- tst_qdbuscpp2xml
- tst_qmakelib
|
) { | 932-3501567 |
1073 | *dst++ = *p; | - |
1074 | continue;executed 3424775 times by 246 tests: continue; Executed by:- tst_Collections
- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QByteArray
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCoreApplication
- ...
| 3424775 |
1075 | } | - |
1076 | | - |
1077 | | - |
1078 | | - |
1079 | *dst++ = '\\'; | - |
1080 | switch (*p) { | - |
1081 | caseexecuted 53012 times by 19 tests: case 0x22: Executed by:- tst_QComplexText
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDebug
- tst_QImageReader
- tst_QInputDialog
- tst_QLineEdit
- tst_QMetaType
- tst_QNetworkReply
- tst_QTextDocument
- tst_QTextList
- tst_QTextPieceTable
- tst_QUrl
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Selftests
- tst_qdbuscpp2xml
- tst_qmakelib
0x22:executed 53012 times by 19 tests: case 0x22: Executed by:- tst_QComplexText
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDebug
- tst_QImageReader
- tst_QInputDialog
- tst_QLineEdit
- tst_QMetaType
- tst_QNetworkReply
- tst_QTextDocument
- tst_QTextList
- tst_QTextPieceTable
- tst_QUrl
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Selftests
- tst_qdbuscpp2xml
- tst_qmakelib
| 53012 |
1082 | caseexecuted 932 times by 15 tests: case 0x5c: Executed by:- tst_QDataStream
- tst_QDebug
- tst_QDir
- tst_QImageReader
- tst_QInputDialog
- tst_QLineEdit
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QString
- tst_QUrl
- tst_QUrlQuery
- tst_QXmlSimpleReader
- tst_qmakelib
0x5c:executed 932 times by 15 tests: case 0x5c: Executed by:- tst_QDataStream
- tst_QDebug
- tst_QDir
- tst_QImageReader
- tst_QInputDialog
- tst_QLineEdit
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QString
- tst_QUrl
- tst_QUrlQuery
- tst_QXmlSimpleReader
- tst_qmakelib
| 932 |
1083 | *dst++ = uchar(*p); | - |
1084 | break;executed 53944 times by 26 tests: break; Executed by:- tst_QComplexText
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDebug
- tst_QDir
- tst_QImageReader
- tst_QInputDialog
- tst_QLineEdit
- tst_QMetaType
- tst_QNetworkReply
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QString
- tst_QTextDocument
- tst_QTextList
- tst_QTextPieceTable
- tst_QUrl
- tst_QUrlQuery
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Selftests
- tst_qdbuscpp2xml
- ...
| 53944 |
1085 | caseexecuted 2 times by 1 test: case 0x8: 0x8:executed 2 times by 1 test: case 0x8: | 2 |
1086 | *dst++ = 'b'; | - |
1087 | break;executed 2 times by 1 test: break; | 2 |
1088 | caseexecuted 18 times by 3 tests: case 0xc: Executed by:- tst_QTextPieceTable
- tst_QVariant
- tst_QXmlSimpleReader
0xc:executed 18 times by 3 tests: case 0xc: Executed by:- tst_QTextPieceTable
- tst_QVariant
- tst_QXmlSimpleReader
| 18 |
1089 | *dst++ = 'f'; | - |
1090 | break;executed 18 times by 3 tests: break; Executed by:- tst_QTextPieceTable
- tst_QVariant
- tst_QXmlSimpleReader
| 18 |
1091 | caseexecuted 21824 times by 37 tests: case 0xa: Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCheckBox
- tst_QCommandLineParser
- tst_QComplexText
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDebug
- tst_QHeaderView
- tst_QImage
- tst_QImageReader
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QMimeData
- tst_QNetworkRequest
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QSslCertificate
- tst_QString
- tst_QSyntaxHighlighter
- ...
0xa:executed 21824 times by 37 tests: case 0xa: Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCheckBox
- tst_QCommandLineParser
- tst_QComplexText
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDebug
- tst_QHeaderView
- tst_QImage
- tst_QImageReader
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QMimeData
- tst_QNetworkRequest
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QSslCertificate
- tst_QString
- tst_QSyntaxHighlighter
- ...
| 21824 |
1092 | *dst++ = 'n'; | - |
1093 | break;executed 21824 times by 37 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCheckBox
- tst_QCommandLineParser
- tst_QComplexText
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDebug
- tst_QHeaderView
- tst_QImage
- tst_QImageReader
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QMimeData
- tst_QNetworkRequest
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QSslCertificate
- tst_QString
- tst_QSyntaxHighlighter
- ...
| 21824 |
1094 | caseexecuted 78 times by 6 tests: case 0xd: Executed by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
0xd:executed 78 times by 6 tests: case 0xd: Executed by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
| 78 |
1095 | *dst++ = 'r'; | - |
1096 | break;executed 78 times by 6 tests: break; Executed by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
| 78 |
1097 | caseexecuted 154 times by 7 tests: case 0x9: Executed by:- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDebug
- tst_QGraphicsItem
- tst_QSettings
- tst_QString
- tst_QUrl
0x9:executed 154 times by 7 tests: case 0x9: Executed by:- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDebug
- tst_QGraphicsItem
- tst_QSettings
- tst_QString
- tst_QUrl
| 154 |
1098 | *dst++ = 't'; | - |
1099 | break;executed 154 times by 7 tests: break; Executed by:- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDebug
- tst_QGraphicsItem
- tst_QSettings
- tst_QString
- tst_QUrl
| 154 |
1100 | defaultexecuted 10036 times by 45 tests: default: Executed by:- tst_QChar
- tst_QComplexText
- tst_QDataStream
- tst_QDebug
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFontMetrics
- tst_QImageReader
- tst_QIntValidator
- tst_QItemDelegate
- tst_QKeySequence
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QProgressBar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QSpinBox
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QString
- tst_QStringBuilder1
- ...
:executed 10036 times by 45 tests: default: Executed by:- tst_QChar
- tst_QComplexText
- tst_QDataStream
- tst_QDebug
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFontMetrics
- tst_QImageReader
- tst_QIntValidator
- tst_QItemDelegate
- tst_QKeySequence
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QProgressBar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QSpinBox
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QString
- tst_QStringBuilder1
- ...
| 10036 |
1101 | *dst++ = 'u'; | - |
1102 | *dst++ = toHexUpper(*p >> 12); | - |
1103 | *dst++ = toHexUpper(*p >> 8); | - |
1104 | *dst++ = toHexUpper(*p >> 4); | - |
1105 | *dst++ = toHexUpper(*p); | - |
1106 | }executed 10036 times by 45 tests: end of block Executed by:- tst_QChar
- tst_QComplexText
- tst_QDataStream
- tst_QDebug
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFontMetrics
- tst_QImageReader
- tst_QIntValidator
- tst_QItemDelegate
- tst_QKeySequence
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QProgressBar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSettings
- tst_QSpinBox
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QString
- tst_QStringBuilder1
- ...
| 10036 |
1107 | } | - |
1108 | | - |
1109 | *dst++ = '"'; | - |
1110 | if (trimmedTRUE | evaluated 4397 times by 19 testsEvaluated by:- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDebug
- tst_QFile
- tst_QFileInfo
- tst_QHeaderView
- tst_QImageReader
- tst_QLineEdit
- tst_QProcessEnvironment
- tst_QSslCertificate
- tst_QString
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextPieceTable
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_qdbuscpp2xml
- tst_uic
| FALSE | evaluated 193207 times by 251 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QButtonGroup
- tst_QByteArray
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
|
) { | 4397-193207 |
1111 | *dst++ = '.'; | - |
1112 | *dst++ = '.'; | - |
1113 | *dst++ = '.'; | - |
1114 | }executed 4397 times by 19 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDataStream
- tst_QDebug
- tst_QFile
- tst_QFileInfo
- tst_QHeaderView
- tst_QImageReader
- tst_QLineEdit
- tst_QProcessEnvironment
- tst_QSslCertificate
- tst_QString
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextPieceTable
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_qdbuscpp2xml
- tst_uic
| 4397 |
1115 | *dst++ = '\0'; | - |
1116 | returnexecuted 197604 times by 253 tests: return buffer.take(); Executed by:- tst_Collections
- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QButtonGroup
- tst_QByteArray
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
buffer.take();executed 197604 times by 253 tests: return buffer.take(); Executed by:- tst_Collections
- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAuthenticator
- tst_QBitArray
- tst_QButtonGroup
- tst_QByteArray
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColor
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- ...
| 197604 |
1117 | } | - |
1118 | | - |
1119 | static bool debuggerPresent() | - |
1120 | { | - |
1121 | | - |
1122 | int fd = open("/proc/self/status", 00); | - |
1123 | if (fd == -1TRUE | never evaluated | FALSE | evaluated 1237 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
) | 0-1237 |
1124 | return never executed: return false; false;never executed: return false; | 0 |
1125 | char buffer[2048]; | - |
1126 | ssize_t size = read(fd, buffer, sizeof(buffer) - 1); | - |
1127 | if (size == -1TRUE | never evaluated | FALSE | evaluated 1237 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
) { | 0-1237 |
1128 | close(fd); | - |
1129 | return never executed: return false; false;never executed: return false; | 0 |
1130 | } | - |
1131 | buffer[size] = 0; | - |
1132 | const char tracerPidToken[] = "\nTracerPid:"; | - |
1133 | char *tracerPid = strstr(buffer, tracerPidToken); | - |
1134 | if (!tracerPidTRUE | never evaluated | FALSE | evaluated 1237 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
) { | 0-1237 |
1135 | close(fd); | - |
1136 | return never executed: return false; false;never executed: return false; | 0 |
1137 | } | - |
1138 | tracerPid += sizeof(tracerPidToken); | - |
1139 | long int pid = strtol(tracerPid, &tracerPid, 10); | - |
1140 | close(fd); | - |
1141 | returnexecuted 1237 times by 539 tests: return pid != 0; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
pid != 0;executed 1237 times by 539 tests: return pid != 0; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 1237 |
1142 | | - |
1143 | | - |
1144 | | - |
1145 | | - |
1146 | | - |
1147 | | - |
1148 | } | - |
1149 | | - |
1150 | static void qInvokeTestMethods(QObject *testObject) | - |
1151 | { | - |
1152 | const QMetaObject *metaObject = testObject->metaObject(); | - |
1153 | do { if (!(metaObject)TRUE | never evaluated | FALSE | evaluated 1237 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
) qt_assert("metaObject",__FILE__,2563);never executed: qt_assert("metaObject",__FILE__,2563); } while (0); | 0-1237 |
1154 | QTestLog::startLogging(); | - |
1155 | QTestResult::setCurrentTestFunction("initTestCase"); | - |
1156 | QTestTable::globalTestTable(); | - |
1157 | invokeMethod(testObject, "initTestCase_data()"); | - |
1158 | | - |
1159 | QScopedPointer<WatchDog> watchDog; | - |
1160 | if (!debuggerPresent()TRUE | evaluated 1237 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| FALSE | never evaluated |
| 0-1237 |
1161 | | - |
1162 | && QBenchmarkGlobalData::current->mode() != QBenchmarkGlobalData::CallgrindChildProcessTRUE | evaluated 1237 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| FALSE | never evaluated |
| 0-1237 |
1163 | | - |
1164 | ) { | - |
1165 | watchDog.reset(new WatchDog); | - |
1166 | }executed 1237 times by 539 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 1237 |
1167 | | - |
1168 | if (!QTestResult::skipCurrentTest()TRUE | evaluated 1216 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| FALSE | evaluated 21 times by 1 testEvaluated by:- tst_selftests - unknown status
|
&& !QTest::currentTestFailed()TRUE | evaluated 1195 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| FALSE | evaluated 21 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 21-1216 |
1169 | invokeMethod(testObject, "initTestCase()"); | - |
1170 | | - |
1171 | | - |
1172 | const bool previousFailed = QTestResult::currentTestFailed(); | - |
1173 | QTestResult::finishedCurrentTestData(); | - |
1174 | QTestResult::finishedCurrentTestDataCleanup(); | - |
1175 | QTestResult::finishedCurrentTestFunction(); | - |
1176 | | - |
1177 | if (!QTestResult::skipCurrentTest()TRUE | evaluated 1173 times by 538 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 22 times by 2 testsEvaluated by:- tst_Lancelot
- tst_selftests - unknown status
|
&& !previousFailedTRUE | evaluated 1150 times by 536 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 23 times by 3 testsEvaluated by:- tst_QLocale
- tst_QThreadStorage
- tst_selftests - unknown status
|
) { | 22-1173 |
1178 | | - |
1179 | if (QTest::testFuncsTRUE | evaluated 35 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 1115 times by 536 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
) { | 35-1115 |
1180 | for (int i = 0; i != QTest::testFuncCountTRUE | evaluated 56 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 35 times by 1 testEvaluated by:- tst_selftests - unknown status
|
; i++) { | 35-56 |
1181 | if (!qInvokeTestMethod(metaObject->method(QTest::testFuncs[i].function()).methodSignature().constData(),TRUE | never evaluated | FALSE | evaluated 56 times by 1 testEvaluated by:- tst_selftests - unknown status
|
| 0-56 |
1182 | QTest::testFuncs[i].data(), watchDog.data())TRUE | never evaluated | FALSE | evaluated 56 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 0-56 |
1183 | break; never executed: break; | 0 |
1184 | } | - |
1185 | }executed 56 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 56 |
1186 | testFuncCleaner.cleanup(); | - |
1187 | }executed 35 times by 1 test: end of block Executed by:- tst_selftests - unknown status
else { | 35 |
1188 | int methodCount = metaObject->methodCount(); | - |
1189 | QMetaMethod *testMethods = new QMetaMethod[methodCount]; | - |
1190 | for (int i = 0; i != methodCountTRUE | evaluated 24649 times by 536 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 1115 times by 536 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
; i++) | 1115-24649 |
1191 | testMethods[i] = metaObject->method(i);executed 24649 times by 536 tests: testMethods[i] = metaObject->method(i); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 24649 |
1192 | for (int i = 0; i != methodCountTRUE | evaluated 24626 times by 537 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 1045 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
; i++) { | 1045-24626 |
1193 | if (!isValidSlot(testMethods[i])TRUE | evaluated 11570 times by 537 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| FALSE | evaluated 13056 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
) | 11570-13056 |
1194 | continue;executed 11570 times by 537 tests: continue; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 11570 |
1195 | if (!qInvokeTestMethod(testMethods[i].methodSignature().constData(), 0, watchDog.data())TRUE | never evaluated | FALSE | evaluated 12986 times by 535 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
|
) | 0-12986 |
1196 | break; never executed: break; | 0 |
1197 | }executed 12986 times by 535 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 12986 |
1198 | delete[] testMethods; | - |
1199 | testMethods = 0; | - |
1200 | }executed 1045 times by 535 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 1045 |
1201 | } | - |
1202 | | - |
1203 | QTestResult::setSkipCurrentTest(false); | - |
1204 | QTestResult::setBlacklistCurrentTest(false); | - |
1205 | QTestResult::setCurrentTestFunction("cleanupTestCase"); | - |
1206 | invokeMethod(testObject, "cleanupTestCase()"); | - |
1207 | QTestResult::finishedCurrentTestData(); | - |
1208 | QTestResult::finishedCurrentTestDataCleanup(); | - |
1209 | }executed 1125 times by 538 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 1125 |
1210 | QTestResult::finishedCurrentTestFunction(); | - |
1211 | QTestResult::setCurrentTestFunction(0); | - |
1212 | QTestTable::clearGlobalTestTable(); | - |
1213 | | - |
1214 | QTestLog::stopLogging(); | - |
1215 | }executed 1167 times by 541 tests: end of block Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| 1167 |
1216 | | - |
1217 | | - |
1218 | class FatalSignalHandler | - |
1219 | { | - |
1220 | public: | - |
1221 | FatalSignalHandler(); | - |
1222 | ~FatalSignalHandler(); | - |
1223 | | - |
1224 | private: | - |
1225 | static void signal(int); | - |
1226 | sigset_t handledSignals; | - |
1227 | }; | - |
1228 | | - |
1229 | void FatalSignalHandler::signal(int signum) | - |
1230 | { | - |
1231 | const int msecsFunctionTime = qRound(QTestLog::msecsFunctionTime()); | - |
1232 | const int msecsTotalTime = qRound(QTestLog::msecsTotalTime()); | - |
1233 | if (signum != 2TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1234 | stackTrace(); never executed: stackTrace(); | 0 |
1235 | QMessageLogger(__FILE__, 2645, __PRETTY_FUNCTION__).fatal("Received signal %d\n" | - |
1236 | " Function time: %dms Total time: %dms", | - |
1237 | signum, msecsFunctionTime, msecsTotalTime); | - |
1238 | } never executed: end of block | 0 |
1239 | | - |
1240 | FatalSignalHandler::FatalSignalHandler() | - |
1241 | { | - |
1242 | sigemptyset(&handledSignals); | - |
1243 | | - |
1244 | const int fatalSignals[] = { | - |
1245 | 1, 2, 3, 4, 7, 8, 11, 13, 15, 0 }; | - |
1246 | | - |
1247 | struct sigaction act; | - |
1248 | memset(&act, 0, sizeof(act)); | - |
1249 | act.__sigaction_handler.sa_handler = FatalSignalHandler::signal; | - |
1250 | | - |
1251 | | - |
1252 | | - |
1253 | act.sa_flags = 0x80000000; | - |
1254 | __attribute__((section(".lbss.altstack"), aligned(4096))) | - |
1255 | | - |
1256 | static char alternate_stack[16 * 1024]; | - |
1257 | stack_t stack; | - |
1258 | stack.ss_flags = 0; | - |
1259 | stack.ss_size = sizeof alternate_stack; | - |
1260 | stack.ss_sp = alternate_stack; | - |
1261 | sigaltstack(&stack, 0); | - |
1262 | act.sa_flags |= 0x08000000; | - |
1263 | | - |
1264 | | - |
1265 | | - |
1266 | | - |
1267 | sigemptyset(&act.sa_mask); | - |
1268 | for (int i = 0; fatalSignals[i]TRUE | evaluated 11133 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| FALSE | evaluated 1237 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
; ++i) | 1237-11133 |
1269 | sigaddset(&act.sa_mask, fatalSignals[i]);executed 11133 times by 539 tests: sigaddset(&act.sa_mask, fatalSignals[i]); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 11133 |
1270 | | - |
1271 | struct sigaction oldact; | - |
1272 | | - |
1273 | for (int i = 0; fatalSignals[i]TRUE | evaluated 11133 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| FALSE | evaluated 1237 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
; ++i) { | 1237-11133 |
1274 | sigaction(fatalSignals[i], &act, &oldact); | - |
1275 | if ( | - |
1276 | | - |
1277 | oldact.sa_flags & 4TRUE | never evaluated | FALSE | evaluated 11133 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
|| | 0-11133 |
1278 | | - |
1279 | oldact.__sigaction_handler.sa_handler != ((__sighandler_t) 0)TRUE | evaluated 6185 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| FALSE | evaluated 4948 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
) { | 4948-6185 |
1280 | sigaction(fatalSignals[i], &oldact, 0); | - |
1281 | }executed 6185 times by 539 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
else | 6185 |
1282 | { | - |
1283 | sigaddset(&handledSignals, fatalSignals[i]); | - |
1284 | }executed 4948 times by 539 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 4948 |
1285 | } | - |
1286 | }executed 1237 times by 539 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 1237 |
1287 | | - |
1288 | | - |
1289 | FatalSignalHandler::~FatalSignalHandler() | - |
1290 | { | - |
1291 | | - |
1292 | struct sigaction act; | - |
1293 | memset(&act, 0, sizeof(act)); | - |
1294 | act.__sigaction_handler.sa_handler = ((__sighandler_t) 0); | - |
1295 | | - |
1296 | struct sigaction oldact; | - |
1297 | | - |
1298 | for (int i = 1; i < 32TRUE | evaluated 36828 times by 541 testsEvaluated by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| FALSE | evaluated 1188 times by 541 testsEvaluated by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
|
; ++i) { | 1188-36828 |
1299 | if (!sigismember(&handledSignals, i)TRUE | evaluated 32076 times by 541 testsEvaluated by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| FALSE | evaluated 4752 times by 541 testsEvaluated by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
|
) | 4752-32076 |
1300 | continue;executed 32076 times by 541 tests: continue; Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| 32076 |
1301 | sigaction(i, &act, &oldact); | - |
1302 | | - |
1303 | | - |
1304 | if (oldact.__sigaction_handler.sa_handler != FatalSignalHandler::signalTRUE | evaluated 69 times by 69 testsEvaluated by:- tst_lancelot - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qapplication - unknown status
- tst_qcommandlineparser - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdir - unknown status
- tst_qeventloop - unknown status
- tst_qfile - unknown status
- tst_qfont - unknown status
- tst_qftp - unknown status
- tst_qgraphicsview - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpnetworkconnection - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- ...
| FALSE | evaluated 4683 times by 541 testsEvaluated by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
|
) | 69-4683 |
1305 | sigaction(i, &oldact, 0);executed 69 times by 69 tests: sigaction(i, &oldact, 0); Executed by:- tst_lancelot - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qapplication - unknown status
- tst_qcommandlineparser - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdir - unknown status
- tst_qeventloop - unknown status
- tst_qfile - unknown status
- tst_qfont - unknown status
- tst_qftp - unknown status
- tst_qgraphicsview - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpnetworkconnection - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- ...
| 69 |
1306 | }executed 4752 times by 541 tests: end of block Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| 4752 |
1307 | }executed 1188 times by 541 tests: end of block Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| 1188 |
1308 | | - |
1309 | | - |
1310 | | - |
1311 | | - |
1312 | } | - |
1313 | static void initEnvironment() | - |
1314 | { | - |
1315 | qputenv("QT_LOGGING_TO_CONSOLE", "1"); | - |
1316 | qputenv("QT_QTESTLIB_RUNNING", "1"); | - |
1317 | }executed 699 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 699 |
1318 | int QTest::qExec(QObject *testObject, int argc, char **argv) | - |
1319 | { | - |
1320 | initEnvironment(); | - |
1321 | QBenchmarkGlobalData benchmarkData; | - |
1322 | QBenchmarkGlobalData::current = &benchmarkData; | - |
1323 | | - |
1324 | | - |
1325 | int callgrindChildExitCode = 0; | - |
1326 | try { | - |
1327 | QTestPrivate::parseBlackList(); | - |
1328 | QTestPrivate::parseGpuBlackList(); | - |
1329 | | - |
1330 | QTestResult::reset(); | - |
1331 | | - |
1332 | do { if (!(testObject)TRUE | never evaluated | FALSE | evaluated 699 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) qt_assert("testObject",__FILE__,2960);never executed: qt_assert("testObject",__FILE__,2960); } while (0); | 0-699 |
1333 | do { if (!(!currentTestObject)TRUE | never evaluated | FALSE | evaluated 699 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) qt_assert("!currentTestObject",__FILE__,2961);never executed: qt_assert("!currentTestObject",__FILE__,2961); } while (0); | 0-699 |
1334 | currentTestObject = testObject; | - |
1335 | | - |
1336 | const QMetaObject *metaObject = testObject->metaObject(); | - |
1337 | do { if (!(metaObject)TRUE | never evaluated | FALSE | evaluated 699 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) qt_assert("metaObject",__FILE__,2965);never executed: qt_assert("metaObject",__FILE__,2965); } while (0); | 0-699 |
1338 | | - |
1339 | QTestResult::setCurrentTestObject(metaObject->className()); | - |
1340 | if (argc > 0TRUE | evaluated 699 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | never evaluated |
) | 0-699 |
1341 | QTestResult::setCurrentAppName(argv[0]);executed 699 times by 1 test: QTestResult::setCurrentAppName(argv[0]); Executed by:- tst_selftests - unknown status
| 699 |
1342 | | - |
1343 | qtest_qParseArgs(argc, argv, false); | - |
1344 | if (QBenchmarkGlobalData::current->mode() == QBenchmarkGlobalData::CallgrindParentProcessTRUE | never evaluated | FALSE | evaluated 1237 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
) { | 0-1237 |
1345 | if (!QCoreApplication::instance()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1346 | QMessageLogger(__FILE__, 2988, __PRETTY_FUNCTION__).fatal("QtTest: -callgrind option is not available with QTEST_APPLESS_MAIN"); never executed: QMessageLogger(__FILE__, 2988, __PRETTY_FUNCTION__).fatal("QtTest: -callgrind option is not available with QTEST_APPLESS_MAIN"); | 0 |
1347 | | - |
1348 | const QStringList origAppArgs(QCoreApplication::arguments()); | - |
1349 | if (!QBenchmarkValgrindUtils::rerunThroughCallgrind(origAppArgs, callgrindChildExitCode)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1350 | return never executed: return -1; -1;never executed: return -1; | 0 |
1351 | | - |
1352 | QBenchmarkValgrindUtils::cleanup(); | - |
1353 | | - |
1354 | } never executed: end of block else | 0 |
1355 | | - |
1356 | { | - |
1357 | | - |
1358 | QScopedPointer<FatalSignalHandler> handler; | - |
1359 | if (!noCrashHandlerTRUE | evaluated 1237 times by 539 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| FALSE | never evaluated |
) | 0-1237 |
1360 | handler.reset(new FatalSignalHandler);executed 1237 times by 539 tests: handler.reset(new FatalSignalHandler); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 1237 |
1361 | | - |
1362 | qInvokeTestMethods(testObject); | - |
1363 | }executed 1167 times by 541 tests: end of block Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| 1167 |
1364 | | - |
1365 | | - |
1366 | } catch (...) { | - |
1367 | QTestResult::addFailure("Caught unhandled exception", __FILE__, 3009); | - |
1368 | if (QTestResult::currentTestFunction()TRUE | evaluated 21 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | never evaluated |
) { | 0-21 |
1369 | QTestResult::finishedCurrentTestFunction(); | - |
1370 | QTestResult::setCurrentTestFunction(0); | - |
1371 | }executed 21 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 21 |
1372 | | - |
1373 | QTestLog::stopLogging(); | - |
1374 | | - |
1375 | | - |
1376 | | - |
1377 | | - |
1378 | | - |
1379 | currentTestObject = 0; | - |
1380 | | - |
1381 | | - |
1382 | throw;executed 21 times by 1 test: throw; Executed by:- tst_selftests - unknown status
| 21 |
1383 | return dead code: return 1; 1;dead code: return 1; | - |
1384 | } | - |
1385 | | - |
1386 | | - |
1387 | currentTestObject = 0; | - |
1388 | | - |
1389 | QSignalDumper::endDump(); | - |
1390 | if (QBenchmarkGlobalData::current->mode() == QBenchmarkGlobalData::CallgrindParentProcessTRUE | never evaluated | FALSE | evaluated 1167 times by 541 testsEvaluated by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
|
) | 0-1167 |
1391 | return never executed: return callgrindChildExitCode; callgrindChildExitCode;never executed: return callgrindChildExitCode; | 0 |
1392 | | - |
1393 | | - |
1394 | | - |
1395 | returnexecuted 1167 times by 541 tests: return qMin(QTestLog::failCount(), 127); Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
qMin(QTestLog::failCount(), 127);executed 1167 times by 541 tests: return qMin(QTestLog::failCount(), 127); Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| 1167 |
1396 | } | - |
1397 | int QTest::qExec(QObject *testObject, const QStringList &arguments) | - |
1398 | { | - |
1399 | const int argc = arguments.count(); | - |
1400 | QVarLengthArray<char *> argv(argc); | - |
1401 | | - |
1402 | QVector<QByteArray> args; | - |
1403 | args.reserve(argc); | - |
1404 | | - |
1405 | for (int i = 0; i < argcTRUE | evaluated 22 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 12 times by 1 testEvaluated by:- tst_selftests - unknown status
|
; ++i) | 12-22 |
1406 | { | - |
1407 | args.append(arguments.at(i).toLocal8Bit().constData()); | - |
1408 | argv[i] = args.last().data(); | - |
1409 | }executed 22 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 22 |
1410 | | - |
1411 | returnexecuted 12 times by 1 test: return qExec(testObject, argc, argv.data()); Executed by:- tst_selftests - unknown status
qExec(testObject, argc, argv.data());executed 12 times by 1 test: return qExec(testObject, argc, argv.data()); Executed by:- tst_selftests - unknown status
| 12 |
1412 | } | - |
1413 | | - |
1414 | | - |
1415 | | - |
1416 | void QTest::qFail(const char *statementStr, const char *file, int line) | - |
1417 | { | - |
1418 | QTestResult::addFailure(statementStr, file, line); | - |
1419 | }executed 386 times by 2 tests: end of block Executed by:- tst_QFtp
- tst_selftests - unknown status
| 386 |
1420 | | - |
1421 | | - |
1422 | | - |
1423 | bool QTest::qVerify(bool statement, const char *statementStr, const char *description, | - |
1424 | const char *file, int line) | - |
1425 | { | - |
1426 | returnexecuted 13100488 times by 485 tests: return QTestResult::verify(statement, statementStr, description, file, line); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
QTestResult::verify(statement, statementStr, description, file, line);executed 13100488 times by 485 tests: return QTestResult::verify(statement, statementStr, description, file, line); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
| 13100488 |
1427 | } | - |
1428 | | - |
1429 | | - |
1430 | | - |
1431 | | - |
1432 | void QTest::qSkip(const char *message, const char *file, int line) | - |
1433 | { | - |
1434 | QTestResult::addSkip(message, file, line); | - |
1435 | QTestResult::setSkipCurrentTest(true); | - |
1436 | }executed 1348 times by 56 tests: end of block Executed by:- tst_Compiler
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QCssParser
- tst_QDBusConnection_NoApplication
- tst_QDBusLocalCalls
- tst_QDataStream
- tst_QDateTime
- tst_QDialog
- tst_QDir
- tst_QDockWidget
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- tst_QFontDatabase
- tst_QFtp
- tst_QGLThreads
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QIODevice
- tst_QImageReader
- tst_QItemView
- tst_QLockFile
- ...
| 1348 |
1437 | | - |
1438 | | - |
1439 | | - |
1440 | | - |
1441 | bool QTest::qExpectFail(const char *dataIndex, const char *comment, | - |
1442 | QTest::TestFailMode mode, const char *file, int line) | - |
1443 | { | - |
1444 | returnexecuted 8370 times by 39 tests: return QTestResult::expectFail(dataIndex, qstrdup(comment), mode, file, line); Executed by:- tst_LargeFile
- tst_QAbstractPrintDialog
- tst_QAuthenticator
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QEventLoop
- tst_QFile
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QMenu
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlDatabase
- ...
QTestResult::expectFail(dataIndex, qstrdup(comment), mode, file, line);executed 8370 times by 39 tests: return QTestResult::expectFail(dataIndex, qstrdup(comment), mode, file, line); Executed by:- tst_LargeFile
- tst_QAbstractPrintDialog
- tst_QAuthenticator
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QEventLoop
- tst_QFile
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QMenu
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlDatabase
- ...
| 8370 |
1445 | } | - |
1446 | | - |
1447 | | - |
1448 | | - |
1449 | void QTest::qWarn(const char *message, const char *file, int line) | - |
1450 | { | - |
1451 | QTestLog::warn(message, file, line); | - |
1452 | }executed 850 times by 13 tests: end of block Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QMouseEvent
- tst_QPluginLoader
- tst_QSqlQuery
- tst_QString_NoCastFromByteArray
- tst_QTreeView
- tst_QWidget
- tst_selftests - unknown status
| 850 |
1453 | void QTest::ignoreMessage(QtMsgType type, const char *message) | - |
1454 | { | - |
1455 | QTestLog::ignoreMessage(type, message); | - |
1456 | }executed 1015 times by 82 tests: end of block Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| 1015 |
1457 | void QTest::ignoreMessage(QtMsgType type, const QRegularExpression &messagePattern) | - |
1458 | { | - |
1459 | QTestLog::ignoreMessage(type, messagePattern); | - |
1460 | }executed 100 times by 4 tests: end of block Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 100 |
1461 | QSharedPointer<QTemporaryDir> QTest::qExtractTestData(const QString &dirName) | - |
1462 | { | - |
1463 | QSharedPointer<QTemporaryDir> result; | - |
1464 | | - |
1465 | QSharedPointer<QTemporaryDir> tempDir = QSharedPointer<QTemporaryDir>::create(); | - |
1466 | | - |
1467 | tempDir->setAutoRemove(true); | - |
1468 | | - |
1469 | if (!tempDir->isValid()TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
1470 | return never executed: return result; result;never executed: return result; | 0 |
1471 | | - |
1472 | const QString dataPath = tempDir->path(); | - |
1473 | const QString resourcePath = QLatin1Char(':') + dirName; | - |
1474 | const QFileInfo fileInfo(resourcePath); | - |
1475 | | - |
1476 | if (!fileInfo.isDir()TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) { | 0-1 |
1477 | QMessageLogger(__FILE__, 3192, __PRETTY_FUNCTION__).warning("Resource path '%s' is not a directory.", QString(resourcePath).toLocal8Bit().constData()); | - |
1478 | return never executed: return result; result;never executed: return result; | 0 |
1479 | } | - |
1480 | | - |
1481 | QDirIterator it(resourcePath, QDirIterator::Subdirectories); | - |
1482 | if (!it.hasNext()TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) { | 0-1 |
1483 | QMessageLogger(__FILE__, 3198, __PRETTY_FUNCTION__).warning("Resource directory '%s' is empty.", QString(resourcePath).toLocal8Bit().constData()); | - |
1484 | return never executed: return result; result;never executed: return result; | 0 |
1485 | } | - |
1486 | | - |
1487 | while (it.hasNext()TRUE | evaluated 5 times by 1 test | FALSE | evaluated 1 time by 1 test |
) { | 1-5 |
1488 | it.next(); | - |
1489 | | - |
1490 | QFileInfo fileInfo = it.fileInfo(); | - |
1491 | | - |
1492 | if (!fileInfo.isDir()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 1 time by 1 test |
) { | 1-4 |
1493 | const QString destination = dataPath + QLatin1Char('/') + fileInfo.filePath().midRef(resourcePath.length()); | - |
1494 | QFileInfo destinationFileInfo(destination); | - |
1495 | QDir().mkpath(destinationFileInfo.path()); | - |
1496 | if (!QFile::copy(fileInfo.filePath(), destination)TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
1497 | QMessageLogger(__FILE__, 3212, __PRETTY_FUNCTION__).warning("Failed to copy '%s'.", QString(fileInfo.filePath()).toLocal8Bit().constData()); | - |
1498 | return never executed: return result; result;never executed: return result; | 0 |
1499 | } | - |
1500 | if (!QFile::setPermissions(destination, QFile::ReadUser | QFile::WriteUser | QFile::ReadGroup)TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
1501 | QMessageLogger(__FILE__, 3216, __PRETTY_FUNCTION__).warning("Failed to set permissions on '%s'.", QString(destination).toLocal8Bit().constData()); | - |
1502 | return never executed: return result; result;never executed: return result; | 0 |
1503 | } | - |
1504 | }executed 4 times by 1 test: end of block | 4 |
1505 | }executed 5 times by 1 test: end of block | 5 |
1506 | | - |
1507 | result = std::move(tempDir); | - |
1508 | | - |
1509 | returnexecuted 1 time by 1 test: return result; result;executed 1 time by 1 test: return result; | 1 |
1510 | } | - |
1511 | | - |
1512 | | - |
1513 | | - |
1514 | | - |
1515 | QString QTest::qFindTestData(const QString& base, const char *file, int line, const char *builddir) | - |
1516 | { | - |
1517 | QString found; | - |
1518 | | - |
1519 | | - |
1520 | | - |
1521 | | - |
1522 | if (QCoreApplication::instance()TRUE | evaluated 975 times by 68 testsEvaluated by:- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileSelector
- tst_QFontDialog
- tst_QFrame
- tst_QFtp
- tst_QGlyphRun
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- tst_QLibrary
- ...
| FALSE | evaluated 245 times by 4 testsEvaluated by:- tst_QApplication
- tst_QChar
- tst_qdbuscpp2xml
- tst_selftests - unknown status
|
) { | 245-975 |
1523 | QDir binDirectory(QCoreApplication::applicationDirPath()); | - |
1524 | if (binDirectory.exists(base)TRUE | evaluated 320 times by 64 testsEvaluated by:- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileSelector
- tst_QFrame
- tst_QFtp
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- tst_QLibrary
- tst_QLocale
- tst_QLockFile
- ...
| FALSE | evaluated 655 times by 7 testsEvaluated by:- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_selftests - unknown status
|
) { | 320-655 |
1525 | found = binDirectory.absoluteFilePath(base); | - |
1526 | }executed 320 times by 64 tests: end of block Executed by:- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileSelector
- tst_QFrame
- tst_QFtp
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- tst_QLibrary
- tst_QLocale
- tst_QLockFile
- ...
| 320 |
1527 | else if (QTestLog::verboseLevel() >= 2TRUE | never evaluated | FALSE | evaluated 655 times by 7 testsEvaluated by:- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_selftests - unknown status
|
) { | 0-655 |
1528 | const QString candidate = QDir::toNativeSeparators(QCoreApplication::applicationDirPath() + QLatin1Char('/') + base); | - |
1529 | QTestLog::info(QString(QString::fromLatin1("testdata %1 not found relative to test binary [%2]; " "checking next location").arg(base, candidate)).toLocal8Bit().constData() | - |
1530 | | - |
1531 | , | - |
1532 | file, line); | - |
1533 | } never executed: end of block | 0 |
1534 | }executed 975 times by 68 tests: end of block Executed by:- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileSelector
- tst_QFontDialog
- tst_QFrame
- tst_QFtp
- tst_QGlyphRun
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- tst_QLibrary
- ...
| 975 |
1535 | | - |
1536 | | - |
1537 | if (found.isEmpty()TRUE | evaluated 900 times by 10 testsEvaluated by:- tst_QApplication
- tst_QChar
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_qdbuscpp2xml
- tst_selftests - unknown status
| FALSE | evaluated 320 times by 64 testsEvaluated by:- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileSelector
- tst_QFrame
- tst_QFtp
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- tst_QLibrary
- tst_QLocale
- tst_QLockFile
- ...
|
) { | 320-900 |
1538 | const char *testObjectName = QTestResult::currentTestObjectName(); | - |
1539 | if (testObjectNameTRUE | evaluated 900 times by 10 testsEvaluated by:- tst_QApplication
- tst_QChar
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_qdbuscpp2xml
- tst_selftests - unknown status
| FALSE | never evaluated |
) { | 0-900 |
1540 | QString testsPath = QLibraryInfo::location(QLibraryInfo::TestsPath); | - |
1541 | QString candidate = QString::fromLatin1("%1/%2/%3") | - |
1542 | .arg(testsPath, QFile::decodeName(testObjectName).toLower(), base); | - |
1543 | if (QFileInfo::exists(candidate)TRUE | evaluated 21 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 879 times by 10 testsEvaluated by:- tst_QApplication
- tst_QChar
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_qdbuscpp2xml
- tst_selftests - unknown status
|
) { | 21-879 |
1544 | found = candidate; | - |
1545 | }executed 21 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 21 |
1546 | else if (QTestLog::verboseLevel() >= 2TRUE | never evaluated | FALSE | evaluated 879 times by 10 testsEvaluated by:- tst_QApplication
- tst_QChar
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_qdbuscpp2xml
- tst_selftests - unknown status
|
) { | 0-879 |
1547 | QTestLog::info(QString(QString::fromLatin1("testdata %1 not found in tests install path [%2]; " "checking next location") .arg(base, QDir::toNativeSeparators(candidate))).toLocal8Bit().constData() | - |
1548 | | - |
1549 | | - |
1550 | , | - |
1551 | file, line); | - |
1552 | } never executed: end of block | 0 |
1553 | }executed 900 times by 10 tests: end of block Executed by:- tst_QApplication
- tst_QChar
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_qdbuscpp2xml
- tst_selftests - unknown status
| 900 |
1554 | }executed 900 times by 10 tests: end of block Executed by:- tst_QApplication
- tst_QChar
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_qdbuscpp2xml
- tst_selftests - unknown status
| 900 |
1555 | | - |
1556 | | - |
1557 | if (found.isEmpty()TRUE | evaluated 879 times by 10 testsEvaluated by:- tst_QApplication
- tst_QChar
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_qdbuscpp2xml
- tst_selftests - unknown status
| FALSE | evaluated 341 times by 64 testsEvaluated by:- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileSelector
- tst_QFrame
- tst_QFtp
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- tst_QLibrary
- tst_QLocale
- tst_QLockFile
- ...
|
) { | 341-879 |
1558 | | - |
1559 | QFileInfo srcdir = QFileInfo(QFile::decodeName(file)).path(); | - |
1560 | | - |
1561 | | - |
1562 | | - |
1563 | if (!srcdir.isAbsolute()TRUE | evaluated 858 times by 10 testsEvaluated by:- tst_QApplication
- tst_QChar
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_qdbuscpp2xml
- tst_selftests - unknown status
| FALSE | evaluated 21 times by 1 testEvaluated by:- tst_selftests - unknown status
|
&& builddirTRUE | evaluated 140 times by 10 testsEvaluated by:- tst_QApplication
- tst_QChar
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_qdbuscpp2xml
- tst_selftests - unknown status
| FALSE | evaluated 718 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) { | 21-858 |
1564 | srcdir.setFile(QFile::decodeName(builddir) + QLatin1String("/") + srcdir.filePath()); | - |
1565 | }executed 140 times by 10 tests: end of block Executed by:- tst_QApplication
- tst_QChar
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_qdbuscpp2xml
- tst_selftests - unknown status
| 140 |
1566 | | - |
1567 | QString candidate = QString::fromLatin1("%1/%2").arg(srcdir.canonicalFilePath(), base); | - |
1568 | if (QFileInfo::exists(candidate)TRUE | evaluated 124 times by 4 testsEvaluated by:- tst_QApplication
- tst_QChar
- tst_qdbuscpp2xml
- tst_selftests - unknown status
| FALSE | evaluated 755 times by 7 testsEvaluated by:- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_selftests - unknown status
|
) { | 124-755 |
1569 | found = candidate; | - |
1570 | }executed 124 times by 4 tests: end of block Executed by:- tst_QApplication
- tst_QChar
- tst_qdbuscpp2xml
- tst_selftests - unknown status
| 124 |
1571 | else if (QTestLog::verboseLevel() >= 2TRUE | never evaluated | FALSE | evaluated 755 times by 7 testsEvaluated by:- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_selftests - unknown status
|
) { | 0-755 |
1572 | QTestLog::info(QString(QString::fromLatin1("testdata %1 not found relative to source path [%2]") .arg(base, QDir::toNativeSeparators(candidate))).toLocal8Bit().constData() | - |
1573 | | - |
1574 | , | - |
1575 | file, line); | - |
1576 | } never executed: end of block | 0 |
1577 | }executed 879 times by 10 tests: end of block Executed by:- tst_QApplication
- tst_QChar
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_qdbuscpp2xml
- tst_selftests - unknown status
| 879 |
1578 | | - |
1579 | | - |
1580 | if (found.isEmpty()TRUE | evaluated 755 times by 7 testsEvaluated by:- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_selftests - unknown status
| FALSE | evaluated 465 times by 66 testsEvaluated by:- tst_QApplication
- tst_QByteArray
- tst_QChar
- tst_QClipboard
- tst_QComboBox
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileSelector
- tst_QFrame
- tst_QFtp
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- tst_QLibrary
- tst_QLocale
- ...
|
) { | 465-755 |
1581 | QString candidate = QString::fromLatin1(":/%1").arg(base); | - |
1582 | if (QFileInfo::exists(candidate)TRUE | evaluated 8 times by 3 testsEvaluated by:- tst_QFontDialog
- tst_QGlyphRun
- tst_QRawFont
| FALSE | evaluated 747 times by 4 testsEvaluated by:- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_selftests - unknown status
|
) | 8-747 |
1583 | found = candidate;executed 8 times by 3 tests: found = candidate; Executed by:- tst_QFontDialog
- tst_QGlyphRun
- tst_QRawFont
| 8 |
1584 | }executed 755 times by 7 tests: end of block Executed by:- tst_QFontDialog
- tst_QGlyphRun
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_selftests - unknown status
| 755 |
1585 | | - |
1586 | | - |
1587 | if (found.isEmpty()TRUE | evaluated 747 times by 4 testsEvaluated by:- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_selftests - unknown status
| FALSE | evaluated 473 times by 68 testsEvaluated by:- tst_QApplication
- tst_QByteArray
- tst_QChar
- tst_QClipboard
- tst_QComboBox
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileSelector
- tst_QFontDialog
- tst_QFrame
- tst_QFtp
- tst_QGlyphRun
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- ...
|
) { | 473-747 |
1588 | QString candidate = QString::fromLatin1("%1/%2").arg(QDir::currentPath()).arg(base); | - |
1589 | if (QFileInfo::exists(candidate)TRUE | never evaluated | FALSE | evaluated 747 times by 4 testsEvaluated by:- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_selftests - unknown status
|
) | 0-747 |
1590 | found = candidate; never executed: found = candidate; | 0 |
1591 | }executed 747 times by 4 tests: end of block Executed by:- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_selftests - unknown status
| 747 |
1592 | | - |
1593 | | - |
1594 | if (found.isEmpty()TRUE | evaluated 747 times by 4 testsEvaluated by:- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_selftests - unknown status
| FALSE | evaluated 473 times by 68 testsEvaluated by:- tst_QApplication
- tst_QByteArray
- tst_QChar
- tst_QClipboard
- tst_QComboBox
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileSelector
- tst_QFontDialog
- tst_QFrame
- tst_QFtp
- tst_QGlyphRun
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- ...
|
) { | 473-747 |
1595 | QString candidate = QTest::mainSourcePath % QLatin1Char('/') % base; | - |
1596 | if (QFileInfo::exists(candidate)TRUE | never evaluated | FALSE | evaluated 747 times by 4 testsEvaluated by:- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_selftests - unknown status
|
) | 0-747 |
1597 | found = candidate; never executed: found = candidate; | 0 |
1598 | }executed 747 times by 4 tests: end of block Executed by:- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_selftests - unknown status
| 747 |
1599 | | - |
1600 | if (found.isEmpty()TRUE | evaluated 747 times by 4 testsEvaluated by:- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_selftests - unknown status
| FALSE | evaluated 473 times by 68 testsEvaluated by:- tst_QApplication
- tst_QByteArray
- tst_QChar
- tst_QClipboard
- tst_QComboBox
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileSelector
- tst_QFontDialog
- tst_QFrame
- tst_QFtp
- tst_QGlyphRun
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- ...
|
) { | 473-747 |
1601 | QTest::qWarn(QString(QString::fromLatin1("testdata %1 could not be located!").arg(base)).toLocal8Bit().constData() | - |
1602 | , | - |
1603 | file, line); | - |
1604 | }executed 747 times by 4 tests: end of block Executed by:- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_selftests - unknown status
| 747 |
1605 | else if (QTestLog::verboseLevel() >= 1TRUE | never evaluated | FALSE | evaluated 473 times by 68 testsEvaluated by:- tst_QApplication
- tst_QByteArray
- tst_QChar
- tst_QClipboard
- tst_QComboBox
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileSelector
- tst_QFontDialog
- tst_QFrame
- tst_QFtp
- tst_QGlyphRun
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- ...
|
) { | 0-473 |
1606 | QTestLog::info(QString(QString::fromLatin1("testdata %1 was located at %2").arg(base, QDir::toNativeSeparators(found))).toLocal8Bit().constData() | - |
1607 | , | - |
1608 | file, line); | - |
1609 | } never executed: end of block | 0 |
1610 | | - |
1611 | returnexecuted 1220 times by 70 tests: return found; Executed by:- tst_QApplication
- tst_QByteArray
- tst_QChar
- tst_QClipboard
- tst_QComboBox
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileSelector
- tst_QFontDialog
- tst_QFrame
- tst_QFtp
- tst_QGlyphRun
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- ...
found;executed 1220 times by 70 tests: return found; Executed by:- tst_QApplication
- tst_QByteArray
- tst_QChar
- tst_QClipboard
- tst_QComboBox
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileSelector
- tst_QFontDialog
- tst_QFrame
- tst_QFtp
- tst_QGlyphRun
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- ...
| 1220 |
1612 | } | - |
1613 | | - |
1614 | | - |
1615 | | - |
1616 | QString QTest::qFindTestData(const char *base, const char *file, int line, const char *builddir) | - |
1617 | { | - |
1618 | returnexecuted 295 times by 63 tests: return qFindTestData(QFile::decodeName(base), file, line, builddir); Executed by:- tst_QApplication
- tst_QByteArray
- tst_QChar
- tst_QClipboard
- tst_QComboBox
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileSelector
- tst_QFontDialog
- tst_QFtp
- tst_QGlyphRun
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- tst_QLibrary
- tst_QLocale
- ...
qFindTestData(QFile::decodeName(base), file, line, builddir);executed 295 times by 63 tests: return qFindTestData(QFile::decodeName(base), file, line, builddir); Executed by:- tst_QApplication
- tst_QByteArray
- tst_QChar
- tst_QClipboard
- tst_QComboBox
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFile
- tst_QFileSelector
- tst_QFontDialog
- tst_QFtp
- tst_QGlyphRun
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLayout
- tst_QLibrary
- tst_QLocale
- ...
| 295 |
1619 | } | - |
1620 | | - |
1621 | | - |
1622 | | - |
1623 | void *QTest::qData(const char *tagName, int typeId) | - |
1624 | { | - |
1625 | returnexecuted 429735 times by 359 tests: return fetchData(QTestResult::currentTestData(), tagName, typeId); Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
fetchData(QTestResult::currentTestData(), tagName, typeId);executed 429735 times by 359 tests: return fetchData(QTestResult::currentTestData(), tagName, typeId); Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
| 429735 |
1626 | } | - |
1627 | | - |
1628 | | - |
1629 | | - |
1630 | void *QTest::qGlobalData(const char *tagName, int typeId) | - |
1631 | { | - |
1632 | returnexecuted 7540 times by 15 tests: return fetchData(QTestResult::currentGlobalTestData(), tagName, typeId); Executed by:- tst_QDBusLocalCalls
- tst_QDnsLookup
- tst_QFtp
- tst_QHostInfo
- tst_QSqlDriver
- tst_QSqlRelationalTableModel
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_Utf8
- tst_qdbusxml2cpp
- tst_selftests - unknown status
fetchData(QTestResult::currentGlobalTestData(), tagName, typeId);executed 7540 times by 15 tests: return fetchData(QTestResult::currentGlobalTestData(), tagName, typeId); Executed by:- tst_QDBusLocalCalls
- tst_QDnsLookup
- tst_QFtp
- tst_QHostInfo
- tst_QSqlDriver
- tst_QSqlRelationalTableModel
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_Utf8
- tst_qdbusxml2cpp
- tst_selftests - unknown status
| 7540 |
1633 | } | - |
1634 | | - |
1635 | | - |
1636 | | - |
1637 | void *QTest::qElementData(const char *tagName, int metaTypeId) | - |
1638 | { | - |
1639 | do { if (!(tagName)TRUE | never evaluated | FALSE | evaluated 3248 times by 38 testsEvaluated by:- tst_QAtomicInt
- tst_QBitArray
- tst_QByteArray
- tst_QComplexText
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDialog
- tst_QDialogButtonBox
- tst_QFile
- tst_QFileInfo
- tst_QFtp
- tst_QGroupBox
- tst_QHashFunctions
- tst_QHostAddress
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegion
- tst_QRegularExpressionValidator
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- ...
|
) qt_assert("tagName",__FILE__,3362);never executed: qt_assert("tagName",__FILE__,3362); } while (0); | 0-3248 |
1640 | QTestData *data = QTestResult::currentTestData(); | - |
1641 | do { if (!(data)TRUE | never evaluated | FALSE | evaluated 3248 times by 38 testsEvaluated by:- tst_QAtomicInt
- tst_QBitArray
- tst_QByteArray
- tst_QComplexText
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDialog
- tst_QDialogButtonBox
- tst_QFile
- tst_QFileInfo
- tst_QFtp
- tst_QGroupBox
- tst_QHashFunctions
- tst_QHostAddress
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegion
- tst_QRegularExpressionValidator
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- ...
|
) qt_assert("data",__FILE__,3364);never executed: qt_assert("data",__FILE__,3364); } while (0); | 0-3248 |
1642 | do { if (!(data->parent())TRUE | never evaluated | FALSE | evaluated 3248 times by 38 testsEvaluated by:- tst_QAtomicInt
- tst_QBitArray
- tst_QByteArray
- tst_QComplexText
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDialog
- tst_QDialogButtonBox
- tst_QFile
- tst_QFileInfo
- tst_QFtp
- tst_QGroupBox
- tst_QHashFunctions
- tst_QHostAddress
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegion
- tst_QRegularExpressionValidator
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- ...
|
) qt_assert("data->parent()",__FILE__,3365);never executed: qt_assert("data->parent()",__FILE__,3365); } while (0); | 0-3248 |
1643 | | - |
1644 | int idx = data->parent()->indexOf(tagName); | - |
1645 | do { if (!(idx != -1)TRUE | never evaluated | FALSE | evaluated 3248 times by 38 testsEvaluated by:- tst_QAtomicInt
- tst_QBitArray
- tst_QByteArray
- tst_QComplexText
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDialog
- tst_QDialogButtonBox
- tst_QFile
- tst_QFileInfo
- tst_QFtp
- tst_QGroupBox
- tst_QHashFunctions
- tst_QHostAddress
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegion
- tst_QRegularExpressionValidator
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- ...
|
) qt_assert("idx != -1",__FILE__,3368);never executed: qt_assert("idx != -1",__FILE__,3368); } while (0); | 0-3248 |
1646 | do { if (!(data->parent()->elementTypeId(idx) == metaTypeId)TRUE | never evaluated | FALSE | evaluated 3248 times by 38 testsEvaluated by:- tst_QAtomicInt
- tst_QBitArray
- tst_QByteArray
- tst_QComplexText
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDialog
- tst_QDialogButtonBox
- tst_QFile
- tst_QFileInfo
- tst_QFtp
- tst_QGroupBox
- tst_QHashFunctions
- tst_QHostAddress
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegion
- tst_QRegularExpressionValidator
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- ...
|
) qt_assert("data->parent()->elementTypeId(idx) == metaTypeId",__FILE__,3369);never executed: qt_assert("data->parent()->elementTypeId(idx) == metaTypeId",__FILE__,3369); } while (0); | 0-3248 |
1647 | | - |
1648 | returnexecuted 3248 times by 38 tests: return data->data(data->parent()->indexOf(tagName)); Executed by:- tst_QAtomicInt
- tst_QBitArray
- tst_QByteArray
- tst_QComplexText
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDialog
- tst_QDialogButtonBox
- tst_QFile
- tst_QFileInfo
- tst_QFtp
- tst_QGroupBox
- tst_QHashFunctions
- tst_QHostAddress
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegion
- tst_QRegularExpressionValidator
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- ...
data->data(data->parent()->indexOf(tagName));executed 3248 times by 38 tests: return data->data(data->parent()->indexOf(tagName)); Executed by:- tst_QAtomicInt
- tst_QBitArray
- tst_QByteArray
- tst_QComplexText
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDialog
- tst_QDialogButtonBox
- tst_QFile
- tst_QFileInfo
- tst_QFtp
- tst_QGroupBox
- tst_QHashFunctions
- tst_QHostAddress
- tst_QNetworkReply
- tst_QRegExp
- tst_QRegion
- tst_QRegularExpressionValidator
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- ...
| 3248 |
1649 | } | - |
1650 | | - |
1651 | | - |
1652 | | - |
1653 | void QTest::addColumnInternal(int id, const char *name) | - |
1654 | { | - |
1655 | QTestTable *tbl = QTestTable::currentTestTable(); | - |
1656 | do { if (!(tbl)TRUE | never evaluated | FALSE | evaluated 9908 times by 365 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
|
) qt_assert_x("QTest::addColumn()", "Cannot add testdata outside of a _data slot.",__FILE__,3379);never executed: qt_assert_x("QTest::addColumn()", "Cannot add testdata outside of a _data slot.",__FILE__,3379); } while (0); | 0-9908 |
1657 | | - |
1658 | tbl->addColumn(id, name); | - |
1659 | }executed 9908 times by 365 tests: end of block Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
| 9908 |
1660 | QTestData &QTest::newRow(const char *dataTag) | - |
1661 | { | - |
1662 | do { if (!(dataTag)TRUE | never evaluated | FALSE | evaluated 120645 times by 365 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
|
) qt_assert_x("QTest::newRow()", "Data tag can not be null",__FILE__,3402);never executed: qt_assert_x("QTest::newRow()", "Data tag can not be null",__FILE__,3402); } while (0); | 0-120645 |
1663 | QTestTable *tbl = QTestTable::currentTestTable(); | - |
1664 | do { if (!(tbl)TRUE | never evaluated | FALSE | evaluated 120645 times by 365 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
|
) qt_assert_x("QTest::newRow()", "Cannot add testdata outside of a _data slot.",__FILE__,3404);never executed: qt_assert_x("QTest::newRow()", "Cannot add testdata outside of a _data slot.",__FILE__,3404); } while (0); | 0-120645 |
1665 | do { if (!(tbl->elementCount())TRUE | never evaluated | FALSE | evaluated 120645 times by 365 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
|
) qt_assert_x("QTest::newRow()", "Must add columns before attempting to add rows.",__FILE__,3405);never executed: qt_assert_x("QTest::newRow()", "Must add columns before attempting to add rows.",__FILE__,3405); } while (0); | 0-120645 |
1666 | | - |
1667 | returnexecuted 120645 times by 365 tests: return *tbl->newData(dataTag); Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
*tbl->newData(dataTag);executed 120645 times by 365 tests: return *tbl->newData(dataTag); Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
| 120645 |
1668 | } | - |
1669 | const char *QTest::currentAppName() | - |
1670 | { | - |
1671 | returnexecuted 54 times by 5 tests: return QTestResult::currentAppName(); Executed by:- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QGlobal
- tst_QGuiApplication
- tst_QSql
QTestResult::currentAppName();executed 54 times by 5 tests: return QTestResult::currentAppName(); Executed by:- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QGlobal
- tst_QGuiApplication
- tst_QSql
| 54 |
1672 | } | - |
1673 | const char *QTest::currentTestFunction() | - |
1674 | { | - |
1675 | returnexecuted 23639 times by 25 tests: return QTestResult::currentTestFunction(); Executed by:- tst_QBoxLayout
- tst_QDBusThreading
- tst_QDialog
- tst_QDirModel
- tst_QDockWidget
- tst_QFiledialog
- tst_QFormLayout
- tst_QFtp
- tst_QGestureRecognizer
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QLabel
- tst_QListView
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QSpinBox
- tst_QSqlQuery
- tst_QToolTip
- tst_QTouchEvent
- tst_QTreeView
- tst_QWaitCondition
- tst_QWidget
- tst_QWindowContainer
- tst_selftests - unknown status
QTestResult::currentTestFunction();executed 23639 times by 25 tests: return QTestResult::currentTestFunction(); Executed by:- tst_QBoxLayout
- tst_QDBusThreading
- tst_QDialog
- tst_QDirModel
- tst_QDockWidget
- tst_QFiledialog
- tst_QFormLayout
- tst_QFtp
- tst_QGestureRecognizer
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QLabel
- tst_QListView
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QSpinBox
- tst_QSqlQuery
- tst_QToolTip
- tst_QTouchEvent
- tst_QTreeView
- tst_QWaitCondition
- tst_QWidget
- tst_QWindowContainer
- tst_selftests - unknown status
| 23639 |
1676 | } | - |
1677 | | - |
1678 | | - |
1679 | | - |
1680 | | - |
1681 | | - |
1682 | const char *QTest::currentDataTag() | - |
1683 | { | - |
1684 | returnexecuted 7839 times by 26 tests: return QTestResult::currentDataTag(); Executed by:- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- tst_QDialog
- tst_QDir
- tst_QFile
- tst_QFiledialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsScene
- tst_QGridLayout
- tst_QImage
- tst_QImageWriter
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPixmap
- tst_QProcess
- tst_QSettings
- tst_QShortcut
- tst_QTextCodec
- tst_QTextStream
- tst_QToolTip
- tst_QUrlInternal
- ...
QTestResult::currentDataTag();executed 7839 times by 26 tests: return QTestResult::currentDataTag(); Executed by:- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDataStream
- tst_QDialog
- tst_QDir
- tst_QFile
- tst_QFiledialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsScene
- tst_QGridLayout
- tst_QImage
- tst_QImageWriter
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPixmap
- tst_QProcess
- tst_QSettings
- tst_QShortcut
- tst_QTextCodec
- tst_QTextStream
- tst_QToolTip
- tst_QUrlInternal
- ...
| 7839 |
1685 | } | - |
1686 | | - |
1687 | | - |
1688 | | - |
1689 | | - |
1690 | bool QTest::currentTestFailed() | - |
1691 | { | - |
1692 | returnexecuted 1366 times by 539 tests: return QTestResult::currentTestFailed(); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
QTestResult::currentTestFailed();executed 1366 times by 539 tests: return QTestResult::currentTestFailed(); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 1366 |
1693 | } | - |
1694 | void QTest::qSleep(int ms) | - |
1695 | { | - |
1696 | do { if (!(ms > 0)TRUE | never evaluated | FALSE | evaluated 61502 times by 153 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusPendingCall
- ...
|
) qt_assert("ms > 0",__FILE__,3490);never executed: qt_assert("ms > 0",__FILE__,3490); } while (0); | 0-61502 |
1697 | | - |
1698 | | - |
1699 | | - |
1700 | | - |
1701 | | - |
1702 | | - |
1703 | struct timespec ts = { ms / 1000, (ms % 1000) * 1000 * 1000 }; | - |
1704 | nanosleep(&ts, __null); | - |
1705 | | - |
1706 | }executed 61502 times by 153 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusPendingCall
- ...
| 61502 |
1707 | | - |
1708 | | - |
1709 | | - |
1710 | QObject *QTest::testObject() | - |
1711 | { | - |
1712 | returnexecuted 3 times by 1 test: return currentTestObject; currentTestObject;executed 3 times by 1 test: return currentTestObject; | 3 |
1713 | } | - |
1714 | | - |
1715 | | - |
1716 | | - |
1717 | void QTest::setMainSourcePath(const char *file, const char *builddir) | - |
1718 | { | - |
1719 | QString mainSourceFile = QFile::decodeName(file); | - |
1720 | QFileInfo fi; | - |
1721 | if (builddirTRUE | evaluated 627 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | never evaluated |
) | 0-627 |
1722 | fi.setFile(QDir(QFile::decodeName(builddir)), mainSourceFile);executed 627 times by 1 test: fi.setFile(QDir(QFile::decodeName(builddir)), mainSourceFile); Executed by:- tst_selftests - unknown status
| 627 |
1723 | else | - |
1724 | fi.setFile(mainSourceFile); never executed: fi.setFile(mainSourceFile); | 0 |
1725 | QTest::mainSourcePath = fi.absolutePath(); | - |
1726 | }executed 627 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 627 |
1727 | bool QTest::compare_helper(bool success, const char *failureMsg, | - |
1728 | char *val1, char *val2, | - |
1729 | const char *actual, const char *expected, | - |
1730 | const char *file, int line) | - |
1731 | { | - |
1732 | returnexecuted 38186306 times by 513 tests: return QTestResult::compare(success, failureMsg, val1, val2, actual, expected, file, line); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
QTestResult::compare(success, failureMsg, val1, val2, actual, expected, file, line);executed 38186306 times by 513 tests: return QTestResult::compare(success, failureMsg, val1, val2, actual, expected, file, line); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- ...
| 38186306 |
1733 | } | - |
1734 | | - |
1735 | | - |
1736 | | - |
1737 | | - |
1738 | bool QTest::qCompare(float const &t1, float const &t2, const char *actual, const char *expected, | - |
1739 | const char *file, int line) | - |
1740 | { | - |
1741 | returnexecuted 1570 times by 15 tests: return compare_helper(qFuzzyCompare(t1, t2), "Compared floats are not the same (fuzzy compare)", toString(t1), toString(t2), actual, expected, file, line); Executed by:- tst_QDataStream
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QImageWriter
- tst_QMatrixNxN
- tst_QMetaType
- tst_QQuaternion
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_QVariant
- tst_QVectorND
- tst_selftests - unknown status
compare_helper(qFuzzyCompare(t1, t2), "Compared floats are not the same (fuzzy compare)",executed 1570 times by 15 tests: return compare_helper(qFuzzyCompare(t1, t2), "Compared floats are not the same (fuzzy compare)", toString(t1), toString(t2), actual, expected, file, line); Executed by:- tst_QDataStream
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QImageWriter
- tst_QMatrixNxN
- tst_QMetaType
- tst_QQuaternion
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_QVariant
- tst_QVectorND
- tst_selftests - unknown status
| 1570 |
1742 | toString(t1), toString(t2), actual, expected, file, line);executed 1570 times by 15 tests: return compare_helper(qFuzzyCompare(t1, t2), "Compared floats are not the same (fuzzy compare)", toString(t1), toString(t2), actual, expected, file, line); Executed by:- tst_QDataStream
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QImageWriter
- tst_QMatrixNxN
- tst_QMetaType
- tst_QQuaternion
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_QVariant
- tst_QVectorND
- tst_selftests - unknown status
| 1570 |
1743 | } | - |
1744 | | - |
1745 | | - |
1746 | | - |
1747 | | - |
1748 | bool QTest::qCompare(double const &t1, double const &t2, const char *actual, const char *expected, | - |
1749 | const char *file, int line) | - |
1750 | { | - |
1751 | returnexecuted 2182204 times by 77 tests: return compare_helper(qFuzzyCompare(t1, t2), "Compared doubles are not the same (fuzzy compare)", toString(t1), toString(t2), actual, expected, file, line); Executed by:- tst_Collections
- tst_Compiler
- tst_QBrush
- tst_QColor
- tst_QComboBox
- tst_QComplexText
- tst_QCssParser
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsLayoutItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsTransform
- ...
compare_helper(qFuzzyCompare(t1, t2), "Compared doubles are not the same (fuzzy compare)",executed 2182204 times by 77 tests: return compare_helper(qFuzzyCompare(t1, t2), "Compared doubles are not the same (fuzzy compare)", toString(t1), toString(t2), actual, expected, file, line); Executed by:- tst_Collections
- tst_Compiler
- tst_QBrush
- tst_QColor
- tst_QComboBox
- tst_QComplexText
- tst_QCssParser
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsLayoutItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsTransform
- ...
| 2182204 |
1752 | toString(t1), toString(t2), actual, expected, file, line);executed 2182204 times by 77 tests: return compare_helper(qFuzzyCompare(t1, t2), "Compared doubles are not the same (fuzzy compare)", toString(t1), toString(t2), actual, expected, file, line); Executed by:- tst_Collections
- tst_Compiler
- tst_QBrush
- tst_QColor
- tst_QComboBox
- tst_QComplexText
- tst_QCssParser
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsLayoutItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsTransform
- ...
| 2182204 |
1753 | } | - |
1754 | template <> __attribute__((visibility("default"))) char *QTest::toString<short >(const short &t) { char *msg = new char[128]; qsnprintf(msg, 128, "%hd", t); returnexecuted 15398 times by 13 tests: return msg; Executed by:- tst_Compiler
- tst_QAtomicInteger_Gcc_short
- tst_QAtomicInteger_NoCxx11_short
- tst_QAtomicInteger_short
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QMetaType
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_QVariant
- tst_QtEndian
msg;executed 15398 times by 13 tests: return msg; Executed by:- tst_Compiler
- tst_QAtomicInteger_Gcc_short
- tst_QAtomicInteger_NoCxx11_short
- tst_QAtomicInteger_short
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QMetaType
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_QVariant
- tst_QtEndian
} | 15398 |
1755 | template <> __attribute__((visibility("default"))) char *QTest::toString<ushort >(const ushort &t) { char *msg = new char[128]; qsnprintf(msg, 128, "%hu", t); returnexecuted 11230 times by 30 tests: return msg; Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractSocket
- tst_QAtomicInteger_Gcc_ushort
- tst_QAtomicInteger_NoCxx11_ushort
- tst_QAtomicInteger_ushort
- tst_QColor
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImage
- tst_QMetaType
- tst_QNetworkProxy
- tst_QNetworkProxyFactory
- tst_QNumeric
- tst_QSocks5SocketEngine
- tst_QSqlQuery
- tst_QSslSocket
- tst_QString
- tst_QStringRef
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextDocumentFragment
- tst_QTextLayout
- ...
msg;executed 11230 times by 30 tests: return msg; Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractSocket
- tst_QAtomicInteger_Gcc_ushort
- tst_QAtomicInteger_NoCxx11_ushort
- tst_QAtomicInteger_ushort
- tst_QColor
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImage
- tst_QMetaType
- tst_QNetworkProxy
- tst_QNetworkProxyFactory
- tst_QNumeric
- tst_QSocks5SocketEngine
- tst_QSqlQuery
- tst_QSslSocket
- tst_QString
- tst_QStringRef
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextDocumentFragment
- tst_QTextLayout
- ...
} | 11230 |
1756 | template <> __attribute__((visibility("default"))) char *QTest::toString<int >(const int &t) { char *msg = new char[128]; qsnprintf(msg, 128, "%d", t); returnexecuted 31500102 times by 391 tests: return msg; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAtomicInt
- ...
msg;executed 31500102 times by 391 tests: return msg; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAtomicInt
- ...
} | 31500102 |
1757 | template <> __attribute__((visibility("default"))) char *QTest::toString<uint >(const uint &t) { char *msg = new char[128]; qsnprintf(msg, 128, "%u", t); returnexecuted 4871340 times by 71 tests: return msg; Executed by:- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAtomicInteger_Gcc_uint
- tst_QAtomicInteger_NoCxx11_uint
- tst_QAtomicInteger_uint
- tst_QByteArray
- tst_QCheckBox
- tst_QColor
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QFont
- tst_QFontMetrics
- tst_QGLBuffer
- tst_QGlyphRun
- ...
msg;executed 4871340 times by 71 tests: return msg; Executed by:- tst_Compiler
- tst_QAbstractButton
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAlgorithms
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAtomicInteger_Gcc_uint
- tst_QAtomicInteger_NoCxx11_uint
- tst_QAtomicInteger_uint
- tst_QByteArray
- tst_QCheckBox
- tst_QColor
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDir
- tst_QFont
- tst_QFontMetrics
- tst_QGLBuffer
- tst_QGlyphRun
- ...
} | 4871340 |
1758 | template <> __attribute__((visibility("default"))) char *QTest::toString<long >(const long &t) { char *msg = new char[128]; qsnprintf(msg, 128, "%ld", t); returnexecuted 26344 times by 12 tests: return msg; Executed by:- tst_Compiler
- tst_LargeFile
- tst_QAtomicInteger_Gcc_long
- tst_QAtomicInteger_NoCxx11_long
- tst_QAtomicInteger_long
- tst_QFile
- tst_QMetaType
- tst_QSignalSpy
- tst_QSslSocket
- tst_QString
- tst_QStringRef
- tst_QVariant
msg;executed 26344 times by 12 tests: return msg; Executed by:- tst_Compiler
- tst_LargeFile
- tst_QAtomicInteger_Gcc_long
- tst_QAtomicInteger_NoCxx11_long
- tst_QAtomicInteger_long
- tst_QFile
- tst_QMetaType
- tst_QSignalSpy
- tst_QSslSocket
- tst_QString
- tst_QStringRef
- tst_QVariant
} | 26344 |
1759 | template <> __attribute__((visibility("default"))) char *QTest::toString<ulong >(const ulong &t) { char *msg = new char[128]; qsnprintf(msg, 128, "%lu", t); returnexecuted 18108 times by 20 tests: return msg; Executed by:- tst_Collections
- tst_Compiler
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_ulong
- tst_QAtomicInteger_NoCxx11_ulong
- tst_QAtomicInteger_ulong
- tst_QByteArray
- tst_QGlobal
- tst_QMetaType
- tst_QNumeric
- tst_QScopedPointer
- tst_QSharedPointer
- tst_QString
- tst_QStringRef
- tst_QVariant
- tst_QtConcurrentFilter
- tst_QtConcurrentMap
- tst_toolsupport
msg;executed 18108 times by 20 tests: return msg; Executed by:- tst_Collections
- tst_Compiler
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_ulong
- tst_QAtomicInteger_NoCxx11_ulong
- tst_QAtomicInteger_ulong
- tst_QByteArray
- tst_QGlobal
- tst_QMetaType
- tst_QNumeric
- tst_QScopedPointer
- tst_QSharedPointer
- tst_QString
- tst_QStringRef
- tst_QVariant
- tst_QtConcurrentFilter
- tst_QtConcurrentMap
- tst_toolsupport
} | 18108 |
1760 | | - |
1761 | | - |
1762 | | - |
1763 | | - |
1764 | template <> __attribute__((visibility("default"))) char *QTest::toString<qint64 >(const qint64 &t) { char *msg = new char[128]; qsnprintf(msg, 128, "%lld", t); returnexecuted 1630264 times by 65 tests: return msg; Executed by:- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractSocket
- tst_QAsn1Element
- tst_QAtomicInteger_Gcc_qlonglong
- tst_QAtomicInteger_Gcc_qptrdiff
- tst_QAtomicInteger_NoCxx11_qlonglong
- tst_QAtomicInteger_NoCxx11_qptrdiff
- tst_QAtomicInteger_qlonglong
- tst_QAtomicInteger_qptrdiff
- tst_QBuffer
- tst_QByteDataBuffer
- tst_QComboBox
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDialogButtonBox
- tst_QElapsedTimer
- tst_QFile
- tst_QFileInfo
- tst_QFtp
- tst_QHash
- ...
msg;executed 1630264 times by 65 tests: return msg; Executed by:- tst_LargeFile
- tst_PlatformSocketEngine
- tst_QAbstractFileEngine
- tst_QAbstractSocket
- tst_QAsn1Element
- tst_QAtomicInteger_Gcc_qlonglong
- tst_QAtomicInteger_Gcc_qptrdiff
- tst_QAtomicInteger_NoCxx11_qlonglong
- tst_QAtomicInteger_NoCxx11_qptrdiff
- tst_QAtomicInteger_qlonglong
- tst_QAtomicInteger_qptrdiff
- tst_QBuffer
- tst_QByteDataBuffer
- tst_QComboBox
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDialogButtonBox
- tst_QElapsedTimer
- tst_QFile
- tst_QFileInfo
- tst_QFtp
- tst_QHash
- ...
} | 1630264 |
1765 | template <> __attribute__((visibility("default"))) char *QTest::toString<quint64 >(const quint64 &t) { char *msg = new char[128]; qsnprintf(msg, 128, "%llu", t); returnexecuted 42624 times by 23 tests: return msg; Executed by:- tst_Collections
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAtomicInteger_Gcc_quintptr
- tst_QAtomicInteger_Gcc_qulonglong
- tst_QAtomicInteger_NoCxx11_quintptr
- tst_QAtomicInteger_NoCxx11_qulonglong
- tst_QAtomicInteger_quintptr
- tst_QAtomicInteger_qulonglong
- tst_QByteArray
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QHooks
- tst_QMetaType
- tst_QNumeric
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_QWidget_window
- tst_QtEndian
msg;executed 42624 times by 23 tests: return msg; Executed by:- tst_Collections
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAtomicInteger_Gcc_quintptr
- tst_QAtomicInteger_Gcc_qulonglong
- tst_QAtomicInteger_NoCxx11_quintptr
- tst_QAtomicInteger_NoCxx11_qulonglong
- tst_QAtomicInteger_quintptr
- tst_QAtomicInteger_qulonglong
- tst_QByteArray
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QHooks
- tst_QMetaType
- tst_QNumeric
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_QWidget_window
- tst_QtEndian
} | 42624 |
1766 | | - |
1767 | template <> __attribute__((visibility("default"))) char *QTest::toString<bool >(const bool &t) { char *msg = new char[128]; qsnprintf(msg, 128, "%d", t); returnexecuted 336360 times by 265 tests: return msg; Executed by:- tst_Collections
- tst_Compiler
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- tst_QAtomicInteger_Gcc_qlonglong
- tst_QAtomicInteger_Gcc_qptrdiff
- tst_QAtomicInteger_Gcc_quintptr
- tst_QAtomicInteger_Gcc_qulonglong
- tst_QAtomicInteger_Gcc_schar
- ...
msg;executed 336360 times by 265 tests: return msg; Executed by:- tst_Collections
- tst_Compiler
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- tst_QAtomicInteger_Gcc_qlonglong
- tst_QAtomicInteger_Gcc_qptrdiff
- tst_QAtomicInteger_Gcc_quintptr
- tst_QAtomicInteger_Gcc_qulonglong
- tst_QAtomicInteger_Gcc_schar
- ...
} | 336360 |
1768 | template <> __attribute__((visibility("default"))) char *QTest::toString<char >(const char &t) { char *msg = new char[128]; qsnprintf(msg, 128, "%c", t); returnexecuted 3527592 times by 28 tests: return msg; Executed by:- tst_Compiler
- tst_PlatformSocketEngine
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_NoCxx11_char
- tst_QAtomicInteger_char
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QDataStream
- tst_QFile
- tst_QIODevice
- tst_QMetaType
- tst_QProcess
- tst_QRingBuffer
- tst_QSemaphore
- tst_QSharedMemory
- tst_QSizePolicy
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QUdpSocket
- ...
msg;executed 3527592 times by 28 tests: return msg; Executed by:- tst_Compiler
- tst_PlatformSocketEngine
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_NoCxx11_char
- tst_QAtomicInteger_char
- tst_QBuffer
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QDataStream
- tst_QFile
- tst_QIODevice
- tst_QMetaType
- tst_QProcess
- tst_QRingBuffer
- tst_QSemaphore
- tst_QSharedMemory
- tst_QSizePolicy
- tst_QSslSocket
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QUdpSocket
- ...
} | 3527592 |
1769 | template <> __attribute__((visibility("default"))) char *QTest::toString<signed char >(const signed char &t) { char *msg = new char[128]; qsnprintf(msg, 128, "%hhd", t); returnexecuted 9460 times by 8 tests: return msg; Executed by:- tst_QAtomicInteger_Gcc_schar
- tst_QAtomicInteger_NoCxx11_schar
- tst_QAtomicInteger_schar
- tst_QDataStream
- tst_QFile
- tst_QMetaType
- tst_QVariant
- tst_QtEndian
msg;executed 9460 times by 8 tests: return msg; Executed by:- tst_QAtomicInteger_Gcc_schar
- tst_QAtomicInteger_NoCxx11_schar
- tst_QAtomicInteger_schar
- tst_QDataStream
- tst_QFile
- tst_QMetaType
- tst_QVariant
- tst_QtEndian
} | 9460 |
1770 | template <> __attribute__((visibility("default"))) char *QTest::toString<unsigned char >(const unsigned char &t) { char *msg = new char[128]; qsnprintf(msg, 128, "%hhu", t); returnexecuted 21834 times by 16 tests: return msg; Executed by:- tst_QAsn1Element
- tst_QAtomicInteger_Gcc_uchar
- tst_QAtomicInteger_NoCxx11_uchar
- tst_QAtomicInteger_uchar
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QList
- tst_QList_StrictIterators
- tst_QMetaType
- tst_QNumeric
- tst_QPixelFormat
- tst_QSettings
- tst_QVariant
- tst_QtEndian
- tst_qlist - unknown status
- tst_qlist_strictiterators - unknown status
msg;executed 21834 times by 16 tests: return msg; Executed by:- tst_QAsn1Element
- tst_QAtomicInteger_Gcc_uchar
- tst_QAtomicInteger_NoCxx11_uchar
- tst_QAtomicInteger_uchar
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QList
- tst_QList_StrictIterators
- tst_QMetaType
- tst_QNumeric
- tst_QPixelFormat
- tst_QSettings
- tst_QVariant
- tst_QtEndian
- tst_qlist - unknown status
- tst_qlist_strictiterators - unknown status
} | 21834 |
1771 | template <> __attribute__((visibility("default"))) char *QTest::toString<float >(const float &t) { char *msg = new char[128]; qsnprintf(msg, 128, "%g", t); returnexecuted 3140 times by 15 tests: return msg; Executed by:- tst_QDataStream
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QImageWriter
- tst_QMatrixNxN
- tst_QMetaType
- tst_QQuaternion
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_QVariant
- tst_QVectorND
- tst_selftests - unknown status
msg;executed 3140 times by 15 tests: return msg; Executed by:- tst_QDataStream
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QImageWriter
- tst_QMatrixNxN
- tst_QMetaType
- tst_QQuaternion
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_QVariant
- tst_QVectorND
- tst_selftests - unknown status
} | 3140 |
1772 | template <> __attribute__((visibility("default"))) char *QTest::toString<double >(const double &t) { char *msg = new char[128]; qsnprintf(msg, 128, "%lg", t); returnexecuted 4364450 times by 78 tests: return msg; Executed by:- tst_Collections
- tst_Compiler
- tst_QBrush
- tst_QColor
- tst_QComboBox
- tst_QComplexText
- tst_QCssParser
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsLayoutItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsTransform
- ...
msg;executed 4364450 times by 78 tests: return msg; Executed by:- tst_Collections
- tst_Compiler
- tst_QBrush
- tst_QColor
- tst_QComboBox
- tst_QComplexText
- tst_QCssParser
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsLayoutItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsTransform
- ...
} | 4364450 |
1773 | | - |
1774 | | - |
1775 | | - |
1776 | char *QTest::toString(const char *str) | - |
1777 | { | - |
1778 | if (!strTRUE | evaluated 20 times by 3 testsEvaluated by:- tst_QByteArray
- tst_QVariant
- tst_qmessagehandler
| FALSE | evaluated 2738 times by 45 testsEvaluated by:- tst_Compiler
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAtomicPointer
- tst_QAuthenticator
- tst_QByteArray
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QFile
- tst_QGlobal
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QItemEditorFactory
- tst_QLogging
- tst_QMetaEnum
- tst_QMetaMethod
- tst_QMetaObject
- tst_QMetaType
- ...
|
) | 20-2738 |
1779 | returnexecuted 20 times by 3 tests: return 0; Executed by:- tst_QByteArray
- tst_QVariant
- tst_qmessagehandler
0;executed 20 times by 3 tests: return 0; Executed by:- tst_QByteArray
- tst_QVariant
- tst_qmessagehandler
| 20 |
1780 | char *msg = new char[strlen(str) + 1]; | - |
1781 | returnexecuted 2738 times by 45 tests: return qstrcpy(msg, str); Executed by:- tst_Compiler
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAtomicPointer
- tst_QAuthenticator
- tst_QByteArray
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QFile
- tst_QGlobal
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QItemEditorFactory
- tst_QLogging
- tst_QMetaEnum
- tst_QMetaMethod
- tst_QMetaObject
- tst_QMetaType
- ...
qstrcpy(msg, str);executed 2738 times by 45 tests: return qstrcpy(msg, str); Executed by:- tst_Compiler
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAtomicPointer
- tst_QAuthenticator
- tst_QByteArray
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QFile
- tst_QGlobal
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QItemEditorFactory
- tst_QLogging
- tst_QMetaEnum
- tst_QMetaMethod
- tst_QMetaObject
- tst_QMetaType
- ...
| 2738 |
1782 | } | - |
1783 | | - |
1784 | | - |
1785 | | - |
1786 | char *QTest::toString(const void *p) | - |
1787 | { | - |
1788 | char *msg = new char[128]; | - |
1789 | qsnprintf(msg, 128, "%p", p); | - |
1790 | returnexecuted 3240790 times by 171 tests: return msg; Executed by:- tst_Collections
- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAtomicPointer
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCache
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
msg;executed 3240790 times by 171 tests: return msg; Executed by:- tst_Collections
- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAtomicPointer
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCache
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| 3240790 |
1791 | } | - |
1792 | | - |
1793 | | - |
1794 | | - |
1795 | bool QTest::compare_string_helper(const char *t1, const char *t2, const char *actual, | - |
1796 | const char *expected, const char *file, int line) | - |
1797 | { | - |
1798 | returnexecuted 1379 times by 45 tests: return compare_helper(qstrcmp(t1, t2) == 0, "Compared strings are not the same", toString(t1), toString(t2), actual, expected, file, line); Executed by:- tst_Compiler
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAtomicPointer
- tst_QAuthenticator
- tst_QByteArray
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QFile
- tst_QGlobal
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QItemEditorFactory
- tst_QLogging
- tst_QMetaEnum
- tst_QMetaMethod
- tst_QMetaObject
- tst_QMetaType
- ...
compare_helper(qstrcmp(t1, t2) == 0, "Compared strings are not the same",executed 1379 times by 45 tests: return compare_helper(qstrcmp(t1, t2) == 0, "Compared strings are not the same", toString(t1), toString(t2), actual, expected, file, line); Executed by:- tst_Compiler
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAtomicPointer
- tst_QAuthenticator
- tst_QByteArray
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QFile
- tst_QGlobal
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QItemEditorFactory
- tst_QLogging
- tst_QMetaEnum
- tst_QMetaMethod
- tst_QMetaObject
- tst_QMetaType
- ...
| 1379 |
1799 | toString(t1), toString(t2), actual, expected, file, line);executed 1379 times by 45 tests: return compare_helper(qstrcmp(t1, t2) == 0, "Compared strings are not the same", toString(t1), toString(t2), actual, expected, file, line); Executed by:- tst_Compiler
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAtomicPointer
- tst_QAuthenticator
- tst_QByteArray
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QFile
- tst_QGlobal
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIcoImageFormat
- tst_QItemEditorFactory
- tst_QLogging
- tst_QMetaEnum
- tst_QMetaMethod
- tst_QMetaObject
- tst_QMetaType
- ...
| 1379 |
1800 | } | - |
1801 | | - |
| | |