Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | #include <QtTest/private/qtesttable_p.h> | - |
41 | #include <QtTest/qtestdata.h> | - |
42 | #include <QtTest/qtestassert.h> | - |
43 | | - |
44 | #include <QtCore/qmetaobject.h> | - |
45 | | - |
46 | #include <string.h> | - |
47 | #include <vector> | - |
48 | #include <algorithm> | - |
49 | | - |
50 | QT_BEGIN_NAMESPACE | - |
51 | | - |
52 | class QTestTablePrivate | - |
53 | { | - |
54 | public: | - |
55 | ~QTestTablePrivate() | - |
56 | { | - |
57 | qDeleteAll(dataList.begin(), dataList.end()); | - |
58 | }executed 14449 times by 507 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
- ...
| 14449 |
59 | | - |
60 | struct Element { | - |
61 | Element() : name(Q_NULLPTR), type(0) {} never executed: end of block | 0 |
62 | Element(const char *n, int t) : name(n), type(t) {}executed 9874 times by 332 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
| 9874 |
63 | | - |
64 | const char *name; | - |
65 | int type; | - |
66 | }; | - |
67 | | - |
68 | typedef std::vector<Element> ElementList; | - |
69 | ElementList elementList; | - |
70 | | - |
71 | typedef std::vector<QTestData *> DataList; | - |
72 | DataList dataList; | - |
73 | | - |
74 | void addColumn(int elemType, const char *elemName) { elementList.push_back(Element(elemName, elemType)); }executed 9874 times by 332 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
| 9874 |
75 | void addRow(QTestData *data) { dataList.push_back(data); }executed 116514 times by 332 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
| 116514 |
76 | | - |
77 | static QTestTable *currentTestTable; | - |
78 | static QTestTable *gTable; | - |
79 | }; | - |
80 | | - |
81 | QTestTable *QTestTablePrivate::currentTestTable = 0; | - |
82 | QTestTable *QTestTablePrivate::gTable = 0; | - |
83 | | - |
84 | void QTestTable::addColumn(int type, const char *name) | - |
85 | { | - |
86 | QTEST_ASSERT(type); never executed: qt_assert("type",__FILE__,86); TRUE | never evaluated | FALSE | evaluated 9874 times by 332 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
|
| 0-9874 |
87 | QTEST_ASSERT(name); never executed: qt_assert("name",__FILE__,87); TRUE | never evaluated | FALSE | evaluated 9874 times by 332 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
|
| 0-9874 |
88 | | - |
89 | d->addColumn(type, name); | - |
90 | }executed 9874 times by 332 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
| 9874 |
91 | | - |
92 | int QTestTable::elementCount() const | - |
93 | { | - |
94 | return int(d->elementList.size());executed 1220969 times by 332 tests: return int(d->elementList.size()); 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
| 1220969 |
95 | } | - |
96 | | - |
97 | int QTestTable::dataCount() const | - |
98 | { | - |
99 | return int(d->dataList.size());executed 27149 times by 502 tests: return int(d->dataList.size()); 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
- ...
| 27149 |
100 | } | - |
101 | | - |
102 | bool QTestTable::isEmpty() const | - |
103 | { | - |
104 | return d->elementList.empty();executed 14088 times by 502 tests: return d->elementList.empty(); 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
- ...
| 14088 |
105 | } | - |
106 | | - |
107 | QTestData *QTestTable::newData(const char *tag) | - |
108 | { | - |
109 | QTestData *dt = new QTestData(tag, this); | - |
110 | d->addRow(dt); | - |
111 | return dt;executed 116514 times by 332 tests: return dt; 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
| 116514 |
112 | } | - |
113 | | - |
114 | QTestTable::QTestTable() | - |
115 | { | - |
116 | d = new QTestTablePrivate; | - |
117 | QTestTablePrivate::currentTestTable = this; | - |
118 | }executed 14592 times by 507 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
- ...
| 14592 |
119 | | - |
120 | QTestTable::~QTestTable() | - |
121 | { | - |
122 | QTestTablePrivate::currentTestTable = 0; | - |
123 | delete d; | - |
124 | }executed 14449 times by 507 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
- ...
| 14449 |
125 | | - |
126 | int QTestTable::elementTypeId(int index) const | - |
127 | { | - |
128 | return size_t(index) < d->elementList.size() ? d->elementList[index].type : -1;executed 1307602 times by 332 tests: return size_t(index) < d->elementList.size() ? d->elementList[index].type : -1; 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
| 1307602 |
129 | } | - |
130 | | - |
131 | const char *QTestTable::dataTag(int index) const | - |
132 | { | - |
133 | return size_t(index) < d->elementList.size() ? d->elementList[index].name : Q_NULLPTR; never executed: return size_t(index) < d->elementList.size() ? d->elementList[index].name : nullptr; | 0 |
134 | } | - |
135 | | - |
136 | QTestData *QTestTable::testData(int index) const | - |
137 | { | - |
138 | return size_t(index) < d->dataList.size() ? d->dataList[index] : Q_NULLPTR;executed 235974 times by 332 tests: return size_t(index) < d->dataList.size() ? d->dataList[index] : nullptr; 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
| 235974 |
139 | } | - |
140 | | - |
141 | class NamePredicate : public std::unary_function<QTestTablePrivate::Element, bool> | - |
142 | { | - |
143 | public: | - |
144 | explicit NamePredicate(const char *needle) : m_needle(needle) {}executed 438483 times by 331 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
| 438483 |
145 | | - |
146 | bool operator()(const QTestTablePrivate::Element &e) const | - |
147 | { return !strcmp(e.name, m_needle); }executed 1538164 times by 331 tests: return !strcmp(e.name, m_needle); 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
| 1538164 |
148 | | - |
149 | private: | - |
150 | const char *m_needle; | - |
151 | }; | - |
152 | | - |
153 | int QTestTable::indexOf(const char *elementName) const | - |
154 | { | - |
155 | typedef QTestTablePrivate::ElementList::const_iterator It; | - |
156 | | - |
157 | QTEST_ASSERT(elementName); never executed: qt_assert("elementName",__FILE__,157); TRUE | never evaluated | FALSE | evaluated 438483 times by 331 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
|
| 0-438483 |
158 | | - |
159 | const QTestTablePrivate::ElementList &elementList = d->elementList; | - |
160 | | - |
161 | const It it = std::find_if(elementList.begin(), elementList.end(), | - |
162 | NamePredicate(elementName)); | - |
163 | return it != elementList.end() ?executed 438483 times by 331 tests: return it != elementList.end() ? int(it - elementList.begin()) : -1; 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
| 438483 |
164 | int(it - elementList.begin()) : -1;executed 438483 times by 331 tests: return it != elementList.end() ? int(it - elementList.begin()) : -1; 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
| 438483 |
165 | } | - |
166 | | - |
167 | QTestTable *QTestTable::globalTestTable() | - |
168 | { | - |
169 | if (!QTestTablePrivate::gTable)TRUE | evaluated 1324 times by 506 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 13260 times by 502 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
- ...
|
| 1324-13260 |
170 | QTestTablePrivate::gTable = new QTestTable();executed 1324 times by 506 tests: QTestTablePrivate::gTable = new QTestTable(); 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
- ...
| 1324 |
171 | return QTestTablePrivate::gTable;executed 14584 times by 507 tests: return QTestTablePrivate::gTable; 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
- ...
| 14584 |
172 | } | - |
173 | | - |
174 | void QTestTable::clearGlobalTestTable() | - |
175 | { | - |
176 | delete QTestTablePrivate::gTable; | - |
177 | QTestTablePrivate::gTable = 0; | - |
178 | }executed 1238 times by 505 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
- ...
| 1238 |
179 | | - |
180 | QTestTable *QTestTable::currentTestTable() | - |
181 | { | - |
182 | return QTestTablePrivate::currentTestTable;executed 126388 times by 332 tests: return QTestTablePrivate::currentTestTable; 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_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
| 126388 |
183 | } | - |
184 | | - |
185 | QT_END_NAMESPACE | - |
| | |