Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | namespace { | - |
11 | class HandlersManager | - |
12 | { | - |
13 | static const QVariant::Handler *Handlers[QModulesPrivate::ModulesCount]; | - |
14 | public: | - |
15 | const QVariant::Handler *operator[] (const uint typeId) const | - |
16 | { | - |
17 | returnexecuted 21763616 times by 454 tests: return Handlers[QModulesPrivate::moduleForType(typeId)]; Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
Handlers[QModulesPrivate::moduleForType(typeId)];executed 21763616 times by 454 tests: return Handlers[QModulesPrivate::moduleForType(typeId)]; Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
| 21763616 |
18 | } | - |
19 | | - |
20 | void registerHandler(const QModulesPrivate::Names name, const QVariant::Handler *handler) | - |
21 | { | - |
22 | Handlers[name] = handler; | - |
23 | }executed 263 times by 5 tests: end of block Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 263 |
24 | }; | - |
25 | } | - |
26 | | - |
27 | namespace { | - |
28 | struct CoreTypesFilter { | - |
29 | template<typename T> | - |
30 | struct Acceptor { | - |
31 | static const bool IsAccepted = QModulesPrivate::QTypeModuleInfo<T>::IsCore && QtMetaTypePrivate::TypeDefinition<T>::IsAvailable; | - |
32 | }; | - |
33 | }; | - |
34 | } | - |
35 | | - |
36 | namespace { | - |
37 | | - |
38 | static void construct(QVariant::Private *x, const void *copy) | - |
39 | { | - |
40 | QVariantConstructor<CoreTypesFilter> constructor(x, copy); | - |
41 | QMetaTypeSwitcher::switcher<void>(constructor, x->type, 0); | - |
42 | }executed 4705573 times by 394 tests: end of block Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| 4705573 |
43 | | - |
44 | static void clear(QVariant::Private *d) | - |
45 | { | - |
46 | QVariantDestructor<CoreTypesFilter> cleaner(d); | - |
47 | QMetaTypeSwitcher::switcher<void>(cleaner, d->type, 0); | - |
48 | }executed 8711456 times by 424 tests: end of block Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
| 8711456 |
49 | | - |
50 | static bool isNull(const QVariant::Private *d) | - |
51 | { | - |
52 | QVariantIsNull<CoreTypesFilter> isNull(d); | - |
53 | returnexecuted 411638 times by 136 tests: return QMetaTypeSwitcher::switcher<bool>(isNull, d->type, 0); Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirModel
- ...
QMetaTypeSwitcher::switcher<bool>(isNull, d->type, 0);executed 411638 times by 136 tests: return QMetaTypeSwitcher::switcher<bool>(isNull, d->type, 0); Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirModel
- ...
| 411638 |
54 | } | - |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
62 | static bool compare(const QVariant::Private *a, const QVariant::Private *b) | - |
63 | { | - |
64 | QVariantComparator<CoreTypesFilter> comparator(a, b); | - |
65 | returnexecuted 94720 times by 72 tests: return QMetaTypeSwitcher::switcher<bool>(comparator, a->type, 0); Executed by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsPixmapItem
- tst_QGraphicsPolygonItem
- ...
QMetaTypeSwitcher::switcher<bool>(comparator, a->type, 0);executed 94720 times by 72 tests: return QMetaTypeSwitcher::switcher<bool>(comparator, a->type, 0); Executed by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsPixmapItem
- tst_QGraphicsPolygonItem
- ...
| 94720 |
66 | } | - |
67 | | - |
68 | | - |
69 | | - |
70 | | - |
71 | static qlonglong qMetaTypeNumber(const QVariant::Private *d) | - |
72 | { | - |
73 | switch (d->type) { | - |
74 | caseexecuted 358715 times by 94 tests: case QMetaType::Int: Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFileDialog2
- ...
QMetaType::Int:executed 358715 times by 94 tests: case QMetaType::Int: Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFileDialog2
- ...
| 358715 |
75 | returnexecuted 358715 times by 94 tests: return d->data.i; Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFileDialog2
- ...
d->data.i;executed 358715 times by 94 tests: return d->data.i; Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFileDialog2
- ...
| 358715 |
76 | caseexecuted 6002 times by 21 tests: case QMetaType::LongLong: Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
QMetaType::LongLong:executed 6002 times by 21 tests: case QMetaType::LongLong: Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
| 6002 |
77 | returnexecuted 6002 times by 21 tests: return d->data.ll; Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
d->data.ll;executed 6002 times by 21 tests: return d->data.ll; Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
| 6002 |
78 | caseexecuted 177 times by 1 test: case QMetaType::Char: QMetaType::Char:executed 177 times by 1 test: case QMetaType::Char: | 177 |
79 | returnexecuted 177 times by 1 test: return qlonglong(d->data.c); qlonglong(d->data.c);executed 177 times by 1 test: return qlonglong(d->data.c); | 177 |
80 | caseexecuted 186 times by 1 test: case QMetaType::SChar: QMetaType::SChar:executed 186 times by 1 test: case QMetaType::SChar: | 186 |
81 | returnexecuted 186 times by 1 test: return qlonglong(d->data.sc); qlonglong(d->data.sc);executed 186 times by 1 test: return qlonglong(d->data.sc); | 186 |
82 | caseexecuted 231 times by 2 tests: case QMetaType::Short: Executed by:- tst_QDBusMarshall
- tst_QVariant
QMetaType::Short:executed 231 times by 2 tests: case QMetaType::Short: Executed by:- tst_QDBusMarshall
- tst_QVariant
| 231 |
83 | returnexecuted 231 times by 2 tests: return qlonglong(d->data.s); Executed by:- tst_QDBusMarshall
- tst_QVariant
qlonglong(d->data.s);executed 231 times by 2 tests: return qlonglong(d->data.s); Executed by:- tst_QDBusMarshall
- tst_QVariant
| 231 |
84 | caseexecuted 120 times by 1 test: case QMetaType::Long: QMetaType::Long:executed 120 times by 1 test: case QMetaType::Long: | 120 |
85 | returnexecuted 120 times by 1 test: return qlonglong(d->data.l); qlonglong(d->data.l);executed 120 times by 1 test: return qlonglong(d->data.l); | 120 |
86 | caseexecuted 12 times by 1 test: case QMetaType::Float: QMetaType::Float:executed 12 times by 1 test: case QMetaType::Float: | 12 |
87 | returnexecuted 12 times by 1 test: return qRound64(d->data.f); qRound64(d->data.f);executed 12 times by 1 test: return qRound64(d->data.f); | 12 |
88 | caseexecuted 236 times by 13 tests: case QVariant::Double: Executed by:- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
QVariant::Double:executed 236 times by 13 tests: case QVariant::Double: Executed by:- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
| 236 |
89 | returnexecuted 236 times by 13 tests: return qRound64(d->data.d); Executed by:- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
qRound64(d->data.d);executed 236 times by 13 tests: return qRound64(d->data.d); Executed by:- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
| 236 |
90 | | - |
91 | caseexecuted 4 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 4 times by 1 test: case QMetaType::QJsonValue: | 4 |
92 | returnexecuted 4 times by 1 test: return v_cast<QJsonValue>(d)->toDouble(); v_cast<QJsonValue>(d)->toDouble();executed 4 times by 1 test: return v_cast<QJsonValue>(d)->toDouble(); | 4 |
93 | | - |
94 | } | - |
95 | ((!(false)) ? qt_assert("false",__FILE__,167) : qt_noop()); | - |
96 | return never executed: return 0; 0;never executed: return 0; | 0 |
97 | } | - |
98 | | - |
99 | static qulonglong qMetaTypeUNumber(const QVariant::Private *d) | - |
100 | { | - |
101 | switch (d->type) { | - |
102 | caseexecuted 2310 times by 23 tests: case QVariant::UInt: Executed by:- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QVariant
- tst_languageChange
QVariant::UInt:executed 2310 times by 23 tests: case QVariant::UInt: Executed by:- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QVariant
- tst_languageChange
| 2310 |
103 | returnexecuted 2310 times by 23 tests: return d->data.u; Executed by:- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QVariant
- tst_languageChange
d->data.u;executed 2310 times by 23 tests: return d->data.u; Executed by:- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QVariant
- tst_languageChange
| 2310 |
104 | caseexecuted 465 times by 19 tests: case QVariant::ULongLong: Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSignalSpy
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
QVariant::ULongLong:executed 465 times by 19 tests: case QVariant::ULongLong: Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSignalSpy
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
| 465 |
105 | returnexecuted 465 times by 19 tests: return d->data.ull; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSignalSpy
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
d->data.ull;executed 465 times by 19 tests: return d->data.ull; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSignalSpy
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
| 465 |
106 | caseexecuted 153 times by 2 tests: case QMetaType::UChar: Executed by:- tst_QDBusMarshall
- tst_QVariant
QMetaType::UChar:executed 153 times by 2 tests: case QMetaType::UChar: Executed by:- tst_QDBusMarshall
- tst_QVariant
| 153 |
107 | returnexecuted 153 times by 2 tests: return d->data.uc; Executed by:- tst_QDBusMarshall
- tst_QVariant
d->data.uc;executed 153 times by 2 tests: return d->data.uc; Executed by:- tst_QDBusMarshall
- tst_QVariant
| 153 |
108 | caseexecuted 183 times by 2 tests: case QMetaType::UShort: Executed by:- tst_QDBusMarshall
- tst_QVariant
QMetaType::UShort:executed 183 times by 2 tests: case QMetaType::UShort: Executed by:- tst_QDBusMarshall
- tst_QVariant
| 183 |
109 | returnexecuted 183 times by 2 tests: return d->data.us; Executed by:- tst_QDBusMarshall
- tst_QVariant
d->data.us;executed 183 times by 2 tests: return d->data.us; Executed by:- tst_QDBusMarshall
- tst_QVariant
| 183 |
110 | caseexecuted 87 times by 1 test: case QMetaType::ULong: QMetaType::ULong:executed 87 times by 1 test: case QMetaType::ULong: | 87 |
111 | returnexecuted 87 times by 1 test: return d->data.ul; d->data.ul;executed 87 times by 1 test: return d->data.ul; | 87 |
112 | } | - |
113 | ((!(false)) ? qt_assert("false",__FILE__,185) : qt_noop()); | - |
114 | return never executed: return 0; 0;never executed: return 0; | 0 |
115 | } | - |
116 | | - |
117 | static qlonglong qConvertToNumber(const QVariant::Private *d, bool *ok) | - |
118 | { | - |
119 | *ok = true; | - |
120 | | - |
121 | switch (uint(d->type)) { | - |
122 | caseexecuted 12478 times by 37 tests: case QVariant::String: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QSqlRelationalTableModel
- tst_QStandardItemModel
- ...
QVariant::String:executed 12478 times by 37 tests: case QVariant::String: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QSqlRelationalTableModel
- tst_QStandardItemModel
- ...
| 12478 |
123 | returnexecuted 12478 times by 37 tests: return v_cast<QString>(d)->toLongLong(ok); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QSqlRelationalTableModel
- tst_QStandardItemModel
- ...
v_cast<QString>(d)->toLongLong(ok);executed 12478 times by 37 tests: return v_cast<QString>(d)->toLongLong(ok); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QSqlRelationalTableModel
- tst_QStandardItemModel
- ...
| 12478 |
124 | caseexecuted 7 times by 2 tests: case QVariant::Char: Executed by:- tst_QMetaType
- tst_QVariant
QVariant::Char:executed 7 times by 2 tests: case QVariant::Char: Executed by:- tst_QMetaType
- tst_QVariant
| 7 |
125 | returnexecuted 7 times by 2 tests: return v_cast<QChar>(d)->unicode(); Executed by:- tst_QMetaType
- tst_QVariant
v_cast<QChar>(d)->unicode();executed 7 times by 2 tests: return v_cast<QChar>(d)->unicode(); Executed by:- tst_QMetaType
- tst_QVariant
| 7 |
126 | caseexecuted 5 times by 1 test: case QVariant::ByteArray: QVariant::ByteArray:executed 5 times by 1 test: case QVariant::ByteArray: | 5 |
127 | returnexecuted 5 times by 1 test: return v_cast<QByteArray>(d)->toLongLong(ok); v_cast<QByteArray>(d)->toLongLong(ok);executed 5 times by 1 test: return v_cast<QByteArray>(d)->toLongLong(ok); | 5 |
128 | caseexecuted 541 times by 22 tests: case QVariant::Bool: Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QSqlField
- tst_QSqlQuery
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QSyntaxHighlighter
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTextPieceTable
- tst_QVariant
- tst_QWizard
QVariant::Bool:executed 541 times by 22 tests: case QVariant::Bool: Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QSqlField
- tst_QSqlQuery
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QSyntaxHighlighter
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTextPieceTable
- tst_QVariant
- tst_QWizard
| 541 |
129 | returnexecuted 541 times by 22 tests: return qlonglong(d->data.b); Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QSqlField
- tst_QSqlQuery
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QSyntaxHighlighter
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTextPieceTable
- tst_QVariant
- tst_QWizard
qlonglong(d->data.b);executed 541 times by 22 tests: return qlonglong(d->data.b); Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QSqlField
- tst_QSqlQuery
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QSyntaxHighlighter
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTextPieceTable
- tst_QVariant
- tst_QWizard
| 541 |
130 | | - |
131 | caseexecuted 4 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 4 times by 1 test: case QMetaType::QJsonValue: | 4 |
132 | if (!v_cast<QJsonValue>(d)->isDouble()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2 |
133 | break;executed 2 times by 1 test: break; | 2 |
134 | | - |
135 | | - |
136 | caseexecuted 222 times by 13 tests: case QVariant::Double: Executed by:- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
QVariant::Double:executed 222 times by 13 tests: case QVariant::Double: Executed by:- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMenu
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
code before this statement executed 2 times by 1 test: case QVariant::Double: | 2-222 |
137 | caseexecuted 329292 times by 81 tests: case QVariant::Int: Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- ...
QVariant::Int:executed 329292 times by 81 tests: case QVariant::Int: Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- ...
| 329292 |
138 | caseexecuted 168 times by 1 test: case QMetaType::Char: QMetaType::Char:executed 168 times by 1 test: case QMetaType::Char: | 168 |
139 | caseexecuted 169 times by 1 test: case QMetaType::SChar: QMetaType::SChar:executed 169 times by 1 test: case QMetaType::SChar: | 169 |
140 | caseexecuted 201 times by 2 tests: case QMetaType::Short: Executed by:- tst_QDBusMarshall
- tst_QVariant
QMetaType::Short:executed 201 times by 2 tests: case QMetaType::Short: Executed by:- tst_QDBusMarshall
- tst_QVariant
| 201 |
141 | caseexecuted 108 times by 1 test: case QMetaType::Long: QMetaType::Long:executed 108 times by 1 test: case QMetaType::Long: | 108 |
142 | caseexecuted 3 times by 1 test: case QMetaType::Float: QMetaType::Float:executed 3 times by 1 test: case QMetaType::Float: | 3 |
143 | caseexecuted 5471 times by 20 tests: case QMetaType::LongLong: Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QVariant
- tst_Spdy
QMetaType::LongLong:executed 5471 times by 20 tests: case QMetaType::LongLong: Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QVariant
- tst_Spdy
| 5471 |
144 | returnexecuted 335636 times by 86 tests: return qMetaTypeNumber(d); Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- ...
qMetaTypeNumber(d);executed 335636 times by 86 tests: return qMetaTypeNumber(d); Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- ...
| 335636 |
145 | caseexecuted 323 times by 4 tests: case QVariant::ULongLong: Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QSignalSpy
- tst_QVariant
QVariant::ULongLong:executed 323 times by 4 tests: case QVariant::ULongLong: Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QSignalSpy
- tst_QVariant
| 323 |
146 | caseexecuted 742 times by 11 tests: case QVariant::UInt: Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QVariant
QVariant::UInt:executed 742 times by 11 tests: case QVariant::UInt: Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QVariant
| 742 |
147 | caseexecuted 136 times by 2 tests: case QMetaType::UChar: Executed by:- tst_QDBusMarshall
- tst_QVariant
QMetaType::UChar:executed 136 times by 2 tests: case QMetaType::UChar: Executed by:- tst_QDBusMarshall
- tst_QVariant
| 136 |
148 | caseexecuted 146 times by 2 tests: case QMetaType::UShort: Executed by:- tst_QDBusMarshall
- tst_QVariant
QMetaType::UShort:executed 146 times by 2 tests: case QMetaType::UShort: Executed by:- tst_QDBusMarshall
- tst_QVariant
| 146 |
149 | caseexecuted 86 times by 1 test: case QMetaType::ULong: QMetaType::ULong:executed 86 times by 1 test: case QMetaType::ULong: | 86 |
150 | | - |
151 | returnexecuted 1433 times by 12 tests: return qlonglong(qMetaTypeUNumber(d)); Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QVariant
qlonglong(qMetaTypeUNumber(d));executed 1433 times by 12 tests: return qlonglong(qMetaTypeUNumber(d)); Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSignalSpy
- tst_QSqlDatabase
- tst_QVariant
| 1433 |
152 | } | - |
153 | | - |
154 | QMetaType typeInfo(d->type); | - |
155 | if (typeInfo.flags() & QMetaType::IsEnumerationTRUE | evaluated 116 times by 4 testsEvaluated by:- tst_QGuiApplication
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
| FALSE | evaluated 868 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QMetaType
- tst_QNetworkReply
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QSettings
- tst_QTextEdit
- tst_QTreeWidgetItemIterator
- tst_QVariant
- tst_Spdy
- tst_qinputmethod
|
) { | 116-868 |
156 | switch (typeInfo.sizeOf()) { | - |
157 | caseexecuted 10 times by 1 test: case 1: 1:executed 10 times by 1 test: case 1: | 10 |
158 | returnexecuted 10 times by 1 test: return d->is_shared ? *reinterpret_cast<signed char *>(d->data.shared->ptr) : d->data.sc; d->is_shared ? *reinterpret_cast<signed char *>(d->data.shared->ptr) : d->data.sc;executed 10 times by 1 test: return d->is_shared ? *reinterpret_cast<signed char *>(d->data.shared->ptr) : d->data.sc; | 10 |
159 | caseexecuted 10 times by 1 test: case 2: 2:executed 10 times by 1 test: case 2: | 10 |
160 | returnexecuted 10 times by 1 test: return d->is_shared ? *reinterpret_cast<qint16 *>(d->data.shared->ptr) : d->data.s; d->is_shared ? *reinterpret_cast<qint16 *>(d->data.shared->ptr) : d->data.s;executed 10 times by 1 test: return d->is_shared ? *reinterpret_cast<qint16 *>(d->data.shared->ptr) : d->data.s; | 10 |
161 | caseexecuted 32 times by 4 tests: case 4: Executed by:- tst_QGuiApplication
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
4:executed 32 times by 4 tests: case 4: Executed by:- tst_QGuiApplication
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
| 32 |
162 | returnexecuted 32 times by 4 tests: return d->is_shared ? *reinterpret_cast<qint32 *>(d->data.shared->ptr) : d->data.i; Executed by:- tst_QGuiApplication
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
d->is_shared ? *reinterpret_cast<qint32 *>(d->data.shared->ptr) : d->data.i;executed 32 times by 4 tests: return d->is_shared ? *reinterpret_cast<qint32 *>(d->data.shared->ptr) : d->data.i; Executed by:- tst_QGuiApplication
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
| 32 |
163 | caseexecuted 64 times by 1 test: case 8: 8:executed 64 times by 1 test: case 8: | 64 |
164 | returnexecuted 64 times by 1 test: return d->is_shared ? *reinterpret_cast<qint64 *>(d->data.shared->ptr) : d->data.ll; d->is_shared ? *reinterpret_cast<qint64 *>(d->data.shared->ptr) : d->data.ll;executed 64 times by 1 test: return d->is_shared ? *reinterpret_cast<qint64 *>(d->data.shared->ptr) : d->data.ll; | 64 |
165 | } | - |
166 | } never executed: end of block | 0 |
167 | | - |
168 | *ok = false; | - |
169 | returnexecuted 868 times by 19 tests: return static_cast<long long>(0LL); Executed by:- tst_QAccessibility
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QMetaType
- tst_QNetworkReply
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QSettings
- tst_QTextEdit
- tst_QTreeWidgetItemIterator
- tst_QVariant
- tst_Spdy
- tst_qinputmethod
static_cast<long long>(0LL);executed 868 times by 19 tests: return static_cast<long long>(0LL); Executed by:- tst_QAccessibility
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QMetaType
- tst_QNetworkReply
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QSettings
- tst_QTextEdit
- tst_QTreeWidgetItemIterator
- tst_QVariant
- tst_Spdy
- tst_qinputmethod
| 868 |
170 | } | - |
171 | | - |
172 | static qreal qConvertToRealNumber(const QVariant::Private *d, bool *ok) | - |
173 | { | - |
174 | *ok = true; | - |
175 | switch (uint(d->type)) { | - |
176 | caseexecuted 10949 times by 32 tests: case QVariant::Double: Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
QVariant::Double:executed 10949 times by 32 tests: case QVariant::Double: Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
| 10949 |
177 | returnexecuted 10949 times by 32 tests: return qreal(d->data.d); Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
qreal(d->data.d);executed 10949 times by 32 tests: return qreal(d->data.d); Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
| 10949 |
178 | caseexecuted 301 times by 1 test: case QMetaType::Float: QMetaType::Float:executed 301 times by 1 test: case QMetaType::Float: | 301 |
179 | returnexecuted 301 times by 1 test: return qreal(d->data.f); qreal(d->data.f);executed 301 times by 1 test: return qreal(d->data.f); | 301 |
180 | case never executed: case QVariant::ULongLong: QVariant::ULongLong:never executed: case QVariant::ULongLong: | 0 |
181 | caseexecuted 80 times by 1 test: case QVariant::UInt: QVariant::UInt:executed 80 times by 1 test: case QVariant::UInt: | 80 |
182 | case never executed: case QMetaType::UChar: QMetaType::UChar:never executed: case QMetaType::UChar: | 0 |
183 | case never executed: case QMetaType::UShort: QMetaType::UShort:never executed: case QMetaType::UShort: | 0 |
184 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
185 | returnexecuted 80 times by 1 test: return qreal(qMetaTypeUNumber(d)); qreal(qMetaTypeUNumber(d));executed 80 times by 1 test: return qreal(qMetaTypeUNumber(d)); | 80 |
186 | defaultexecuted 96 times by 3 tests: default: Executed by:- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
:executed 96 times by 3 tests: default: Executed by:- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
| 96 |
187 | | - |
188 | returnexecuted 96 times by 3 tests: return qreal(qConvertToNumber(d, ok)); Executed by:- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
qreal(qConvertToNumber(d, ok));executed 96 times by 3 tests: return qreal(qConvertToNumber(d, ok)); Executed by:- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
| 96 |
189 | } | - |
190 | } | - |
191 | | - |
192 | static qulonglong qConvertToUnsignedNumber(const QVariant::Private *d, bool *ok) | - |
193 | { | - |
194 | *ok = true; | - |
195 | | - |
196 | switch (uint(d->type)) { | - |
197 | caseexecuted 47 times by 3 tests: case QVariant::String: Executed by:- tst_QColorDialog
- tst_QVariant
- tst_languageChange
QVariant::String:executed 47 times by 3 tests: case QVariant::String: Executed by:- tst_QColorDialog
- tst_QVariant
- tst_languageChange
| 47 |
198 | returnexecuted 47 times by 3 tests: return v_cast<QString>(d)->toULongLong(ok); Executed by:- tst_QColorDialog
- tst_QVariant
- tst_languageChange
v_cast<QString>(d)->toULongLong(ok);executed 47 times by 3 tests: return v_cast<QString>(d)->toULongLong(ok); Executed by:- tst_QColorDialog
- tst_QVariant
- tst_languageChange
| 47 |
199 | caseexecuted 2 times by 1 test: case QVariant::Char: QVariant::Char:executed 2 times by 1 test: case QVariant::Char: | 2 |
200 | returnexecuted 2 times by 1 test: return v_cast<QChar>(d)->unicode(); v_cast<QChar>(d)->unicode();executed 2 times by 1 test: return v_cast<QChar>(d)->unicode(); | 2 |
201 | caseexecuted 4 times by 1 test: case QVariant::ByteArray: QVariant::ByteArray:executed 4 times by 1 test: case QVariant::ByteArray: | 4 |
202 | returnexecuted 4 times by 1 test: return v_cast<QByteArray>(d)->toULongLong(ok); v_cast<QByteArray>(d)->toULongLong(ok);executed 4 times by 1 test: return v_cast<QByteArray>(d)->toULongLong(ok); | 4 |
203 | case never executed: case QVariant::Bool: QVariant::Bool:never executed: case QVariant::Bool: | 0 |
204 | return never executed: return qulonglong(d->data.b); qulonglong(d->data.b);never executed: return qulonglong(d->data.b); | 0 |
205 | | - |
206 | caseexecuted 4 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 4 times by 1 test: case QMetaType::QJsonValue: | 4 |
207 | if (!v_cast<QJsonValue>(d)->isDouble()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2 |
208 | break;executed 2 times by 1 test: break; | 2 |
209 | | - |
210 | | - |
211 | caseexecuted 3 times by 1 test: case QVariant::Double: QVariant::Double:executed 3 times by 1 test: case QVariant::Double: code before this statement executed 2 times by 1 test: case QVariant::Double: | 2-3 |
212 | caseexecuted 47 times by 6 tests: case QVariant::Int: Executed by:- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QGraphicsItem
- tst_QVariant
- tst_QWidget
QVariant::Int:executed 47 times by 6 tests: case QVariant::Int: Executed by:- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QGraphicsItem
- tst_QVariant
- tst_QWidget
| 47 |
213 | caseexecuted 1 time by 1 test: case QMetaType::Char: QMetaType::Char:executed 1 time by 1 test: case QMetaType::Char: | 1 |
214 | caseexecuted 1 time by 1 test: case QMetaType::SChar: QMetaType::SChar:executed 1 time by 1 test: case QMetaType::SChar: | 1 |
215 | caseexecuted 2 times by 1 test: case QMetaType::Short: QMetaType::Short:executed 2 times by 1 test: case QMetaType::Short: | 2 |
216 | caseexecuted 7 times by 1 test: case QMetaType::Long: QMetaType::Long:executed 7 times by 1 test: case QMetaType::Long: | 7 |
217 | caseexecuted 3 times by 1 test: case QMetaType::Float: QMetaType::Float:executed 3 times by 1 test: case QMetaType::Float: | 3 |
218 | caseexecuted 5 times by 2 tests: case QMetaType::LongLong: Executed by:- tst_QSqlDatabase
- tst_QVariant
QMetaType::LongLong:executed 5 times by 2 tests: case QMetaType::LongLong: Executed by:- tst_QSqlDatabase
- tst_QVariant
| 5 |
219 | returnexecuted 71 times by 7 tests: return qulonglong(qMetaTypeNumber(d)); Executed by:- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QGraphicsItem
- tst_QSqlDatabase
- tst_QVariant
- tst_QWidget
qulonglong(qMetaTypeNumber(d));executed 71 times by 7 tests: return qulonglong(qMetaTypeNumber(d)); Executed by:- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QGraphicsItem
- tst_QSqlDatabase
- tst_QVariant
- tst_QWidget
| 71 |
220 | caseexecuted 75 times by 16 tests: case QVariant::ULongLong: Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
QVariant::ULongLong:executed 75 times by 16 tests: case QVariant::ULongLong: Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
| 75 |
221 | caseexecuted 34 times by 3 tests: case QVariant::UInt: Executed by:- tst_QDBusMarshall
- tst_QItemDelegate
- tst_QVariant
QVariant::UInt:executed 34 times by 3 tests: case QVariant::UInt: Executed by:- tst_QDBusMarshall
- tst_QItemDelegate
- tst_QVariant
| 34 |
222 | caseexecuted 1 time by 1 test: case QMetaType::UChar: QMetaType::UChar:executed 1 time by 1 test: case QMetaType::UChar: | 1 |
223 | caseexecuted 11 times by 1 test: case QMetaType::UShort: QMetaType::UShort:executed 11 times by 1 test: case QMetaType::UShort: | 11 |
224 | caseexecuted 1 time by 1 test: case QMetaType::ULong: QMetaType::ULong:executed 1 time by 1 test: case QMetaType::ULong: | 1 |
225 | returnexecuted 122 times by 18 tests: return qMetaTypeUNumber(d); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusMarshall
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
qMetaTypeUNumber(d);executed 122 times by 18 tests: return qMetaTypeUNumber(d); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusMarshall
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
| 122 |
226 | } | - |
227 | | - |
228 | QMetaType typeInfo(d->type); | - |
229 | if (typeInfo.flags() & QMetaType::IsEnumerationTRUE | evaluated 69 times by 1 test | FALSE | evaluated 48 times by 11 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QVariant
- tst_QWidget
- tst_QWizard
- tst_qapplication - unknown status
|
) { | 48-69 |
230 | switch (typeInfo.sizeOf()) { | - |
231 | caseexecuted 6 times by 1 test: case 1: 1:executed 6 times by 1 test: case 1: | 6 |
232 | returnexecuted 6 times by 1 test: return d->is_shared ? *reinterpret_cast<uchar *>(d->data.shared->ptr) : d->data.uc; d->is_shared ? *reinterpret_cast<uchar *>(d->data.shared->ptr) : d->data.uc;executed 6 times by 1 test: return d->is_shared ? *reinterpret_cast<uchar *>(d->data.shared->ptr) : d->data.uc; | 6 |
233 | caseexecuted 6 times by 1 test: case 2: 2:executed 6 times by 1 test: case 2: | 6 |
234 | returnexecuted 6 times by 1 test: return d->is_shared ? *reinterpret_cast<quint16 *>(d->data.shared->ptr) : d->data.us; d->is_shared ? *reinterpret_cast<quint16 *>(d->data.shared->ptr) : d->data.us;executed 6 times by 1 test: return d->is_shared ? *reinterpret_cast<quint16 *>(d->data.shared->ptr) : d->data.us; | 6 |
235 | caseexecuted 18 times by 1 test: case 4: 4:executed 18 times by 1 test: case 4: | 18 |
236 | returnexecuted 18 times by 1 test: return d->is_shared ? *reinterpret_cast<quint32 *>(d->data.shared->ptr) : d->data.u; d->is_shared ? *reinterpret_cast<quint32 *>(d->data.shared->ptr) : d->data.u;executed 18 times by 1 test: return d->is_shared ? *reinterpret_cast<quint32 *>(d->data.shared->ptr) : d->data.u; | 18 |
237 | caseexecuted 39 times by 1 test: case 8: 8:executed 39 times by 1 test: case 8: | 39 |
238 | returnexecuted 39 times by 1 test: return d->is_shared ? *reinterpret_cast<qint64 *>(d->data.shared->ptr) : d->data.ull; d->is_shared ? *reinterpret_cast<qint64 *>(d->data.shared->ptr) : d->data.ull;executed 39 times by 1 test: return d->is_shared ? *reinterpret_cast<qint64 *>(d->data.shared->ptr) : d->data.ull; | 39 |
239 | } | - |
240 | } never executed: end of block | 0 |
241 | | - |
242 | *ok = false; | - |
243 | returnexecuted 48 times by 11 tests: return static_cast<unsigned long long>(0ULL); Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QVariant
- tst_QWidget
- tst_QWizard
- tst_qapplication - unknown status
static_cast<unsigned long long>(0ULL);executed 48 times by 11 tests: return static_cast<unsigned long long>(0ULL); Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QVariant
- tst_QWidget
- tst_QWizard
- tst_qapplication - unknown status
| 48 |
244 | } | - |
245 | | - |
246 | template<typename TInput, typename LiteralWrapper> | - |
247 | inline bool qt_convertToBool(const QVariant::Private *const d) | - |
248 | { | - |
249 | TInput str = v_cast<TInput>(d)->toLower(); | - |
250 | returnexecuted 30 times by 3 tests: return !(str == LiteralWrapper("0") || str == LiteralWrapper("false") || str.isEmpty()); Executed by:- tst_QSettings
- tst_QStyleSheetStyle
- tst_QVariant
!(str == LiteralWrapper("0") || str == LiteralWrapper("false") || str.isEmpty());executed 30 times by 3 tests: return !(str == LiteralWrapper("0") || str == LiteralWrapper("false") || str.isEmpty()); Executed by:- tst_QSettings
- tst_QStyleSheetStyle
- tst_QVariant
| 30 |
251 | } | - |
252 | | - |
253 | | - |
254 | | - |
255 | | - |
256 | | - |
257 | | - |
258 | static const void *constData(const QVariant::Private &d) | - |
259 | { | - |
260 | returnexecuted 2624 times by 33 tests: return d.is_shared ? d.data.shared->ptr : reinterpret_cast<const void *>(&d.data.c); Executed by:- tst_QAbstractProxyModel
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QFtp
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QIdentityProxyModel
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QNetworkRequest
- tst_QPrinter
- tst_QProcess
- ...
d.is_shared ? d.data.shared->ptr : reinterpret_cast<const void *>(&d.data.c);executed 2624 times by 33 tests: return d.is_shared ? d.data.shared->ptr : reinterpret_cast<const void *>(&d.data.c); Executed by:- tst_QAbstractProxyModel
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QFtp
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QIdentityProxyModel
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QNetworkRequest
- tst_QPrinter
- tst_QProcess
- ...
| 2624 |
261 | } | - |
262 | | - |
263 | | - |
264 | | - |
265 | | - |
266 | | - |
267 | | - |
268 | static QMetaEnum metaEnumFromType(int type) | - |
269 | { | - |
270 | QMetaType t(type); | - |
271 | if (t.flags() & QMetaType::IsEnumerationTRUE | evaluated 37 times by 1 test | FALSE | evaluated 20461 times by 37 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- tst_QSidebar
- ...
|
) { | 37-20461 |
272 | if (constTRUE | evaluated 37 times by 1 test | FALSE | never evaluated |
QMetaObject *metaObject = t.metaObject()TRUE | evaluated 37 times by 1 test | FALSE | never evaluated |
) { | 0-37 |
273 | const char *enumName = QMetaType::typeName(type); | - |
274 | const char *lastColon = std::strrchr(enumName, ':'); | - |
275 | if (lastColonTRUE | evaluated 37 times by 1 test | FALSE | never evaluated |
) | 0-37 |
276 | enumName = lastColon + 1;executed 37 times by 1 test: enumName = lastColon + 1; | 37 |
277 | returnexecuted 37 times by 1 test: return metaObject->enumerator(metaObject->indexOfEnumerator(enumName)); metaObject->enumerator(metaObject->indexOfEnumerator(enumName));executed 37 times by 1 test: return metaObject->enumerator(metaObject->indexOfEnumerator(enumName)); | 37 |
278 | } | - |
279 | } never executed: end of block | 0 |
280 | returnexecuted 20461 times by 37 tests: return QMetaEnum(); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- tst_QSidebar
- ...
QMetaEnum();executed 20461 times by 37 tests: return QMetaEnum(); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- tst_QSidebar
- ...
| 20461 |
281 | } | - |
282 | | - |
283 | | - |
284 | | - |
285 | | - |
286 | | - |
287 | | - |
288 | | - |
289 | static bool convert(const QVariant::Private *d, int t, void *result, bool *ok) | - |
290 | { | - |
291 | ((!(d->type != uint(t))) ? qt_assert("d->type != uint(t)",__FILE__,363) : qt_noop()); | - |
292 | ((!(result)) ? qt_assert("result",__FILE__,364) : qt_noop()); | - |
293 | | - |
294 | if (d->type >= QMetaType::UserTRUE | evaluated 606 times by 5 testsEvaluated by:- tst_QGuiApplication
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
| FALSE | evaluated 422562 times by 202 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
|
|| t >= QMetaType::UserTRUE | evaluated 228 times by 20 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QGraphicsItem
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| FALSE | evaluated 422334 times by 195 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
|
) { | 228-422562 |
295 | const bool isOk = QMetaType::convert(constData(*d), d->type, result, t); | - |
296 | if (okTRUE | evaluated 27 times by 1 test | FALSE | evaluated 807 times by 24 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
|
) | 27-807 |
297 | *executed 27 times by 1 test: *ok = isOk; ok = isOk;executed 27 times by 1 test: *ok = isOk; | 27 |
298 | if (isOkTRUE | evaluated 27 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 807 times by 24 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
|
) | 27-807 |
299 | returnexecuted 27 times by 2 tests: return true; Executed by:- tst_QMetaType
- tst_QVariant
true;executed 27 times by 2 tests: return true; Executed by:- tst_QMetaType
- tst_QVariant
| 27 |
300 | }executed 807 times by 24 tests: end of block Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| 807 |
301 | | - |
302 | bool dummy; | - |
303 | if (!okTRUE | evaluated 422488 times by 203 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| FALSE | evaluated 653 times by 24 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QTreeWidget
- tst_QVariant
- tst_QWizard
- tst_selftests - unknown status
|
) | 653-422488 |
304 | ok = &dummy;executed 422488 times by 203 tests: ok = &dummy; Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| 422488 |
305 | | - |
306 | switch (uint(t)) { | - |
307 | | - |
308 | caseexecuted 6 times by 3 tests: case QVariant::Url: Executed by:- tst_QGraphicsProxyWidget
- tst_QVariant
- tst_languageChange
QVariant::Url:executed 6 times by 3 tests: case QVariant::Url: Executed by:- tst_QGraphicsProxyWidget
- tst_QVariant
- tst_languageChange
| 6 |
309 | switch (d->type) { | - |
310 | caseexecuted 6 times by 3 tests: case QVariant::String: Executed by:- tst_QGraphicsProxyWidget
- tst_QVariant
- tst_languageChange
QVariant::String:executed 6 times by 3 tests: case QVariant::String: Executed by:- tst_QGraphicsProxyWidget
- tst_QVariant
- tst_languageChange
| 6 |
311 | *static_cast<QUrl *>(result) = QUrl(*v_cast<QString>(d)); | - |
312 | break;executed 6 times by 3 tests: break; Executed by:- tst_QGraphicsProxyWidget
- tst_QVariant
- tst_languageChange
| 6 |
313 | default never executed: default: :never executed: default: | 0 |
314 | return never executed: return false; false;never executed: return false; | 0 |
315 | } | - |
316 | break;executed 6 times by 3 tests: break; Executed by:- tst_QGraphicsProxyWidget
- tst_QVariant
- tst_languageChange
| 6 |
317 | caseexecuted 1 time by 1 test: case QVariant::ModelIndex: QVariant::ModelIndex:executed 1 time by 1 test: case QVariant::ModelIndex: | 1 |
318 | switch (d->type) { | - |
319 | caseexecuted 1 time by 1 test: case QVariant::PersistentModelIndex: QVariant::PersistentModelIndex:executed 1 time by 1 test: case QVariant::PersistentModelIndex: | 1 |
320 | *static_cast<QModelIndex *>(result) = QModelIndex(*v_cast<QPersistentModelIndex>(d)); | - |
321 | break;executed 1 time by 1 test: break; | 1 |
322 | default never executed: default: :never executed: default: | 0 |
323 | return never executed: return false; false;never executed: return false; | 0 |
324 | } | - |
325 | break;executed 1 time by 1 test: break; | 1 |
326 | caseexecuted 1 time by 1 test: case QVariant::PersistentModelIndex: QVariant::PersistentModelIndex:executed 1 time by 1 test: case QVariant::PersistentModelIndex: | 1 |
327 | switch (d->type) { | - |
328 | caseexecuted 1 time by 1 test: case QVariant::ModelIndex: QVariant::ModelIndex:executed 1 time by 1 test: case QVariant::ModelIndex: | 1 |
329 | *static_cast<QPersistentModelIndex *>(result) = QPersistentModelIndex(*v_cast<QModelIndex>(d)); | - |
330 | break;executed 1 time by 1 test: break; | 1 |
331 | default never executed: default: :never executed: default: | 0 |
332 | return never executed: return false; false;never executed: return false; | 0 |
333 | } | - |
334 | break;executed 1 time by 1 test: break; | 1 |
335 | | - |
336 | caseexecuted 55537 times by 77 tests: case QVariant::String: Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QIdentityProxyModel
- ...
QVariant::String:executed 55537 times by 77 tests: case QVariant::String: Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QIdentityProxyModel
- ...
{ | 55537 |
337 | QString *str = static_cast<QString *>(result); | - |
338 | switch (d->type) { | - |
339 | caseexecuted 5106 times by 14 tests: case QVariant::Char: Executed by:- tst_QMetaType
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_selftests - unknown status
QVariant::Char:executed 5106 times by 14 tests: case QVariant::Char: Executed by:- tst_QMetaType
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_selftests - unknown status
| 5106 |
340 | *str = *v_cast<QChar>(d); | - |
341 | break;executed 5106 times by 14 tests: break; Executed by:- tst_QMetaType
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_selftests - unknown status
| 5106 |
342 | caseexecuted 29 times by 1 test: case QMetaType::Char: QMetaType::Char:executed 29 times by 1 test: case QMetaType::Char: | 29 |
343 | caseexecuted 36 times by 1 test: case QMetaType::SChar: QMetaType::SChar:executed 36 times by 1 test: case QMetaType::SChar: | 36 |
344 | caseexecuted 10 times by 1 test: case QMetaType::UChar: QMetaType::UChar:executed 10 times by 1 test: case QMetaType::UChar: | 10 |
345 | *str = QChar::fromLatin1(d->data.c); | - |
346 | break;executed 75 times by 1 test: break; | 75 |
347 | caseexecuted 10 times by 1 test: case QMetaType::Short: QMetaType::Short:executed 10 times by 1 test: case QMetaType::Short: | 10 |
348 | case never executed: case QMetaType::Long: QMetaType::Long:never executed: case QMetaType::Long: | 0 |
349 | caseexecuted 29283 times by 45 tests: case QVariant::Int: Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QIdentityProxyModel
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- ...
QVariant::Int:executed 29283 times by 45 tests: case QVariant::Int: Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QIdentityProxyModel
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- ...
| 29283 |
350 | caseexecuted 250 times by 9 tests: case QVariant::LongLong: Executed by:- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkRequest
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
QVariant::LongLong:executed 250 times by 9 tests: case QVariant::LongLong: Executed by:- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkRequest
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
| 250 |
351 | *str = QString::number(qMetaTypeNumber(d)); | - |
352 | break;executed 29543 times by 47 tests: break; Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QIdentityProxyModel
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- ...
| 29543 |
353 | caseexecuted 179 times by 5 tests: case QVariant::UInt: Executed by:- tst_QColorDialog
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QVariant
- tst_languageChange
QVariant::UInt:executed 179 times by 5 tests: case QVariant::UInt: Executed by:- tst_QColorDialog
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QVariant
- tst_languageChange
| 179 |
354 | caseexecuted 43 times by 2 tests: case QVariant::ULongLong: Executed by:- tst_QDBusMarshall
- tst_QVariant
QVariant::ULongLong:executed 43 times by 2 tests: case QVariant::ULongLong: Executed by:- tst_QDBusMarshall
- tst_QVariant
| 43 |
355 | caseexecuted 10 times by 1 test: case QMetaType::UShort: QMetaType::UShort:executed 10 times by 1 test: case QMetaType::UShort: | 10 |
356 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
357 | *str = QString::number(qMetaTypeUNumber(d)); | - |
358 | break;executed 232 times by 5 tests: break; Executed by:- tst_QColorDialog
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QVariant
- tst_languageChange
| 232 |
359 | caseexecuted 39 times by 1 test: case QMetaType::Float: QMetaType::Float:executed 39 times by 1 test: case QMetaType::Float: | 39 |
360 | *str = QString::number(d->data.f, 'g', QLocale::FloatingPointShortest); | - |
361 | break;executed 39 times by 1 test: break; | 39 |
362 | caseexecuted 120 times by 13 tests: case QVariant::Double: Executed by:- tst_QCssParser
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTreeWidget
- tst_QVariant
QVariant::Double:executed 120 times by 13 tests: case QVariant::Double: Executed by:- tst_QCssParser
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTreeWidget
- tst_QVariant
| 120 |
363 | *str = QString::number(d->data.d, 'g', QLocale::FloatingPointShortest); | - |
364 | break;executed 120 times by 13 tests: break; Executed by:- tst_QCssParser
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTreeWidget
- tst_QVariant
| 120 |
365 | | - |
366 | caseexecuted 5 times by 2 tests: case QVariant::Date: Executed by:- tst_QNetworkRequest
- tst_QVariant
QVariant::Date:executed 5 times by 2 tests: case QVariant::Date: Executed by:- tst_QNetworkRequest
- tst_QVariant
| 5 |
367 | *str = v_cast<QDate>(d)->toString(Qt::ISODate); | - |
368 | break;executed 5 times by 2 tests: break; Executed by:- tst_QNetworkRequest
- tst_QVariant
| 5 |
369 | caseexecuted 3 times by 1 test: case QVariant::Time: QVariant::Time:executed 3 times by 1 test: case QVariant::Time: | 3 |
370 | *str = v_cast<QTime>(d)->toString(Qt::ISODate); | - |
371 | break;executed 3 times by 1 test: break; | 3 |
372 | caseexecuted 11 times by 2 tests: case QVariant::DateTime: Executed by:- tst_QNetworkRequest
- tst_QVariant
QVariant::DateTime:executed 11 times by 2 tests: case QVariant::DateTime: Executed by:- tst_QNetworkRequest
- tst_QVariant
| 11 |
373 | *str = v_cast<QDateTime>(d)->toString(Qt::ISODate); | - |
374 | break;executed 11 times by 2 tests: break; Executed by:- tst_QNetworkRequest
- tst_QVariant
| 11 |
375 | | - |
376 | caseexecuted 77 times by 6 tests: case QVariant::Bool: Executed by:- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSettings
- tst_QTableView
- tst_QVariant
QVariant::Bool:executed 77 times by 6 tests: case QVariant::Bool: Executed by:- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSettings
- tst_QTableView
- tst_QVariant
| 77 |
377 | *str = d->data.bTRUE | evaluated 44 times by 6 testsEvaluated by:- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSettings
- tst_QTableView
- tst_QVariant
| FALSE | evaluated 33 times by 4 testsEvaluated by:- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QSettings
- tst_QVariant
|
? ([]() -> QString { enum { Size = sizeof(u"" "true")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "true" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 44 times by 6 tests: return qstring_literal_temp; Executed by:- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSettings
- tst_QTableView
- tst_QVariant
qstring_literal_temp;executed 44 times by 6 tests: return qstring_literal_temp; Executed by:- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSettings
- tst_QTableView
- tst_QVariant
}()) : ([]() -> QString { enum { Size = sizeof(u"" "false")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "false" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 33 times by 4 tests: return qstring_literal_temp; Executed by:- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QSettings
- tst_QVariant
qstring_literal_temp;executed 33 times by 4 tests: return qstring_literal_temp; Executed by:- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QSettings
- tst_QVariant
}()); | 33-44 |
378 | break;executed 77 times by 6 tests: break; Executed by:- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSettings
- tst_QTableView
- tst_QVariant
| 77 |
379 | caseexecuted 25 times by 2 tests: case QVariant::ByteArray: Executed by:- tst_QSettings
- tst_QVariant
QVariant::ByteArray:executed 25 times by 2 tests: case QVariant::ByteArray: Executed by:- tst_QSettings
- tst_QVariant
| 25 |
380 | *str = QString::fromUtf8(v_cast<QByteArray>(d)->constData()); | - |
381 | break;executed 25 times by 2 tests: break; Executed by:- tst_QSettings
- tst_QVariant
| 25 |
382 | caseexecuted 18 times by 2 tests: case QVariant::StringList: Executed by:- tst_QStyleSheetStyle
- tst_QVariant
QVariant::StringList:executed 18 times by 2 tests: case QVariant::StringList: Executed by:- tst_QStyleSheetStyle
- tst_QVariant
| 18 |
383 | if (v_cast<QStringList>(d)->count() == 1TRUE | evaluated 3 times by 1 test | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_QStyleSheetStyle
- tst_QVariant
|
) | 3-15 |
384 | *executed 3 times by 1 test: *str = v_cast<QStringList>(d)->at(0); str = v_cast<QStringList>(d)->at(0);executed 3 times by 1 test: *str = v_cast<QStringList>(d)->at(0); | 3 |
385 | break;executed 18 times by 2 tests: break; Executed by:- tst_QStyleSheetStyle
- tst_QVariant
| 18 |
386 | | - |
387 | caseexecuted 8 times by 2 tests: case QVariant::Url: Executed by:- tst_QNetworkRequest
- tst_QVariant
QVariant::Url:executed 8 times by 2 tests: case QVariant::Url: Executed by:- tst_QNetworkRequest
- tst_QVariant
| 8 |
388 | *str = v_cast<QUrl>(d)->toString(); | - |
389 | break;executed 8 times by 2 tests: break; Executed by:- tst_QNetworkRequest
- tst_QVariant
| 8 |
390 | caseexecuted 2 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 2 times by 1 test: case QMetaType::QJsonValue: | 2 |
391 | if (v_cast<QJsonValue>(d)->isString()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
) | 1 |
392 | *executed 1 time by 1 test: *str = v_cast<QJsonValue>(d)->toString(); str = v_cast<QJsonValue>(d)->toString();executed 1 time by 1 test: *str = v_cast<QJsonValue>(d)->toString(); | 1 |
393 | else if (!v_cast<QJsonValue>(d)->isNull()TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
394 | return never executed: return false; false;never executed: return false; | 0 |
395 | break;executed 2 times by 1 test: break; | 2 |
396 | | - |
397 | caseexecuted 19 times by 2 tests: case QVariant::Uuid: QVariant::Uuid:executed 19 times by 2 tests: case QVariant::Uuid: | 19 |
398 | *str = v_cast<QUuid>(d)->toString(); | - |
399 | break;executed 19 times by 2 tests: break; | 19 |
400 | defaultexecuted 20254 times by 37 tests: default: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- tst_QSidebar
- ...
:executed 20254 times by 37 tests: default: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- tst_QSidebar
- ...
| 20254 |
401 | | - |
402 | { | - |
403 | QMetaEnum en = metaEnumFromType(d->type); | - |
404 | if (en.isValid()TRUE | evaluated 10 times by 1 test | FALSE | evaluated 20244 times by 37 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- tst_QSidebar
- ...
|
) { | 10-20244 |
405 | *str = QString::fromUtf8(en.valueToKey(qConvertToNumber(d, ok))); | - |
406 | returnexecuted 10 times by 1 test: return *ok; *ok;executed 10 times by 1 test: return *ok; | 10 |
407 | } | - |
408 | } | - |
409 | | - |
410 | returnexecuted 20244 times by 37 tests: return false; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- tst_QSidebar
- ...
false;executed 20244 times by 37 tests: return false; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkReply
- tst_QSettings
- tst_QSidebar
- ...
| 20244 |
411 | } | - |
412 | break;executed 35283 times by 65 tests: break; Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QIdentityProxyModel
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListWidget
- tst_QMetaType
- ...
| 35283 |
413 | } | - |
414 | caseexecuted 4 times by 2 tests: case QVariant::Char: Executed by:- tst_QMetaType
- tst_QVariant
QVariant::Char:executed 4 times by 2 tests: case QVariant::Char: Executed by:- tst_QMetaType
- tst_QVariant
{ | 4 |
415 | QChar *c = static_cast<QChar *>(result); | - |
416 | switch (d->type) { | - |
417 | caseexecuted 2 times by 1 test: case QVariant::Int: QVariant::Int:executed 2 times by 1 test: case QVariant::Int: | 2 |
418 | caseexecuted 1 time by 1 test: case QVariant::LongLong: QVariant::LongLong:executed 1 time by 1 test: case QVariant::LongLong: | 1 |
419 | case never executed: case QMetaType::Char: QMetaType::Char:never executed: case QMetaType::Char: | 0 |
420 | case never executed: case QMetaType::SChar: QMetaType::SChar:never executed: case QMetaType::SChar: | 0 |
421 | case never executed: case QMetaType::Short: QMetaType::Short:never executed: case QMetaType::Short: | 0 |
422 | case never executed: case QMetaType::Long: QMetaType::Long:never executed: case QMetaType::Long: | 0 |
423 | case never executed: case QMetaType::Float: QMetaType::Float:never executed: case QMetaType::Float: | 0 |
424 | *c = QChar(ushort(qMetaTypeNumber(d))); | - |
425 | break;executed 3 times by 2 tests: break; Executed by:- tst_QMetaType
- tst_QVariant
| 3 |
426 | case never executed: case QVariant::UInt: QVariant::UInt:never executed: case QVariant::UInt: | 0 |
427 | caseexecuted 1 time by 1 test: case QVariant::ULongLong: QVariant::ULongLong:executed 1 time by 1 test: case QVariant::ULongLong: | 1 |
428 | case never executed: case QMetaType::UChar: QMetaType::UChar:never executed: case QMetaType::UChar: | 0 |
429 | case never executed: case QMetaType::UShort: QMetaType::UShort:never executed: case QMetaType::UShort: | 0 |
430 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
431 | *c = QChar(ushort(qMetaTypeUNumber(d))); | - |
432 | break;executed 1 time by 1 test: break; | 1 |
433 | default never executed: default: :never executed: default: | 0 |
434 | return never executed: return false; false;never executed: return false; | 0 |
435 | } | - |
436 | break;executed 4 times by 2 tests: break; Executed by:- tst_QMetaType
- tst_QVariant
| 4 |
437 | } | - |
438 | | - |
439 | caseexecuted 62 times by 5 tests: case QVariant::Size: Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QImageReader
- tst_QPrinter
- tst_QVariant
QVariant::Size:executed 62 times by 5 tests: case QVariant::Size: Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QImageReader
- tst_QPrinter
- tst_QVariant
{ | 62 |
440 | QSize *s = static_cast<QSize *>(result); | - |
441 | switch (d->type) { | - |
442 | caseexecuted 4 times by 1 test: case QVariant::SizeF: QVariant::SizeF:executed 4 times by 1 test: case QVariant::SizeF: | 4 |
443 | *s = v_cast<QSizeF>(d)->toSize(); | - |
444 | break;executed 4 times by 1 test: break; | 4 |
445 | defaultexecuted 58 times by 4 tests: default: Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QImageReader
- tst_QPrinter
:executed 58 times by 4 tests: default: Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QImageReader
- tst_QPrinter
| 58 |
446 | returnexecuted 58 times by 4 tests: return false; Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QImageReader
- tst_QPrinter
false;executed 58 times by 4 tests: return false; Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QImageReader
- tst_QPrinter
| 58 |
447 | } | - |
448 | break;executed 4 times by 1 test: break; | 4 |
449 | } | - |
450 | | - |
451 | caseexecuted 23 times by 3 tests: case QVariant::SizeF: Executed by:- tst_QGraphicsWidget
- tst_QMetaType
- tst_QVariant
QVariant::SizeF:executed 23 times by 3 tests: case QVariant::SizeF: Executed by:- tst_QGraphicsWidget
- tst_QMetaType
- tst_QVariant
{ | 23 |
452 | QSizeF *s = static_cast<QSizeF *>(result); | - |
453 | switch (d->type) { | - |
454 | caseexecuted 21 times by 2 tests: case QVariant::Size: Executed by:- tst_QGraphicsWidget
- tst_QVariant
QVariant::Size:executed 21 times by 2 tests: case QVariant::Size: Executed by:- tst_QGraphicsWidget
- tst_QVariant
| 21 |
455 | *s = QSizeF(*(v_cast<QSize>(d))); | - |
456 | break;executed 21 times by 2 tests: break; Executed by:- tst_QGraphicsWidget
- tst_QVariant
| 21 |
457 | defaultexecuted 2 times by 1 test: default: :executed 2 times by 1 test: default: | 2 |
458 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
459 | } | - |
460 | break;executed 21 times by 2 tests: break; Executed by:- tst_QGraphicsWidget
- tst_QVariant
| 21 |
461 | } | - |
462 | | - |
463 | caseexecuted 4 times by 1 test: case QVariant::Line: QVariant::Line:executed 4 times by 1 test: case QVariant::Line: { | 4 |
464 | QLine *s = static_cast<QLine *>(result); | - |
465 | switch (d->type) { | - |
466 | caseexecuted 4 times by 1 test: case QVariant::LineF: QVariant::LineF:executed 4 times by 1 test: case QVariant::LineF: | 4 |
467 | *s = v_cast<QLineF>(d)->toLine(); | - |
468 | break;executed 4 times by 1 test: break; | 4 |
469 | default never executed: default: :never executed: default: | 0 |
470 | return never executed: return false; false;never executed: return false; | 0 |
471 | } | - |
472 | break;executed 4 times by 1 test: break; | 4 |
473 | } | - |
474 | | - |
475 | caseexecuted 6 times by 2 tests: case QVariant::LineF: Executed by:- tst_QMetaType
- tst_QVariant
QVariant::LineF:executed 6 times by 2 tests: case QVariant::LineF: Executed by:- tst_QMetaType
- tst_QVariant
{ | 6 |
476 | QLineF *s = static_cast<QLineF *>(result); | - |
477 | switch (d->type) { | - |
478 | caseexecuted 4 times by 1 test: case QVariant::Line: QVariant::Line:executed 4 times by 1 test: case QVariant::Line: | 4 |
479 | *s = QLineF(*(v_cast<QLine>(d))); | - |
480 | break;executed 4 times by 1 test: break; | 4 |
481 | defaultexecuted 2 times by 1 test: default: :executed 2 times by 1 test: default: | 2 |
482 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
483 | } | - |
484 | break;executed 4 times by 1 test: break; | 4 |
485 | } | - |
486 | | - |
487 | caseexecuted 30 times by 26 tests: case QVariant::StringList: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTextEdit
- tst_QToolButton
- tst_QTreeWidget
- ...
QVariant::StringList:executed 30 times by 26 tests: case QVariant::StringList: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTextEdit
- tst_QToolButton
- tst_QTreeWidget
- ...
| 30 |
488 | if (d->type == QVariant::ListTRUE | never evaluated | FALSE | evaluated 30 times by 26 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTextEdit
- tst_QToolButton
- tst_QTreeWidget
- ...
|
) { | 0-30 |
489 | QStringList *slst = static_cast<QStringList *>(result); | - |
490 | const QVariantList *list = v_cast<QVariantList >(d); | - |
491 | const int size = list->size(); | - |
492 | slst->reserve(size); | - |
493 | for (int i = 0; i < sizeTRUE | never evaluated | FALSE | never evaluated |
; ++i) | 0 |
494 | slst->append(list->at(i).toString()); never executed: slst->append(list->at(i).toString()); | 0 |
495 | } never executed: end of block else if (d->type == QVariant::StringTRUE | never evaluated | FALSE | evaluated 30 times by 26 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTextEdit
- tst_QToolButton
- tst_QTreeWidget
- ...
|
) { | 0-30 |
496 | QStringList *slst = static_cast<QStringList *>(result); | - |
497 | *slst = QStringList(*v_cast<QString>(d)); | - |
498 | } never executed: end of block else { | 0 |
499 | returnexecuted 30 times by 26 tests: return false; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTextEdit
- tst_QToolButton
- tst_QTreeWidget
- ...
false;executed 30 times by 26 tests: return false; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTextEdit
- tst_QToolButton
- tst_QTreeWidget
- ...
| 30 |
500 | } | - |
501 | break; never executed: break; | 0 |
502 | caseexecuted 12673 times by 4 tests: case QVariant::Date: Executed by:- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
QVariant::Date:executed 12673 times by 4 tests: case QVariant::Date: Executed by:- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
{ | 12673 |
503 | QDate *dt = static_cast<QDate *>(result); | - |
504 | if (d->type == QVariant::DateTimeTRUE | evaluated 12671 times by 4 testsEvaluated by:- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| FALSE | evaluated 2 times by 1 test |
) | 2-12671 |
505 | *executed 12671 times by 4 tests: *dt = v_cast<QDateTime>(d)->date(); Executed by:- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
dt = v_cast<QDateTime>(d)->date();executed 12671 times by 4 tests: *dt = v_cast<QDateTime>(d)->date(); Executed by:- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| 12671 |
506 | | - |
507 | else if (d->type == QVariant::StringTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
508 | *executed 2 times by 1 test: *dt = QDate::fromString(*v_cast<QString>(d), Qt::ISODate); dt = QDate::fromString(*v_cast<QString>(d), Qt::ISODate);executed 2 times by 1 test: *dt = QDate::fromString(*v_cast<QString>(d), Qt::ISODate); | 2 |
509 | | - |
510 | else | - |
511 | return never executed: return false; false;never executed: return false; | 0 |
512 | | - |
513 | returnexecuted 12673 times by 4 tests: return dt->isValid(); Executed by:- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
dt->isValid();executed 12673 times by 4 tests: return dt->isValid(); Executed by:- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| 12673 |
514 | } | - |
515 | caseexecuted 10943 times by 5 tests: case QVariant::Time: Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
QVariant::Time:executed 10943 times by 5 tests: case QVariant::Time: Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
{ | 10943 |
516 | QTime *t = static_cast<QTime *>(result); | - |
517 | switch (d->type) { | - |
518 | caseexecuted 10941 times by 5 tests: case QVariant::DateTime: Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
QVariant::DateTime:executed 10941 times by 5 tests: case QVariant::DateTime: Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| 10941 |
519 | *t = v_cast<QDateTime>(d)->time(); | - |
520 | break;executed 10941 times by 5 tests: break; Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| 10941 |
521 | | - |
522 | caseexecuted 2 times by 1 test: case QVariant::String: QVariant::String:executed 2 times by 1 test: case QVariant::String: | 2 |
523 | *t = QTime::fromString(*v_cast<QString>(d), Qt::ISODate); | - |
524 | break;executed 2 times by 1 test: break; | 2 |
525 | | - |
526 | default never executed: default: :never executed: default: | 0 |
527 | return never executed: return false; false;never executed: return false; | 0 |
528 | } | - |
529 | returnexecuted 10943 times by 5 tests: return t->isValid(); Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
t->isValid();executed 10943 times by 5 tests: return t->isValid(); Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| 10943 |
530 | } | - |
531 | caseexecuted 940 times by 7 tests: case QVariant::DateTime: Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QVariant
QVariant::DateTime:executed 940 times by 7 tests: case QVariant::DateTime: Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QVariant
{ | 940 |
532 | QDateTime *dt = static_cast<QDateTime *>(result); | - |
533 | switch (d->type) { | - |
534 | | - |
535 | caseexecuted 9 times by 2 tests: case QVariant::String: Executed by:- tst_QSqlQuery
- tst_QVariant
QVariant::String:executed 9 times by 2 tests: case QVariant::String: Executed by:- tst_QSqlQuery
- tst_QVariant
| 9 |
536 | *dt = QDateTime::fromString(*v_cast<QString>(d), Qt::ISODate); | - |
537 | break;executed 9 times by 2 tests: break; Executed by:- tst_QSqlQuery
- tst_QVariant
| 9 |
538 | | - |
539 | caseexecuted 2 times by 2 tests: case QVariant::Date: Executed by:- tst_QNetworkRequest
- tst_QVariant
QVariant::Date:executed 2 times by 2 tests: case QVariant::Date: Executed by:- tst_QNetworkRequest
- tst_QVariant
| 2 |
540 | *dt = QDateTime(*v_cast<QDate>(d)); | - |
541 | break;executed 2 times by 2 tests: break; Executed by:- tst_QNetworkRequest
- tst_QVariant
| 2 |
542 | defaultexecuted 929 times by 5 tests: default: Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
:executed 929 times by 5 tests: default: Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| 929 |
543 | returnexecuted 929 times by 5 tests: return false; Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
false;executed 929 times by 5 tests: return false; Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
- tst_QVariant
| 929 |
544 | } | - |
545 | returnexecuted 11 times by 3 tests: return dt->isValid(); Executed by:- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QVariant
dt->isValid();executed 11 times by 3 tests: return dt->isValid(); Executed by:- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QVariant
| 11 |
546 | } | - |
547 | caseexecuted 611 times by 11 tests: case QVariant::ByteArray: Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMimeData
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
QVariant::ByteArray:executed 611 times by 11 tests: case QVariant::ByteArray: Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMimeData
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
{ | 611 |
548 | QByteArray *ba = static_cast<QByteArray *>(result); | - |
549 | switch (d->type) { | - |
550 | caseexecuted 118 times by 6 tests: case QVariant::String: Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QXmlInputSource
- tst_Spdy
QVariant::String:executed 118 times by 6 tests: case QVariant::String: Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QXmlInputSource
- tst_Spdy
| 118 |
551 | *ba = v_cast<QString>(d)->toUtf8(); | - |
552 | break;executed 118 times by 6 tests: break; Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QXmlInputSource
- tst_Spdy
| 118 |
553 | caseexecuted 3 times by 1 test: case QVariant::Double: QVariant::Double:executed 3 times by 1 test: case QVariant::Double: | 3 |
554 | *ba = QByteArray::number(d->data.d, 'g', QLocale::FloatingPointShortest); | - |
555 | break;executed 3 times by 1 test: break; | 3 |
556 | caseexecuted 3 times by 1 test: case QMetaType::Float: QMetaType::Float:executed 3 times by 1 test: case QMetaType::Float: | 3 |
557 | *ba = QByteArray::number(d->data.f, 'g', QLocale::FloatingPointShortest); | - |
558 | break;executed 3 times by 1 test: break; | 3 |
559 | case never executed: case QMetaType::Char: QMetaType::Char:never executed: case QMetaType::Char: | 0 |
560 | case never executed: case QMetaType::SChar: QMetaType::SChar:never executed: case QMetaType::SChar: | 0 |
561 | case never executed: case QMetaType::UChar: QMetaType::UChar:never executed: case QMetaType::UChar: | 0 |
562 | *ba = QByteArray(1, d->data.c); | - |
563 | break; never executed: break; | 0 |
564 | caseexecuted 6 times by 4 tests: case QVariant::Int: Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QVariant
- tst_QXmlInputSource
QVariant::Int:executed 6 times by 4 tests: case QVariant::Int: Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QVariant
- tst_QXmlInputSource
| 6 |
565 | caseexecuted 249 times by 5 tests: case QVariant::LongLong: Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
QVariant::LongLong:executed 249 times by 5 tests: case QVariant::LongLong: Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
| 249 |
566 | case never executed: case QMetaType::Short: QMetaType::Short:never executed: case QMetaType::Short: | 0 |
567 | case never executed: case QMetaType::Long: QMetaType::Long:never executed: case QMetaType::Long: | 0 |
568 | *ba = QByteArray::number(qMetaTypeNumber(d)); | - |
569 | break;executed 255 times by 6 tests: break; Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
| 255 |
570 | caseexecuted 2 times by 1 test: case QVariant::UInt: QVariant::UInt:executed 2 times by 1 test: case QVariant::UInt: | 2 |
571 | caseexecuted 2 times by 1 test: case QVariant::ULongLong: QVariant::ULongLong:executed 2 times by 1 test: case QVariant::ULongLong: | 2 |
572 | case never executed: case QMetaType::UShort: QMetaType::UShort:never executed: case QMetaType::UShort: | 0 |
573 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
574 | *ba = QByteArray::number(qMetaTypeUNumber(d)); | - |
575 | break;executed 4 times by 1 test: break; | 4 |
576 | caseexecuted 3 times by 1 test: case QVariant::Bool: QVariant::Bool:executed 3 times by 1 test: case QVariant::Bool: | 3 |
577 | *ba = QByteArray(d->data.b ? "true" : "false"); | - |
578 | break;executed 3 times by 1 test: break; | 3 |
579 | defaultexecuted 225 times by 4 tests: default: Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMimeData
- tst_QVariant
:executed 225 times by 4 tests: default: Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMimeData
- tst_QVariant
| 225 |
580 | | - |
581 | { | - |
582 | QMetaEnum en = metaEnumFromType(d->type); | - |
583 | if (en.isValid()TRUE | evaluated 10 times by 1 test | FALSE | evaluated 215 times by 3 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMimeData
|
) { | 10-215 |
584 | *ba = en.valueToKey(qConvertToNumber(d, ok)); | - |
585 | returnexecuted 10 times by 1 test: return *ok; *ok;executed 10 times by 1 test: return *ok; | 10 |
586 | } | - |
587 | } | - |
588 | | - |
589 | returnexecuted 215 times by 3 tests: return false; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMimeData
false;executed 215 times by 3 tests: return false; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMimeData
| 215 |
590 | } | - |
591 | } | - |
592 | break;executed 386 times by 8 tests: break; Executed by:- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
| 386 |
593 | caseexecuted 28 times by 2 tests: case QMetaType::Short: Executed by:- tst_QDBusReply
- tst_QVariant
QMetaType::Short:executed 28 times by 2 tests: case QMetaType::Short: Executed by:- tst_QDBusReply
- tst_QVariant
| 28 |
594 | *static_cast<short *>(result) = short(qConvertToNumber(d, ok)); | - |
595 | returnexecuted 28 times by 2 tests: return *ok; Executed by:- tst_QDBusReply
- tst_QVariant
*ok;executed 28 times by 2 tests: return *ok; Executed by:- tst_QDBusReply
- tst_QVariant
| 28 |
596 | caseexecuted 1 time by 1 test: case QMetaType::Long: QMetaType::Long:executed 1 time by 1 test: case QMetaType::Long: | 1 |
597 | *static_cast<long *>(result) = long(qConvertToNumber(d, ok)); | - |
598 | returnexecuted 1 time by 1 test: return *ok; *ok;executed 1 time by 1 test: return *ok; | 1 |
599 | caseexecuted 31 times by 1 test: case QMetaType::UShort: QMetaType::UShort:executed 31 times by 1 test: case QMetaType::UShort: | 31 |
600 | *static_cast<ushort *>(result) = ushort(qConvertToUnsignedNumber(d, ok)); | - |
601 | returnexecuted 31 times by 1 test: return *ok; *ok;executed 31 times by 1 test: return *ok; | 31 |
602 | caseexecuted 7 times by 1 test: case QMetaType::ULong: QMetaType::ULong:executed 7 times by 1 test: case QMetaType::ULong: | 7 |
603 | *static_cast<ulong *>(result) = ulong(qConvertToUnsignedNumber(d, ok)); | - |
604 | returnexecuted 7 times by 1 test: return *ok; *ok;executed 7 times by 1 test: return *ok; | 7 |
605 | caseexecuted 16313 times by 69 tests: case QVariant::Int: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHttpSocketEngine
- tst_QIcon
- tst_QItemDelegate
- tst_QItemModel
- ...
QVariant::Int:executed 16313 times by 69 tests: case QVariant::Int: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHttpSocketEngine
- tst_QIcon
- tst_QItemDelegate
- tst_QItemModel
- ...
| 16313 |
606 | *static_cast<int *>(result) = int(qConvertToNumber(d, ok)); | - |
607 | returnexecuted 16313 times by 69 tests: return *ok; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHttpSocketEngine
- tst_QIcon
- tst_QItemDelegate
- tst_QItemModel
- ...
*ok;executed 16313 times by 69 tests: return *ok; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractInterface
- tst_QDBusPendingReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHttpSocketEngine
- tst_QIcon
- tst_QItemDelegate
- tst_QItemModel
- ...
| 16313 |
608 | caseexecuted 189 times by 24 tests: case QVariant::UInt: Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSqlDatabase
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QWidget
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
QVariant::UInt:executed 189 times by 24 tests: case QVariant::UInt: Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSqlDatabase
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QWidget
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
| 189 |
609 | *static_cast<uint *>(result) = uint(qConvertToUnsignedNumber(d, ok)); | - |
610 | returnexecuted 189 times by 24 tests: return *ok; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSqlDatabase
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QWidget
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
*ok;executed 189 times by 24 tests: return *ok; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSqlDatabase
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QWidget
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
| 189 |
611 | caseexecuted 10784 times by 15 tests: case QVariant::LongLong: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDBusMarshall
- tst_QHeaderView
- tst_QItemDelegate
- tst_QListWidget
- tst_QNetworkReply
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QTableView
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariant
- tst_Spdy
QVariant::LongLong:executed 10784 times by 15 tests: case QVariant::LongLong: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDBusMarshall
- tst_QHeaderView
- tst_QItemDelegate
- tst_QListWidget
- tst_QNetworkReply
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QTableView
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariant
- tst_Spdy
| 10784 |
612 | *static_cast<qlonglong *>(result) = qConvertToNumber(d, ok); | - |
613 | returnexecuted 10784 times by 15 tests: return *ok; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDBusMarshall
- tst_QHeaderView
- tst_QItemDelegate
- tst_QListWidget
- tst_QNetworkReply
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QTableView
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariant
- tst_Spdy
*ok;executed 10784 times by 15 tests: return *ok; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDBusMarshall
- tst_QHeaderView
- tst_QItemDelegate
- tst_QListWidget
- tst_QNetworkReply
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QTableView
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariant
- tst_Spdy
| 10784 |
614 | caseexecuted 135 times by 12 tests: case QVariant::ULongLong: Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusMarshall
- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QVariant
- tst_QWizard
- tst_qapplication - unknown status
QVariant::ULongLong:executed 135 times by 12 tests: case QVariant::ULongLong: Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusMarshall
- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QVariant
- tst_QWizard
- tst_qapplication - unknown status
{ | 135 |
615 | *static_cast<qulonglong *>(result) = qConvertToUnsignedNumber(d, ok); | - |
616 | returnexecuted 135 times by 12 tests: return *ok; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusMarshall
- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QVariant
- tst_QWizard
- tst_qapplication - unknown status
*ok;executed 135 times by 12 tests: return *ok; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusMarshall
- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QVariant
- tst_QWizard
- tst_qapplication - unknown status
| 135 |
617 | } | - |
618 | caseexecuted 1 time by 1 test: case QMetaType::SChar: QMetaType::SChar:executed 1 time by 1 test: case QMetaType::SChar: { | 1 |
619 | signed char s = qConvertToNumber(d, ok); | - |
620 | *static_cast<signed char*>(result) = s; | - |
621 | returnexecuted 1 time by 1 test: return *ok; *ok;executed 1 time by 1 test: return *ok; | 1 |
622 | } | - |
623 | caseexecuted 1 time by 1 test: case QMetaType::UChar: QMetaType::UChar:executed 1 time by 1 test: case QMetaType::UChar: { | 1 |
624 | *static_cast<uchar *>(result) = qConvertToUnsignedNumber(d, ok); | - |
625 | returnexecuted 1 time by 1 test: return *ok; *ok;executed 1 time by 1 test: return *ok; | 1 |
626 | } | - |
627 | caseexecuted 39499 times by 116 tests: case QVariant::Bool: Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- ...
QVariant::Bool:executed 39499 times by 116 tests: case QVariant::Bool: Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- ...
{ | 39499 |
628 | bool *b = static_cast<bool *>(result); | - |
629 | switch(d->type) { | - |
630 | caseexecuted 10 times by 1 test: case QVariant::ByteArray: QVariant::ByteArray:executed 10 times by 1 test: case QVariant::ByteArray: | 10 |
631 | *b = qt_convertToBool<QByteArray, QByteArray>(d); | - |
632 | break;executed 10 times by 1 test: break; | 10 |
633 | caseexecuted 20 times by 3 tests: case QVariant::String: Executed by:- tst_QSettings
- tst_QStyleSheetStyle
- tst_QVariant
QVariant::String:executed 20 times by 3 tests: case QVariant::String: Executed by:- tst_QSettings
- tst_QStyleSheetStyle
- tst_QVariant
| 20 |
634 | *b = qt_convertToBool<QString, QLatin1String>(d); | - |
635 | break;executed 20 times by 3 tests: break; Executed by:- tst_QSettings
- tst_QStyleSheetStyle
- tst_QVariant
| 20 |
636 | caseexecuted 2 times by 1 test: case QVariant::Char: QVariant::Char:executed 2 times by 1 test: case QVariant::Char: | 2 |
637 | *b = !v_cast<QChar>(d)->isNull(); | - |
638 | break;executed 2 times by 1 test: break; | 2 |
639 | caseexecuted 11 times by 2 tests: case QVariant::Double: Executed by:- tst_QStyleSheetStyle
- tst_QVariant
QVariant::Double:executed 11 times by 2 tests: case QVariant::Double: Executed by:- tst_QStyleSheetStyle
- tst_QVariant
| 11 |
640 | caseexecuted 35 times by 4 tests: case QVariant::Int: Executed by:- tst_QSettings
- tst_QTcpSocket
- tst_QVariant
- tst_QWizard
QVariant::Int:executed 35 times by 4 tests: case QVariant::Int: Executed by:- tst_QSettings
- tst_QTcpSocket
- tst_QVariant
- tst_QWizard
| 35 |
641 | caseexecuted 16 times by 2 tests: case QVariant::LongLong: Executed by:- tst_QSqlQuery
- tst_QVariant
QVariant::LongLong:executed 16 times by 2 tests: case QVariant::LongLong: Executed by:- tst_QSqlQuery
- tst_QVariant
| 16 |
642 | caseexecuted 4 times by 1 test: case QMetaType::Char: QMetaType::Char:executed 4 times by 1 test: case QMetaType::Char: | 4 |
643 | caseexecuted 8 times by 1 test: case QMetaType::SChar: QMetaType::SChar:executed 8 times by 1 test: case QMetaType::SChar: | 8 |
644 | caseexecuted 8 times by 1 test: case QMetaType::Short: QMetaType::Short:executed 8 times by 1 test: case QMetaType::Short: | 8 |
645 | case never executed: case QMetaType::Long: QMetaType::Long:never executed: case QMetaType::Long: | 0 |
646 | caseexecuted 6 times by 1 test: case QMetaType::Float: QMetaType::Float:executed 6 times by 1 test: case QMetaType::Float: | 6 |
647 | *b = qMetaTypeNumber(d) != static_cast<long long>(0LL); | - |
648 | break;executed 88 times by 6 tests: break; Executed by:- tst_QSettings
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QTcpSocket
- tst_QVariant
- tst_QWizard
| 88 |
649 | caseexecuted 1266 times by 12 tests: case QVariant::UInt: Executed by:- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QVariant
QVariant::UInt:executed 1266 times by 12 tests: case QVariant::UInt: Executed by:- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QVariant
| 1266 |
650 | caseexecuted 10 times by 1 test: case QVariant::ULongLong: QVariant::ULongLong:executed 10 times by 1 test: case QVariant::ULongLong: | 10 |
651 | caseexecuted 8 times by 1 test: case QMetaType::UChar: QMetaType::UChar:executed 8 times by 1 test: case QMetaType::UChar: | 8 |
652 | caseexecuted 8 times by 1 test: case QMetaType::UShort: QMetaType::UShort:executed 8 times by 1 test: case QMetaType::UShort: | 8 |
653 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
654 | *b = qMetaTypeUNumber(d) != static_cast<unsigned long long>(0ULL); | - |
655 | break;executed 1292 times by 12 tests: break; Executed by:- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QVariant
| 1292 |
656 | | - |
657 | caseexecuted 2 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 2 times by 1 test: case QMetaType::QJsonValue: | 2 |
658 | *b = v_cast<QJsonValue>(d)->toBool(false); | - |
659 | if (!v_cast<QJsonValue>(d)->isBool()TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
660 | return never executed: return false; false;never executed: return false; | 0 |
661 | break;executed 2 times by 1 test: break; | 2 |
662 | | - |
663 | defaultexecuted 38085 times by 111 tests: default: Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- ...
:executed 38085 times by 111 tests: default: Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- ...
| 38085 |
664 | *b = false; | - |
665 | returnexecuted 38085 times by 111 tests: return false; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- ...
false;executed 38085 times by 111 tests: return false; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- ...
| 38085 |
666 | } | - |
667 | break;executed 1414 times by 17 tests: break; Executed by:- tst_QDialog
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QSettings
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QTcpSocket
- tst_QVariant
- tst_QWizard
| 1414 |
668 | } | - |
669 | caseexecuted 635 times by 17 tests: case QVariant::Double: Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSqlDatabase
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
QVariant::Double:executed 635 times by 17 tests: case QVariant::Double: Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSqlDatabase
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
{ | 635 |
670 | double *f = static_cast<double *>(result); | - |
671 | switch (d->type) { | - |
672 | caseexecuted 370 times by 13 tests: case QVariant::String: Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
QVariant::String:executed 370 times by 13 tests: case QVariant::String: Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
| 370 |
673 | *f = v_cast<QString>(d)->toDouble(ok); | - |
674 | break;executed 370 times by 13 tests: break; Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
| 370 |
675 | caseexecuted 3 times by 1 test: case QVariant::ByteArray: QVariant::ByteArray:executed 3 times by 1 test: case QVariant::ByteArray: | 3 |
676 | *f = v_cast<QByteArray>(d)->toDouble(ok); | - |
677 | break;executed 3 times by 1 test: break; | 3 |
678 | caseexecuted 8 times by 1 test: case QVariant::Bool: QVariant::Bool:executed 8 times by 1 test: case QVariant::Bool: | 8 |
679 | *f = double(d->data.b); | - |
680 | break;executed 8 times by 1 test: break; | 8 |
681 | caseexecuted 9 times by 2 tests: case QMetaType::Float: QMetaType::Float:executed 9 times by 2 tests: case QMetaType::Float: | 9 |
682 | *f = double(d->data.f); | - |
683 | break;executed 9 times by 2 tests: break; | 9 |
684 | caseexecuted 10 times by 2 tests: case QVariant::LongLong: Executed by:- tst_QSqlDatabase
- tst_QVariant
QVariant::LongLong:executed 10 times by 2 tests: case QVariant::LongLong: Executed by:- tst_QSqlDatabase
- tst_QVariant
| 10 |
685 | caseexecuted 47 times by 4 tests: case QVariant::Int: Executed by:- tst_QGraphicsObject
- tst_QGraphicsWidget
- tst_QPropertyAnimation
- tst_QVariant
QVariant::Int:executed 47 times by 4 tests: case QVariant::Int: Executed by:- tst_QGraphicsObject
- tst_QGraphicsWidget
- tst_QPropertyAnimation
- tst_QVariant
| 47 |
686 | caseexecuted 4 times by 1 test: case QMetaType::Char: QMetaType::Char:executed 4 times by 1 test: case QMetaType::Char: | 4 |
687 | caseexecuted 8 times by 1 test: case QMetaType::SChar: QMetaType::SChar:executed 8 times by 1 test: case QMetaType::SChar: | 8 |
688 | caseexecuted 9 times by 1 test: case QMetaType::Short: QMetaType::Short:executed 9 times by 1 test: case QMetaType::Short: | 9 |
689 | caseexecuted 3 times by 1 test: case QMetaType::Long: QMetaType::Long:executed 3 times by 1 test: case QMetaType::Long: | 3 |
690 | *f = double(qMetaTypeNumber(d)); | - |
691 | break;executed 81 times by 5 tests: break; Executed by:- tst_QGraphicsObject
- tst_QGraphicsWidget
- tst_QPropertyAnimation
- tst_QSqlDatabase
- tst_QVariant
| 81 |
692 | caseexecuted 6 times by 1 test: case QVariant::UInt: QVariant::UInt:executed 6 times by 1 test: case QVariant::UInt: | 6 |
693 | caseexecuted 10 times by 1 test: case QVariant::ULongLong: QVariant::ULongLong:executed 10 times by 1 test: case QVariant::ULongLong: | 10 |
694 | caseexecuted 8 times by 1 test: case QMetaType::UChar: QMetaType::UChar:executed 8 times by 1 test: case QMetaType::UChar: | 8 |
695 | caseexecuted 8 times by 1 test: case QMetaType::UShort: QMetaType::UShort:executed 8 times by 1 test: case QMetaType::UShort: | 8 |
696 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
697 | *f = double(qMetaTypeUNumber(d)); | - |
698 | break;executed 32 times by 1 test: break; | 32 |
699 | | - |
700 | caseexecuted 2 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 2 times by 1 test: case QMetaType::QJsonValue: | 2 |
701 | *f = v_cast<QJsonValue>(d)->toDouble(0.0); | - |
702 | if (!v_cast<QJsonValue>(d)->isDouble()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
) | 1 |
703 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
704 | break;executed 1 time by 1 test: break; | 1 |
705 | | - |
706 | defaultexecuted 130 times by 1 test: default: :executed 130 times by 1 test: default: | 130 |
707 | *f = 0.0; | - |
708 | returnexecuted 130 times by 1 test: return false; false;executed 130 times by 1 test: return false; | 130 |
709 | } | - |
710 | break;executed 504 times by 17 tests: break; Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSqlDatabase
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QVariant
| 504 |
711 | } | - |
712 | caseexecuted 25 times by 3 tests: case QMetaType::Float: Executed by:- tst_QMetaType
- tst_QObject
- tst_QVariant
QMetaType::Float:executed 25 times by 3 tests: case QMetaType::Float: Executed by:- tst_QMetaType
- tst_QObject
- tst_QVariant
{ | 25 |
713 | float *f = static_cast<float *>(result); | - |
714 | switch (d->type) { | - |
715 | caseexecuted 7 times by 2 tests: case QVariant::String: QVariant::String:executed 7 times by 2 tests: case QVariant::String: | 7 |
716 | *f = v_cast<QString>(d)->toFloat(ok); | - |
717 | break;executed 7 times by 2 tests: break; | 7 |
718 | caseexecuted 3 times by 1 test: case QVariant::ByteArray: QVariant::ByteArray:executed 3 times by 1 test: case QVariant::ByteArray: | 3 |
719 | *f = v_cast<QByteArray>(d)->toFloat(ok); | - |
720 | break;executed 3 times by 1 test: break; | 3 |
721 | case never executed: case QVariant::Bool: QVariant::Bool:never executed: case QVariant::Bool: | 0 |
722 | *f = float(d->data.b); | - |
723 | break; never executed: break; | 0 |
724 | caseexecuted 3 times by 1 test: case QVariant::Double: QVariant::Double:executed 3 times by 1 test: case QVariant::Double: | 3 |
725 | *f = float(d->data.d); | - |
726 | break;executed 3 times by 1 test: break; | 3 |
727 | case never executed: case QVariant::LongLong: QVariant::LongLong:never executed: case QVariant::LongLong: | 0 |
728 | caseexecuted 3 times by 1 test: case QVariant::Int: QVariant::Int:executed 3 times by 1 test: case QVariant::Int: | 3 |
729 | case never executed: case QMetaType::Char: QMetaType::Char:never executed: case QMetaType::Char: | 0 |
730 | case never executed: case QMetaType::SChar: QMetaType::SChar:never executed: case QMetaType::SChar: | 0 |
731 | caseexecuted 1 time by 1 test: case QMetaType::Short: QMetaType::Short:executed 1 time by 1 test: case QMetaType::Short: | 1 |
732 | caseexecuted 2 times by 1 test: case QMetaType::Long: QMetaType::Long:executed 2 times by 1 test: case QMetaType::Long: | 2 |
733 | *f = float(qMetaTypeNumber(d)); | - |
734 | break;executed 6 times by 1 test: break; | 6 |
735 | caseexecuted 1 time by 1 test: case QVariant::UInt: QVariant::UInt:executed 1 time by 1 test: case QVariant::UInt: | 1 |
736 | caseexecuted 1 time by 1 test: case QVariant::ULongLong: QVariant::ULongLong:executed 1 time by 1 test: case QVariant::ULongLong: | 1 |
737 | case never executed: case QMetaType::UChar: QMetaType::UChar:never executed: case QMetaType::UChar: | 0 |
738 | case never executed: case QMetaType::UShort: QMetaType::UShort:never executed: case QMetaType::UShort: | 0 |
739 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
740 | *f = float(qMetaTypeUNumber(d)); | - |
741 | break;executed 2 times by 1 test: break; | 2 |
742 | | - |
743 | caseexecuted 2 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 2 times by 1 test: case QMetaType::QJsonValue: | 2 |
744 | *f = v_cast<QJsonValue>(d)->toDouble(0.0); | - |
745 | if (!v_cast<QJsonValue>(d)->isDouble()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
) | 1 |
746 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
747 | break;executed 1 time by 1 test: break; | 1 |
748 | | - |
749 | defaultexecuted 2 times by 1 test: default: :executed 2 times by 1 test: default: | 2 |
750 | *f = 0.0f; | - |
751 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
752 | } | - |
753 | break;executed 22 times by 2 tests: break; | 22 |
754 | } | - |
755 | caseexecuted 489 times by 6 tests: case QVariant::List: Executed by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
QVariant::List:executed 489 times by 6 tests: case QVariant::List: Executed by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
| 489 |
756 | if (d->type == QVariant::StringListTRUE | evaluated 489 times by 6 testsEvaluated by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
| FALSE | never evaluated |
) { | 0-489 |
757 | QVariantList *lst = static_cast<QVariantList *>(result); | - |
758 | const QStringList *slist = v_cast<QStringList>(d); | - |
759 | const int size = slist->size(); | - |
760 | lst->reserve(size); | - |
761 | for (int i = 0; i < sizeTRUE | evaluated 813 times by 6 testsEvaluated by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
| FALSE | evaluated 489 times by 6 testsEvaluated by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
|
; ++i) | 489-813 |
762 | lst->append(QVariant(slist->at(i)));executed 813 times by 6 tests: lst->append(QVariant(slist->at(i))); Executed by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
| 813 |
763 | }executed 489 times by 6 tests: end of block Executed by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
else if (qstrcmp(QMetaType::typeName(d->type), "QList<QVariant>") == 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0-489 |
764 | *static_cast<QVariantList *>(result) = | - |
765 | *static_cast<QList<QVariant> *>(d->data.shared->ptr); | - |
766 | | - |
767 | } never executed: end of block else if (d->type == QMetaType::QJsonValueTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
768 | if (!v_cast<QJsonValue>(d)->isArray()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
769 | return never executed: return false; false;never executed: return false; | 0 |
770 | *static_cast<QVariantList *>(result) = v_cast<QJsonValue>(d)->toArray().toVariantList(); | - |
771 | } never executed: end of block else if (d->type == QMetaType::QJsonArrayTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
772 | *static_cast<QVariantList *>(result) = v_cast<QJsonArray>(d)->toVariantList(); | - |
773 | | - |
774 | } never executed: end of block else { | 0 |
775 | return never executed: return false; false;never executed: return false; | 0 |
776 | } | - |
777 | break;executed 489 times by 6 tests: break; Executed by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSettings
- tst_languageChange
| 489 |
778 | caseexecuted 2 times by 1 test: case QVariant::Map: QVariant::Map:executed 2 times by 1 test: case QVariant::Map: | 2 |
779 | if (qstrcmp(QMetaType::typeName(d->type), "QMap<QString, QVariant>") == 0TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) { | 0-2 |
780 | *static_cast<QVariantMap *>(result) = | - |
781 | *static_cast<QMap<QString, QVariant> *>(d->data.shared->ptr); | - |
782 | | - |
783 | } never executed: end of block else if (d->type == QMetaType::QJsonValueTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) { | 0-2 |
784 | if (!v_cast<QJsonValue>(d)->isObject()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
785 | return never executed: return false; false;never executed: return false; | 0 |
786 | *static_cast<QVariantMap *>(result) = v_cast<QJsonValue>(d)->toObject().toVariantMap(); | - |
787 | } never executed: end of block else if (d->type == QMetaType::QJsonObjectTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) { | 0-2 |
788 | *static_cast<QVariantMap *>(result) = v_cast<QJsonObject>(d)->toVariantMap(); | - |
789 | | - |
790 | } never executed: end of block else { | 0 |
791 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
792 | } | - |
793 | break; never executed: break; | 0 |
794 | case never executed: case QVariant::Hash: QVariant::Hash:never executed: case QVariant::Hash: | 0 |
795 | if (qstrcmp(QMetaType::typeName(d->type), "QHash<QString, QVariant>") == 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
796 | *static_cast<QVariantHash *>(result) = | - |
797 | *static_cast<QHash<QString, QVariant> *>(d->data.shared->ptr); | - |
798 | | - |
799 | } never executed: end of block else if (d->type == QMetaType::QJsonValueTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
800 | if (!v_cast<QJsonValue>(d)->isObject()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
801 | return never executed: return false; false;never executed: return false; | 0 |
802 | *static_cast<QVariantHash *>(result) = v_cast<QJsonValue>(d)->toObject().toVariantHash(); | - |
803 | } never executed: end of block else if (d->type == QMetaType::QJsonObjectTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
804 | *static_cast<QVariantHash *>(result) = v_cast<QJsonObject>(d)->toVariantHash(); | - |
805 | | - |
806 | } never executed: end of block else { | 0 |
807 | return never executed: return false; false;never executed: return false; | 0 |
808 | } | - |
809 | break; never executed: break; | 0 |
810 | | - |
811 | caseexecuted 8 times by 4 tests: case QVariant::Rect: Executed by:- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
QVariant::Rect:executed 8 times by 4 tests: case QVariant::Rect: Executed by:- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
| 8 |
812 | if (d->type == QVariant::RectFTRUE | evaluated 8 times by 4 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
| FALSE | never evaluated |
) | 0-8 |
813 | *static_cast<executed 8 times by 4 tests: *static_cast<QRect *>(result) = (v_cast<QRectF>(d))->toRect(); Executed by:- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
QRect *>(result) = (v_cast<QRectF>(d))->toRect();executed 8 times by 4 tests: *static_cast<QRect *>(result) = (v_cast<QRectF>(d))->toRect(); Executed by:- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
| 8 |
814 | else | - |
815 | return never executed: return false; false;never executed: return false; | 0 |
816 | break;executed 8 times by 4 tests: break; Executed by:- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
| 8 |
817 | caseexecuted 3 times by 2 tests: case QVariant::RectF: Executed by:- tst_QMetaType
- tst_QVariant
QVariant::RectF:executed 3 times by 2 tests: case QVariant::RectF: Executed by:- tst_QMetaType
- tst_QVariant
| 3 |
818 | if (d->type == QVariant::RectTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
) | 1-2 |
819 | *static_cast<executed 1 time by 1 test: *static_cast<QRectF *>(result) = *v_cast<QRect>(d); QRectF *>(result) = *v_cast<QRect>(d);executed 1 time by 1 test: *static_cast<QRectF *>(result) = *v_cast<QRect>(d); | 1 |
820 | else | - |
821 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
822 | break;executed 1 time by 1 test: break; | 1 |
823 | caseexecuted 4 times by 2 tests: case QVariant::PointF: Executed by:- tst_QMetaType
- tst_QTextEdit
QVariant::PointF:executed 4 times by 2 tests: case QVariant::PointF: Executed by:- tst_QMetaType
- tst_QTextEdit
| 4 |
824 | if (d->type == QVariant::PointTRUE | never evaluated | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QTextEdit
|
) | 0-4 |
825 | *static_cast< never executed: *static_cast<QPointF *>(result) = *v_cast<QPoint>(d); QPointF *>(result) = *v_cast<QPoint>(d);never executed: *static_cast<QPointF *>(result) = *v_cast<QPoint>(d); | 0 |
826 | else | - |
827 | returnexecuted 4 times by 2 tests: return false; Executed by:- tst_QMetaType
- tst_QTextEdit
false;executed 4 times by 2 tests: return false; Executed by:- tst_QMetaType
- tst_QTextEdit
| 4 |
828 | break; never executed: break; | 0 |
829 | caseexecuted 28 times by 3 tests: case QVariant::Point: Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QVariant
QVariant::Point:executed 28 times by 3 tests: case QVariant::Point: Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QVariant
| 28 |
830 | if (d->type == QVariant::PointFTRUE | evaluated 28 times by 3 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QVariant
| FALSE | never evaluated |
) | 0-28 |
831 | *static_cast<executed 28 times by 3 tests: *static_cast<QPoint *>(result) = (v_cast<QPointF>(d))->toPoint(); Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QVariant
QPoint *>(result) = (v_cast<QPointF>(d))->toPoint();executed 28 times by 3 tests: *static_cast<QPoint *>(result) = (v_cast<QPointF>(d))->toPoint(); Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QVariant
| 28 |
832 | else | - |
833 | return never executed: return false; false;never executed: return false; | 0 |
834 | break;executed 28 times by 3 tests: break; Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QVariant
| 28 |
835 | caseexecuted 1 time by 1 test: case QMetaType::Char: QMetaType::Char:executed 1 time by 1 test: case QMetaType::Char: | 1 |
836 | { | - |
837 | *static_cast<qint8 *>(result) = qint8(qConvertToNumber(d, ok)); | - |
838 | returnexecuted 1 time by 1 test: return *ok; *ok;executed 1 time by 1 test: return *ok; | 1 |
839 | } | - |
840 | | - |
841 | caseexecuted 2 times by 2 tests: case QVariant::Uuid: QVariant::Uuid:executed 2 times by 2 tests: case QVariant::Uuid: | 2 |
842 | switch (d->type) { | - |
843 | caseexecuted 2 times by 2 tests: case QVariant::String: QVariant::String:executed 2 times by 2 tests: case QVariant::String: | 2 |
844 | *static_cast<QUuid *>(result) = QUuid(*v_cast<QString>(d)); | - |
845 | break;executed 2 times by 2 tests: break; | 2 |
846 | default never executed: default: :never executed: default: | 0 |
847 | return never executed: return false; false;never executed: return false; | 0 |
848 | } | - |
849 | break;executed 2 times by 2 tests: break; | 2 |
850 | defaultexecuted 274114 times by 97 tests: default: Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QErrorMessage
- ...
:executed 274114 times by 97 tests: default: Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QErrorMessage
- ...
| 274114 |
851 | | - |
852 | if (d->type == QVariant::StringTRUE | evaluated 12 times by 1 test | FALSE | evaluated 274102 times by 97 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QErrorMessage
- ...
|
|| d->type == QVariant::ByteArrayTRUE | evaluated 7 times by 1 test | FALSE | evaluated 274095 times by 97 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QErrorMessage
- ...
|
) { | 7-274102 |
853 | QMetaEnum en = metaEnumFromType(t); | - |
854 | if (en.isValid()TRUE | evaluated 17 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { | 2-17 |
855 | QByteArray keys = (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 7 times by 1 test |
d->type == QVariant::String)TRUE | evaluated 10 times by 1 test | FALSE | evaluated 7 times by 1 test |
? v_cast<QString>(d)->toUtf8() : *v_cast<QByteArray>(d); | 7-10 |
856 | int value = en.keysToValue(keys.constData(), ok); | - |
857 | if (*TRUE | evaluated 17 times by 1 test | FALSE | never evaluated |
okTRUE | evaluated 17 times by 1 test | FALSE | never evaluated |
) { | 0-17 |
858 | switch (QMetaType::sizeOf(t)) { | - |
859 | caseexecuted 2 times by 1 test: case 1: 1:executed 2 times by 1 test: case 1: | 2 |
860 | *static_cast<signed char *>(result) = value; | - |
861 | returnexecuted 2 times by 1 test: return true; true;executed 2 times by 1 test: return true; | 2 |
862 | caseexecuted 2 times by 1 test: case 2: 2:executed 2 times by 1 test: case 2: | 2 |
863 | *static_cast<qint16 *>(result) = value; | - |
864 | returnexecuted 2 times by 1 test: return true; true;executed 2 times by 1 test: return true; | 2 |
865 | caseexecuted 4 times by 1 test: case 4: 4:executed 4 times by 1 test: case 4: | 4 |
866 | *static_cast<qint32 *>(result) = value; | - |
867 | returnexecuted 4 times by 1 test: return true; true;executed 4 times by 1 test: return true; | 4 |
868 | caseexecuted 9 times by 1 test: case 8: 8:executed 9 times by 1 test: case 8: | 9 |
869 | *static_cast<qint64 *>(result) = value; | - |
870 | returnexecuted 9 times by 1 test: return true; true;executed 9 times by 1 test: return true; | 9 |
871 | } | - |
872 | } never executed: end of block | 0 |
873 | } never executed: end of block | 0 |
874 | }executed 2 times by 1 test: end of block | 2 |
875 | | - |
876 | if (QMetaType::typeFlags(t) & QMetaType::IsEnumerationTRUE | evaluated 40 times by 1 test | FALSE | evaluated 274057 times by 97 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QErrorMessage
- ...
|
) { | 40-274057 |
877 | qlonglong value = qConvertToNumber(d, ok); | - |
878 | if (*TRUE | evaluated 40 times by 1 test | FALSE | never evaluated |
okTRUE | evaluated 40 times by 1 test | FALSE | never evaluated |
) { | 0-40 |
879 | switch (QMetaType::sizeOf(t)) { | - |
880 | caseexecuted 4 times by 1 test: case 1: 1:executed 4 times by 1 test: case 1: | 4 |
881 | *static_cast<signed char *>(result) = value; | - |
882 | returnexecuted 4 times by 1 test: return true; true;executed 4 times by 1 test: return true; | 4 |
883 | caseexecuted 4 times by 1 test: case 2: 2:executed 4 times by 1 test: case 2: | 4 |
884 | *static_cast<qint16 *>(result) = value; | - |
885 | returnexecuted 4 times by 1 test: return true; true;executed 4 times by 1 test: return true; | 4 |
886 | caseexecuted 12 times by 1 test: case 4: 4:executed 12 times by 1 test: case 4: | 12 |
887 | *static_cast<qint32 *>(result) = value; | - |
888 | returnexecuted 12 times by 1 test: return true; true;executed 12 times by 1 test: return true; | 12 |
889 | caseexecuted 20 times by 1 test: case 8: 8:executed 20 times by 1 test: case 8: | 20 |
890 | *static_cast<qint64 *>(result) = value; | - |
891 | returnexecuted 20 times by 1 test: return true; true;executed 20 times by 1 test: return true; | 20 |
892 | } | - |
893 | } never executed: end of block | 0 |
894 | return never executed: return *ok; *ok;never executed: return *ok; | 0 |
895 | } | - |
896 | returnexecuted 274057 times by 97 tests: return false; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QErrorMessage
- ...
false;executed 274057 times by 97 tests: return false; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QErrorMessage
- ...
| 274057 |
897 | } | - |
898 | returnexecuted 38182 times by 84 tests: return true; Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
true;executed 38182 times by 84 tests: return true; Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| 38182 |
899 | } | - |
900 | | - |
901 | | - |
902 | static void streamDebug(QDebug dbg, const QVariant &v) | - |
903 | { | - |
904 | QVariant::Private *d = const_cast<QVariant::Private *>(&v.data_ptr()); | - |
905 | QVariantDebugStream<CoreTypesFilter> stream(dbg, d); | - |
906 | QMetaTypeSwitcher::switcher<void>(stream, d->type, 0); | - |
907 | }executed 51 times by 2 tests: end of block Executed by:- tst_QDBusInterface
- tst_QVariant
| 51 |
908 | | - |
909 | | - |
910 | const QVariant::Handler qt_kernel_variant_handler = { | - |
911 | construct, | - |
912 | clear, | - |
913 | isNull, | - |
914 | | - |
915 | 0, | - |
916 | 0, | - |
917 | | - |
918 | compare, | - |
919 | convert, | - |
920 | 0, | - |
921 | | - |
922 | streamDebug | - |
923 | | - |
924 | | - |
925 | | - |
926 | }; | - |
927 | | - |
928 | static void dummyConstruct(QVariant::Private *, const void *) { ((!(false)) ? qt_assert_x("QVariant", "Trying to construct an unknown type",__FILE__,1000) : qt_noop()); } never executed: end of block | 0 |
929 | static void dummyClear(QVariant::Private *) { ((!(false)) ? qt_assert_x("QVariant", "Trying to clear an unknown type",__FILE__,1001) : qt_noop()); } never executed: end of block | 0 |
930 | static bool dummyIsNull(const QVariant::Private *d) { ((!(false)) ? qt_assert_x("QVariant::isNull", "Trying to call isNull on an unknown type",__FILE__,1002) : qt_noop()); return never executed: return d->is_null; d->is_null;never executed: return d->is_null; } | 0 |
931 | static bool dummyCompare(const QVariant::Private *, const QVariant::Private *) { ((!(false)) ? qt_assert_x("QVariant", "Trying to compare an unknown types",__FILE__,1003) : qt_noop()); return never executed: return false; false;never executed: return false; } | 0 |
932 | static bool dummyConvert(const QVariant::Private *, int, void *, bool *) { ((!(false)) ? qt_assert_x("QVariant", "Trying to convert an unknown type",__FILE__,1004) : qt_noop()); return never executed: return false; false;never executed: return false; } | 0 |
933 | | - |
934 | static void dummyStreamDebug(QDebug, const QVariant &) { ((!(false)) ? qt_assert_x("QVariant", "Trying to convert an unknown type",__FILE__,1006) : qt_noop()); } never executed: end of block | 0 |
935 | | - |
936 | const QVariant::Handler qt_dummy_variant_handler = { | - |
937 | dummyConstruct, | - |
938 | dummyClear, | - |
939 | dummyIsNull, | - |
940 | | - |
941 | 0, | - |
942 | 0, | - |
943 | | - |
944 | dummyCompare, | - |
945 | dummyConvert, | - |
946 | 0, | - |
947 | | - |
948 | dummyStreamDebug | - |
949 | | - |
950 | | - |
951 | | - |
952 | }; | - |
953 | | - |
954 | static void customConstruct(QVariant::Private *d, const void *copy) | - |
955 | { | - |
956 | const QMetaType type(d->type); | - |
957 | const uint size = type.sizeOf(); | - |
958 | if (!sizeTRUE | evaluated 18 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| FALSE | evaluated 108391 times by 214 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
) { | 18-108391 |
959 | QMessageLogger(__FILE__, 1031, __PRETTY_FUNCTION__).warning("Trying to construct an instance of an invalid type, type id: %i", d->type); | - |
960 | d->type = QVariant::Invalid; | - |
961 | return;executed 18 times by 3 tests: return; Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 18 |
962 | } | - |
963 | | - |
964 | | - |
965 | if (size <= sizeof(QVariant::Private::Data)TRUE | evaluated 104782 times by 123 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAction
- tst_QAnimationGroup
- tst_QApplication
- tst_QButtonGroup
- tst_QClipboard
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaObject
- tst_QDBusMetaType
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- ...
| FALSE | evaluated 3609 times by 172 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
| 3609-104782 |
966 | && (type.flags() & (QMetaType::MovableType | QMetaType::IsEnumeration))) { | - |
967 | type.construct(&d->data.ptr, copy); | - |
968 | d->is_shared = false; | - |
969 | }executed 104594 times by 121 tests: end of block Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAction
- tst_QAnimationGroup
- tst_QApplication
- tst_QButtonGroup
- tst_QClipboard
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- ...
else { | 104594 |
970 | void *ptr = type.create(copy); | - |
971 | d->is_shared = true; | - |
972 | d->data.shared = new QVariant::PrivateShared(ptr); | - |
973 | }executed 3797 times by 174 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 3797 |
974 | } | - |
975 | | - |
976 | static void customClear(QVariant::Private *d) | - |
977 | { | - |
978 | if (!d->is_sharedTRUE | evaluated 146641 times by 144 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAction
- tst_QAnimationGroup
- tst_QApplication
- tst_QButtonGroup
- tst_QClipboard
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- ...
| FALSE | evaluated 3793 times by 176 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
) { | 3793-146641 |
979 | QMetaType::destruct(d->type, &d->data.ptr); | - |
980 | }executed 146641 times by 144 tests: end of block Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAction
- tst_QAnimationGroup
- tst_QApplication
- tst_QButtonGroup
- tst_QClipboard
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- ...
else { | 146641 |
981 | QMetaType::destroy(d->type, d->data.shared->ptr); | - |
982 | delete d->data.shared; | - |
983 | }executed 3793 times by 176 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 3793 |
984 | } | - |
985 | | - |
986 | static bool customIsNull(const QVariant::Private *d) | - |
987 | { | - |
988 | returnexecuted 398 times by 10 tests: return d->is_null; Executed by:- tst_QAbstractProxyModel
- tst_QIdentityProxyModel
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
d->is_null;executed 398 times by 10 tests: return d->is_null; Executed by:- tst_QAbstractProxyModel
- tst_QIdentityProxyModel
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 398 |
989 | } | - |
990 | | - |
991 | static bool customCompare(const QVariant::Private *a, const QVariant::Private *b) | - |
992 | { | - |
993 | const char *const typeName = QMetaType::typeName(a->type); | - |
994 | if (__builtin_expect(!!(!typeName), false)TRUE | never evaluated | FALSE | evaluated 349 times by 23 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFtp
- tst_QIdentityProxyModel
- tst_QNetworkRequest
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QStyleSheetStyle
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_selftests - unknown status
|
&& __builtin_expect(!!(!QMetaType::isRegistered(a->type)), true)TRUE | never evaluated | FALSE | never evaluated |
) | 0-349 |
995 | QMessageLogger(__FILE__, 1067, __PRETTY_FUNCTION__).fatal("QVariant::compare: type %d unknown to QVariant.", a->type); never executed: QMessageLogger(__FILE__, 1067, __PRETTY_FUNCTION__).fatal("QVariant::compare: type %d unknown to QVariant.", a->type); | 0 |
996 | | - |
997 | const void *a_ptr = a->is_sharedTRUE | evaluated 41 times by 4 testsEvaluated by:- tst_QFtp
- tst_QPropertyAnimation
- tst_QVariant
- tst_selftests - unknown status
| FALSE | evaluated 308 times by 20 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QIdentityProxyModel
- tst_QNetworkRequest
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
|
? a->data.shared->ptr : &(a->data.ptr); | 41-308 |
998 | const void *b_ptr = b->is_sharedTRUE | evaluated 41 times by 4 testsEvaluated by:- tst_QFtp
- tst_QPropertyAnimation
- tst_QVariant
- tst_selftests - unknown status
| FALSE | evaluated 308 times by 20 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QIdentityProxyModel
- tst_QNetworkRequest
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
|
? b->data.shared->ptr : &(b->data.ptr); | 41-308 |
999 | | - |
1000 | uint typeNameLen = qstrlen(typeName); | - |
1001 | if (typeNameLen > 0TRUE | evaluated 349 times by 23 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFtp
- tst_QIdentityProxyModel
- tst_QNetworkRequest
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QStyleSheetStyle
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
&& typeName[typeNameLen - 1] == '*'TRUE | evaluated 19 times by 3 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QStyleSheetStyle
- tst_QVariant
| FALSE | evaluated 330 times by 21 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFtp
- tst_QIdentityProxyModel
- tst_QNetworkRequest
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_selftests - unknown status
|
) | 0-349 |
1002 | returnexecuted 19 times by 3 tests: return *static_cast<void *const *>(a_ptr) == *static_cast<void *const *>(b_ptr); Executed by:- tst_QAbstractProxyModel
- tst_QStyleSheetStyle
- tst_QVariant
*static_cast<void *const *>(a_ptr) == *static_cast<void *const *>(b_ptr);executed 19 times by 3 tests: return *static_cast<void *const *>(a_ptr) == *static_cast<void *const *>(b_ptr); Executed by:- tst_QAbstractProxyModel
- tst_QStyleSheetStyle
- tst_QVariant
| 19 |
1003 | | - |
1004 | if (a->is_nullTRUE | never evaluated | FALSE | evaluated 330 times by 21 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFtp
- tst_QIdentityProxyModel
- tst_QNetworkRequest
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_selftests - unknown status
|
&& b->is_nullTRUE | never evaluated | FALSE | never evaluated |
) | 0-330 |
1005 | return never executed: return true; true;never executed: return true; | 0 |
1006 | | - |
1007 | returnexecuted 330 times by 21 tests: return !memcmp(a_ptr, b_ptr, QMetaType::sizeOf(a->type)); Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFtp
- tst_QIdentityProxyModel
- tst_QNetworkRequest
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_selftests - unknown status
!memcmp(a_ptr, b_ptr, QMetaType::sizeOf(a->type));executed 330 times by 21 tests: return !memcmp(a_ptr, b_ptr, QMetaType::sizeOf(a->type)); Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFtp
- tst_QIdentityProxyModel
- tst_QNetworkRequest
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_selftests - unknown status
| 330 |
1008 | } | - |
1009 | | - |
1010 | static bool customConvert(const QVariant::Private *d, int t, void *result, bool *ok) | - |
1011 | { | - |
1012 | if (d->type >= QMetaType::UserTRUE | evaluated 482 times by 6 testsEvaluated by:- tst_QGuiApplication
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
| FALSE | evaluated 257 times by 22 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QGraphicsItem
- tst_QMetaProperty
- tst_QMetaType
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
|
|| t >= QMetaType::UserTRUE | evaluated 257 times by 22 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QGraphicsItem
- tst_QMetaProperty
- tst_QMetaType
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| FALSE | never evaluated |
) { | 0-482 |
1013 | if (QMetaType::convert(constData(*d), d->type, result, t)TRUE | evaluated 103 times by 3 testsEvaluated by:- tst_QMetaProperty
- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 636 times by 24 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
|
) { | 103-636 |
1014 | if (okTRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QMetaProperty
- tst_QVariant
| FALSE | evaluated 100 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 3-100 |
1015 | *executed 3 times by 2 tests: *ok = true; Executed by:- tst_QMetaProperty
- tst_QVariant
ok = true;executed 3 times by 2 tests: *ok = true; Executed by:- tst_QMetaProperty
- tst_QVariant
| 3 |
1016 | returnexecuted 103 times by 3 tests: return true; Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QVariant
true;executed 103 times by 3 tests: return true; Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QVariant
| 103 |
1017 | } | - |
1018 | }executed 636 times by 24 tests: end of block Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| 636 |
1019 | returnexecuted 636 times by 24 tests: return convert(d, t, result, ok); Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
convert(d, t, result, ok);executed 636 times by 24 tests: return convert(d, t, result, ok); Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| 636 |
1020 | } | - |
1021 | | - |
1022 | | - |
1023 | static void customStreamDebug(QDebug dbg, const QVariant &variant) { | - |
1024 | | - |
1025 | QMetaType::TypeFlags flags = QMetaType::typeFlags(variant.userType()); | - |
1026 | if (flags & QMetaType::PointerToQObjectTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 1-3 |
1027 | dbg.nospace() << variant.value<QObject*>();executed 1 time by 1 test: dbg.nospace() << variant.value<QObject*>(); | 1 |
1028 | | - |
1029 | | - |
1030 | | - |
1031 | | - |
1032 | }executed 4 times by 2 tests: end of block Executed by:- tst_QMetaType
- tst_QVariant
| 4 |
1033 | | - |
1034 | | - |
1035 | const QVariant::Handler qt_custom_variant_handler = { | - |
1036 | customConstruct, | - |
1037 | customClear, | - |
1038 | customIsNull, | - |
1039 | | - |
1040 | 0, | - |
1041 | 0, | - |
1042 | | - |
1043 | customCompare, | - |
1044 | customConvert, | - |
1045 | 0, | - |
1046 | | - |
1047 | customStreamDebug | - |
1048 | | - |
1049 | | - |
1050 | | - |
1051 | }; | - |
1052 | | - |
1053 | } | - |
1054 | | - |
1055 | static HandlersManager handlerManager; | - |
1056 | static_assert(bool(!QModulesPrivate::Core), "Initialization assumes that ModulesNames::Core is 0"); | - |
1057 | const QVariant::Handler *HandlersManager::Handlers[QModulesPrivate::ModulesCount] | - |
1058 | = { &qt_kernel_variant_handler, &qt_dummy_variant_handler, | - |
1059 | &qt_dummy_variant_handler, &qt_custom_variant_handler }; | - |
1060 | | - |
1061 | __attribute__((visibility("default"))) const QVariant::Handler *qcoreVariantHandler() | - |
1062 | { | - |
1063 | returnexecuted 242206 times by 59 tests: return &qt_kernel_variant_handler; Executed by:- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- ...
&qt_kernel_variant_handler;executed 242206 times by 59 tests: return &qt_kernel_variant_handler; Executed by:- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- ...
| 242206 |
1064 | } | - |
1065 | | - |
1066 | __attribute__((visibility("default"))) void QVariantPrivate::registerHandler(const int name, const QVariant::Handler *handler) | - |
1067 | { | - |
1068 | handlerManager.registerHandler(static_cast<QModulesPrivate::Names>(name), handler); | - |
1069 | }executed 263 times by 5 tests: end of block Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 263 |
1070 | void QVariant::create(int type, const void *copy) | - |
1071 | { | - |
1072 | d.type = type; | - |
1073 | handlerManager[type]->construct(&d, copy); | - |
1074 | }executed 3554336 times by 249 tests: end of block Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- ...
| 3554336 |
1075 | QVariant::~QVariant() | - |
1076 | { | - |
1077 | if ((d.is_sharedTRUE | evaluated 6931277 times by 203 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 22424944 times by 491 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- ...
|
&& !d.data.shared->ref.deref()TRUE | evaluated 3438896 times by 203 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 3492381 times by 177 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
|
) || (!d.is_sharedTRUE | evaluated 22424944 times by 491 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- ...
| FALSE | evaluated 3492381 times by 177 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
|
&& d.type > CharTRUE | evaluated 8814985 times by 438 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
| FALSE | evaluated 13609959 times by 424 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- ...
|
)) | 3438896-22424944 |
1078 | handlerManager[d.type]->clear(&d);executed 12253881 times by 446 tests: handlerManager[d.type]->clear(&d); Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
| 12253881 |
1079 | }executed 29356221 times by 493 tests: end of block Executed by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- ...
| 29356221 |
1080 | QVariant::QVariant(const QVariant &p) | - |
1081 | : d(p.d) | - |
1082 | { | - |
1083 | if (d.is_sharedTRUE | evaluated 3490590 times by 175 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| FALSE | evaluated 5536927 times by 408 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
|
) { | 3490590-5536927 |
1084 | d.data.shared->ref.ref(); | - |
1085 | }executed 3490590 times by 175 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
else if (p.d.type > CharTRUE | evaluated 4593063 times by 392 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| FALSE | evaluated 943864 times by 241 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- ...
|
) { | 943864-4593063 |
1086 | handlerManager[d.type]->construct(&d, p.constData()); | - |
1087 | d.is_null = p.d.is_null; | - |
1088 | }executed 4593063 times by 392 tests: end of block Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| 4593063 |
1089 | }executed 9027517 times by 410 tests: end of block Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| 9027517 |
1090 | | - |
1091 | | - |
1092 | | - |
1093 | | - |
1094 | | - |
1095 | QVariant::QVariant(QDataStream &s) | - |
1096 | { | - |
1097 | d.is_null = true; | - |
1098 | s >> *this; | - |
1099 | } never executed: end of block | 0 |
1100 | QVariant::QVariant(const char *val) | - |
1101 | { | - |
1102 | QString s = QString::fromUtf8(val); | - |
1103 | create(String, &s); | - |
1104 | }executed 10680 times by 45 tests: end of block Executed by:- tst_Compiler
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QComboBox
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemModel
- tst_QListWidget
- tst_QMetaType
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QPlainTextEdit
- tst_QSettings
- ...
| 10680 |
1105 | QVariant::QVariant(Type type) | - |
1106 | { create(type, 0); }executed 8097 times by 17 tests: end of block Executed by:- tst_QApplication
- tst_QGuiVariant
- tst_QItemModel
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlField
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRecord
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 8097 |
1107 | QVariant::QVariant(int typeId, const void *copy) | - |
1108 | { create(typeId, copy); d.is_null = false; }executed 3499821 times by 228 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
| 3499821 |
1109 | | - |
1110 | | - |
1111 | | - |
1112 | | - |
1113 | | - |
1114 | QVariant::QVariant(int typeId, const void *copy, uint flags) | - |
1115 | { | - |
1116 | if (flagsTRUE | evaluated 42087 times by 30 testsEvaluated by:- tst_Gestures
- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QMetaProperty
- tst_QOpenGLWidget
- tst_QPainter
- tst_QPrinter
- tst_QStateMachine
- tst_QStyleSheetStyle
- ...
| FALSE | evaluated 18593 times by 195 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- ...
|
) { | 18593-42087 |
1117 | d.type = typeId; | - |
1118 | d.data.ptr = *reinterpret_cast<void *const*>(copy); | - |
1119 | }executed 42087 times by 30 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QMetaProperty
- tst_QOpenGLWidget
- tst_QPainter
- tst_QPrinter
- tst_QStateMachine
- tst_QStyleSheetStyle
- ...
else { | 42087 |
1120 | create(typeId, copy); | - |
1121 | }executed 18593 times by 195 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- ...
| 18593 |
1122 | d.is_null = false; | - |
1123 | }executed 60680 times by 199 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 60680 |
1124 | | - |
1125 | QVariant::QVariant(int val) | - |
1126 | : d(Int) | - |
1127 | { d.data.i = val; }executed 651560 times by 221 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| 651560 |
1128 | QVariant::QVariant(uint val) | - |
1129 | : d(UInt) | - |
1130 | { d.data.u = val; }executed 3346 times by 54 tests: end of block Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusServiceWatcher
- tst_QDialog
- tst_QFtp
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- ...
| 3346 |
1131 | QVariant::QVariant(qlonglong val) | - |
1132 | : d(LongLong) | - |
1133 | { d.data.ll = val; }executed 40329 times by 23 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QItemDelegate
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_qdbusabstractinterface - unknown status
- tst_qdbusmarshall - unknown status
| 40329 |
1134 | QVariant::QVariant(qulonglong val) | - |
1135 | : d(ULongLong) | - |
1136 | { d.data.ull = val; }executed 87 times by 24 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDockWidget
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QItemDelegate
- tst_QMainWindow
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QString
- tst_QTcpServer
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusmarshall - unknown status
| 87 |
1137 | QVariant::QVariant(bool val) | - |
1138 | : d(Bool) | - |
1139 | { d.data.b = val; }executed 146913 times by 175 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- ...
| 146913 |
1140 | QVariant::QVariant(double val) | - |
1141 | : d(Double) | - |
1142 | { d.data.d = val; }executed 73146 times by 75 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- ...
| 73146 |
1143 | QVariant::QVariant(float val) | - |
1144 | : d(QMetaType::Float) | - |
1145 | { d.data.f = val; }executed 158 times by 16 tests: end of block Executed by:- tst_QBrush
- tst_QDataStream
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemDelegate
- tst_QMetaType
- tst_QPainter
- tst_QPixmap
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QVariant
| 158 |
1146 | | - |
1147 | QVariant::QVariant(const QByteArray &val) | - |
1148 | : d(ByteArray) | - |
1149 | { v_construct<QByteArray>(&d, val); }executed 902 times by 38 tests: end of block Executed by:- tst_QAbstractItemModel
- tst_QApplication
- tst_QClipboard
- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataStream
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiVariant
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QListWidget
- tst_QMimeData
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSettings
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStandardItemModel
- ...
| 902 |
1150 | QVariant::QVariant(const QBitArray &val) | - |
1151 | : d(BitArray) | - |
1152 | { v_construct<QBitArray>(&d, val); }executed 6 times by 1 test: end of block | 6 |
1153 | QVariant::QVariant(const QString &val) | - |
1154 | : d(String) | - |
1155 | { v_construct<QString>(&d, val); }executed 3991762 times by 380 tests: end of block Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
| 3991762 |
1156 | QVariant::QVariant(QChar val) | - |
1157 | : d(Char) | - |
1158 | { v_construct<QChar>(&d, val); }executed 6958 times by 67 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- ...
| 6958 |
1159 | QVariant::QVariant(QLatin1String val) | - |
1160 | : d(String) | - |
1161 | { v_construct<QString>(&d, val); }executed 885 times by 35 tests: end of block Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QListView
- tst_QMetaProperty
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSettings
- ...
| 885 |
1162 | QVariant::QVariant(const QStringList &val) | - |
1163 | : d(StringList) | - |
1164 | { v_construct<QStringList>(&d, val); }executed 924 times by 59 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 924 |
1165 | | - |
1166 | QVariant::QVariant(const QDate &val) | - |
1167 | : d(Date) | - |
1168 | { v_construct<QDate>(&d, val); }executed 166 times by 9 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QDate
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkRequest
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QVariant
| 166 |
1169 | QVariant::QVariant(const QTime &val) | - |
1170 | : d(Time) | - |
1171 | { v_construct<QTime>(&d, val); }executed 66 times by 7 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QSettings
- tst_QTime
- tst_QVariant
| 66 |
1172 | QVariant::QVariant(const QDateTime &val) | - |
1173 | : d(DateTime) | - |
1174 | { v_construct<QDateTime>(&d, val); }executed 25042 times by 21 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
| 25042 |
1175 | | - |
1176 | QVariant::QVariant(const QEasingCurve &val) | - |
1177 | : d(EasingCurve) | - |
1178 | { v_construct<QEasingCurve>(&d, val); }executed 3 times by 2 tests: end of block Executed by:- tst_QScroller
- tst_QVariant
| 3 |
1179 | | - |
1180 | QVariant::QVariant(const QList<QVariant> &list) | - |
1181 | : d(List) | - |
1182 | { v_construct<QVariantList>(&d, list); }executed 182 times by 19 tests: end of block Executed by:- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QMetaType
- tst_QMimeData
- tst_QPrinter
- tst_QSettings
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextTable
- tst_QVariant
| 182 |
1183 | QVariant::QVariant(const QMap<QString, QVariant> &map) | - |
1184 | : d(Map) | - |
1185 | { v_construct<QVariantMap>(&d, map); }executed 29 times by 4 tests: end of block Executed by:- tst_QDBusAbstractAdaptor
- tst_QSettings
- tst_QSslCertificate
- tst_QVariant
| 29 |
1186 | QVariant::QVariant(const QHash<QString, QVariant> &hash) | - |
1187 | : d(Hash) | - |
1188 | { v_construct<QVariantHash>(&d, hash); }executed 14 times by 1 test: end of block | 14 |
1189 | | - |
1190 | QVariant::QVariant(const QPoint &pt) | - |
1191 | : d(Point) | - |
1192 | { v_construct<QPoint>(&d, pt); }executed 50 times by 5 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QGuiVariant
- tst_QMetaType
- tst_QSettings
- tst_QVariant
| 50 |
1193 | QVariant::QVariant(const QPointF &pt) | - |
1194 | : d(PointF) | - |
1195 | { v_construct<QPointF>(&d, pt); }executed 67 times by 7 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsWidget
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
| 67 |
1196 | QVariant::QVariant(const QRectF &r) | - |
1197 | : d(RectF) | - |
1198 | { v_construct<QRectF>(&d, r); }executed 30 times by 7 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QGraphicsView
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
| 30 |
1199 | QVariant::QVariant(const QLineF &l) | - |
1200 | : d(LineF) | - |
1201 | { v_construct<QLineF>(&d, l); }executed 8 times by 3 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QMetaType
- tst_QVariant
| 8 |
1202 | QVariant::QVariant(const QLine &l) | - |
1203 | : d(Line) | - |
1204 | { v_construct<QLine>(&d, l); }executed 8 times by 3 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QMetaType
- tst_QVariant
| 8 |
1205 | QVariant::QVariant(const QRect &r) | - |
1206 | : d(Rect) | - |
1207 | { v_construct<QRect>(&d, r); }executed 5360 times by 23 tests: end of block Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QDBusMarshall
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QLineEdit
- tst_QLocalSocket
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaType
- tst_QPrinter
- tst_QScrollArea
- tst_QSettings
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QVariant
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 5360 |
1208 | QVariant::QVariant(const QSize &s) | - |
1209 | : d(Size) | - |
1210 | { v_construct<QSize>(&d, s); }executed 1215 times by 16 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QIcoImageFormat
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QListView
- tst_QMetaType
- tst_QPixmap
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariant
| 1215 |
1211 | QVariant::QVariant(const QSizeF &s) | - |
1212 | : d(SizeF) | - |
1213 | { v_construct<QSizeF>(&d, s); }executed 38 times by 4 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QGraphicsWidget
- tst_QMetaType
- tst_QVariant
| 38 |
1214 | | - |
1215 | | - |
1216 | QVariant::QVariant(const QUrl &u) | - |
1217 | : d(Url) | - |
1218 | { v_construct<QUrl>(&d, u); }executed 5499 times by 10 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMimeData
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QVariant
- tst_languageChange
| 5499 |
1219 | | - |
1220 | QVariant::QVariant(const QLocale &l) | - |
1221 | : d(Locale) | - |
1222 | { v_construct<QLocale>(&d, l); }executed 3 times by 2 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QVariant
| 3 |
1223 | | - |
1224 | QVariant::QVariant(const QRegExp ®Exp) | - |
1225 | : d(RegExp) | - |
1226 | { v_construct<QRegExp>(&d, regExp); }executed 46 times by 2 tests: end of block Executed by:- tst_QDataStream
- tst_QVariant
| 46 |
1227 | | - |
1228 | | - |
1229 | | - |
1230 | QVariant::QVariant(const QRegularExpression &re) | - |
1231 | : d(RegularExpression) | - |
1232 | { v_construct<QRegularExpression>(&d, re); }executed 120 times by 4 tests: end of block Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 120 |
1233 | | - |
1234 | QVariant::QVariant(const QUuid &uuid) | - |
1235 | : d(Uuid) | - |
1236 | { v_construct<QUuid>(&d, uuid); }executed 5 times by 1 test: end of block | 5 |
1237 | QVariant::QVariant(const QModelIndex &modelIndex) | - |
1238 | : d(ModelIndex) | - |
1239 | { v_construct<QModelIndex>(&d, modelIndex); }executed 2 times by 1 test: end of block | 2 |
1240 | QVariant::QVariant(const QPersistentModelIndex &modelIndex) | - |
1241 | : d(PersistentModelIndex) | - |
1242 | { v_construct<QPersistentModelIndex>(&d, modelIndex); }executed 1 time by 1 test: end of block | 1 |
1243 | QVariant::QVariant(const QJsonValue &jsonValue) | - |
1244 | : d(QMetaType::QJsonValue) | - |
1245 | { v_construct<QJsonValue>(&d, jsonValue); }executed 17 times by 1 test: end of block | 17 |
1246 | QVariant::QVariant(const QJsonObject &jsonObject) | - |
1247 | : d(QMetaType::QJsonObject) | - |
1248 | { v_construct<QJsonObject>(&d, jsonObject); }executed 1 time by 1 test: end of block | 1 |
1249 | QVariant::QVariant(const QJsonArray &jsonArray) | - |
1250 | : d(QMetaType::QJsonArray) | - |
1251 | { v_construct<QJsonArray>(&d, jsonArray); }executed 1 time by 1 test: end of block | 1 |
1252 | QVariant::QVariant(const QJsonDocument &jsonDocument) | - |
1253 | : d(QMetaType::QJsonDocument) | - |
1254 | { v_construct<QJsonDocument>(&d, jsonDocument); }executed 1 time by 1 test: end of block | 1 |
1255 | QVariant::Type QVariant::type() const | - |
1256 | { | - |
1257 | returnexecuted 332516 times by 161 tests: return d.type >= QMetaType::User ? UserType : static_cast<Type>(d.type); Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- ...
d.type >= QMetaType::User ? UserType : static_cast<Type>(d.type);executed 332516 times by 161 tests: return d.type >= QMetaType::User ? UserType : static_cast<Type>(d.type); Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- ...
| 332516 |
1258 | } | - |
1259 | int QVariant::userType() const | - |
1260 | { | - |
1261 | returnexecuted 3327781 times by 229 tests: return d.type; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
d.type;executed 3327781 times by 229 tests: return d.type; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
| 3327781 |
1262 | } | - |
1263 | | - |
1264 | | - |
1265 | | - |
1266 | | - |
1267 | QVariant& QVariant::operator=(const QVariant &variant) | - |
1268 | { | - |
1269 | if (this == &variantTRUE | evaluated 306 times by 10 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QItemEditorFactory
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
| FALSE | evaluated 363869 times by 211 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
) | 306-363869 |
1270 | returnexecuted 306 times by 10 tests: return *this; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QItemEditorFactory
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
*this;executed 306 times by 10 tests: return *this; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QItemEditorFactory
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
| 306 |
1271 | | - |
1272 | clear(); | - |
1273 | if (variant.d.is_sharedTRUE | evaluated 1934 times by 36 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusReply
- tst_QDockWidget
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGLThreads
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSettings
- ...
| FALSE | evaluated 361935 times by 207 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
) { | 1934-361935 |
1274 | variant.d.data.shared->ref.ref(); | - |
1275 | d = variant.d; | - |
1276 | }executed 1934 times by 36 tests: end of block Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- tst_QDBusReply
- tst_QDockWidget
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGLThreads
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaType
- tst_QMimeData
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSettings
- ...
else if (variant.d.type > CharTRUE | evaluated 191399 times by 113 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- ...
| FALSE | evaluated 170536 times by 188 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- ...
|
) { | 1934-191399 |
1277 | d.type = variant.d.type; | - |
1278 | handlerManager[d.type]->construct(&d, variant.constData()); | - |
1279 | d.is_null = variant.d.is_null; | - |
1280 | }executed 191399 times by 113 tests: end of block Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- ...
else { | 191399 |
1281 | d = variant.d; | - |
1282 | }executed 170536 times by 188 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- ...
| 170536 |
1283 | | - |
1284 | returnexecuted 363869 times by 211 tests: return *this; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
*this;executed 363869 times by 211 tests: return *this; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 363869 |
1285 | } | - |
1286 | void QVariant::detach() | - |
1287 | { | - |
1288 | if (!d.is_sharedTRUE | evaluated 36663 times by 162 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- ...
| FALSE | evaluated 5411 times by 31 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusReply
- tst_QDockWidget
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMainWindow
- tst_QMatrixNxN
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaProperty
- tst_QPrinter
- tst_QQuaternion
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QToolBar
- ...
|
|| d.data.shared->ref.load() == 1TRUE | evaluated 5386 times by 31 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusReply
- tst_QDockWidget
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMainWindow
- tst_QMatrixNxN
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaProperty
- tst_QPrinter
- tst_QQuaternion
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QToolBar
- ...
| FALSE | evaluated 25 times by 7 testsEvaluated by:- tst_QDBusAbstractInterface
- tst_QGraphicsObject
- tst_QMatrixNxN
- tst_QQuaternion
- tst_QVariant
- tst_QVectorND
- tst_qdbusabstractinterface - unknown status
|
) | 25-36663 |
1289 | return;executed 42049 times by 164 tests: return; Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- ...
| 42049 |
1290 | | - |
1291 | Private dd; | - |
1292 | dd.type = d.type; | - |
1293 | handlerManager[d.type]->construct(&dd, constData()); | - |
1294 | if (!d.data.shared->ref.deref()TRUE | never evaluated | FALSE | evaluated 25 times by 7 testsEvaluated by:- tst_QDBusAbstractInterface
- tst_QGraphicsObject
- tst_QMatrixNxN
- tst_QQuaternion
- tst_QVariant
- tst_QVectorND
- tst_qdbusabstractinterface - unknown status
|
) | 0-25 |
1295 | handlerManager[d.type]->clear(&d); never executed: handlerManager[d.type]->clear(&d); | 0 |
1296 | d.data.shared = dd.data.shared; | - |
1297 | }executed 25 times by 7 tests: end of block Executed by:- tst_QDBusAbstractInterface
- tst_QGraphicsObject
- tst_QMatrixNxN
- tst_QQuaternion
- tst_QVariant
- tst_QVectorND
- tst_qdbusabstractinterface - unknown status
| 25 |
1298 | const char *QVariant::typeName() const | - |
1299 | { | - |
1300 | returnexecuted 6025 times by 47 tests: return QMetaType::typeName(d.type); Executed by:- tst_QAbstractProxyModel
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFtp
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIdentityProxyModel
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaObject
- tst_QMetaProperty
- ...
QMetaType::typeName(d.type);executed 6025 times by 47 tests: return QMetaType::typeName(d.type); Executed by:- tst_QAbstractProxyModel
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFtp
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIdentityProxyModel
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaObject
- tst_QMetaProperty
- ...
| 6025 |
1301 | } | - |
1302 | | - |
1303 | | - |
1304 | | - |
1305 | | - |
1306 | | - |
1307 | void QVariant::clear() | - |
1308 | { | - |
1309 | if ((d.is_sharedTRUE | evaluated 158 times by 10 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusReply
- tst_QGuiVariant
- tst_QMetaProperty
- tst_QPropertyAnimation
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QTreeWidget
- tst_QVariant
| FALSE | evaluated 391475 times by 218 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
&& !d.data.shared->ref.deref()TRUE | evaluated 52 times by 7 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusReply
- tst_QPropertyAnimation
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QVariant
| FALSE | evaluated 106 times by 6 testsEvaluated by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaProperty
- tst_QPropertyAnimation
- tst_QTreeWidget
- tst_QVariant
|
) || (!d.is_sharedTRUE | evaluated 391475 times by 218 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| FALSE | evaluated 106 times by 6 testsEvaluated by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaProperty
- tst_QPropertyAnimation
- tst_QTreeWidget
- tst_QVariant
|
&& d.type > CharTRUE | evaluated 132807 times by 84 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- ...
| FALSE | evaluated 258668 times by 212 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
)) | 52-391475 |
1310 | handlerManager[d.type]->clear(&d);executed 132859 times by 85 tests: handlerManager[d.type]->clear(&d); Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- ...
| 132859 |
1311 | d.type = Invalid; | - |
1312 | d.is_null = true; | - |
1313 | d.is_shared = false; | - |
1314 | }executed 391633 times by 218 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 391633 |
1315 | | - |
1316 | | - |
1317 | | - |
1318 | | - |
1319 | | - |
1320 | | - |
1321 | | - |
1322 | const char *QVariant::typeToName(int typeId) | - |
1323 | { | - |
1324 | returnexecuted 408 times by 2 tests: return QMetaType::typeName(typeId); Executed by:- tst_QVariant
- tst_qdbusxml2cpp - unknown status
QMetaType::typeName(typeId);executed 408 times by 2 tests: return QMetaType::typeName(typeId); Executed by:- tst_QVariant
- tst_qdbusxml2cpp - unknown status
| 408 |
1325 | } | - |
1326 | QVariant::Type QVariant::nameToType(const char *name) | - |
1327 | { | - |
1328 | int metaType = QMetaType::type(name); | - |
1329 | returnexecuted 81 times by 1 test: return metaType <= int(UserType) ? QVariant::Type(metaType) : UserType; metaType <= int(UserType) ? QVariant::Type(metaType) : UserType;executed 81 times by 1 test: return metaType <= int(UserType) ? QVariant::Type(metaType) : UserType; | 81 |
1330 | } | - |
1331 | | - |
1332 | | - |
1333 | enum { MapFromThreeCount = 36 }; | - |
1334 | static const ushort mapIdFromQt3ToCurrent[MapFromThreeCount] = | - |
1335 | { | - |
1336 | QVariant::Invalid, | - |
1337 | QVariant::Map, | - |
1338 | QVariant::List, | - |
1339 | QVariant::String, | - |
1340 | QVariant::StringList, | - |
1341 | QVariant::Font, | - |
1342 | QVariant::Pixmap, | - |
1343 | QVariant::Brush, | - |
1344 | QVariant::Rect, | - |
1345 | QVariant::Size, | - |
1346 | QVariant::Color, | - |
1347 | QVariant::Palette, | - |
1348 | 0, | - |
1349 | QVariant::Icon, | - |
1350 | QVariant::Point, | - |
1351 | QVariant::Image, | - |
1352 | QVariant::Int, | - |
1353 | QVariant::UInt, | - |
1354 | QVariant::Bool, | - |
1355 | QVariant::Double, | - |
1356 | 0, | - |
1357 | QVariant::Polygon, | - |
1358 | QVariant::Region, | - |
1359 | QVariant::Bitmap, | - |
1360 | QVariant::Cursor, | - |
1361 | QVariant::SizePolicy, | - |
1362 | QVariant::Date, | - |
1363 | QVariant::Time, | - |
1364 | QVariant::DateTime, | - |
1365 | QVariant::ByteArray, | - |
1366 | QVariant::BitArray, | - |
1367 | QVariant::KeySequence, | - |
1368 | QVariant::Pen, | - |
1369 | QVariant::LongLong, | - |
1370 | QVariant::ULongLong, | - |
1371 | QVariant::EasingCurve | - |
1372 | }; | - |
1373 | | - |
1374 | | - |
1375 | | - |
1376 | | - |
1377 | | - |
1378 | | - |
1379 | | - |
1380 | void QVariant::load(QDataStream &s) | - |
1381 | { | - |
1382 | clear(); | - |
1383 | | - |
1384 | quint32 typeId; | - |
1385 | s >> typeId; | - |
1386 | if (s.version() < QDataStream::Qt_4_0TRUE | evaluated 1 time by 1 test | FALSE | evaluated 16322 times by 15 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 1-16322 |
1387 | if (typeId >= MapFromThreeCountTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
1388 | return; never executed: return; | 0 |
1389 | typeId = mapIdFromQt3ToCurrent[typeId]; | - |
1390 | }executed 1 time by 1 test: end of block else if (s.version() < QDataStream::Qt_5_0TRUE | evaluated 407 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QSettings
- tst_QVariant
| FALSE | evaluated 15915 times by 15 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 1-15915 |
1391 | if (typeId == 127TRUE | evaluated 1 time by 1 test | FALSE | evaluated 406 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
) { | 1-406 |
1392 | typeId = QMetaType::User; | - |
1393 | }executed 1 time by 1 test: end of block else if (typeId >= 128TRUE | evaluated 16 times by 1 test | FALSE | evaluated 390 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
&& typeId != QVariant::UserTypeTRUE | evaluated 16 times by 1 test | FALSE | never evaluated |
) { | 0-390 |
1394 | | - |
1395 | | - |
1396 | typeId -= 97; | - |
1397 | }executed 16 times by 1 test: end of block else if (typeId == 75TRUE | never evaluated | FALSE | evaluated 390 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
) { | 0-390 |
1398 | typeId = QMetaType::QSizePolicy; | - |
1399 | } never executed: end of block else if (typeId > 75TRUE | never evaluated | FALSE | evaluated 390 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
&& typeId <= 86TRUE | never evaluated | FALSE | never evaluated |
) { | 0-390 |
1400 | | - |
1401 | | - |
1402 | typeId -=1; | - |
1403 | } never executed: end of block | 0 |
1404 | }executed 407 times by 3 tests: end of block Executed by:- tst_QGuiVariant
- tst_QSettings
- tst_QVariant
| 407 |
1405 | | - |
1406 | qint8 is_null = false; | - |
1407 | if (s.version() >= QDataStream::Qt_4_2TRUE | evaluated 15991 times by 15 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| FALSE | evaluated 332 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
) | 332-15991 |
1408 | s >> is_null;executed 15991 times by 15 tests: s >> is_null; Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 15991 |
1409 | if (typeId == QVariant::UserTypeTRUE | evaluated 4 times by 2 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
| FALSE | evaluated 16319 times by 15 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 4-16319 |
1410 | QByteArray name; | - |
1411 | s >> name; | - |
1412 | typeId = QMetaType::type(name.constData()); | - |
1413 | if (typeId == QMetaType::UnknownTypeTRUE | never evaluated | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
|
) { | 0-4 |
1414 | s.setStatus(QDataStream::ReadCorruptData); | - |
1415 | return; never executed: return; | 0 |
1416 | } | - |
1417 | }executed 4 times by 2 tests: end of block Executed by:- tst_QGuiVariant
- tst_QVariant
| 4 |
1418 | create(typeId, 0); | - |
1419 | d.is_null = is_null; | - |
1420 | | - |
1421 | if (!isValid()TRUE | evaluated 13 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 16310 times by 14 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 13-16310 |
1422 | if (s.version() < QDataStream::Qt_5_0TRUE | evaluated 3 times by 1 test | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 3-10 |
1423 | | - |
1424 | QString x; | - |
1425 | s >> x; | - |
1426 | }executed 3 times by 1 test: end of block | 3 |
1427 | d.is_null = true; | - |
1428 | return;executed 13 times by 2 tests: return; Executed by:- tst_QMetaType
- tst_QVariant
| 13 |
1429 | } | - |
1430 | | - |
1431 | | - |
1432 | if (!QMetaType::load(s, d.type, const_cast<void *>(constData()))TRUE | evaluated 1 time by 1 test | FALSE | evaluated 16309 times by 14 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 1-16309 |
1433 | s.setStatus(QDataStream::ReadCorruptData); | - |
1434 | QMessageLogger(__FILE__, 2085, __PRETTY_FUNCTION__).warning("QVariant::load: unable to load type %d.", d.type); | - |
1435 | }executed 1 time by 1 test: end of block | 1 |
1436 | }executed 16310 times by 14 tests: end of block Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 16310 |
1437 | | - |
1438 | | - |
1439 | | - |
1440 | | - |
1441 | | - |
1442 | | - |
1443 | | - |
1444 | void QVariant::save(QDataStream &s) const | - |
1445 | { | - |
1446 | quint32 typeId = type(); | - |
1447 | bool fakeUserType = false; | - |
1448 | if (s.version() < QDataStream::Qt_4_0TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_QDataStream
- tst_QVariant
| FALSE | evaluated 16343 times by 16 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 9-16343 |
1449 | int i; | - |
1450 | for (i = 0; i <= MapFromThreeCount - 1TRUE | evaluated 76 times by 2 testsEvaluated by:- tst_QDataStream
- tst_QVariant
| FALSE | evaluated 1 time by 1 test |
; ++i) { | 1-76 |
1451 | if (mapIdFromQt3ToCurrent[i] == typeIdTRUE | evaluated 8 times by 2 testsEvaluated by:- tst_QDataStream
- tst_QVariant
| FALSE | evaluated 68 times by 2 testsEvaluated by:- tst_QDataStream
- tst_QVariant
|
) { | 8-68 |
1452 | typeId = i; | - |
1453 | break;executed 8 times by 2 tests: break; Executed by:- tst_QDataStream
- tst_QVariant
| 8 |
1454 | } | - |
1455 | }executed 68 times by 2 tests: end of block Executed by:- tst_QDataStream
- tst_QVariant
| 68 |
1456 | if (i >= MapFromThreeCountTRUE | evaluated 1 time by 1 test | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_QDataStream
- tst_QVariant
|
) { | 1-8 |
1457 | s << QVariant(); | - |
1458 | return;executed 1 time by 1 test: return; | 1 |
1459 | } | - |
1460 | }executed 8 times by 2 tests: end of block Executed by:- tst_QDataStream
- tst_QVariant
else if (s.version() < QDataStream::Qt_5_0TRUE | evaluated 427 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
| FALSE | evaluated 15916 times by 16 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 8-15916 |
1461 | if (typeId == QMetaType::UserTRUE | never evaluated | FALSE | evaluated 427 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
) { | 0-427 |
1462 | typeId = 127; | - |
1463 | } never executed: end of block else if (typeId >= 128 - 97TRUE | evaluated 59 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
| FALSE | evaluated 368 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
&& typeId <= LastCoreTypeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 51 times by 1 test |
) { | 0-368 |
1464 | | - |
1465 | | - |
1466 | typeId += 97; | - |
1467 | }executed 8 times by 1 test: end of block else if (typeId == QMetaType::QSizePolicyTRUE | never evaluated | FALSE | evaluated 419 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
) { | 0-419 |
1468 | typeId = 75; | - |
1469 | } never executed: end of block else if (typeId >= QMetaType::QKeySequenceTRUE | never evaluated | FALSE | evaluated 419 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
&& typeId <= QMetaType::QQuaternionTRUE | never evaluated | FALSE | never evaluated |
) { | 0-419 |
1470 | | - |
1471 | typeId +=1; | - |
1472 | } never executed: end of block else if (typeId == QMetaType::QPolygonFTRUE | never evaluated | FALSE | evaluated 419 times by 2 testsEvaluated by:- tst_QSettings
- tst_QVariant
|
) { | 0-419 |
1473 | | - |
1474 | typeId = 127; | - |
1475 | fakeUserType = true; | - |
1476 | } never executed: end of block | 0 |
1477 | }executed 427 times by 2 tests: end of block Executed by:- tst_QSettings
- tst_QVariant
| 427 |
1478 | s << typeId; | - |
1479 | if (s.version() >= QDataStream::Qt_4_2TRUE | evaluated 15958 times by 16 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| FALSE | evaluated 393 times by 3 testsEvaluated by:- tst_QDataStream
- tst_QSettings
- tst_QVariant
|
) | 393-15958 |
1480 | s << qint8(d.is_null);executed 15958 times by 16 tests: s << qint8(d.is_null); Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 15958 |
1481 | if (d.type >= QVariant::UserTypeTRUE | evaluated 2 times by 1 test | FALSE | evaluated 16349 times by 16 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
|| fakeUserTypeTRUE | never evaluated | FALSE | evaluated 16349 times by 16 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 0-16349 |
1482 | s << QMetaType::typeName(userType()); | - |
1483 | }executed 2 times by 1 test: end of block | 2 |
1484 | | - |
1485 | if (!isValid()TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 16333 times by 15 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 18-16333 |
1486 | if (s.version() < QDataStream::Qt_5_0TRUE | evaluated 13 times by 1 test | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 5-13 |
1487 | s << QString();executed 13 times by 1 test: s << QString(); | 13 |
1488 | return;executed 18 times by 2 tests: return; Executed by:- tst_QMetaType
- tst_QVariant
| 18 |
1489 | } | - |
1490 | | - |
1491 | if (!QMetaType::save(s, d.type, constData())TRUE | never evaluated | FALSE | evaluated 16333 times by 15 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 0-16333 |
1492 | QMessageLogger(__FILE__, 2143, __PRETTY_FUNCTION__).warning("QVariant::save: unable to save type '%s' (type id: %d).\n", QMetaType::typeName(d.type), d.type); | - |
1493 | ((!(false)) ? qt_assert_x("QVariant::save", "Invalid type to save",__FILE__,2144) : qt_noop()); | - |
1494 | } never executed: end of block | 0 |
1495 | }executed 16333 times by 15 tests: end of block Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 16333 |
1496 | QDataStream& operator>>(QDataStream &s, QVariant &p) | - |
1497 | { | - |
1498 | p.load(s); | - |
1499 | returnexecuted 16321 times by 15 tests: return s; Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
s;executed 16321 times by 15 tests: return s; Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 16321 |
1500 | } | - |
1501 | | - |
1502 | | - |
1503 | | - |
1504 | | - |
1505 | | - |
1506 | | - |
1507 | QDataStream& operator<<(QDataStream &s, const QVariant &p) | - |
1508 | { | - |
1509 | p.save(s); | - |
1510 | returnexecuted 16352 times by 16 tests: return s; Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
s;executed 16352 times by 16 tests: return s; Executed by:- tst_QAbstractItemModel
- tst_QAbstractNetworkCache
- tst_QDataStream
- tst_QGuiVariant
- tst_QListWidget
- tst_QLocalSocket
- tst_QMetaType
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_QStandardItem
- tst_QStandardItemModel
- tst_QTableWidget
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 16352 |
1511 | } | - |
1512 | | - |
1513 | | - |
1514 | | - |
1515 | | - |
1516 | QDataStream& operator>>(QDataStream &s, QVariant::Type &p) | - |
1517 | { | - |
1518 | quint32 u; | - |
1519 | s >> u; | - |
1520 | p = (QVariant::Type)u; | - |
1521 | | - |
1522 | return never executed: return s; s;never executed: return s; | 0 |
1523 | } | - |
1524 | | - |
1525 | | - |
1526 | | - |
1527 | | - |
1528 | QDataStream& operator<<(QDataStream &s, const QVariant::Type p) | - |
1529 | { | - |
1530 | s << static_cast<quint32>(p); | - |
1531 | | - |
1532 | return never executed: return s; s;never executed: return s; | 0 |
1533 | } | - |
1534 | template <typename T> | - |
1535 | inline T qVariantToHelper(const QVariant::Private &d, const HandlersManager &handlerManager) | - |
1536 | { | - |
1537 | const uint targetType = qMetaTypeId<T>(); | - |
1538 | if (d.type == targetTypeTRUE | evaluated 627552 times by 263 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
| FALSE | evaluated 81330 times by 98 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- ...
|
) | 81330-627552 |
1539 | returnexecuted 627552 times by 263 tests: return *v_cast<T>(&d); Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
*v_cast<T>(&d);executed 627552 times by 263 tests: return *v_cast<T>(&d); Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
| 627552 |
1540 | | - |
1541 | T ret; | - |
1542 | if (d.type >= QMetaType::UserTRUE | evaluated 169 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 81161 times by 98 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- ...
|
|| targetType >= QMetaType::UserTRUE | never evaluated | FALSE | evaluated 81161 times by 98 testsEvaluated by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- ...
|
) { | 0-81161 |
1543 | const void * const from = constData(d); | - |
1544 | if (QMetaType::convert(from, d.type, &ret, targetType)TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 151 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 18-151 |
1545 | returnexecuted 18 times by 2 tests: return ret; Executed by:- tst_QMetaType
- tst_QVariant
ret;executed 18 times by 2 tests: return ret; Executed by:- tst_QMetaType
- tst_QVariant
| 18 |
1546 | }executed 151 times by 2 tests: end of block Executed by:- tst_QMetaType
- tst_QVariant
| 151 |
1547 | | - |
1548 | handlerManager[d.type]->convert(&d, targetType, &ret, 0); | - |
1549 | returnexecuted 81312 times by 98 tests: return ret; Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- ...
ret;executed 81312 times by 98 tests: return ret; Executed by:- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsAnchorLayout1
- ...
| 81312 |
1550 | } | - |
1551 | QStringList QVariant::toStringList() const | - |
1552 | { | - |
1553 | returnexecuted 1054 times by 54 tests: return qVariantToHelper<QStringList>(d, handlerManager); Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
qVariantToHelper<QStringList>(d, handlerManager);executed 1054 times by 54 tests: return qVariantToHelper<QStringList>(d, handlerManager); Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| 1054 |
1554 | } | - |
1555 | QString QVariant::toString() const | - |
1556 | { | - |
1557 | returnexecuted 542207 times by 262 tests: return qVariantToHelper<QString>(d, handlerManager); Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
qVariantToHelper<QString>(d, handlerManager);executed 542207 times by 262 tests: return qVariantToHelper<QString>(d, handlerManager); Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- 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_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- ...
| 542207 |
1558 | } | - |
1559 | | - |
1560 | | - |
1561 | | - |
1562 | | - |
1563 | | - |
1564 | | - |
1565 | | - |
1566 | QVariantMap QVariant::toMap() const | - |
1567 | { | - |
1568 | returnexecuted 7 times by 3 tests: return qVariantToHelper<QVariantMap>(d, handlerManager); Executed by:- tst_QSettings
- tst_QSslCertificate
- tst_QVariant
qVariantToHelper<QVariantMap>(d, handlerManager);executed 7 times by 3 tests: return qVariantToHelper<QVariantMap>(d, handlerManager); Executed by:- tst_QSettings
- tst_QSslCertificate
- tst_QVariant
| 7 |
1569 | } | - |
1570 | | - |
1571 | | - |
1572 | | - |
1573 | | - |
1574 | | - |
1575 | | - |
1576 | | - |
1577 | QVariantHash QVariant::toHash() const | - |
1578 | { | - |
1579 | returnexecuted 2 times by 1 test: return qVariantToHelper<QVariantHash>(d, handlerManager); qVariantToHelper<QVariantHash>(d, handlerManager);executed 2 times by 1 test: return qVariantToHelper<QVariantHash>(d, handlerManager); | 2 |
1580 | } | - |
1581 | QDate QVariant::toDate() const | - |
1582 | { | - |
1583 | returnexecuted 12853 times by 6 tests: return qVariantToHelper<QDate>(d, handlerManager); Executed by:- tst_QDate
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QStyleSheetStyle
- tst_QVariant
qVariantToHelper<QDate>(d, handlerManager);executed 12853 times by 6 tests: return qVariantToHelper<QDate>(d, handlerManager); Executed by:- tst_QDate
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QStyleSheetStyle
- tst_QVariant
| 12853 |
1584 | } | - |
1585 | QTime QVariant::toTime() const | - |
1586 | { | - |
1587 | returnexecuted 11023 times by 7 tests: return qVariantToHelper<QTime>(d, handlerManager); Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QStyleSheetStyle
- tst_QTime
- tst_QVariant
qVariantToHelper<QTime>(d, handlerManager);executed 11023 times by 7 tests: return qVariantToHelper<QTime>(d, handlerManager); Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QStyleSheetStyle
- tst_QTime
- tst_QVariant
| 11023 |
1588 | } | - |
1589 | QDateTime QVariant::toDateTime() const | - |
1590 | { | - |
1591 | returnexecuted 128015 times by 19 tests: return qVariantToHelper<QDateTime>(d, handlerManager); Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
qVariantToHelper<QDateTime>(d, handlerManager);executed 128015 times by 19 tests: return qVariantToHelper<QDateTime>(d, handlerManager); Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
| 128015 |
1592 | } | - |
1593 | QEasingCurve QVariant::toEasingCurve() const | - |
1594 | { | - |
1595 | returnexecuted 3 times by 2 tests: return qVariantToHelper<QEasingCurve>(d, handlerManager); Executed by:- tst_QScroller
- tst_QVariant
qVariantToHelper<QEasingCurve>(d, handlerManager);executed 3 times by 2 tests: return qVariantToHelper<QEasingCurve>(d, handlerManager); Executed by:- tst_QScroller
- tst_QVariant
| 3 |
1596 | } | - |
1597 | QByteArray QVariant::toByteArray() const | - |
1598 | { | - |
1599 | returnexecuted 1650 times by 53 tests: return qVariantToHelper<QByteArray>(d, handlerManager); Executed by:- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QApplication
- tst_QClipboard
- tst_QColorDialog
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemView
- tst_QLineEdit
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMimeData
- ...
qVariantToHelper<QByteArray>(d, handlerManager);executed 1650 times by 53 tests: return qVariantToHelper<QByteArray>(d, handlerManager); Executed by:- tst_QAbstractItemModel
- tst_QAccessibility
- tst_QApplication
- tst_QClipboard
- tst_QColorDialog
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemView
- tst_QLineEdit
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMimeData
- ...
| 1650 |
1600 | } | - |
1601 | QPoint QVariant::toPoint() const | - |
1602 | { | - |
1603 | returnexecuted 34 times by 5 tests: return qVariantToHelper<QPoint>(d, handlerManager); Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QSettings
- tst_QVariant
qVariantToHelper<QPoint>(d, handlerManager);executed 34 times by 5 tests: return qVariantToHelper<QPoint>(d, handlerManager); Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QSettings
- tst_QVariant
| 34 |
1604 | } | - |
1605 | QRect QVariant::toRect() const | - |
1606 | { | - |
1607 | returnexecuted 129 times by 10 tests: return qVariantToHelper<QRect>(d, handlerManager); Executed by:- tst_QImageReader
- tst_QLineEdit
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QScrollArea
- tst_QSettings
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
qVariantToHelper<QRect>(d, handlerManager);executed 129 times by 10 tests: return qVariantToHelper<QRect>(d, handlerManager); Executed by:- tst_QImageReader
- tst_QLineEdit
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QScrollArea
- tst_QSettings
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
| 129 |
1608 | } | - |
1609 | QSize QVariant::toSize() const | - |
1610 | { | - |
1611 | returnexecuted 166 times by 10 tests: return qVariantToHelper<QSize>(d, handlerManager); Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QMainWindow
- tst_QMetaType
- tst_QPrinter
- tst_QSettings
- tst_QToolBar
- tst_QVariant
qVariantToHelper<QSize>(d, handlerManager);executed 166 times by 10 tests: return qVariantToHelper<QSize>(d, handlerManager); Executed by:- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QIcoImageFormat
- tst_QImageReader
- tst_QMainWindow
- tst_QMetaType
- tst_QPrinter
- tst_QSettings
- tst_QToolBar
- tst_QVariant
| 166 |
1612 | } | - |
1613 | QSizeF QVariant::toSizeF() const | - |
1614 | { | - |
1615 | returnexecuted 92 times by 3 tests: return qVariantToHelper<QSizeF>(d, handlerManager); Executed by:- tst_QGraphicsWidget
- tst_QMetaType
- tst_QVariant
qVariantToHelper<QSizeF>(d, handlerManager);executed 92 times by 3 tests: return qVariantToHelper<QSizeF>(d, handlerManager); Executed by:- tst_QGraphicsWidget
- tst_QMetaType
- tst_QVariant
| 92 |
1616 | } | - |
1617 | QRectF QVariant::toRectF() const | - |
1618 | { | - |
1619 | returnexecuted 24 times by 7 tests: return qVariantToHelper<QRectF>(d, handlerManager); Executed by:- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
qVariantToHelper<QRectF>(d, handlerManager);executed 24 times by 7 tests: return qVariantToHelper<QRectF>(d, handlerManager); Executed by:- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QMetaType
- tst_QPlainTextEdit
- tst_QTextEdit
- tst_QVariant
- tst_qinputmethod
| 24 |
1620 | } | - |
1621 | QLineF QVariant::toLineF() const | - |
1622 | { | - |
1623 | returnexecuted 9 times by 2 tests: return qVariantToHelper<QLineF>(d, handlerManager); Executed by:- tst_QMetaType
- tst_QVariant
qVariantToHelper<QLineF>(d, handlerManager);executed 9 times by 2 tests: return qVariantToHelper<QLineF>(d, handlerManager); Executed by:- tst_QMetaType
- tst_QVariant
| 9 |
1624 | } | - |
1625 | QLine QVariant::toLine() const | - |
1626 | { | - |
1627 | returnexecuted 9 times by 2 tests: return qVariantToHelper<QLine>(d, handlerManager); Executed by:- tst_QMetaType
- tst_QVariant
qVariantToHelper<QLine>(d, handlerManager);executed 9 times by 2 tests: return qVariantToHelper<QLine>(d, handlerManager); Executed by:- tst_QMetaType
- tst_QVariant
| 9 |
1628 | } | - |
1629 | QPointF QVariant::toPointF() const | - |
1630 | { | - |
1631 | returnexecuted 1629 times by 17 tests: return qVariantToHelper<QPointF>(d, handlerManager); Executed by:- tst_QDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsWidget
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QTextEdit
- tst_QVariant
qVariantToHelper<QPointF>(d, handlerManager);executed 1629 times by 17 tests: return qVariantToHelper<QPointF>(d, handlerManager); Executed by:- tst_QDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsWidget
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QTextEdit
- tst_QVariant
| 1629 |
1632 | } | - |
1633 | QUrl QVariant::toUrl() const | - |
1634 | { | - |
1635 | returnexecuted 7238 times by 10 tests: return qVariantToHelper<QUrl>(d, handlerManager); Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMimeData
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QVariant
- tst_languageChange
qVariantToHelper<QUrl>(d, handlerManager);executed 7238 times by 10 tests: return qVariantToHelper<QUrl>(d, handlerManager); Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMimeData
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QVariant
- tst_languageChange
| 7238 |
1636 | } | - |
1637 | QLocale QVariant::toLocale() const | - |
1638 | { | - |
1639 | returnexecuted 3 times by 1 test: return qVariantToHelper<QLocale>(d, handlerManager); qVariantToHelper<QLocale>(d, handlerManager);executed 3 times by 1 test: return qVariantToHelper<QLocale>(d, handlerManager); | 3 |
1640 | } | - |
1641 | QRegExp QVariant::toRegExp() const | - |
1642 | { | - |
1643 | returnexecuted 45 times by 2 tests: return qVariantToHelper<QRegExp>(d, handlerManager); Executed by:- tst_QDataStream
- tst_QVariant
qVariantToHelper<QRegExp>(d, handlerManager);executed 45 times by 2 tests: return qVariantToHelper<QRegExp>(d, handlerManager); Executed by:- tst_QDataStream
- tst_QVariant
| 45 |
1644 | } | - |
1645 | QRegularExpression QVariant::toRegularExpression() const | - |
1646 | { | - |
1647 | returnexecuted 119 times by 4 tests: return qVariantToHelper<QRegularExpression>(d, handlerManager); Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
qVariantToHelper<QRegularExpression>(d, handlerManager);executed 119 times by 4 tests: return qVariantToHelper<QRegularExpression>(d, handlerManager); Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 119 |
1648 | } | - |
1649 | QUuid QVariant::toUuid() const | - |
1650 | { | - |
1651 | returnexecuted 1 time by 1 test: return qVariantToHelper<QUuid>(d, handlerManager); qVariantToHelper<QUuid>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QUuid>(d, handlerManager); | 1 |
1652 | } | - |
1653 | QModelIndex QVariant::toModelIndex() const | - |
1654 | { | - |
1655 | returnexecuted 1 time by 1 test: return qVariantToHelper<QModelIndex>(d, handlerManager); qVariantToHelper<QModelIndex>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QModelIndex>(d, handlerManager); | 1 |
1656 | } | - |
1657 | QPersistentModelIndex QVariant::toPersistentModelIndex() const | - |
1658 | { | - |
1659 | returnexecuted 1 time by 1 test: return qVariantToHelper<QPersistentModelIndex>(d, handlerManager); qVariantToHelper<QPersistentModelIndex>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QPersistentModelIndex>(d, handlerManager); | 1 |
1660 | } | - |
1661 | QJsonValue QVariant::toJsonValue() const | - |
1662 | { | - |
1663 | returnexecuted 1 time by 1 test: return qVariantToHelper<QJsonValue>(d, handlerManager); qVariantToHelper<QJsonValue>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QJsonValue>(d, handlerManager); | 1 |
1664 | } | - |
1665 | QJsonObject QVariant::toJsonObject() const | - |
1666 | { | - |
1667 | returnexecuted 1 time by 1 test: return qVariantToHelper<QJsonObject>(d, handlerManager); qVariantToHelper<QJsonObject>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QJsonObject>(d, handlerManager); | 1 |
1668 | } | - |
1669 | QJsonArray QVariant::toJsonArray() const | - |
1670 | { | - |
1671 | returnexecuted 1 time by 1 test: return qVariantToHelper<QJsonArray>(d, handlerManager); qVariantToHelper<QJsonArray>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QJsonArray>(d, handlerManager); | 1 |
1672 | } | - |
1673 | QJsonDocument QVariant::toJsonDocument() const | - |
1674 | { | - |
1675 | returnexecuted 1 time by 1 test: return qVariantToHelper<QJsonDocument>(d, handlerManager); qVariantToHelper<QJsonDocument>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QJsonDocument>(d, handlerManager); | 1 |
1676 | } | - |
1677 | QChar QVariant::toChar() const | - |
1678 | { | - |
1679 | returnexecuted 1866 times by 56 tests: return qVariantToHelper<QChar>(d, handlerManager); Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- ...
qVariantToHelper<QChar>(d, handlerManager);executed 1866 times by 56 tests: return qVariantToHelper<QChar>(d, handlerManager); Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- ...
| 1866 |
1680 | } | - |
1681 | | - |
1682 | | - |
1683 | | - |
1684 | | - |
1685 | | - |
1686 | | - |
1687 | | - |
1688 | QBitArray QVariant::toBitArray() const | - |
1689 | { | - |
1690 | returnexecuted 1 time by 1 test: return qVariantToHelper<QBitArray>(d, handlerManager); qVariantToHelper<QBitArray>(d, handlerManager);executed 1 time by 1 test: return qVariantToHelper<QBitArray>(d, handlerManager); | 1 |
1691 | } | - |
1692 | | - |
1693 | template <typename T> | - |
1694 | inline T qNumVariantToHelper(const QVariant::Private &d, | - |
1695 | const HandlersManager &handlerManager, bool *ok, const T& val) | - |
1696 | { | - |
1697 | const uint t = qMetaTypeId<T>(); | - |
1698 | if (okTRUE | evaluated 6096 times by 31 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QErrorMessage
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QLabel
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QSplitter
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QSyntaxHighlighter
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocumentLayout
- ...
| FALSE | evaluated 738589 times by 219 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
) | 6096-738589 |
1699 | *executed 6096 times by 31 tests: *ok = true; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QErrorMessage
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QLabel
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QSplitter
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QSyntaxHighlighter
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocumentLayout
- ...
ok = true;executed 6096 times by 31 tests: *ok = true; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QErrorMessage
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QLabel
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QSplitter
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QSyntaxHighlighter
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocumentLayout
- ...
| 6096 |
1700 | | - |
1701 | if (d.type == tTRUE | evaluated 717244 times by 215 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 27441 times by 86 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
|
) | 27441-717244 |
1702 | returnexecuted 717244 times by 215 tests: return val; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
val;executed 717244 times by 215 tests: return val; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 717244 |
1703 | | - |
1704 | T ret = 0; | - |
1705 | if ((d.type >= QMetaType::UserTRUE | evaluated 130 times by 5 testsEvaluated by:- tst_QGuiApplication
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
| FALSE | evaluated 27311 times by 83 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiVariant
- ...
|
|| t >= QMetaType::UserTRUE | never evaluated | FALSE | evaluated 27311 times by 83 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiVariant
- ...
|
) | 0-27311 |
1706 | && QMetaType::convert(constData(d), d.type, &ret, t)TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 122 times by 5 testsEvaluated by:- tst_QGuiApplication
- tst_QMetaType
- tst_QNetworkAccessManager
- tst_QProcess
- tst_QVariant
|
) | 8-122 |
1707 | returnexecuted 8 times by 2 tests: return ret; Executed by:- tst_QMetaType
- tst_QVariant
ret;executed 8 times by 2 tests: return ret; Executed by:- tst_QMetaType
- tst_QVariant
| 8 |
1708 | | - |
1709 | if (!handlerManager[d.type]->convert(&d, t, &ret, ok)TRUE | evaluated 1004 times by 17 testsEvaluated by:- tst_QAccessibility
- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QMetaType
- tst_QNetworkReply
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QSettings
- tst_QTextEdit
- tst_QTreeWidgetItemIterator
- tst_QVariant
- tst_QWidget
- tst_Spdy
- tst_qinputmethod
| FALSE | evaluated 26429 times by 79 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
|
&& okTRUE | evaluated 20 times by 2 testsEvaluated by:- tst_QTextEdit
- tst_QVariant
| FALSE | evaluated 984 times by 16 testsEvaluated by:- tst_QAccessibility
- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QMetaType
- tst_QNetworkReply
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QSettings
- tst_QTreeWidgetItemIterator
- tst_QVariant
- tst_QWidget
- tst_Spdy
- tst_qinputmethod
|
) | 20-26429 |
1710 | *executed 20 times by 2 tests: *ok = false; Executed by:- tst_QTextEdit
- tst_QVariant
ok = false;executed 20 times by 2 tests: *ok = false; Executed by:- tst_QTextEdit
- tst_QVariant
| 20 |
1711 | returnexecuted 27433 times by 86 tests: return ret; Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
ret;executed 27433 times by 86 tests: return ret; Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- ...
| 27433 |
1712 | } | - |
1713 | int QVariant::toInt(bool *ok) const | - |
1714 | { | - |
1715 | returnexecuted 674448 times by 207 tests: return qNumVariantToHelper<int>(d, handlerManager, ok, d.data.i); Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- ...
qNumVariantToHelper<int>(d, handlerManager, ok, d.data.i);executed 674448 times by 207 tests: return qNumVariantToHelper<int>(d, handlerManager, ok, d.data.i); Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- ...
| 674448 |
1716 | } | - |
1717 | uint QVariant::toUInt(bool *ok) const | - |
1718 | { | - |
1719 | returnexecuted 1494 times by 57 tests: return qNumVariantToHelper<uint>(d, handlerManager, ok, d.data.u); Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusServiceWatcher
- tst_QDialog
- tst_QFtp
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
qNumVariantToHelper<uint>(d, handlerManager, ok, d.data.u);executed 1494 times by 57 tests: return qNumVariantToHelper<uint>(d, handlerManager, ok, d.data.u); Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusServiceWatcher
- tst_QDialog
- tst_QFtp
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| 1494 |
1720 | } | - |
1721 | qlonglong QVariant::toLongLong(bool *ok) const | - |
1722 | { | - |
1723 | returnexecuted 11707 times by 23 tests: return qNumVariantToHelper<qlonglong>(d, handlerManager, ok, d.data.ll); Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QHeaderView
- tst_QItemDelegate
- tst_QListWidget
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTableView
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariant
- tst_Spdy
- tst_qdbusmarshall - unknown status
qNumVariantToHelper<qlonglong>(d, handlerManager, ok, d.data.ll);executed 11707 times by 23 tests: return qNumVariantToHelper<qlonglong>(d, handlerManager, ok, d.data.ll); Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QHeaderView
- tst_QItemDelegate
- tst_QListWidget
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSortFilterProxyModel
- tst_QSqlDatabase
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTableView
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariant
- tst_Spdy
- tst_qdbusmarshall - unknown status
| 11707 |
1724 | } | - |
1725 | qulonglong QVariant::toULongLong(bool *ok) const | - |
1726 | { | - |
1727 | returnexecuted 104 times by 5 tests: return qNumVariantToHelper<qulonglong>(d, handlerManager, ok, d.data.ull); Executed by:- tst_QDBusMarshall
- tst_QItemDelegate
- tst_QString
- tst_QVariant
- tst_qdbusmarshall - unknown status
qNumVariantToHelper<qulonglong>(d, handlerManager, ok, d.data.ull);executed 104 times by 5 tests: return qNumVariantToHelper<qulonglong>(d, handlerManager, ok, d.data.ull); Executed by:- tst_QDBusMarshall
- tst_QItemDelegate
- tst_QString
- tst_QVariant
- tst_qdbusmarshall - unknown status
| 104 |
1728 | } | - |
1729 | bool QVariant::toBool() const | - |
1730 | { | - |
1731 | if (d.type == BoolTRUE | evaluated 80058 times by 160 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- ...
| FALSE | evaluated 39492 times by 116 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 39492-80058 |
1732 | returnexecuted 80058 times by 160 tests: return d.data.b; Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- ...
d.data.b;executed 80058 times by 160 tests: return d.data.b; Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- ...
| 80058 |
1733 | | - |
1734 | bool res = false; | - |
1735 | handlerManager[d.type]->convert(&d, Bool, &res, 0); | - |
1736 | | - |
1737 | returnexecuted 39492 times by 116 tests: return res; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
res;executed 39492 times by 116 tests: return res; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 39492 |
1738 | } | - |
1739 | double QVariant::toDouble(bool *ok) const | - |
1740 | { | - |
1741 | returnexecuted 40171 times by 58 tests: return qNumVariantToHelper<double>(d, handlerManager, ok, d.data.d); Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemEditorFactory
- tst_QLabel
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QMetaObjectBuilder
- tst_QMetaType
- ...
qNumVariantToHelper<double>(d, handlerManager, ok, d.data.d);executed 40171 times by 58 tests: return qNumVariantToHelper<double>(d, handlerManager, ok, d.data.d); Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemEditorFactory
- tst_QLabel
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QMetaObjectBuilder
- tst_QMetaType
- ...
| 40171 |
1742 | } | - |
1743 | float QVariant::toFloat(bool *ok) const | - |
1744 | { | - |
1745 | returnexecuted 154 times by 16 tests: return qNumVariantToHelper<float>(d, handlerManager, ok, d.data.f); Executed by:- tst_QBrush
- tst_QDataStream
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemDelegate
- tst_QMetaType
- tst_QPainter
- tst_QPixmap
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QVariant
qNumVariantToHelper<float>(d, handlerManager, ok, d.data.f);executed 154 times by 16 tests: return qNumVariantToHelper<float>(d, handlerManager, ok, d.data.f); Executed by:- tst_QBrush
- tst_QDataStream
- tst_QGuiVariant
- tst_QIcon
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QItemDelegate
- tst_QMetaType
- tst_QPainter
- tst_QPixmap
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QVariant
| 154 |
1746 | } | - |
1747 | qreal QVariant::toReal(bool *ok) const | - |
1748 | { | - |
1749 | returnexecuted 16607 times by 29 tests: return qNumVariantToHelper<qreal>(d, handlerManager, ok, d.data.real); Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QScroller
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QTextList
- tst_QTouchEvent
- ...
qNumVariantToHelper<qreal>(d, handlerManager, ok, d.data.real);executed 16607 times by 29 tests: return qNumVariantToHelper<qreal>(d, handlerManager, ok, d.data.real); Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QScroller
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QTextList
- tst_QTouchEvent
- ...
| 16607 |
1750 | } | - |
1751 | QVariantList QVariant::toList() const | - |
1752 | { | - |
1753 | returnexecuted 697 times by 17 tests: return qVariantToHelper<QVariantList>(d, handlerManager); Executed by:- tst_QColorDialog
- tst_QComboBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QPrinter
- tst_QSettings
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextTable
- tst_languageChange
qVariantToHelper<QVariantList>(d, handlerManager);executed 697 times by 17 tests: return qVariantToHelper<QVariantList>(d, handlerManager); Executed by:- tst_QColorDialog
- tst_QComboBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QPrinter
- tst_QSettings
- tst_QSqlQuery
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextTable
- tst_languageChange
| 697 |
1754 | } | - |
1755 | | - |
1756 | | - |
1757 | static const quint32 qCanConvertMatrix[QVariant::LastCoreType + 1] = | - |
1758 | { | - |
1759 | 0, | - |
1760 | | - |
1761 | 1 << QVariant::Double | 1 << QVariant::Int | 1 << QVariant::UInt | - |
1762 | | 1 << QVariant::LongLong | 1 << QVariant::ULongLong | 1 << QVariant::ByteArray | - |
1763 | | 1 << QVariant::String | 1 << QVariant::Char, | - |
1764 | | - |
1765 | 1 << QVariant::UInt | 1 << QVariant::String | 1 << QVariant::Double | - |
1766 | | 1 << QVariant::Bool | 1 << QVariant::LongLong | 1 << QVariant::ULongLong | - |
1767 | | 1 << QVariant::Char | 1 << QVariant::ByteArray | 1 << QVariant::Int, | - |
1768 | | - |
1769 | 1 << QVariant::Int | 1 << QVariant::String | 1 << QVariant::Double | - |
1770 | | 1 << QVariant::Bool | 1 << QVariant::LongLong | 1 << QVariant::ULongLong | - |
1771 | | 1 << QVariant::Char | 1 << QVariant::ByteArray, | - |
1772 | | - |
1773 | 1 << QVariant::Int | 1 << QVariant::String | 1 << QVariant::Double | - |
1774 | | 1 << QVariant::Bool | 1 << QVariant::UInt | 1 << QVariant::ULongLong | - |
1775 | | 1 << QVariant::Char | 1 << QVariant::ByteArray, | - |
1776 | | - |
1777 | 1 << QVariant::Int | 1 << QVariant::String | 1 << QVariant::Double | - |
1778 | | 1 << QVariant::Bool | 1 << QVariant::UInt | 1 << QVariant::LongLong | - |
1779 | | 1 << QVariant::Char | 1 << QVariant::ByteArray, | - |
1780 | | - |
1781 | 1 << QVariant::Int | 1 << QVariant::String | 1 << QVariant::ULongLong | - |
1782 | | 1 << QVariant::Bool | 1 << QVariant::UInt | 1 << QVariant::LongLong | - |
1783 | | 1 << QVariant::ByteArray, | - |
1784 | | - |
1785 | 1 << QVariant::Int | 1 << QVariant::UInt | 1 << QVariant::LongLong | - |
1786 | | 1 << QVariant::ULongLong, | - |
1787 | | - |
1788 | 0, | - |
1789 | | - |
1790 | 1 << QVariant::StringList, | - |
1791 | | - |
1792 | 1 << QVariant::StringList | 1 << QVariant::ByteArray | 1 << QVariant::Int | - |
1793 | | 1 << QVariant::UInt | 1 << QVariant::Bool | 1 << QVariant::Double | - |
1794 | | 1 << QVariant::Date | 1 << QVariant::Time | 1 << QVariant::DateTime | - |
1795 | | 1 << QVariant::LongLong | 1 << QVariant::ULongLong | 1 << QVariant::Char | - |
1796 | | 1 << QVariant::Url | 1 << QVariant::Uuid, | - |
1797 | | - |
1798 | 1 << QVariant::List | 1 << QVariant::String, | - |
1799 | | - |
1800 | 1 << QVariant::String | 1 << QVariant::Int | 1 << QVariant::UInt | 1 << QVariant::Bool | - |
1801 | | 1 << QVariant::Double | 1 << QVariant::LongLong | 1 << QVariant::ULongLong, | - |
1802 | | - |
1803 | 0, | - |
1804 | | - |
1805 | 1 << QVariant::String | 1 << QVariant::DateTime, | - |
1806 | | - |
1807 | 1 << QVariant::String | 1 << QVariant::DateTime, | - |
1808 | | - |
1809 | 1 << QVariant::String | 1 << QVariant::Date, | - |
1810 | | - |
1811 | 1 << QVariant::String, | - |
1812 | | - |
1813 | 0, | - |
1814 | | - |
1815 | 1 << QVariant::RectF, | - |
1816 | | - |
1817 | 1 << QVariant::Rect, | - |
1818 | | - |
1819 | 1 << QVariant::SizeF, | - |
1820 | | - |
1821 | 1 << QVariant::Size, | - |
1822 | | - |
1823 | 1 << QVariant::LineF, | - |
1824 | | - |
1825 | 1 << QVariant::Line, | - |
1826 | | - |
1827 | 1 << QVariant::PointF, | - |
1828 | | - |
1829 | 1 << QVariant::Point, | - |
1830 | | - |
1831 | 0, | - |
1832 | | - |
1833 | 0, | - |
1834 | | - |
1835 | 0, | - |
1836 | | - |
1837 | 1 << QVariant::String | - |
1838 | }; | - |
1839 | static const size_t qCanConvertMatrixMaximumTargetType = 8 * sizeof(*qCanConvertMatrix); | - |
1840 | | - |
1841 | | - |
1842 | | - |
1843 | | - |
1844 | | - |
1845 | static bool canConvertMetaObject(const QMetaObject *from, const QMetaObject *to) | - |
1846 | { | - |
1847 | if (fromTRUE | evaluated 19 times by 3 testsEvaluated by:- tst_QMetaProperty
- tst_QVariant
- tst_QWidgetsVariant
| FALSE | never evaluated |
&& to == &QObject::staticMetaObjectTRUE | evaluated 12 times by 2 testsEvaluated by:- tst_QVariant
- tst_QWidgetsVariant
| FALSE | evaluated 7 times by 2 testsEvaluated by:- tst_QMetaProperty
- tst_QWidgetsVariant
|
) | 0-19 |
1848 | returnexecuted 12 times by 2 tests: return true; Executed by:- tst_QVariant
- tst_QWidgetsVariant
true;executed 12 times by 2 tests: return true; Executed by:- tst_QVariant
- tst_QWidgetsVariant
| 12 |
1849 | | - |
1850 | while (fromTRUE | evaluated 11 times by 2 testsEvaluated by:- tst_QMetaProperty
- tst_QWidgetsVariant
| FALSE | never evaluated |
) { | 0-11 |
1851 | if (from == toTRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QMetaProperty
- tst_QWidgetsVariant
| FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QMetaProperty
- tst_QWidgetsVariant
|
) | 4-7 |
1852 | returnexecuted 7 times by 2 tests: return true; Executed by:- tst_QMetaProperty
- tst_QWidgetsVariant
true;executed 7 times by 2 tests: return true; Executed by:- tst_QMetaProperty
- tst_QWidgetsVariant
| 7 |
1853 | from = from->superClass(); | - |
1854 | }executed 4 times by 2 tests: end of block Executed by:- tst_QMetaProperty
- tst_QWidgetsVariant
| 4 |
1855 | | - |
1856 | return never executed: return false; false;never executed: return false; | 0 |
1857 | } | - |
1858 | | - |
1859 | | - |
1860 | static bool canConvertMetaObject(int fromId, int toId, QObject *fromObject) | - |
1861 | { | - |
1862 | | - |
1863 | QMetaType toType(toId); | - |
1864 | if ((QMetaType::typeFlags(fromId) & QMetaType::PointerToQObject) && (toType.flags() & QMetaType::PointerToQObject)) { | - |
1865 | if (!fromObjectTRUE | evaluated 4 times by 1 test | FALSE | evaluated 19 times by 3 testsEvaluated by:- tst_QMetaProperty
- tst_QVariant
- tst_QWidgetsVariant
|
) | 4-19 |
1866 | returnexecuted 4 times by 1 test: return true; true;executed 4 times by 1 test: return true; | 4 |
1867 | returnexecuted 19 times by 3 tests: return canConvertMetaObject(fromObject->metaObject(), toType.metaObject()); Executed by:- tst_QMetaProperty
- tst_QVariant
- tst_QWidgetsVariant
canConvertMetaObject(fromObject->metaObject(), toType.metaObject());executed 19 times by 3 tests: return canConvertMetaObject(fromObject->metaObject(), toType.metaObject()); Executed by:- tst_QMetaProperty
- tst_QVariant
- tst_QWidgetsVariant
| 19 |
1868 | } | - |
1869 | | - |
1870 | | - |
1871 | | - |
1872 | | - |
1873 | | - |
1874 | returnexecuted 93 times by 5 tests: return false; Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
- tst_selftests - unknown status
false;executed 93 times by 5 tests: return false; Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
- tst_selftests - unknown status
| 93 |
1875 | } | - |
1876 | bool QVariant::canConvert(int targetTypeId) const | - |
1877 | { | - |
1878 | if ((targetTypeId == QMetaType::QModelIndexTRUE | evaluated 2 times by 1 test | FALSE | evaluated 228043 times by 91 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
&& d.type == QMetaType::QPersistentModelIndexTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-228043 |
1879 | || (targetTypeId == QMetaType::QPersistentModelIndexTRUE | evaluated 2 times by 1 test | FALSE | evaluated 228041 times by 91 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
&& d.type == QMetaType::QModelIndexTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
)) | 0-228041 |
1880 | returnexecuted 4 times by 1 test: return true; true;executed 4 times by 1 test: return true; | 4 |
1881 | | - |
1882 | if (targetTypeId == QMetaType::QVariantListTRUE | evaluated 63 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| FALSE | evaluated 227978 times by 91 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
| 63-227978 |
1883 | && (d.type == QMetaType::QVariantListTRUE | evaluated 2 times by 1 test | FALSE | evaluated 61 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
| 2-61 |
1884 | || d.type == QMetaType::QStringListTRUE | evaluated 2 times by 1 test | FALSE | evaluated 59 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
| 2-59 |
1885 | || d.type == QMetaType::QByteArrayListTRUE | evaluated 2 times by 1 test | FALSE | evaluated 57 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
| 2-57 |
1886 | || QMetaType::hasRegisteredConverterFunction(d.type,TRUE | evaluated 20 times by 1 test | FALSE | evaluated 37 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
| 20-37 |
1887 | qMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>())TRUE | evaluated 20 times by 1 test | FALSE | evaluated 37 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
)) { | 20-37 |
1888 | returnexecuted 26 times by 1 test: return true; true;executed 26 times by 1 test: return true; | 26 |
1889 | } | - |
1890 | | - |
1891 | if ((targetTypeId == QMetaType::QVariantHashTRUE | evaluated 25 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 227990 times by 91 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
|| targetTypeId == QMetaType::QVariantMapTRUE | evaluated 39 times by 3 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| FALSE | evaluated 227951 times by 91 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) | 25-227990 |
1892 | && (d.type == QMetaType::QVariantMapTRUE | evaluated 1 time by 1 test | FALSE | evaluated 63 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
| 1-63 |
1893 | || d.type == QMetaType::QVariantHashTRUE | never evaluated | FALSE | evaluated 63 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
| 0-63 |
1894 | || QMetaType::hasRegisteredConverterFunction(d.type,TRUE | never evaluated | FALSE | evaluated 63 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
| 0-63 |
1895 | qMetaTypeId<QtMetaTypePrivate::QAssociativeIterableImpl>())TRUE | never evaluated | FALSE | evaluated 63 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
)) { | 0-63 |
1896 | returnexecuted 1 time by 1 test: return true; true;executed 1 time by 1 test: return true; | 1 |
1897 | } | - |
1898 | | - |
1899 | if (targetTypeId == qMetaTypeId<QPair<QVariant, QVariant> >()TRUE | evaluated 10 times by 1 test | FALSE | evaluated 228004 times by 91 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
&& | 10-228004 |
1900 | QMetaType::hasRegisteredConverterFunction(d.type,TRUE | evaluated 10 times by 1 test | FALSE | never evaluated |
| 0-10 |
1901 | qMetaTypeId<QtMetaTypePrivate::QPairVariantInterfaceImpl>())TRUE | evaluated 10 times by 1 test | FALSE | never evaluated |
) { | 0-10 |
1902 | returnexecuted 10 times by 1 test: return true; true;executed 10 times by 1 test: return true; | 10 |
1903 | } | - |
1904 | | - |
1905 | if ((d.type >= QMetaType::UserTRUE | evaluated 497 times by 9 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QIdentityProxyModel
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| FALSE | evaluated 227507 times by 91 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
|| targetTypeId >= QMetaType::UserTRUE | evaluated 133 times by 6 testsEvaluated by:- tst_QMetaProperty
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| FALSE | evaluated 227374 times by 91 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) | 133-227507 |
1906 | && QMetaType::hasRegisteredConverterFunction(d.type, targetTypeId)TRUE | evaluated 16 times by 3 testsEvaluated by:- tst_QMetaProperty
- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 614 times by 10 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QIdentityProxyModel
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- tst_QPropertyAnimation
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
) { | 16-614 |
1907 | returnexecuted 16 times by 3 tests: return true; Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QVariant
true;executed 16 times by 3 tests: return true; Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QVariant
| 16 |
1908 | } | - |
1909 | | - |
1910 | | - |
1911 | uint currentType = ((TRUE | evaluated 84 times by 3 testsEvaluated by:- tst_QMetaType
- tst_QObject
- tst_QVariant
| FALSE | evaluated 227904 times by 91 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
d.type == QMetaType::Float)TRUE | evaluated 84 times by 3 testsEvaluated by:- tst_QMetaType
- tst_QObject
- tst_QVariant
| FALSE | evaluated 227904 times by 91 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
? QVariant::Double : d.type); | 84-227904 |
1912 | if (currentType == QMetaType::SCharTRUE | evaluated 64 times by 1 test | FALSE | evaluated 227924 times by 91 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
|| currentType == QMetaType::CharTRUE | evaluated 63 times by 1 test | FALSE | evaluated 227861 times by 91 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) | 63-227924 |
1913 | currentType = QMetaType::UInt;executed 127 times by 1 test: currentType = QMetaType::UInt; | 127 |
1914 | if (targetTypeId == QMetaType::SCharTRUE | evaluated 1 time by 1 test | FALSE | evaluated 227987 times by 91 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
|| currentType == QMetaType::CharTRUE | never evaluated | FALSE | evaluated 227987 times by 91 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) | 0-227987 |
1915 | targetTypeId = QMetaType::UInt;executed 1 time by 1 test: targetTypeId = QMetaType::UInt; | 1 |
1916 | if (uint(targetTypeId) == uint(QMetaType::Float)TRUE | evaluated 51 times by 5 testsEvaluated by:- tst_QGuiVariant
- tst_QMetaType
- tst_QObject
- tst_QVariant
- tst_QWidgetsVariant
| FALSE | evaluated 227937 times by 91 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) targetTypeId = QVariant::Double;executed 51 times by 5 tests: targetTypeId = QVariant::Double; Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QObject
- tst_QVariant
- tst_QWidgetsVariant
| 51-227937 |
1917 | | - |
1918 | | - |
1919 | if (currentType == uint(targetTypeId)TRUE | evaluated 735 times by 27 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDirModel
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QHeaderView
- tst_QIdentityProxyModel
- tst_QListWidget
- tst_QMetaObject
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QVariant
- ...
| FALSE | evaluated 227253 times by 86 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- ...
|
) | 735-227253 |
1920 | returnexecuted 735 times by 27 tests: return true; Executed by:- tst_QAbstractProxyModel
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDirModel
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QHeaderView
- tst_QIdentityProxyModel
- tst_QListWidget
- tst_QMetaObject
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QVariant
- ...
true;executed 735 times by 27 tests: return true; Executed by:- tst_QAbstractProxyModel
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDirModel
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QHeaderView
- tst_QIdentityProxyModel
- tst_QListWidget
- tst_QMetaObject
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QObject
- tst_QSettings
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QVariant
- ...
| 735 |
1921 | | - |
1922 | if (targetTypeId < 0TRUE | evaluated 75 times by 1 test | FALSE | evaluated 227178 times by 86 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- ...
|
) | 75-227178 |
1923 | returnexecuted 75 times by 1 test: return false; false;executed 75 times by 1 test: return false; | 75 |
1924 | if (targetTypeId >= QMetaType::UserTRUE | evaluated 133 times by 6 testsEvaluated by:- tst_QMetaProperty
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| FALSE | evaluated 227045 times by 86 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- ...
|
) { | 133-227045 |
1925 | if (QMetaType::typeFlags(targetTypeId) & QMetaType::IsEnumerationTRUE | evaluated 57 times by 1 test | FALSE | evaluated 76 times by 6 testsEvaluated by:- tst_QMetaProperty
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
) { | 57-76 |
1926 | targetTypeId = QMetaType::Int; | - |
1927 | }executed 57 times by 1 test: end of block else { | 57 |
1928 | returnexecuted 76 times by 6 tests: return canConvertMetaObject(currentType, targetTypeId, d.data.o); Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
canConvertMetaObject(currentType, targetTypeId, d.data.o);executed 76 times by 6 tests: return canConvertMetaObject(currentType, targetTypeId, d.data.o); Executed by:- tst_QMetaProperty
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 76 |
1929 | } | - |
1930 | } | - |
1931 | | - |
1932 | if (currentType == QMetaType::QJsonValueTRUE | evaluated 48 times by 1 test | FALSE | evaluated 227054 times by 86 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- ...
|
) { | 48-227054 |
1933 | switch (targetTypeId) { | - |
1934 | caseexecuted 3 times by 1 test: case QMetaType::QString: QMetaType::QString:executed 3 times by 1 test: case QMetaType::QString: | 3 |
1935 | caseexecuted 3 times by 1 test: case QMetaType::Bool: QMetaType::Bool:executed 3 times by 1 test: case QMetaType::Bool: | 3 |
1936 | caseexecuted 3 times by 1 test: case QMetaType::Int: QMetaType::Int:executed 3 times by 1 test: case QMetaType::Int: | 3 |
1937 | caseexecuted 3 times by 1 test: case QMetaType::UInt: QMetaType::UInt:executed 3 times by 1 test: case QMetaType::UInt: | 3 |
1938 | caseexecuted 6 times by 1 test: case QMetaType::Double: QMetaType::Double:executed 6 times by 1 test: case QMetaType::Double: | 6 |
1939 | case never executed: case QMetaType::Float: QMetaType::Float:never executed: case QMetaType::Float: | 0 |
1940 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
1941 | case never executed: case QMetaType::Long: QMetaType::Long:never executed: case QMetaType::Long: | 0 |
1942 | caseexecuted 3 times by 1 test: case QMetaType::LongLong: QMetaType::LongLong:executed 3 times by 1 test: case QMetaType::LongLong: | 3 |
1943 | caseexecuted 3 times by 1 test: case QMetaType::ULongLong: QMetaType::ULongLong:executed 3 times by 1 test: case QMetaType::ULongLong: | 3 |
1944 | case never executed: case QMetaType::UShort: QMetaType::UShort:never executed: case QMetaType::UShort: | 0 |
1945 | case never executed: case QMetaType::UChar: QMetaType::UChar:never executed: case QMetaType::UChar: | 0 |
1946 | case never executed: case QMetaType::Char: QMetaType::Char:never executed: case QMetaType::Char: | 0 |
1947 | case never executed: case QMetaType::SChar: QMetaType::SChar:never executed: case QMetaType::SChar: | 0 |
1948 | case never executed: case QMetaType::Short: QMetaType::Short:never executed: case QMetaType::Short: | 0 |
1949 | caseexecuted 1 time by 1 test: case QMetaType::QVariantList: QMetaType::QVariantList:executed 1 time by 1 test: case QMetaType::QVariantList: | 1 |
1950 | caseexecuted 1 time by 1 test: case QMetaType::QVariantMap: QMetaType::QVariantMap:executed 1 time by 1 test: case QMetaType::QVariantMap: | 1 |
1951 | case never executed: case QMetaType::QVariantHash: QMetaType::QVariantHash:never executed: case QMetaType::QVariantHash: | 0 |
1952 | returnexecuted 26 times by 1 test: return true; true;executed 26 times by 1 test: return true; | 26 |
1953 | defaultexecuted 22 times by 1 test: default: :executed 22 times by 1 test: default: | 22 |
1954 | returnexecuted 22 times by 1 test: return false; false;executed 22 times by 1 test: return false; | 22 |
1955 | } | - |
1956 | } | - |
1957 | if (currentType == QMetaType::QJsonArrayTRUE | evaluated 32 times by 1 test | FALSE | evaluated 227022 times by 86 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- ...
|
) | 32-227022 |
1958 | returnexecuted 32 times by 1 test: return targetTypeId == QMetaType::QVariantList; targetTypeId == QMetaType::QVariantList;executed 32 times by 1 test: return targetTypeId == QMetaType::QVariantList; | 32 |
1959 | if (currentType == QMetaType::QJsonObjectTRUE | evaluated 32 times by 1 test | FALSE | evaluated 226990 times by 86 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- ...
|
) | 32-226990 |
1960 | returnexecuted 32 times by 1 test: return targetTypeId == QMetaType::QVariantMap || targetTypeId == QMetaType::QVariantHash; targetTypeId == QMetaType::QVariantMap || targetTypeId == QMetaType::QVariantHash;executed 32 times by 1 test: return targetTypeId == QMetaType::QVariantMap || targetTypeId == QMetaType::QVariantHash; | 32 |
1961 | | - |
1962 | | - |
1963 | if (currentType > int(QMetaType::QUuid)TRUE | evaluated 60094 times by 17 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIdentityProxyModel
- tst_QItemView
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| FALSE | evaluated 166896 times by 81 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- ...
|
|| targetTypeId > int(QMetaType::QUuid)TRUE | evaluated 154057 times by 35 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMenu
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QStandardItemModel
- tst_QStyleSheetStyle
- tst_QTableView
- ...
| FALSE | evaluated 12839 times by 66 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QIdentityProxyModel
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QLocalSocket
- tst_QMainWindow
- ...
|
) { | 12839-166896 |
1964 | switch (uint(targetTypeId)) { | - |
1965 | caseexecuted 71 times by 4 tests: case QVariant::Int: Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
QVariant::Int:executed 71 times by 4 tests: case QVariant::Int: Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 71 |
1966 | if (currentType == QVariant::KeySequenceTRUE | evaluated 2 times by 1 test | FALSE | evaluated 69 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
|
) | 2-69 |
1967 | returnexecuted 2 times by 1 test: return true; true;executed 2 times by 1 test: return true; | 2 |
1968 | | - |
1969 | caseexecuted 37 times by 3 tests: case QVariant::UInt: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::UInt:executed 37 times by 3 tests: case QVariant::UInt: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
code before this statement executed 69 times by 4 tests: case QVariant::UInt: Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 37-69 |
1970 | caseexecuted 40 times by 3 tests: case QVariant::LongLong: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::LongLong:executed 40 times by 3 tests: case QVariant::LongLong: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 40 |
1971 | caseexecuted 40 times by 3 tests: case QVariant::ULongLong: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::ULongLong:executed 40 times by 3 tests: case QVariant::ULongLong: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 40 |
1972 | returnexecuted 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
currentType == QMetaType::ULongexecuted 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 186 |
1973 | || currentType == QMetaType::Longexecuted 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 186 |
1974 | || currentType == QMetaType::UShortexecuted 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 186 |
1975 | || currentType == QMetaType::UCharexecuted 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 186 |
1976 | || currentType == QMetaType::Charexecuted 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 186 |
1977 | || currentType == QMetaType::SCharexecuted 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 186 |
1978 | || currentType == QMetaType::Shortexecuted 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 186 |
1979 | || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration;executed 186 times by 4 tests: return currentType == QMetaType::ULong || currentType == QMetaType::Long || currentType == QMetaType::UShort || currentType == QMetaType::UChar || currentType == QMetaType::Char || currentType == QMetaType::SChar || currentType == QMetaType::Short || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 186 |
1980 | caseexecuted 35 times by 3 tests: case QVariant::Image: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::Image:executed 35 times by 3 tests: case QVariant::Image: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 35 |
1981 | returnexecuted 35 times by 3 tests: return currentType == QVariant::Pixmap || currentType == QVariant::Bitmap; Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
currentType == QVariant::Pixmap || currentType == QVariant::Bitmap;executed 35 times by 3 tests: return currentType == QVariant::Pixmap || currentType == QVariant::Bitmap; Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 35 |
1982 | caseexecuted 36 times by 3 tests: case QVariant::Pixmap: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::Pixmap:executed 36 times by 3 tests: case QVariant::Pixmap: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 36 |
1983 | returnexecuted 36 times by 3 tests: return currentType == QVariant::Image || currentType == QVariant::Bitmap || currentType == QVariant::Brush; Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
currentType == QVariant::Image || currentType == QVariant::Bitmapexecuted 36 times by 3 tests: return currentType == QVariant::Image || currentType == QVariant::Bitmap || currentType == QVariant::Brush; Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 36 |
1984 | || currentType == QVariant::Brush;executed 36 times by 3 tests: return currentType == QVariant::Image || currentType == QVariant::Bitmap || currentType == QVariant::Brush; Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 36 |
1985 | caseexecuted 35 times by 3 tests: case QVariant::Bitmap: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::Bitmap:executed 35 times by 3 tests: case QVariant::Bitmap: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 35 |
1986 | returnexecuted 35 times by 3 tests: return currentType == QVariant::Pixmap || currentType == QVariant::Image; Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
currentType == QVariant::Pixmap || currentType == QVariant::Image;executed 35 times by 3 tests: return currentType == QVariant::Pixmap || currentType == QVariant::Image; Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 35 |
1987 | caseexecuted 24 times by 3 tests: case QVariant::ByteArray: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::ByteArray:executed 24 times by 3 tests: case QVariant::ByteArray: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 24 |
1988 | returnexecuted 24 times by 3 tests: return currentType == QVariant::Color || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType)); Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
currentType == QVariant::Colorexecuted 24 times by 3 tests: return currentType == QVariant::Color || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType)); Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 24 |
1989 | || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType));executed 24 times by 3 tests: return currentType == QVariant::Color || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType)); Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 24 |
1990 | caseexecuted 438 times by 12 tests: case QVariant::String: Executed by:- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIdentityProxyModel
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
QVariant::String:executed 438 times by 12 tests: case QVariant::String: Executed by:- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIdentityProxyModel
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 438 |
1991 | returnexecuted 438 times by 12 tests: return currentType == QVariant::KeySequence || currentType == QVariant::Font || currentType == QVariant::Color || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType)); Executed by:- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIdentityProxyModel
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
currentType == QVariant::KeySequence || currentType == QVariant::Fontexecuted 438 times by 12 tests: return currentType == QVariant::KeySequence || currentType == QVariant::Font || currentType == QVariant::Color || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType)); Executed by:- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIdentityProxyModel
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 438 |
1992 | || currentType == QVariant::Colorexecuted 438 times by 12 tests: return currentType == QVariant::KeySequence || currentType == QVariant::Font || currentType == QVariant::Color || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType)); Executed by:- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIdentityProxyModel
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 438 |
1993 | || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType));executed 438 times by 12 tests: return currentType == QVariant::KeySequence || currentType == QVariant::Font || currentType == QVariant::Color || ((QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration) && QMetaType::metaObjectForType(currentType)); Executed by:- tst_QAbstractProxyModel
- tst_QDBusMarshall
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIdentityProxyModel
- tst_QMetaProperty
- tst_QMetaType
- tst_QNetworkRequest
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 438 |
1994 | caseexecuted 37 times by 3 tests: case QVariant::KeySequence: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
QVariant::KeySequence:executed 37 times by 3 tests: case QVariant::KeySequence: Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 37 |
1995 | returnexecuted 37 times by 3 tests: return currentType == QVariant::String || currentType == QVariant::Int; Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
currentType == QVariant::String || currentType == QVariant::Int;executed 37 times by 3 tests: return currentType == QVariant::String || currentType == QVariant::Int; Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
| 37 |
1996 | caseexecuted 71 times by 4 tests: case QVariant::Font: Executed by:- tst_QGuiVariant
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
QVariant::Font:executed 71 times by 4 tests: case QVariant::Font: Executed by:- tst_QGuiVariant
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 71 |
1997 | returnexecuted 71 times by 4 tests: return currentType == QVariant::String; Executed by:- tst_QGuiVariant
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
currentType == QVariant::String;executed 71 times by 4 tests: return currentType == QVariant::String; Executed by:- tst_QGuiVariant
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 71 |
1998 | caseexecuted 303 times by 13 tests: case QVariant::Color: Executed by:- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMainWindow
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTreeWidget
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
QVariant::Color:executed 303 times by 13 tests: case QVariant::Color: Executed by:- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMainWindow
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTreeWidget
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
| 303 |
1999 | returnexecuted 303 times by 13 tests: return currentType == QVariant::String || currentType == QVariant::ByteArray || currentType == QVariant::Brush; Executed by:- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMainWindow
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTreeWidget
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
currentType == QVariant::String || currentType == QVariant::ByteArrayexecuted 303 times by 13 tests: return currentType == QVariant::String || currentType == QVariant::ByteArray || currentType == QVariant::Brush; Executed by:- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMainWindow
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTreeWidget
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
| 303 |
2000 | || currentType == QVariant::Brush;executed 303 times by 13 tests: return currentType == QVariant::String || currentType == QVariant::ByteArray || currentType == QVariant::Brush; Executed by:- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QMainWindow
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTreeWidget
- tst_QVariant
- tst_QWidget
- tst_QWidgetsVariant
| 303 |
2001 | caseexecuted 212336 times by 32 tests: case QVariant::Brush: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QStandardItemModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTableWidget
- ...
QVariant::Brush:executed 212336 times by 32 tests: case QVariant::Brush: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QStandardItemModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTableWidget
- ...
| 212336 |
2002 | returnexecuted 212336 times by 32 tests: return currentType == QVariant::Color || currentType == QVariant::Pixmap; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QStandardItemModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTableWidget
- ...
currentType == QVariant::Color || currentType == QVariant::Pixmap;executed 212336 times by 32 tests: return currentType == QVariant::Color || currentType == QVariant::Pixmap; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QStandardItemModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTableWidget
- ...
| 212336 |
2003 | case never executed: case QMetaType::Long: QMetaType::Long:never executed: case QMetaType::Long: | 0 |
2004 | case never executed: case QMetaType::Char: QMetaType::Char:never executed: case QMetaType::Char: | 0 |
2005 | case never executed: case QMetaType::SChar: QMetaType::SChar:never executed: case QMetaType::SChar: | 0 |
2006 | caseexecuted 1 time by 1 test: case QMetaType::UChar: QMetaType::UChar:executed 1 time by 1 test: case QMetaType::UChar: | 1 |
2007 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
2008 | caseexecuted 24 times by 1 test: case QMetaType::Short: QMetaType::Short:executed 24 times by 1 test: case QMetaType::Short: | 24 |
2009 | caseexecuted 24 times by 1 test: case QMetaType::UShort: QMetaType::UShort:executed 24 times by 1 test: case QMetaType::UShort: | 24 |
2010 | returnexecuted 49 times by 1 test: return currentType == QVariant::Int || (currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[QVariant::Int] & (1U << currentType)) || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; currentType == QVariant::Intexecuted 49 times by 1 test: return currentType == QVariant::Int || (currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[QVariant::Int] & (1U << currentType)) || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; | 49 |
2011 | || (currentType < qCanConvertMatrixMaximumTargetTypeexecuted 49 times by 1 test: return currentType == QVariant::Int || (currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[QVariant::Int] & (1U << currentType)) || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; | 49 |
2012 | && qCanConvertMatrix[QVariant::Int] & (1U << currentType))executed 49 times by 1 test: return currentType == QVariant::Int || (currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[QVariant::Int] & (1U << currentType)) || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; | 49 |
2013 | || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration;executed 49 times by 1 test: return currentType == QVariant::Int || (currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[QVariant::Int] & (1U << currentType)) || QMetaType::typeFlags(currentType) & QMetaType::IsEnumeration; | 49 |
2014 | caseexecuted 40 times by 2 tests: case QMetaType::QObjectStar: Executed by:- tst_QVariant
- tst_QWidgetsVariant
QMetaType::QObjectStar:executed 40 times by 2 tests: case QMetaType::QObjectStar: Executed by:- tst_QVariant
- tst_QWidgetsVariant
| 40 |
2015 | returnexecuted 40 times by 2 tests: return canConvertMetaObject(currentType, targetTypeId, d.data.o); Executed by:- tst_QVariant
- tst_QWidgetsVariant
canConvertMetaObject(currentType, targetTypeId, d.data.o);executed 40 times by 2 tests: return canConvertMetaObject(currentType, targetTypeId, d.data.o); Executed by:- tst_QVariant
- tst_QWidgetsVariant
| 40 |
2016 | defaultexecuted 559 times by 6 tests: default: Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
:executed 559 times by 6 tests: default: Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 559 |
2017 | returnexecuted 559 times by 6 tests: return false; Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
false;executed 559 times by 6 tests: return false; Executed by:- tst_QGuiVariant
- tst_QMetaType
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_QWidgetsVariant
| 559 |
2018 | } | - |
2019 | } | - |
2020 | | - |
2021 | if (targetTypeId == StringTRUE | evaluated 5155 times by 33 testsEvaluated by:- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QIdentityProxyModel
- tst_QItemModel
- tst_QLocalSocket
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkRequest
- tst_QObject
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSignalSpy
- tst_QSpinBox
- tst_QSqlQueryModel
- tst_QSqlRecord
- tst_QSqlTableModel
- ...
| FALSE | evaluated 7684 times by 49 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QCssParser
- tst_QDBusAbstractInterface
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaType
- tst_QObject
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- ...
|
&& currentType == StringListTRUE | evaluated 18 times by 3 testsEvaluated by:- tst_QMetaType
- tst_QSettings
- tst_QVariant
| FALSE | evaluated 5137 times by 33 testsEvaluated by:- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QIdentityProxyModel
- tst_QItemModel
- tst_QLocalSocket
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkRequest
- tst_QObject
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSignalSpy
- tst_QSpinBox
- tst_QSqlQueryModel
- tst_QSqlRecord
- tst_QSqlTableModel
- ...
|
) | 18-7684 |
2022 | returnexecuted 18 times by 3 tests: return v_cast<QStringList>(&d)->count() == 1; Executed by:- tst_QMetaType
- tst_QSettings
- tst_QVariant
v_cast<QStringList>(&d)->count() == 1;executed 18 times by 3 tests: return v_cast<QStringList>(&d)->count() == 1; Executed by:- tst_QMetaType
- tst_QSettings
- tst_QVariant
| 18 |
2023 | returnexecuted 12821 times by 66 tests: return currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[targetTypeId] & (1U << currentType); Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QIdentityProxyModel
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QLocalSocket
- tst_QMainWindow
- ...
currentType < qCanConvertMatrixMaximumTargetTypeexecuted 12821 times by 66 tests: return currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[targetTypeId] & (1U << currentType); Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QIdentityProxyModel
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QLocalSocket
- tst_QMainWindow
- ...
| 12821 |
2024 | && qCanConvertMatrix[targetTypeId] & (1U << currentType);executed 12821 times by 66 tests: return currentType < qCanConvertMatrixMaximumTargetType && qCanConvertMatrix[targetTypeId] & (1U << currentType); Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QIdentityProxyModel
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QLocalSocket
- tst_QMainWindow
- ...
| 12821 |
2025 | } | - |
2026 | bool QVariant::convert(int targetTypeId) | - |
2027 | { | - |
2028 | if (d.type == uint(targetTypeId)TRUE | evaluated 1356 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QObject
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QVariant
- tst_QWidget
- ...
| FALSE | evaluated 6277 times by 51 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractInterface
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QItemModel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaProperty
- tst_QMetaType
- tst_QObject
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- ...
|
) | 1356-6277 |
2029 | returnexecuted 1356 times by 27 tests: return true; Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QObject
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QVariant
- tst_QWidget
- ...
true;executed 1356 times by 27 tests: return true; Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QObject
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QVariant
- tst_QWidget
- ...
| 1356 |
2030 | | - |
2031 | QVariant oldValue = *this; | - |
2032 | | - |
2033 | clear(); | - |
2034 | if (!oldValue.canConvert(targetTypeId)TRUE | evaluated 5462 times by 34 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaProperty
- tst_QMetaType
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlTableModel
- tst_QStateMachine
- tst_QStyleSheetStyle
- ...
| FALSE | evaluated 815 times by 30 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaProperty
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QTreeWidget
- ...
|
) | 815-5462 |
2035 | returnexecuted 5462 times by 34 tests: return false; Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaProperty
- tst_QMetaType
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlTableModel
- tst_QStateMachine
- tst_QStyleSheetStyle
- ...
false;executed 5462 times by 34 tests: return false; Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMetaProperty
- tst_QMetaType
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlTableModel
- tst_QStateMachine
- tst_QStyleSheetStyle
- ...
| 5462 |
2036 | | - |
2037 | create(targetTypeId, 0); | - |
2038 | if (oldValue.isNull()TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
| FALSE | evaluated 795 times by 30 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaProperty
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QTreeWidget
- ...
|
) | 20-795 |
2039 | returnexecuted 20 times by 2 tests: return false; Executed by:- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
false;executed 20 times by 2 tests: return false; Executed by:- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
| 20 |
2040 | | - |
2041 | if ((QMetaType::typeFlags(oldValue.userType()) & QMetaType::PointerToQObject) && (QMetaType::typeFlags(targetTypeId) & QMetaType::PointerToQObject)) { | - |
2042 | create(targetTypeId, &oldValue.d.data.o); | - |
2043 | returnexecuted 7 times by 3 tests: return true; Executed by:- tst_QMetaProperty
- tst_QVariant
- tst_QWidgetsVariant
true;executed 7 times by 3 tests: return true; Executed by:- tst_QMetaProperty
- tst_QVariant
- tst_QWidgetsVariant
| 7 |
2044 | } | - |
2045 | | - |
2046 | bool isOk = true; | - |
2047 | int converterType = std::max(oldValue.userType(), targetTypeId); | - |
2048 | if (!handlerManager[converterType]->convert(&oldValue.d, targetTypeId, data(), &isOk)TRUE | evaluated 64 times by 7 testsEvaluated by:- tst_QDataWidgetMapper
- tst_QGuiVariant
- tst_QObject
- tst_QSqlRelationalTableModel
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| FALSE | evaluated 724 times by 26 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaProperty
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlTableModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QTreeWidget
- tst_QVariant
- tst_QWidget
- ...
|
) | 64-724 |
2049 | isOk = false;executed 64 times by 7 tests: isOk = false; Executed by:- tst_QDataWidgetMapper
- tst_QGuiVariant
- tst_QObject
- tst_QSqlRelationalTableModel
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| 64 |
2050 | d.is_null = !isOk; | - |
2051 | returnexecuted 788 times by 29 tests: return isOk; Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaProperty
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QTreeWidget
- ...
isOk;executed 788 times by 29 tests: return isOk; Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QGraphicsObject
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaProperty
- tst_QMetaType
- tst_QObject
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QToolTip
- tst_QTreeWidget
- ...
| 788 |
2052 | } | - |
2053 | | - |
2054 | | - |
2055 | | - |
2056 | | - |
2057 | | - |
2058 | | - |
2059 | bool QVariant::convert(const int type, void *ptr) const | - |
2060 | { | - |
2061 | returnexecuted 371763 times by 107 tests: return handlerManager[type]->convert(&d, type, ptr, 0); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- ...
handlerManager[type]->convert(&d, type, ptr, 0);executed 371763 times by 107 tests: return handlerManager[type]->convert(&d, type, ptr, 0); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDialog
- ...
| 371763 |
2062 | } | - |
2063 | static bool qIsNumericType(uint tp) | - |
2064 | { | - |
2065 | static const qulonglong numericTypeBits = | - |
2066 | static_cast<unsigned long long>(1ULL) << QMetaType::Bool | | - |
2067 | static_cast<unsigned long long>(1ULL) << QMetaType::Double | | - |
2068 | static_cast<unsigned long long>(1ULL) << QMetaType::Float | | - |
2069 | static_cast<unsigned long long>(1ULL) << QMetaType::Char | | - |
2070 | static_cast<unsigned long long>(1ULL) << QMetaType::SChar | | - |
2071 | static_cast<unsigned long long>(1ULL) << QMetaType::UChar | | - |
2072 | static_cast<unsigned long long>(1ULL) << QMetaType::Short | | - |
2073 | static_cast<unsigned long long>(1ULL) << QMetaType::UShort | | - |
2074 | static_cast<unsigned long long>(1ULL) << QMetaType::Int | | - |
2075 | static_cast<unsigned long long>(1ULL) << QMetaType::UInt | | - |
2076 | static_cast<unsigned long long>(1ULL) << QMetaType::Long | | - |
2077 | static_cast<unsigned long long>(1ULL) << QMetaType::ULong | | - |
2078 | static_cast<unsigned long long>(1ULL) << QMetaType::LongLong | | - |
2079 | static_cast<unsigned long long>(1ULL) << QMetaType::ULongLong; | - |
2080 | returnexecuted 769050 times by 116 tests: return tp < (8 * sizeof numericTypeBits) ? numericTypeBits & (static_cast<unsigned long long>(1ULL) << tp) : false; Executed by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- ...
tp < (8 * sizeof numericTypeBits) ? numericTypeBits & (static_cast<unsigned long long>(1ULL) << tp) : false;executed 769050 times by 116 tests: return tp < (8 * sizeof numericTypeBits) ? numericTypeBits & (static_cast<unsigned long long>(1ULL) << tp) : false; Executed by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- ...
| 769050 |
2081 | } | - |
2082 | | - |
2083 | static bool qIsFloatingPoint(uint tp) | - |
2084 | { | - |
2085 | returnexecuted 329598 times by 84 tests: return tp == QVariant::Double || tp == QMetaType::Float; Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsItem
- ...
tp == QVariant::Double || tp == QMetaType::Float;executed 329598 times by 84 tests: return tp == QVariant::Double || tp == QMetaType::Float; Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsItem
- ...
| 329598 |
2086 | } | - |
2087 | | - |
2088 | static int normalizeLowerRanks(uint tp) | - |
2089 | { | - |
2090 | static const qulonglong numericTypeBits = | - |
2091 | static_cast<unsigned long long>(1ULL) << QMetaType::Bool | | - |
2092 | static_cast<unsigned long long>(1ULL) << QMetaType::Char | | - |
2093 | static_cast<unsigned long long>(1ULL) << QMetaType::SChar | | - |
2094 | static_cast<unsigned long long>(1ULL) << QMetaType::UChar | | - |
2095 | static_cast<unsigned long long>(1ULL) << QMetaType::Short | | - |
2096 | static_cast<unsigned long long>(1ULL) << QMetaType::UShort; | - |
2097 | returnexecuted 323800 times by 83 tests: return numericTypeBits & (static_cast<unsigned long long>(1ULL) << tp) ? QVariant::Int : tp; Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
numericTypeBits & (static_cast<unsigned long long>(1ULL) << tp) ? QVariant::Int : tp;executed 323800 times by 83 tests: return numericTypeBits & (static_cast<unsigned long long>(1ULL) << tp) ? QVariant::Int : tp; Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 323800 |
2098 | } | - |
2099 | | - |
2100 | static int normalizeLong(uint tp) | - |
2101 | { | - |
2102 | const uint IntType = sizeof(long) == sizeof(int)TRUE | never evaluated | FALSE | evaluated 323800 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
? QVariant::Int : QVariant::LongLong; | 0-323800 |
2103 | const uint UIntType = sizeof(ulong) == sizeof(uint)TRUE | never evaluated | FALSE | evaluated 323800 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
? QVariant::UInt : QVariant::ULongLong; | 0-323800 |
2104 | returnexecuted 323800 times by 83 tests: return tp == QMetaType::Long ? IntType : tp == QMetaType::ULong ? UIntType : tp; Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
tp == QMetaType::Long ? IntType :executed 323800 times by 83 tests: return tp == QMetaType::Long ? IntType : tp == QMetaType::ULong ? UIntType : tp; Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 323800 |
2105 | tp == QMetaType::ULong ? UIntType : tp;executed 323800 times by 83 tests: return tp == QMetaType::Long ? IntType : tp == QMetaType::ULong ? UIntType : tp; Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 323800 |
2106 | } | - |
2107 | | - |
2108 | static int numericTypePromotion(uint t1, uint t2) | - |
2109 | { | - |
2110 | ((!(qIsNumericType(t1))) ? qt_assert("qIsNumericType(t1)",__FILE__,3395) : qt_noop()); | - |
2111 | ((!(qIsNumericType(t2))) ? qt_assert("qIsNumericType(t2)",__FILE__,3396) : qt_noop()); | - |
2112 | if (qIsFloatingPoint(t1)TRUE | evaluated 5628 times by 32 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
| FALSE | evaluated 161985 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
|| qIsFloatingPoint(t2)TRUE | evaluated 85 times by 1 test | FALSE | evaluated 161900 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 85-161985 |
2113 | returnexecuted 5713 times by 32 tests: return QMetaType::QReal; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
QMetaType::QReal;executed 5713 times by 32 tests: return QMetaType::QReal; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
| 5713 |
2114 | | - |
2115 | | - |
2116 | | - |
2117 | t1 = normalizeLowerRanks(t1); | - |
2118 | t2 = normalizeLowerRanks(t2); | - |
2119 | | - |
2120 | | - |
2121 | t1 = normalizeLong(t1); | - |
2122 | t2 = normalizeLong(t2); | - |
2123 | | - |
2124 | | - |
2125 | | - |
2126 | | - |
2127 | | - |
2128 | | - |
2129 | if (t1 == QVariant::ULongLongTRUE | evaluated 201 times by 3 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
| FALSE | evaluated 161699 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
|| t2 == QVariant::ULongLongTRUE | evaluated 105 times by 1 test | FALSE | evaluated 161594 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 105-161699 |
2130 | returnexecuted 306 times by 3 tests: return QVariant::ULongLong; Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
QVariant::ULongLong;executed 306 times by 3 tests: return QVariant::ULongLong; Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
| 306 |
2131 | if (t1 == QVariant::LongLongTRUE | evaluated 1989 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
| FALSE | evaluated 159605 times by 77 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
|
|| t2 == QVariant::LongLongTRUE | evaluated 102 times by 3 testsEvaluated by:- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
| FALSE | evaluated 159503 times by 77 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
|
) | 102-159605 |
2132 | returnexecuted 2091 times by 14 tests: return QVariant::LongLong; Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
QVariant::LongLong;executed 2091 times by 14 tests: return QVariant::LongLong; Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
| 2091 |
2133 | if (t1 == QVariant::UIntTRUE | evaluated 310 times by 10 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QVariant
| FALSE | evaluated 159193 times by 77 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
|
|| t2 == QVariant::UIntTRUE | evaluated 235 times by 1 test | FALSE | evaluated 158958 times by 77 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
|
) | 235-159193 |
2134 | returnexecuted 545 times by 10 tests: return QVariant::UInt; Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QVariant
QVariant::UInt;executed 545 times by 10 tests: return QVariant::UInt; Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QVariant
| 545 |
2135 | returnexecuted 158958 times by 77 tests: return QVariant::Int; Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
QVariant::Int;executed 158958 times by 77 tests: return QVariant::Int; Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
| 158958 |
2136 | } | - |
2137 | | - |
2138 | static int integralCompare(uint promotedType, const QVariant::Private *d1, const QVariant::Private *d2) | - |
2139 | { | - |
2140 | | - |
2141 | bool ok; | - |
2142 | qlonglong l1 = qConvertToNumber(d1, &ok); | - |
2143 | ((!(ok)) ? qt_assert("ok",__FILE__,3444) : qt_noop()); | - |
2144 | | - |
2145 | qlonglong l2 = qConvertToNumber(d2, &ok); | - |
2146 | ((!(ok)) ? qt_assert("ok",__FILE__,3447) : qt_noop()); | - |
2147 | | - |
2148 | if (promotedType == QVariant::IntTRUE | evaluated 158958 times by 77 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
| FALSE | evaluated 2942 times by 21 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
|
) | 2942-158958 |
2149 | returnexecuted 158958 times by 77 tests: return int(l1) < int(l2) ? -1 : int(l1) == int(l2) ? 0 : 1; Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
int(l1) < int(l2) ? -1 : int(l1) == int(l2) ? 0 : 1;executed 158958 times by 77 tests: return int(l1) < int(l2) ? -1 : int(l1) == int(l2) ? 0 : 1; Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- ...
| 158958 |
2150 | if (promotedType == QVariant::UIntTRUE | evaluated 545 times by 10 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QVariant
| FALSE | evaluated 2397 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
|
) | 545-2397 |
2151 | returnexecuted 545 times by 10 tests: return uint(l1) < uint(l2) ? -1 : uint(l1) == uint(l2) ? 0 : 1; Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QVariant
uint(l1) < uint(l2) ? -1 : uint(l1) == uint(l2) ? 0 : 1;executed 545 times by 10 tests: return uint(l1) < uint(l2) ? -1 : uint(l1) == uint(l2) ? 0 : 1; Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QVariant
| 545 |
2152 | if (promotedType == QVariant::LongLongTRUE | evaluated 2091 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
| FALSE | evaluated 306 times by 3 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
|
) | 306-2091 |
2153 | returnexecuted 2091 times by 14 tests: return l1 < l2 ? -1 : l1 == l2 ? 0 : 1; Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
l1 < l2 ? -1 : l1 == l2 ? 0 : 1;executed 2091 times by 14 tests: return l1 < l2 ? -1 : l1 == l2 ? 0 : 1; Executed by:- tst_QAbstractNetworkCache
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QVariant
- tst_Spdy
| 2091 |
2154 | if (promotedType == QVariant::ULongLongTRUE | evaluated 306 times by 3 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
| FALSE | never evaluated |
) | 0-306 |
2155 | returnexecuted 306 times by 3 tests: return qulonglong(l1) < qulonglong(l2) ? -1 : qulonglong(l1) == qulonglong(l2) ? 0 : 1; Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
qulonglong(l1) < qulonglong(l2) ? -1 : qulonglong(l1) == qulonglong(l2) ? 0 : 1;executed 306 times by 3 tests: return qulonglong(l1) < qulonglong(l2) ? -1 : qulonglong(l1) == qulonglong(l2) ? 0 : 1; Executed by:- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QVariant
| 306 |
2156 | | - |
2157 | do { ((!(false)) ? qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached",__FILE__,3458) : qt_noop()); __builtin_unreachable(); } while (0); | - |
2158 | return never executed: return 0; 0;never executed: return 0; | 0 |
2159 | } | - |
2160 | | - |
2161 | static int numericCompare(const QVariant::Private *d1, const QVariant::Private *d2) | - |
2162 | { | - |
2163 | uint promotedType = numericTypePromotion(d1->type, d2->type); | - |
2164 | if (promotedType != QMetaType::QRealTRUE | evaluated 161900 times by 83 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 5713 times by 32 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
|
) | 5713-161900 |
2165 | returnexecuted 161900 times by 83 tests: return integralCompare(promotedType, d1, d2); Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
integralCompare(promotedType, d1, d2);executed 161900 times by 83 tests: return integralCompare(promotedType, d1, d2); Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 161900 |
2166 | | - |
2167 | | - |
2168 | bool ok; | - |
2169 | qreal r1 = qConvertToRealNumber(d1, &ok); | - |
2170 | ((!(ok)) ? qt_assert("ok",__FILE__,3471) : qt_noop()); | - |
2171 | qreal r2 = qConvertToRealNumber(d2, &ok); | - |
2172 | ((!(ok)) ? qt_assert("ok",__FILE__,3473) : qt_noop()); | - |
2173 | if (r1 == r2TRUE | evaluated 2995 times by 32 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
| FALSE | evaluated 2718 times by 8 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QPrinter
- tst_QSpinBox
- tst_QStateMachine
- tst_QVariant
|
|| qFuzzyCompare(r1, r2)TRUE | evaluated 10 times by 1 test | FALSE | evaluated 2708 times by 8 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QPrinter
- tst_QSpinBox
- tst_QStateMachine
- tst_QVariant
|
) | 10-2995 |
2174 | returnexecuted 3005 times by 32 tests: return 0; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
0;executed 3005 times by 32 tests: return 0; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMetaType
- tst_QObject
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlField
- tst_QSqlRecord
- tst_QStateMachine
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QTextDocument
- ...
| 3005 |
2175 | returnexecuted 2708 times by 8 tests: return r1 < r2 ? -1 : 1; Executed by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QPrinter
- tst_QSpinBox
- tst_QStateMachine
- tst_QVariant
r1 < r2 ? -1 : 1;executed 2708 times by 8 tests: return r1 < r2 ? -1 : 1; Executed by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QPrinter
- tst_QSpinBox
- tst_QStateMachine
- tst_QVariant
| 2708 |
2176 | } | - |
2177 | | - |
2178 | | - |
2179 | | - |
2180 | | - |
2181 | bool QVariant::cmp(const QVariant &v) const | - |
2182 | { | - |
2183 | | - |
2184 | if (qIsNumericType(d.type)TRUE | evaluated 166009 times by 85 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsItem
- ...
| FALSE | evaluated 98092 times by 91 testsEvaluated by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- ...
|
&& qIsNumericType(v.d.type)TRUE | evaluated 165868 times by 84 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsItem
- ...
| FALSE | evaluated 141 times by 8 testsEvaluated by:- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
|
) | 141-166009 |
2185 | returnexecuted 165868 times by 84 tests: return numericCompare(&d, &v.d) == 0; Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsItem
- ...
numericCompare(&d, &v.d) == 0;executed 165868 times by 84 tests: return numericCompare(&d, &v.d) == 0; Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFtp
- tst_QGraphicsItem
- ...
| 165868 |
2186 | | - |
2187 | QVariant v1 = *this; | - |
2188 | QVariant v2 = v; | - |
2189 | if (d.type != v2.d.typeTRUE | evaluated 1595 times by 14 testsEvaluated by:- tst_QCssParser
- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QItemModel
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTableWidget
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| FALSE | evaluated 96638 times by 91 testsEvaluated by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- ...
|
) { | 1595-96638 |
2190 | if (v2.canConvert(v1.d.type)TRUE | evaluated 129 times by 8 testsEvaluated by:- tst_QCssParser
- tst_QMetaType
- tst_QSettings
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| FALSE | evaluated 1466 times by 11 testsEvaluated by:- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QItemModel
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlTableModel
- tst_QTableWidget
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
|
) { | 129-1466 |
2191 | if (!v2.convert(v1.d.type)TRUE | evaluated 76 times by 6 testsEvaluated by:- tst_QMetaType
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| FALSE | evaluated 53 times by 6 testsEvaluated by:- tst_QCssParser
- tst_QMetaType
- tst_QSettings
- tst_QSqlTableModel
- tst_QTreeWidget
- tst_QVariant
|
) | 53-76 |
2192 | returnexecuted 76 times by 6 tests: return false; Executed by:- tst_QMetaType
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
false;executed 76 times by 6 tests: return false; Executed by:- tst_QMetaType
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| 76 |
2193 | }executed 53 times by 6 tests: end of block Executed by:- tst_QCssParser
- tst_QMetaType
- tst_QSettings
- tst_QSqlTableModel
- tst_QTreeWidget
- tst_QVariant
else { | 53 |
2194 | | - |
2195 | qSwap(v1, v2); | - |
2196 | if (!v2.convert(v1.d.type)TRUE | evaluated 1461 times by 11 testsEvaluated by:- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QItemModel
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlTableModel
- tst_QTableWidget
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 5-1461 |
2197 | returnexecuted 1461 times by 11 tests: return false; Executed by:- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QItemModel
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlTableModel
- tst_QTableWidget
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
false;executed 1461 times by 11 tests: return false; Executed by:- tst_QDBusAbstractInterface
- tst_QDateTimeEdit
- tst_QItemModel
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSqlTableModel
- tst_QTableWidget
- tst_QTextDocument
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
| 1461 |
2198 | }executed 5 times by 2 tests: end of block Executed by:- tst_QMetaType
- tst_QVariant
| 5 |
2199 | } | - |
2200 | if (v1.d.type >= QMetaType::UserTRUE | evaluated 366 times by 24 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFtp
- tst_QIdentityProxyModel
- tst_QMetaType
- tst_QNetworkRequest
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QStyleSheetStyle
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 96330 times by 83 testsEvaluated by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsObject
- tst_QGraphicsPixmapItem
- ...
|
) { | 366-96330 |
2201 | int result; | - |
2202 | if (QMetaType::equals(::constData(v1.d), ::constData(v2.d), v1.d.type, &result)TRUE | evaluated 17 times by 1 test | FALSE | evaluated 349 times by 23 testsEvaluated by:- tst_QAbstractProxyModel
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFtp
- tst_QIdentityProxyModel
- tst_QNetworkRequest
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QStyleSheetStyle
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_selftests - unknown status
|
) | 17-349 |
2203 | returnexecuted 17 times by 1 test: return result == 0; result == 0;executed 17 times by 1 test: return result == 0; | 17 |
2204 | }executed 349 times by 23 tests: end of block Executed by:- tst_QAbstractProxyModel
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QFtp
- tst_QIdentityProxyModel
- tst_QNetworkRequest
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QStyleSheetStyle
- tst_QVariant
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_selftests - unknown status
| 349 |
2205 | returnexecuted 96679 times by 91 tests: return handlerManager[v1.d.type]->compare(&v1.d, &v2.d); Executed by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- ...
handlerManager[v1.d.type]->compare(&v1.d, &v2.d);executed 96679 times by 91 tests: return handlerManager[v1.d.type]->compare(&v1.d, &v2.d); Executed by:- tst_ModelTest
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- ...
| 96679 |
2206 | } | - |
2207 | | - |
2208 | | - |
2209 | | - |
2210 | | - |
2211 | int QVariant::compare(const QVariant &v) const | - |
2212 | { | - |
2213 | | - |
2214 | if (qIsNumericType(d.type)TRUE | evaluated 1754 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 198 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
&& qIsNumericType(v.d.type)TRUE | evaluated 1745 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 9-1754 |
2215 | returnexecuted 1745 times by 2 tests: return numericCompare(&d, &v.d); Executed by:- tst_QMetaType
- tst_QVariant
numericCompare(&d, &v.d);executed 1745 times by 2 tests: return numericCompare(&d, &v.d); Executed by:- tst_QMetaType
- tst_QVariant
| 1745 |
2216 | | - |
2217 | | - |
2218 | if (cmp(v)TRUE | evaluated 37 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 170 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 37-170 |
2219 | returnexecuted 37 times by 2 tests: return 0; Executed by:- tst_QMetaType
- tst_QVariant
0;executed 37 times by 2 tests: return 0; Executed by:- tst_QMetaType
- tst_QVariant
| 37 |
2220 | | - |
2221 | QVariant v1 = *this; | - |
2222 | QVariant v2 = v; | - |
2223 | | - |
2224 | if (v1.d.type != v2.d.typeTRUE | evaluated 12 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 158 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 12-158 |
2225 | | - |
2226 | if (v2.canConvert(v1.d.type)TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 7 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 5-7 |
2227 | QVariant temp = v2; | - |
2228 | if (temp.convert(v1.d.type)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) | 2-3 |
2229 | v2 = temp;executed 2 times by 1 test: v2 = temp; | 2 |
2230 | }executed 5 times by 2 tests: end of block Executed by:- tst_QMetaType
- tst_QVariant
| 5 |
2231 | if (v1.d.type != v2.d.typeTRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 2 times by 1 test |
&& v1.canConvert(v2.d.type)TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 2-10 |
2232 | QVariant temp = v1; | - |
2233 | if (temp.convert(v2.d.type)TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | never evaluated |
) | 0-5 |
2234 | v1 = temp;executed 5 times by 2 tests: v1 = temp; Executed by:- tst_QMetaType
- tst_QVariant
| 5 |
2235 | }executed 5 times by 2 tests: end of block Executed by:- tst_QMetaType
- tst_QVariant
| 5 |
2236 | if (v1.d.type != v2.d.typeTRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 7 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 5-7 |
2237 | | - |
2238 | int r = v1.toString().compare(v2.toString(), Qt::CaseInsensitive); | - |
2239 | if (r == 0TRUE | evaluated 2 times by 1 test | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 2-3 |
2240 | | - |
2241 | returnexecuted 2 times by 1 test: return (v1.d.type < v2.d.type) ? -1 : 1; (v1.d.type < v2.d.type) ? -1 : 1;executed 2 times by 1 test: return (v1.d.type < v2.d.type) ? -1 : 1; | 2 |
2242 | } | - |
2243 | returnexecuted 3 times by 2 tests: return r; Executed by:- tst_QMetaType
- tst_QVariant
r;executed 3 times by 2 tests: return r; Executed by:- tst_QMetaType
- tst_QVariant
| 3 |
2244 | } | - |
2245 | | - |
2246 | | - |
2247 | if (qIsNumericType(v1.d.type)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
&& qIsNumericType(v2.d.type)TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) | 0-6 |
2248 | returnexecuted 1 time by 1 test: return v1.compare(v2); v1.compare(v2);executed 1 time by 1 test: return v1.compare(v2); | 1 |
2249 | }executed 6 times by 2 tests: end of block Executed by:- tst_QMetaType
- tst_QVariant
| 6 |
2250 | if (v1.d.type >= QMetaType::UserTRUE | evaluated 7 times by 1 test | FALSE | evaluated 157 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 7-157 |
2251 | int result; | - |
2252 | if (QMetaType::compare(::constData(d), ::constData(v2.d), d.type, &result)TRUE | evaluated 5 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2-5 |
2253 | returnexecuted 5 times by 1 test: return result; result;executed 5 times by 1 test: return result; | 5 |
2254 | }executed 2 times by 1 test: end of block | 2 |
2255 | switch (v1.d.type) { | - |
2256 | caseexecuted 16 times by 2 tests: case QVariant::Date: Executed by:- tst_QMetaType
- tst_QVariant
QVariant::Date:executed 16 times by 2 tests: case QVariant::Date: Executed by:- tst_QMetaType
- tst_QVariant
| 16 |
2257 | returnexecuted 16 times by 2 tests: return v1.toDate() < v2.toDate() ? -1 : 1; Executed by:- tst_QMetaType
- tst_QVariant
v1.toDate() < v2.toDate() ? -1 : 1;executed 16 times by 2 tests: return v1.toDate() < v2.toDate() ? -1 : 1; Executed by:- tst_QMetaType
- tst_QVariant
| 16 |
2258 | caseexecuted 15 times by 2 tests: case QVariant::Time: Executed by:- tst_QMetaType
- tst_QVariant
QVariant::Time:executed 15 times by 2 tests: case QVariant::Time: Executed by:- tst_QMetaType
- tst_QVariant
| 15 |
2259 | returnexecuted 15 times by 2 tests: return v1.toTime() < v2.toTime() ? -1 : 1; Executed by:- tst_QMetaType
- tst_QVariant
v1.toTime() < v2.toTime() ? -1 : 1;executed 15 times by 2 tests: return v1.toTime() < v2.toTime() ? -1 : 1; Executed by:- tst_QMetaType
- tst_QVariant
| 15 |
2260 | caseexecuted 8 times by 1 test: case QVariant::DateTime: QVariant::DateTime:executed 8 times by 1 test: case QVariant::DateTime: | 8 |
2261 | returnexecuted 8 times by 1 test: return v1.toDateTime() < v2.toDateTime() ? -1 : 1; v1.toDateTime() < v2.toDateTime() ? -1 : 1;executed 8 times by 1 test: return v1.toDateTime() < v2.toDateTime() ? -1 : 1; | 8 |
2262 | caseexecuted 56 times by 1 test: case QVariant::StringList: QVariant::StringList:executed 56 times by 1 test: case QVariant::StringList: | 56 |
2263 | returnexecuted 56 times by 1 test: return v1.toStringList() < v2.toStringList() ? -1 : 1; v1.toStringList() < v2.toStringList() ? -1 : 1;executed 56 times by 1 test: return v1.toStringList() < v2.toStringList() ? -1 : 1; | 56 |
2264 | } | - |
2265 | int r = v1.toString().compare(v2.toString(), Qt::CaseInsensitive); | - |
2266 | if (r == 0TRUE | evaluated 2 times by 1 test | FALSE | evaluated 62 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
|
) { | 2-62 |
2267 | | - |
2268 | returnexecuted 2 times by 1 test: return (d.type < v.d.type) ? -1 : 1; (d.type < v.d.type) ? -1 : 1;executed 2 times by 1 test: return (d.type < v.d.type) ? -1 : 1; | 2 |
2269 | } | - |
2270 | returnexecuted 62 times by 2 tests: return r; Executed by:- tst_QMetaType
- tst_QVariant
r;executed 62 times by 2 tests: return r; Executed by:- tst_QMetaType
- tst_QVariant
| 62 |
2271 | } | - |
2272 | | - |
2273 | | - |
2274 | | - |
2275 | | - |
2276 | | - |
2277 | const void *QVariant::constData() const | - |
2278 | { | - |
2279 | returnexecuted 5078917 times by 405 tests: return d.is_shared ? d.data.shared->ptr : reinterpret_cast<const void *>(&d.data.ptr); Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
d.is_shared ? d.data.shared->ptr : reinterpret_cast<const void *>(&d.data.ptr);executed 5078917 times by 405 tests: return d.is_shared ? d.data.shared->ptr : reinterpret_cast<const void *>(&d.data.ptr); Executed by:- tst_Compiler
- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| 5078917 |
2280 | } | - |
2281 | void* QVariant::data() | - |
2282 | { | - |
2283 | detach(); | - |
2284 | returnexecuted 42073 times by 164 tests: return const_cast<void *>(constData()); Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- ...
const_cast<void *>(constData());executed 42073 times by 164 tests: return const_cast<void *>(constData()); Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- ...
| 42073 |
2285 | } | - |
2286 | bool QVariant::isNull() const | - |
2287 | { | - |
2288 | returnexecuted 420507 times by 136 tests: return handlerManager[d.type]->isNull(&d); Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirModel
- ...
handlerManager[d.type]->isNull(&d);executed 420507 times by 136 tests: return handlerManager[d.type]->isNull(&d); Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDirModel
- ...
| 420507 |
2289 | } | - |
2290 | | - |
2291 | | - |
2292 | QDebug operator<<(QDebug dbg, const QVariant &v) | - |
2293 | { | - |
2294 | QDebugStateSaver saver(dbg); | - |
2295 | const uint typeId = v.d.type; | - |
2296 | dbg.nospace() << "QVariant("; | - |
2297 | if (typeId != QMetaType::UnknownTypeTRUE | evaluated 81 times by 5 testsEvaluated by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| FALSE | evaluated 2 times by 1 test |
) { | 2-81 |
2298 | dbg << QMetaType::typeName(typeId) << ", "; | - |
2299 | bool userStream = false; | - |
2300 | bool canConvertToString = false; | - |
2301 | if (typeId >= QMetaType::UserTRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 75 times by 4 testsEvaluated by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
|
) { | 6-75 |
2302 | userStream = QMetaType::debugStream(dbg, constData(v.d), typeId); | - |
2303 | canConvertToString = v.canConvert<QString>(); | - |
2304 | }executed 6 times by 2 tests: end of block Executed by:- tst_QMetaType
- tst_QVariant
| 6 |
2305 | if (!userStreamTRUE | evaluated 80 times by 5 testsEvaluated by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| FALSE | evaluated 1 time by 1 test |
&& canConvertToStringTRUE | evaluated 1 time by 1 test | FALSE | evaluated 79 times by 5 testsEvaluated by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
|
) | 1-80 |
2306 | dbg << v.toString();executed 1 time by 1 test: dbg << v.toString(); | 1 |
2307 | else if (!userStreamTRUE | evaluated 79 times by 5 testsEvaluated by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| FALSE | evaluated 1 time by 1 test |
) | 1-79 |
2308 | handlerManager[typeId]->debugStream(dbg, v);executed 79 times by 5 tests: handlerManager[typeId]->debugStream(dbg, v); Executed by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 79 |
2309 | }executed 81 times by 5 tests: end of block Executed by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
else { | 81 |
2310 | dbg << "Invalid"; | - |
2311 | }executed 2 times by 1 test: end of block | 2 |
2312 | dbg << ')'; | - |
2313 | returnexecuted 83 times by 5 tests: return dbg; Executed by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
dbg;executed 83 times by 5 tests: return dbg; Executed by:- tst_QDBusInterface
- tst_QGuiVariant
- tst_QMetaType
- tst_QVariant
- tst_QWidgetsVariant
| 83 |
2314 | } | - |
2315 | | - |
2316 | QDebug operator<<(QDebug dbg, const QVariant::Type p) | - |
2317 | { | - |
2318 | QDebugStateSaver saver(dbg); | - |
2319 | dbg.nospace() << "QVariant::" | - |
2320 | << (int(p) != int(QMetaType::UnknownType) | - |
2321 | ? QMetaType::typeName(p) | - |
2322 | : "Invalid"); | - |
2323 | returnexecuted 54 times by 1 test: return dbg; dbg;executed 54 times by 1 test: return dbg; | 54 |
2324 | } | - |
2325 | QSequentialIterable::QSequentialIterable(QtMetaTypePrivate::QSequentialIterableImpl impl) | - |
2326 | | - |
2327 | | - |
2328 | | - |
2329 | : m_impl(impl) | - |
2330 | { | - |
2331 | }executed 50 times by 1 test: end of block | 50 |
2332 | | - |
2333 | QSequentialIterable::const_iterator::const_iterator(const QSequentialIterable &iter, QAtomicInt *ref_) | - |
2334 | : m_impl(iter.m_impl), ref(ref_) | - |
2335 | { | - |
2336 | ref->ref(); | - |
2337 | }executed 149 times by 1 test: end of block | 149 |
2338 | | - |
2339 | QSequentialIterable::const_iterator::const_iterator(const QtMetaTypePrivate::QSequentialIterableImpl &impl, QAtomicInt *ref_) | - |
2340 | : m_impl(impl), ref(ref_) | - |
2341 | { | - |
2342 | ref->ref(); | - |
2343 | }executed 4 times by 1 test: end of block | 4 |
2344 | | - |
2345 | void QSequentialIterable::const_iterator::begin() | - |
2346 | { | - |
2347 | m_impl.moveToBegin(); | - |
2348 | }executed 75 times by 1 test: end of block | 75 |
2349 | | - |
2350 | void QSequentialIterable::const_iterator::end() | - |
2351 | { | - |
2352 | m_impl.moveToEnd(); | - |
2353 | }executed 74 times by 1 test: end of block | 74 |
2354 | QSequentialIterable::const_iterator QSequentialIterable::begin() const | - |
2355 | { | - |
2356 | const_iterator it(*this, new QAtomicInt(0)); | - |
2357 | it.begin(); | - |
2358 | returnexecuted 75 times by 1 test: return it; it;executed 75 times by 1 test: return it; | 75 |
2359 | } | - |
2360 | | - |
2361 | | - |
2362 | | - |
2363 | | - |
2364 | | - |
2365 | | - |
2366 | | - |
2367 | QSequentialIterable::const_iterator QSequentialIterable::end() const | - |
2368 | { | - |
2369 | const_iterator it(*this, new QAtomicInt(0)); | - |
2370 | it.end(); | - |
2371 | returnexecuted 74 times by 1 test: return it; it;executed 74 times by 1 test: return it; | 74 |
2372 | } | - |
2373 | | - |
2374 | | - |
2375 | | - |
2376 | | - |
2377 | QVariant QSequentialIterable::at(int idx) const | - |
2378 | { | - |
2379 | const QtMetaTypePrivate::VariantData d = m_impl.at(idx); | - |
2380 | if (d.metaTypeId == qMetaTypeId<QVariant>()TRUE | evaluated 42 times by 1 test | FALSE | evaluated 102 times by 1 test |
) | 42-102 |
2381 | returnexecuted 42 times by 1 test: return *reinterpret_cast<const QVariant*>(d.data); *reinterpret_cast<const QVariant*>(d.data);executed 42 times by 1 test: return *reinterpret_cast<const QVariant*>(d.data); | 42 |
2382 | returnexecuted 102 times by 1 test: return QVariant(d.metaTypeId, d.data, d.flags); QVariant(d.metaTypeId, d.data, d.flags);executed 102 times by 1 test: return QVariant(d.metaTypeId, d.data, d.flags); | 102 |
2383 | } | - |
2384 | | - |
2385 | | - |
2386 | | - |
2387 | | - |
2388 | int QSequentialIterable::size() const | - |
2389 | { | - |
2390 | returnexecuted 145 times by 1 test: return m_impl.size(); m_impl.size();executed 145 times by 1 test: return m_impl.size(); | 145 |
2391 | } | - |
2392 | | - |
2393 | | - |
2394 | | - |
2395 | | - |
2396 | | - |
2397 | | - |
2398 | bool QSequentialIterable::canReverseIterate() const | - |
2399 | { | - |
2400 | return never executed: return m_impl._iteratorCapabilities & QtMetaTypePrivate::BiDirectionalCapability; m_impl._iteratorCapabilities & QtMetaTypePrivate::BiDirectionalCapability;never executed: return m_impl._iteratorCapabilities & QtMetaTypePrivate::BiDirectionalCapability; | 0 |
2401 | } | - |
2402 | QSequentialIterable::const_iterator::~const_iterator() { | - |
2403 | if (!ref->deref()TRUE | evaluated 152 times by 1 test | FALSE | evaluated 1 time by 1 test |
) { | 1-152 |
2404 | m_impl.destroyIter(); | - |
2405 | delete ref; | - |
2406 | }executed 152 times by 1 test: end of block | 152 |
2407 | }executed 153 times by 1 test: end of block | 153 |
2408 | | - |
2409 | | - |
2410 | | - |
2411 | | - |
2412 | QSequentialIterable::const_iterator::const_iterator(const const_iterator &other) | - |
2413 | : m_impl(other.m_impl), ref(other.ref) | - |
2414 | { | - |
2415 | ref->ref(); | - |
2416 | } never executed: end of block | 0 |
2417 | | - |
2418 | | - |
2419 | | - |
2420 | | - |
2421 | QSequentialIterable::const_iterator& | - |
2422 | QSequentialIterable::const_iterator::operator=(const const_iterator &other) | - |
2423 | { | - |
2424 | other.ref->ref(); | - |
2425 | if (!ref->deref()TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) { | 0-1 |
2426 | m_impl.destroyIter(); | - |
2427 | delete ref; | - |
2428 | }executed 1 time by 1 test: end of block | 1 |
2429 | m_impl = other.m_impl; | - |
2430 | ref = other.ref; | - |
2431 | returnexecuted 1 time by 1 test: return *this; *this;executed 1 time by 1 test: return *this; | 1 |
2432 | } | - |
2433 | | - |
2434 | | - |
2435 | | - |
2436 | | - |
2437 | const QVariant QSequentialIterable::const_iterator::operator*() const | - |
2438 | { | - |
2439 | const QtMetaTypePrivate::VariantData d = m_impl.getCurrent(); | - |
2440 | if (d.metaTypeId == qMetaTypeId<QVariant>()TRUE | evaluated 67 times by 1 test | FALSE | evaluated 155 times by 1 test |
) | 67-155 |
2441 | returnexecuted 67 times by 1 test: return *reinterpret_cast<const QVariant*>(d.data); *reinterpret_cast<const QVariant*>(d.data);executed 67 times by 1 test: return *reinterpret_cast<const QVariant*>(d.data); | 67 |
2442 | returnexecuted 155 times by 1 test: return QVariant(d.metaTypeId, d.data, d.flags); QVariant(d.metaTypeId, d.data, d.flags);executed 155 times by 1 test: return QVariant(d.metaTypeId, d.data, d.flags); | 155 |
2443 | } | - |
2444 | | - |
2445 | | - |
2446 | | - |
2447 | | - |
2448 | | - |
2449 | | - |
2450 | | - |
2451 | bool QSequentialIterable::const_iterator::operator==(const const_iterator &other) const | - |
2452 | { | - |
2453 | return never executed: return m_impl.equal(other.m_impl); m_impl.equal(other.m_impl);never executed: return m_impl.equal(other.m_impl); | 0 |
2454 | } | - |
2455 | | - |
2456 | | - |
2457 | | - |
2458 | | - |
2459 | | - |
2460 | | - |
2461 | | - |
2462 | bool QSequentialIterable::const_iterator::operator!=(const const_iterator &other) const | - |
2463 | { | - |
2464 | returnexecuted 292 times by 1 test: return !m_impl.equal(other.m_impl); !m_impl.equal(other.m_impl);executed 292 times by 1 test: return !m_impl.equal(other.m_impl); | 292 |
2465 | } | - |
2466 | QSequentialIterable::const_iterator &QSequentialIterable::const_iterator::operator++() | - |
2467 | { | - |
2468 | m_impl.advance(1); | - |
2469 | returnexecuted 218 times by 1 test: return *this; *this;executed 218 times by 1 test: return *this; | 218 |
2470 | } | - |
2471 | QSequentialIterable::const_iterator QSequentialIterable::const_iterator::operator++(int) | - |
2472 | { | - |
2473 | QtMetaTypePrivate::QSequentialIterableImpl impl; | - |
2474 | impl.copy(m_impl); | - |
2475 | m_impl.advance(1); | - |
2476 | returnexecuted 3 times by 1 test: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));executed 3 times by 1 test: return const_iterator(impl, new QAtomicInt(0)); | 3 |
2477 | } | - |
2478 | QSequentialIterable::const_iterator &QSequentialIterable::const_iterator::operator--() | - |
2479 | { | - |
2480 | m_impl.advance(-1); | - |
2481 | return never executed: return *this; *this;never executed: return *this; | 0 |
2482 | } | - |
2483 | QSequentialIterable::const_iterator QSequentialIterable::const_iterator::operator--(int) | - |
2484 | { | - |
2485 | QtMetaTypePrivate::QSequentialIterableImpl impl; | - |
2486 | impl.copy(m_impl); | - |
2487 | m_impl.advance(-1); | - |
2488 | return never executed: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));never executed: return const_iterator(impl, new QAtomicInt(0)); | 0 |
2489 | } | - |
2490 | | - |
2491 | | - |
2492 | | - |
2493 | | - |
2494 | | - |
2495 | | - |
2496 | QSequentialIterable::const_iterator &QSequentialIterable::const_iterator::operator+=(int j) | - |
2497 | { | - |
2498 | m_impl.advance(j); | - |
2499 | return never executed: return *this; *this;never executed: return *this; | 0 |
2500 | } | - |
2501 | QSequentialIterable::const_iterator &QSequentialIterable::const_iterator::operator-=(int j) | - |
2502 | { | - |
2503 | m_impl.advance(-j); | - |
2504 | return never executed: return *this; *this;never executed: return *this; | 0 |
2505 | } | - |
2506 | | - |
2507 | | - |
2508 | | - |
2509 | | - |
2510 | | - |
2511 | | - |
2512 | | - |
2513 | QSequentialIterable::const_iterator QSequentialIterable::const_iterator::operator+(int j) const | - |
2514 | { | - |
2515 | QtMetaTypePrivate::QSequentialIterableImpl impl; | - |
2516 | impl.copy(m_impl); | - |
2517 | impl.advance(j); | - |
2518 | returnexecuted 1 time by 1 test: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));executed 1 time by 1 test: return const_iterator(impl, new QAtomicInt(0)); | 1 |
2519 | } | - |
2520 | QSequentialIterable::const_iterator QSequentialIterable::const_iterator::operator-(int j) const | - |
2521 | { | - |
2522 | QtMetaTypePrivate::QSequentialIterableImpl impl; | - |
2523 | impl.copy(m_impl); | - |
2524 | impl.advance(-j); | - |
2525 | return never executed: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));never executed: return const_iterator(impl, new QAtomicInt(0)); | 0 |
2526 | } | - |
2527 | QAssociativeIterable::QAssociativeIterable(QtMetaTypePrivate::QAssociativeIterableImpl impl) | - |
2528 | | - |
2529 | | - |
2530 | | - |
2531 | : m_impl(impl) | - |
2532 | { | - |
2533 | }executed 23 times by 1 test: end of block | 23 |
2534 | | - |
2535 | QAssociativeIterable::const_iterator::const_iterator(const QAssociativeIterable &iter, QAtomicInt *ref_) | - |
2536 | : m_impl(iter.m_impl), ref(ref_) | - |
2537 | { | - |
2538 | ref->ref(); | - |
2539 | }executed 71 times by 1 test: end of block | 71 |
2540 | | - |
2541 | QAssociativeIterable::const_iterator::const_iterator(const QtMetaTypePrivate::QAssociativeIterableImpl &impl, QAtomicInt *ref_) | - |
2542 | : m_impl(impl), ref(ref_) | - |
2543 | { | - |
2544 | ref->ref(); | - |
2545 | }executed 4 times by 1 test: end of block | 4 |
2546 | | - |
2547 | void QAssociativeIterable::const_iterator::begin() | - |
2548 | { | - |
2549 | m_impl.begin(); | - |
2550 | }executed 21 times by 1 test: end of block | 21 |
2551 | | - |
2552 | void QAssociativeIterable::const_iterator::end() | - |
2553 | { | - |
2554 | m_impl.end(); | - |
2555 | }executed 35 times by 1 test: end of block | 35 |
2556 | | - |
2557 | void QAssociativeIterable::const_iterator::find(const QVariant &key) | - |
2558 | { | - |
2559 | ((!(key.userType() == m_impl._metaType_id_key)) ? qt_assert("key.userType() == m_impl._metaType_id_key",__FILE__,4205) : qt_noop()); | - |
2560 | const QtMetaTypePrivate::VariantData dkey(key.userType(), key.constData(), 0 ); | - |
2561 | m_impl.find(dkey); | - |
2562 | }executed 15 times by 1 test: end of block | 15 |
2563 | | - |
2564 | | - |
2565 | | - |
2566 | | - |
2567 | | - |
2568 | | - |
2569 | | - |
2570 | QAssociativeIterable::const_iterator QAssociativeIterable::begin() const | - |
2571 | { | - |
2572 | const_iterator it(*this, new QAtomicInt(0)); | - |
2573 | it.begin(); | - |
2574 | returnexecuted 21 times by 1 test: return it; it;executed 21 times by 1 test: return it; | 21 |
2575 | } | - |
2576 | | - |
2577 | | - |
2578 | | - |
2579 | | - |
2580 | | - |
2581 | | - |
2582 | | - |
2583 | QAssociativeIterable::const_iterator QAssociativeIterable::end() const | - |
2584 | { | - |
2585 | const_iterator it(*this, new QAtomicInt(0)); | - |
2586 | it.end(); | - |
2587 | returnexecuted 35 times by 1 test: return it; it;executed 35 times by 1 test: return it; | 35 |
2588 | } | - |
2589 | QAssociativeIterable::const_iterator QAssociativeIterable::find(const QVariant &key) const | - |
2590 | { | - |
2591 | const_iterator it(*this, new QAtomicInt(0)); | - |
2592 | QVariant key_ = key; | - |
2593 | if (key_.canConvert(m_impl._metaType_id_key)TRUE | evaluated 15 times by 1 test | FALSE | never evaluated |
&& key_.convert(m_impl._metaType_id_key)TRUE | evaluated 15 times by 1 test | FALSE | never evaluated |
) | 0-15 |
2594 | it.find(key_);executed 15 times by 1 test: it.find(key_); | 15 |
2595 | else | - |
2596 | it.end(); never executed: it.end(); | 0 |
2597 | returnexecuted 15 times by 1 test: return it; it;executed 15 times by 1 test: return it; | 15 |
2598 | } | - |
2599 | | - |
2600 | | - |
2601 | | - |
2602 | | - |
2603 | | - |
2604 | | - |
2605 | QVariant QAssociativeIterable::value(const QVariant &key) const | - |
2606 | { | - |
2607 | const const_iterator it = find(key); | - |
2608 | if (it == end()TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
) | 0-6 |
2609 | return never executed: return QVariant(); QVariant();never executed: return QVariant(); | 0 |
2610 | returnexecuted 6 times by 1 test: return *it; *it;executed 6 times by 1 test: return *it; | 6 |
2611 | } | - |
2612 | | - |
2613 | | - |
2614 | | - |
2615 | | - |
2616 | int QAssociativeIterable::size() const | - |
2617 | { | - |
2618 | returnexecuted 6 times by 1 test: return m_impl.size(); m_impl.size();executed 6 times by 1 test: return m_impl.size(); | 6 |
2619 | } | - |
2620 | QAssociativeIterable::const_iterator::~const_iterator() | - |
2621 | { | - |
2622 | if (!ref->deref()TRUE | evaluated 74 times by 1 test | FALSE | evaluated 1 time by 1 test |
) { | 1-74 |
2623 | m_impl.destroyIter(); | - |
2624 | delete ref; | - |
2625 | }executed 74 times by 1 test: end of block | 74 |
2626 | }executed 75 times by 1 test: end of block | 75 |
2627 | | - |
2628 | | - |
2629 | | - |
2630 | | - |
2631 | QAssociativeIterable::const_iterator::const_iterator(const const_iterator &other) | - |
2632 | : m_impl(other.m_impl), ref(other.ref) | - |
2633 | { | - |
2634 | ref->ref(); | - |
2635 | } never executed: end of block | 0 |
2636 | | - |
2637 | | - |
2638 | | - |
2639 | | - |
2640 | QAssociativeIterable::const_iterator& | - |
2641 | QAssociativeIterable::const_iterator::operator=(const const_iterator &other) | - |
2642 | { | - |
2643 | other.ref->ref(); | - |
2644 | if (!ref->deref()TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) { | 0-1 |
2645 | m_impl.destroyIter(); | - |
2646 | delete ref; | - |
2647 | }executed 1 time by 1 test: end of block | 1 |
2648 | m_impl = other.m_impl; | - |
2649 | ref = other.ref; | - |
2650 | returnexecuted 1 time by 1 test: return *this; *this;executed 1 time by 1 test: return *this; | 1 |
2651 | } | - |
2652 | | - |
2653 | | - |
2654 | | - |
2655 | | - |
2656 | const QVariant QAssociativeIterable::const_iterator::operator*() const | - |
2657 | { | - |
2658 | const QtMetaTypePrivate::VariantData d = m_impl.getCurrentValue(); | - |
2659 | QVariant v(d.metaTypeId, d.data, d.flags); | - |
2660 | if (d.metaTypeId == qMetaTypeId<QVariant>()TRUE | never evaluated | FALSE | evaluated 13 times by 1 test |
) | 0-13 |
2661 | return never executed: return *reinterpret_cast<const QVariant*>(d.data); *reinterpret_cast<const QVariant*>(d.data);never executed: return *reinterpret_cast<const QVariant*>(d.data); | 0 |
2662 | returnexecuted 13 times by 1 test: return v; v;executed 13 times by 1 test: return v; | 13 |
2663 | } | - |
2664 | | - |
2665 | | - |
2666 | | - |
2667 | | - |
2668 | const QVariant QAssociativeIterable::const_iterator::key() const | - |
2669 | { | - |
2670 | const QtMetaTypePrivate::VariantData d = m_impl.getCurrentKey(); | - |
2671 | QVariant v(d.metaTypeId, d.data, d.flags); | - |
2672 | if (d.metaTypeId == qMetaTypeId<QVariant>()TRUE | never evaluated | FALSE | evaluated 31 times by 1 test |
) | 0-31 |
2673 | return never executed: return *reinterpret_cast<const QVariant*>(d.data); *reinterpret_cast<const QVariant*>(d.data);never executed: return *reinterpret_cast<const QVariant*>(d.data); | 0 |
2674 | returnexecuted 31 times by 1 test: return v; v;executed 31 times by 1 test: return v; | 31 |
2675 | } | - |
2676 | | - |
2677 | | - |
2678 | | - |
2679 | | - |
2680 | const QVariant QAssociativeIterable::const_iterator::value() const | - |
2681 | { | - |
2682 | const QtMetaTypePrivate::VariantData d = m_impl.getCurrentValue(); | - |
2683 | QVariant v(d.metaTypeId, d.data, d.flags); | - |
2684 | if (d.metaTypeId == qMetaTypeId<QVariant>()TRUE | evaluated 6 times by 1 test | FALSE | evaluated 30 times by 1 test |
) | 6-30 |
2685 | returnexecuted 6 times by 1 test: return *reinterpret_cast<const QVariant*>(d.data); *reinterpret_cast<const QVariant*>(d.data);executed 6 times by 1 test: return *reinterpret_cast<const QVariant*>(d.data); | 6 |
2686 | returnexecuted 30 times by 1 test: return v; v;executed 30 times by 1 test: return v; | 30 |
2687 | } | - |
2688 | | - |
2689 | | - |
2690 | | - |
2691 | | - |
2692 | | - |
2693 | | - |
2694 | | - |
2695 | bool QAssociativeIterable::const_iterator::operator==(const const_iterator &other) const | - |
2696 | { | - |
2697 | returnexecuted 9 times by 1 test: return m_impl.equal(other.m_impl); m_impl.equal(other.m_impl);executed 9 times by 1 test: return m_impl.equal(other.m_impl); | 9 |
2698 | } | - |
2699 | | - |
2700 | | - |
2701 | | - |
2702 | | - |
2703 | | - |
2704 | | - |
2705 | | - |
2706 | bool QAssociativeIterable::const_iterator::operator!=(const const_iterator &other) const | - |
2707 | { | - |
2708 | returnexecuted 60 times by 1 test: return !m_impl.equal(other.m_impl); !m_impl.equal(other.m_impl);executed 60 times by 1 test: return !m_impl.equal(other.m_impl); | 60 |
2709 | } | - |
2710 | QAssociativeIterable::const_iterator &QAssociativeIterable::const_iterator::operator++() | - |
2711 | { | - |
2712 | m_impl.advance(1); | - |
2713 | returnexecuted 34 times by 1 test: return *this; *this;executed 34 times by 1 test: return *this; | 34 |
2714 | } | - |
2715 | QAssociativeIterable::const_iterator QAssociativeIterable::const_iterator::operator++(int) | - |
2716 | { | - |
2717 | QtMetaTypePrivate::QAssociativeIterableImpl impl; | - |
2718 | impl.copy(m_impl); | - |
2719 | m_impl.advance(1); | - |
2720 | returnexecuted 3 times by 1 test: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));executed 3 times by 1 test: return const_iterator(impl, new QAtomicInt(0)); | 3 |
2721 | } | - |
2722 | QAssociativeIterable::const_iterator &QAssociativeIterable::const_iterator::operator--() | - |
2723 | { | - |
2724 | m_impl.advance(-1); | - |
2725 | return never executed: return *this; *this;never executed: return *this; | 0 |
2726 | } | - |
2727 | | - |
2728 | | - |
2729 | | - |
2730 | | - |
2731 | | - |
2732 | | - |
2733 | | - |
2734 | QAssociativeIterable::const_iterator QAssociativeIterable::const_iterator::operator--(int) | - |
2735 | { | - |
2736 | QtMetaTypePrivate::QAssociativeIterableImpl impl; | - |
2737 | impl.copy(m_impl); | - |
2738 | m_impl.advance(-1); | - |
2739 | return never executed: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));never executed: return const_iterator(impl, new QAtomicInt(0)); | 0 |
2740 | } | - |
2741 | | - |
2742 | | - |
2743 | | - |
2744 | | - |
2745 | | - |
2746 | | - |
2747 | QAssociativeIterable::const_iterator &QAssociativeIterable::const_iterator::operator+=(int j) | - |
2748 | { | - |
2749 | m_impl.advance(j); | - |
2750 | return never executed: return *this; *this;never executed: return *this; | 0 |
2751 | } | - |
2752 | | - |
2753 | | - |
2754 | | - |
2755 | | - |
2756 | | - |
2757 | | - |
2758 | QAssociativeIterable::const_iterator &QAssociativeIterable::const_iterator::operator-=(int j) | - |
2759 | { | - |
2760 | m_impl.advance(-j); | - |
2761 | return never executed: return *this; *this;never executed: return *this; | 0 |
2762 | } | - |
2763 | | - |
2764 | | - |
2765 | | - |
2766 | | - |
2767 | | - |
2768 | | - |
2769 | | - |
2770 | QAssociativeIterable::const_iterator QAssociativeIterable::const_iterator::operator+(int j) const | - |
2771 | { | - |
2772 | QtMetaTypePrivate::QAssociativeIterableImpl impl; | - |
2773 | impl.copy(m_impl); | - |
2774 | impl.advance(j); | - |
2775 | returnexecuted 1 time by 1 test: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));executed 1 time by 1 test: return const_iterator(impl, new QAtomicInt(0)); | 1 |
2776 | } | - |
2777 | | - |
2778 | | - |
2779 | | - |
2780 | | - |
2781 | | - |
2782 | | - |
2783 | | - |
2784 | QAssociativeIterable::const_iterator QAssociativeIterable::const_iterator::operator-(int j) const | - |
2785 | { | - |
2786 | QtMetaTypePrivate::QAssociativeIterableImpl impl; | - |
2787 | impl.copy(m_impl); | - |
2788 | impl.advance(-j); | - |
2789 | return never executed: return const_iterator(impl, new QAtomicInt(0)); const_iterator(impl, new QAtomicInt(0));never executed: return const_iterator(impl, new QAtomicInt(0)); | 0 |
2790 | } | - |
2791 | | - |
2792 | | - |
| | |