Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | #if !defined(QWS) && defined(Q_OS_MAC) | - |
35 | # include "private/qcore_mac_p.h" | - |
36 | # include <CoreFoundation/CoreFoundation.h> | - |
37 | #endif | - |
38 | | - |
39 | #include "qglobal.h" | - |
40 | | - |
41 | #include "qplatformdefs.h" | - |
42 | | - |
43 | #include "qdatastream.h" | - |
44 | #include "qdebug.h" | - |
45 | #include "qhashfunctions.h" | - |
46 | #include "qstring.h" | - |
47 | #include "qlocale.h" | - |
48 | #include "qlocale_p.h" | - |
49 | #include "qlocale_tools_p.h" | - |
50 | #include "qdatetime_p.h" | - |
51 | #include "qdatetimeparser_p.h" | - |
52 | #include "qnamespace.h" | - |
53 | #include "qdatetime.h" | - |
54 | #include "qstringlist.h" | - |
55 | #include "qvariant.h" | - |
56 | #include "qstringbuilder.h" | - |
57 | #include "private/qnumeric_p.h" | - |
58 | #include "private/qsystemlibrary_p.h" | - |
59 | #ifdef Q_OS_WIN | - |
60 | # include <qt_windows.h> | - |
61 | # include <time.h> | - |
62 | #endif | - |
63 | | - |
64 | QT_BEGIN_NAMESPACE | - |
65 | | - |
66 | #ifndef QT_NO_SYSTEMLOCALE | - |
67 | static QSystemLocale *_systemLocale = 0; | - |
68 | class QSystemLocaleSingleton: public QSystemLocale | - |
69 | { | - |
70 | public: | - |
71 | QSystemLocaleSingleton() : QSystemLocale(true) {}executed 779 times by 11 tests: end of block Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 779 |
72 | }; | - |
73 | | - |
74 | Q_GLOBAL_STATIC(QSystemLocaleSingleton, QSystemLocale_globalSystemLocale)executed 1244 times by 541 tests: end of block Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
executed 1244 times by 541 tests: guard.store(QtGlobalStatic::Destroyed); Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
executed 19015 times by 29 tests: return &holder.value; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTime
- tst_languageChange
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qmakelib
- tst_qobject - unknown status
- ...
TRUE | evaluated 1244 times by 541 testsEvaluated by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| FALSE | never evaluated |
| 0-19015 |
75 | static QLocaleData *system_data = 0; | - |
76 | Q_GLOBAL_STATIC(QLocaleData, globalLocaleData)executed 1244 times by 541 tests: end of block Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
executed 1244 times by 541 tests: guard.store(QtGlobalStatic::Destroyed); Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
executed 779 times by 11 tests: return &holder.value; Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
TRUE | evaluated 1244 times by 541 testsEvaluated by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| FALSE | never evaluated |
| 0-1244 |
77 | #endif | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | QT_BEGIN_INCLUDE_NAMESPACE | - |
84 | #include "qlocale_data_p.h" | - |
85 | QT_END_INCLUDE_NAMESPACE | - |
86 | | - |
87 | QLocale::Language QLocalePrivate::codeToLanguage(const QString &code) | - |
88 | { | - |
89 | int len = code.length(); | - |
90 | if (len != 2 && len != 3)TRUE | never evaluated | FALSE | evaluated 1291 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-1291 |
91 | return QLocale::C; never executed: return QLocale::C; | 0 |
92 | ushort uc1 = code[0].toLower().unicode(); | - |
93 | ushort uc2 = code[1].toLower().unicode(); | - |
94 | ushort uc3 = len > 2 ? code[2].toLower().unicode() : 0;TRUE | never evaluated | FALSE | evaluated 1291 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
| 0-1291 |
95 | | - |
96 | const unsigned char *c = language_code_list; | - |
97 | for (; *c != 0; c += 3) {TRUE | evaluated 46203 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | evaluated 7 times by 2 testsEvaluated by:- tst_QCollator
- tst_QDateTimeEdit
|
| 7-46203 |
98 | if (uc1 == c[0] && uc2 == c[1] && uc3 == c[2])TRUE | evaluated 3033 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | evaluated 43170 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
TRUE | evaluated 1298 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | evaluated 1735 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
TRUE | evaluated 1284 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_QCollator
- tst_QDateTimeEdit
|
| 14-43170 |
99 | return QLocale::Language((c - language_code_list)/3);executed 1284 times by 24 tests: return QLocale::Language((c - language_code_list)/3); Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| 1284 |
100 | }executed 44919 times by 24 tests: end of block Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| 44919 |
101 | | - |
102 | | - |
103 | if (uc1 == 'n' && uc2 == 'o' && uc3 == 0) { TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QCollator
- tst_QDateTimeEdit
| FALSE | never evaluated |
TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QCollator
- tst_QDateTimeEdit
| FALSE | never evaluated |
TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QCollator
- tst_QDateTimeEdit
| FALSE | never evaluated |
| 0-7 |
104 | Q_STATIC_ASSERT(QLocale::Norwegian == QLocale::NorwegianBokmal); | - |
105 | return QLocale::Norwegian;executed 7 times by 2 tests: return QLocale::Norwegian; Executed by:- tst_QCollator
- tst_QDateTimeEdit
| 7 |
106 | } | - |
107 | if (uc1 == 't' && uc2 == 'l' && uc3 == 0) { TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
108 | Q_STATIC_ASSERT(QLocale::Tagalog == QLocale::Filipino); | - |
109 | return QLocale::Tagalog; never executed: return QLocale::Tagalog; | 0 |
110 | } | - |
111 | if (uc1 == 's' && uc2 == 'h' && uc3 == 0) { TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
112 | Q_STATIC_ASSERT(QLocale::SerboCroatian == QLocale::Serbian); | - |
113 | return QLocale::SerboCroatian; never executed: return QLocale::SerboCroatian; | 0 |
114 | } | - |
115 | if (uc1 == 'm' && uc2 == 'o' && uc3 == 0) { TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
116 | Q_STATIC_ASSERT(QLocale::Moldavian == QLocale::Romanian); | - |
117 | return QLocale::Moldavian; never executed: return QLocale::Moldavian; | 0 |
118 | } | - |
119 | | - |
120 | if (uc1 == 'i' && uc2 == 'w' && uc3 == 0) TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
121 | return QLocale::Hebrew; never executed: return QLocale::Hebrew; | 0 |
122 | if (uc1 == 'i' && uc2 == 'n' && uc3 == 0) TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
123 | return QLocale::Indonesian; never executed: return QLocale::Indonesian; | 0 |
124 | if (uc1 == 'j' && uc2 == 'i' && uc3 == 0) TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
125 | return QLocale::Yiddish; never executed: return QLocale::Yiddish; | 0 |
126 | | - |
127 | return QLocale::C; never executed: return QLocale::C; | 0 |
128 | } | - |
129 | | - |
130 | QLocale::Script QLocalePrivate::codeToScript(const QString &code) | - |
131 | { | - |
132 | int len = code.length(); | - |
133 | if (len != 4)TRUE | evaluated 1291 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | never evaluated |
| 0-1291 |
134 | return QLocale::AnyScript;executed 1291 times by 24 tests: return QLocale::AnyScript; Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| 1291 |
135 | | - |
136 | | - |
137 | unsigned char c0 = code.at(0).toUpper().toLatin1(); | - |
138 | unsigned char c1 = code.at(1).toLower().toLatin1(); | - |
139 | unsigned char c2 = code.at(2).toLower().toLatin1(); | - |
140 | unsigned char c3 = code.at(3).toLower().toLatin1(); | - |
141 | | - |
142 | const unsigned char *c = script_code_list; | - |
143 | for (int i = 0; i < QLocale::LastScript; ++i, c += 4) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
144 | if (c0 == c[0] && c1 == c[1] && c2 == c[2] && c3 == c[3])TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
145 | return QLocale::Script(i); never executed: return QLocale::Script(i); | 0 |
146 | } never executed: end of block | 0 |
147 | return QLocale::AnyScript; never executed: return QLocale::AnyScript; | 0 |
148 | } | - |
149 | | - |
150 | QLocale::Country QLocalePrivate::codeToCountry(const QString &code) | - |
151 | { | - |
152 | int len = code.length(); | - |
153 | if (len != 2 && len != 3)TRUE | evaluated 76 times by 6 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QString
- tst_rcc
| FALSE | evaluated 1636 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
TRUE | evaluated 76 times by 6 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QString
- tst_rcc
| FALSE | never evaluated |
| 0-1636 |
154 | return QLocale::AnyCountry;executed 76 times by 6 tests: return QLocale::AnyCountry; Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QString
- tst_rcc
| 76 |
155 | ushort uc1 = code[0].toUpper().unicode(); | - |
156 | ushort uc2 = code[1].toUpper().unicode(); | - |
157 | ushort uc3 = len > 2 ? code[2].toUpper().unicode() : 0;TRUE | never evaluated | FALSE | evaluated 1636 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
| 0-1636 |
158 | | - |
159 | const unsigned char *c = country_code_list; | - |
160 | for (; *c != 0; c += 3) {TRUE | evaluated 306631 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | never evaluated |
| 0-306631 |
161 | if (uc1 == c[0] && uc2 == c[1] && uc3 == c[2])TRUE | evaluated 7293 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | evaluated 299338 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
TRUE | evaluated 1636 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | evaluated 5657 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
TRUE | evaluated 1636 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | never evaluated |
| 0-299338 |
162 | return QLocale::Country((c - country_code_list)/3);executed 1636 times by 21 tests: return QLocale::Country((c - country_code_list)/3); Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| 1636 |
163 | }executed 304995 times by 21 tests: end of block Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| 304995 |
164 | | - |
165 | return QLocale::AnyCountry; never executed: return QLocale::AnyCountry; | 0 |
166 | } | - |
167 | | - |
168 | QString QLocalePrivate::languageToCode(QLocale::Language language) | - |
169 | { | - |
170 | if (language == QLocale::AnyLanguage)TRUE | never evaluated | FALSE | evaluated 3328 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTimeZone
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qnetworkreply - unknown status
|
| 0-3328 |
171 | return QString(); never executed: return QString(); | 0 |
172 | if (language == QLocale::C)TRUE | evaluated 35 times by 2 testsEvaluated by:- tst_QMimeDatabase
- tst_QTimeZone
| FALSE | evaluated 3293 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTimeZone
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qnetworkreply - unknown status
|
| 35-3293 |
173 | return QLatin1String("C");executed 35 times by 2 tests: return QLatin1String("C"); Executed by:- tst_QMimeDatabase
- tst_QTimeZone
| 35 |
174 | | - |
175 | const unsigned char *c = language_code_list + 3*(uint(language)); | - |
176 | | - |
177 | QString code(c[2] == 0 ? 2 : 3, Qt::Uninitialized); | - |
178 | | - |
179 | code[0] = ushort(c[0]); | - |
180 | code[1] = ushort(c[1]); | - |
181 | if (c[2] != 0)TRUE | never evaluated | FALSE | evaluated 3293 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTimeZone
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qnetworkreply - unknown status
|
| 0-3293 |
182 | code[2] = ushort(c[2]); never executed: code[2] = ushort(c[2]); | 0 |
183 | | - |
184 | return code;executed 3293 times by 14 tests: return code; Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTimeZone
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qnetworkreply - unknown status
| 3293 |
185 | } | - |
186 | | - |
187 | QString QLocalePrivate::scriptToCode(QLocale::Script script) | - |
188 | { | - |
189 | if (script == QLocale::AnyScript || script > QLocale::LastScript)TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
190 | return QString(); never executed: return QString(); | 0 |
191 | const unsigned char *c = script_code_list + 4*(uint(script)); | - |
192 | return QString::fromLatin1((const char *)c, 4); never executed: return QString::fromLatin1((const char *)c, 4); | 0 |
193 | } | - |
194 | | - |
195 | QString QLocalePrivate::countryToCode(QLocale::Country country) | - |
196 | { | - |
197 | if (country == QLocale::AnyCountry)TRUE | never evaluated | FALSE | evaluated 3293 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTimeZone
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qnetworkreply - unknown status
|
| 0-3293 |
198 | return QString(); never executed: return QString(); | 0 |
199 | | - |
200 | const unsigned char *c = country_code_list + 3*(uint(country)); | - |
201 | | - |
202 | QString code(c[2] == 0 ? 2 : 3, Qt::Uninitialized); | - |
203 | | - |
204 | code[0] = ushort(c[0]); | - |
205 | code[1] = ushort(c[1]); | - |
206 | if (c[2] != 0)TRUE | never evaluated | FALSE | evaluated 3293 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTimeZone
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qnetworkreply - unknown status
|
| 0-3293 |
207 | code[2] = ushort(c[2]); never executed: code[2] = ushort(c[2]); | 0 |
208 | | - |
209 | return code;executed 3293 times by 14 tests: return code; Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTimeZone
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qnetworkreply - unknown status
| 3293 |
210 | } | - |
211 | | - |
212 | | - |
213 | static bool addLikelySubtags(QLocaleId &localeId) | - |
214 | { | - |
215 | | - |
216 | const int likely_subtags_count = sizeof(likely_subtags) / sizeof(likely_subtags[0]); | - |
217 | const QLocaleId *p = likely_subtags; | - |
218 | const QLocaleId *const e = p + likely_subtags_count; | - |
219 | for ( ; p < e; p += 2) {TRUE | evaluated 2430029 times by 43 testsEvaluated by:- tst_ModelTest
- tst_QCalendarWidget
- tst_QCollator
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QIntValidator
- tst_QItemModel
- tst_QListWidget
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTableWidget
- tst_QTextStream
- tst_QTime
- ...
| FALSE | evaluated 3009 times by 38 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QIntValidator
- tst_QItemModel
- tst_QListWidget
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTableWidget
- tst_QTextStream
- tst_QTimeZone
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_QVariant
- ...
|
| 3009-2430029 |
220 | if (localeId == p[0]) {TRUE | evaluated 2054 times by 42 testsEvaluated by:- tst_ModelTest
- tst_QCalendarWidget
- tst_QCollator
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QIntValidator
- tst_QItemModel
- tst_QListWidget
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTableWidget
- tst_QTextStream
- tst_QTime
- ...
| FALSE | evaluated 2427975 times by 43 testsEvaluated by:- tst_ModelTest
- tst_QCalendarWidget
- tst_QCollator
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QIntValidator
- tst_QItemModel
- tst_QListWidget
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTableWidget
- tst_QTextStream
- tst_QTime
- ...
|
| 2054-2427975 |
221 | localeId = p[1]; | - |
222 | return true;executed 2054 times by 42 tests: return true; Executed by:- tst_ModelTest
- tst_QCalendarWidget
- tst_QCollator
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QIntValidator
- tst_QItemModel
- tst_QListWidget
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTableWidget
- tst_QTextStream
- tst_QTime
- ...
| 2054 |
223 | } | - |
224 | }executed 2427975 times by 43 tests: end of block Executed by:- tst_ModelTest
- tst_QCalendarWidget
- tst_QCollator
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QIntValidator
- tst_QItemModel
- tst_QListWidget
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTableWidget
- tst_QTextStream
- tst_QTime
- ...
| 2427975 |
225 | return false;executed 3009 times by 38 tests: return false; Executed by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QIntValidator
- tst_QItemModel
- tst_QListWidget
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTableWidget
- tst_QTextStream
- tst_QTimeZone
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_QVariant
- ...
| 3009 |
226 | } | - |
227 | | - |
228 | QLocaleId QLocaleId::withLikelySubtagsAdded() const | - |
229 | { | - |
230 | | - |
231 | if (language_id || script_id || country_id) {TRUE | evaluated 2779 times by 43 testsEvaluated by:- tst_ModelTest
- tst_QCalendarWidget
- tst_QCollator
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QIntValidator
- tst_QItemModel
- tst_QListWidget
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTableWidget
- tst_QTextStream
- tst_QTime
- ...
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0-2779 |
232 | QLocaleId id = QLocaleId::fromIds(language_id, script_id, country_id); | - |
233 | if (addLikelySubtags(id))TRUE | evaluated 466 times by 26 testsEvaluated by:- tst_ModelTest
- tst_QCalendarWidget
- tst_QCollator
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QIntValidator
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTableWidget
- tst_QTime
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_QWidget
- tst_languageChange
- ...
| FALSE | evaluated 2313 times by 38 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QIntValidator
- tst_QItemModel
- tst_QListWidget
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTableWidget
- tst_QTextStream
- tst_QTimeZone
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_QVariant
- ...
|
| 466-2313 |
234 | return id;executed 466 times by 26 tests: return id; Executed by:- tst_ModelTest
- tst_QCalendarWidget
- tst_QCollator
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QIntValidator
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTableWidget
- tst_QTime
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_QWidget
- tst_languageChange
- ...
| 466 |
235 | }executed 2313 times by 38 tests: end of block Executed by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QIntValidator
- tst_QItemModel
- tst_QListWidget
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTableWidget
- tst_QTextStream
- tst_QTimeZone
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_QVariant
- ...
| 2313 |
236 | | - |
237 | if (country_id) {TRUE | evaluated 1588 times by 37 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QIntValidator
- tst_QItemModel
- tst_QListWidget
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTableWidget
- tst_QTextStream
- tst_QTimeZone
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_QVariant
- ...
| FALSE | evaluated 725 times by 4 testsEvaluated by:- tst_QMetaType
- tst_QMimeDatabase
- tst_QTimeZone
- tst_selftests - unknown status
|
| 725-1588 |
238 | QLocaleId id = QLocaleId::fromIds(language_id, script_id, 0); | - |
239 | if (addLikelySubtags(id)) {TRUE | evaluated 1240 times by 26 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- ...
| FALSE | evaluated 348 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
|
| 348-1240 |
240 | id.country_id = country_id; | - |
241 | return id;executed 1240 times by 26 tests: return id; Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- ...
| 1240 |
242 | } | - |
243 | }executed 348 times by 15 tests: end of block Executed by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
| 348 |
244 | | - |
245 | if (script_id) {TRUE | evaluated 348 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
| FALSE | evaluated 725 times by 4 testsEvaluated by:- tst_QMetaType
- tst_QMimeDatabase
- tst_QTimeZone
- tst_selftests - unknown status
|
| 348-725 |
246 | QLocaleId id = QLocaleId::fromIds(language_id, 0, country_id); | - |
247 | if (addLikelySubtags(id)) {TRUE | never evaluated | FALSE | evaluated 348 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
|
| 0-348 |
248 | id.script_id = script_id; | - |
249 | return id; never executed: return id; | 0 |
250 | } | - |
251 | }executed 348 times by 15 tests: end of block Executed by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
| 348 |
252 | | - |
253 | if (script_id && country_id) {TRUE | evaluated 348 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
| FALSE | evaluated 725 times by 4 testsEvaluated by:- tst_QMetaType
- tst_QMimeDatabase
- tst_QTimeZone
- tst_selftests - unknown status
|
TRUE | evaluated 348 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
| FALSE | never evaluated |
| 0-725 |
254 | QLocaleId id = QLocaleId::fromIds(language_id, 0, 0); | - |
255 | if (addLikelySubtags(id)) {TRUE | evaluated 348 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
| FALSE | never evaluated |
| 0-348 |
256 | id.script_id = script_id; | - |
257 | id.country_id = country_id; | - |
258 | return id;executed 348 times by 15 tests: return id; Executed by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
| 348 |
259 | } | - |
260 | } never executed: end of block | 0 |
261 | return *this;executed 725 times by 4 tests: return *this; Executed by:- tst_QMetaType
- tst_QMimeDatabase
- tst_QTimeZone
- tst_selftests - unknown status
| 725 |
262 | } | - |
263 | | - |
264 | QLocaleId QLocaleId::withLikelySubtagsRemoved() const | - |
265 | { | - |
266 | QLocaleId max = withLikelySubtagsAdded(); | - |
267 | | - |
268 | { | - |
269 | QLocaleId id = QLocaleId::fromIds(language_id, 0, 0); | - |
270 | if (id.withLikelySubtagsAdded() == max)TRUE | evaluated 357 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
| FALSE | evaluated 1 time by 1 test |
| 1-357 |
271 | return id;executed 357 times by 15 tests: return id; Executed by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
| 357 |
272 | } | - |
273 | | - |
274 | if (country_id) {TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
| 0-1 |
275 | QLocaleId id = QLocaleId::fromIds(language_id, 0, country_id); | - |
276 | if (id.withLikelySubtagsAdded() == max)TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
| 0-1 |
277 | return id;executed 1 time by 1 test: return id; | 1 |
278 | } never executed: end of block | 0 |
279 | | - |
280 | if (script_id) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
281 | QLocaleId id = QLocaleId::fromIds(language_id, script_id, 0); | - |
282 | if (id.withLikelySubtagsAdded() == max)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
283 | return id; never executed: return id; | 0 |
284 | } never executed: end of block | 0 |
285 | return max; never executed: return max; | 0 |
286 | } | - |
287 | | - |
288 | QByteArray QLocaleId::name(char separator) const | - |
289 | { | - |
290 | if (language_id == QLocale::AnyLanguage)TRUE | never evaluated | FALSE | evaluated 366 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
|
| 0-366 |
291 | return QByteArray(); never executed: return QByteArray(); | 0 |
292 | if (language_id == QLocale::C)TRUE | evaluated 14 times by 1 test | FALSE | evaluated 352 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
|
| 14-352 |
293 | return QByteArrayLiteral("C");executed 14 times by 1 test: return ([]() -> QByteArray { enum { Size = sizeof("C") - 1 }; static const QStaticByteArrayData<Size> qbytearray_literal = { { { { -1 } }, Size, 0, 0, sizeof(QByteArrayData) }, "C" }; QByteArrayDataPtr holder = { qbytearray_literal.data_ptr() }; const QByteArray ba(holder); return ba; }()); executed 14 times by 1 test: return ba; | 14 |
294 | | - |
295 | const unsigned char *lang = language_code_list + 3 * language_id; | - |
296 | const unsigned char *script = | - |
297 | (script_id != QLocale::AnyScript ? script_code_list + 4 * script_id : 0);TRUE | evaluated 4 times by 1 test | FALSE | evaluated 348 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
|
| 4-348 |
298 | const unsigned char *country = | - |
299 | (country_id != QLocale::AnyCountry ? country_code_list + 3 * country_id : 0);TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_QCollator
- tst_QMimeDatabase
| FALSE | evaluated 343 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
|
| 9-343 |
300 | char len = (lang[2] != 0 ? 3 : 2) + (script ? 4+1 : 0) + (country ? (country[2] != 0 ? 3 : 2)+1 : 0);TRUE | never evaluated | FALSE | evaluated 352 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
|
TRUE | evaluated 4 times by 1 test | FALSE | evaluated 348 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
|
TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_QCollator
- tst_QMimeDatabase
| FALSE | evaluated 343 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
|
TRUE | never evaluated | FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_QCollator
- tst_QMimeDatabase
|
| 0-352 |
301 | QByteArray name(len, Qt::Uninitialized); | - |
302 | char *uc = name.data(); | - |
303 | *uc++ = lang[0]; | - |
304 | *uc++ = lang[1]; | - |
305 | if (lang[2] != 0)TRUE | never evaluated | FALSE | evaluated 352 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
|
| 0-352 |
306 | *uc++ = lang[2]; never executed: *uc++ = lang[2]; | 0 |
307 | if (script) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 348 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
|
| 4-348 |
308 | *uc++ = separator; | - |
309 | *uc++ = script[0]; | - |
310 | *uc++ = script[1]; | - |
311 | *uc++ = script[2]; | - |
312 | *uc++ = script[3]; | - |
313 | }executed 4 times by 1 test: end of block | 4 |
314 | if (country) {TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_QCollator
- tst_QMimeDatabase
| FALSE | evaluated 343 times by 15 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
|
| 9-343 |
315 | *uc++ = separator; | - |
316 | *uc++ = country[0]; | - |
317 | *uc++ = country[1]; | - |
318 | if (country[2] != 0)TRUE | never evaluated | FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_QCollator
- tst_QMimeDatabase
|
| 0-9 |
319 | *uc++ = country[2]; never executed: *uc++ = country[2]; | 0 |
320 | }executed 9 times by 2 tests: end of block Executed by:- tst_QCollator
- tst_QMimeDatabase
| 9 |
321 | return name;executed 352 times by 15 tests: return name; Executed by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QMimeDatabase
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
| 352 |
322 | } | - |
323 | | - |
324 | QByteArray QLocalePrivate::bcp47Name(char separator) const | - |
325 | { | - |
326 | if (m_data->m_language_id == QLocale::AnyLanguage)TRUE | never evaluated | FALSE | evaluated 340 times by 14 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
|
| 0-340 |
327 | return QByteArray(); never executed: return QByteArray(); | 0 |
328 | if (m_data->m_language_id == QLocale::C)TRUE | never evaluated | FALSE | evaluated 340 times by 14 testsEvaluated by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
|
| 0-340 |
329 | return QByteArrayLiteral("C"); never executed: return ([]() -> QByteArray { enum { Size = sizeof("C") - 1 }; static const QStaticByteArrayData<Size> qbytearray_literal = { { { { -1 } }, Size, 0, 0, sizeof(QByteArrayData) }, "C" }; QByteArrayDataPtr holder = { qbytearray_literal.data_ptr() }; const QByteArray ba(holder); return ba; }()); never executed: return ba; | 0 |
330 | | - |
331 | QLocaleId localeId = QLocaleId::fromIds(m_data->m_language_id, m_data->m_script_id, m_data->m_country_id); | - |
332 | return localeId.withLikelySubtagsRemoved().name(separator);executed 340 times by 14 tests: return localeId.withLikelySubtagsRemoved().name(separator); Executed by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QPrinter
- tst_QString
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
| 340 |
333 | } | - |
334 | | - |
335 | const QLocaleData *QLocaleData::findLocaleData(QLocale::Language language, QLocale::Script script, QLocale::Country country) | - |
336 | { | - |
337 | QLocaleId localeId = QLocaleId::fromIds(language, script, country); | - |
338 | localeId = localeId.withLikelySubtagsAdded(); | - |
339 | | - |
340 | uint idx = locale_index[localeId.language_id]; | - |
341 | | - |
342 | const QLocaleData *data = locale_data + idx; | - |
343 | | - |
344 | if (idx == 0) TRUE | evaluated 683 times by 3 testsEvaluated by:- tst_QMetaType
- tst_QTimeZone
- tst_selftests - unknown status
| FALSE | evaluated 1357 times by 31 testsEvaluated by:- tst_QCalendarWidget
- tst_QCollator
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTextStream
- tst_QTime
- tst_QTimeZone
- tst_QVariant
- tst_QWidget
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- ...
|
| 683-1357 |
345 | return data;executed 683 times by 3 tests: return data; Executed by:- tst_QMetaType
- tst_QTimeZone
- tst_selftests - unknown status
| 683 |
346 | | - |
347 | Q_ASSERT(data->m_language_id == localeId.language_id); | - |
348 | | - |
349 | if (localeId.script_id != QLocale::AnyScript && localeId.country_id != QLocale::AnyCountry) {TRUE | evaluated 1357 times by 31 testsEvaluated by:- tst_QCalendarWidget
- tst_QCollator
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTextStream
- tst_QTime
- tst_QTimeZone
- tst_QVariant
- tst_QWidget
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- ...
| FALSE | never evaluated |
TRUE | evaluated 1357 times by 31 testsEvaluated by:- tst_QCalendarWidget
- tst_QCollator
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTextStream
- tst_QTime
- tst_QTimeZone
- tst_QVariant
- tst_QWidget
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- ...
| FALSE | never evaluated |
| 0-1357 |
350 | | - |
351 | do { | - |
352 | if (data->m_script_id == localeId.script_id && data->m_country_id == localeId.country_id)TRUE | evaluated 1494 times by 31 testsEvaluated by:- tst_QCalendarWidget
- tst_QCollator
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTextStream
- tst_QTime
- tst_QTimeZone
- tst_QVariant
- tst_QWidget
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- ...
| FALSE | evaluated 2 times by 2 testsEvaluated by:- tst_QDateTimeEdit
- tst_QString
|
TRUE | evaluated 1357 times by 31 testsEvaluated by:- tst_QCalendarWidget
- tst_QCollator
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTextStream
- tst_QTime
- tst_QTimeZone
- tst_QVariant
- tst_QWidget
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- ...
| FALSE | evaluated 137 times by 6 testsEvaluated by:- tst_QCollator
- tst_QDateTimeEdit
- tst_QIntValidator
- tst_QResourceEngine
- tst_QString
- tst_rcc
|
| 2-1494 |
353 | return data;executed 1357 times by 31 tests: return data; Executed by:- tst_QCalendarWidget
- tst_QCollator
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QProgressBar
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QTextStream
- tst_QTime
- tst_QTimeZone
- tst_QVariant
- tst_QWidget
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- ...
| 1357 |
354 | ++data; | - |
355 | } while (data->m_language_id == localeId.language_id);executed 139 times by 6 tests: end of block Executed by:- tst_QCollator
- tst_QDateTimeEdit
- tst_QIntValidator
- tst_QResourceEngine
- tst_QString
- tst_rcc
TRUE | evaluated 139 times by 6 testsEvaluated by:- tst_QCollator
- tst_QDateTimeEdit
- tst_QIntValidator
- tst_QResourceEngine
- tst_QString
- tst_rcc
| FALSE | never evaluated |
| 0-139 |
356 | | - |
357 | | - |
358 | localeId.script_id = QLocale::AnyScript; | - |
359 | data = locale_data + idx; | - |
360 | } never executed: end of block | 0 |
361 | | - |
362 | if (localeId.script_id == QLocale::AnyScript && localeId.country_id == QLocale::AnyCountry)TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
363 | return data; never executed: return data; | 0 |
364 | | - |
365 | if (localeId.script_id == QLocale::AnyScript) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
366 | do { | - |
367 | if (data->m_country_id == localeId.country_id)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
368 | return data; never executed: return data; | 0 |
369 | ++data; | - |
370 | } while (data->m_language_id == localeId.language_id); never executed: end of block TRUE | never evaluated | FALSE | never evaluated |
| 0 |
371 | } else if (localeId.country_id == QLocale::AnyCountry) { never executed: end of block TRUE | never evaluated | FALSE | never evaluated |
| 0 |
372 | do { | - |
373 | if (data->m_script_id == localeId.script_id)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
374 | return data; never executed: return data; | 0 |
375 | ++data; | - |
376 | } while (data->m_language_id == localeId.language_id); never executed: end of block TRUE | never evaluated | FALSE | never evaluated |
| 0 |
377 | } never executed: end of block | 0 |
378 | | - |
379 | return locale_data + idx; never executed: return locale_data + idx; | 0 |
380 | } | - |
381 | | - |
382 | static bool parse_locale_tag(const QString &input, int &i, QString *result, const QString &separators) | - |
383 | { | - |
384 | *result = QString(8, Qt::Uninitialized); | - |
385 | QChar *pch = result->data(); | - |
386 | const QChar *uc = input.data() + i; | - |
387 | const int l = input.length(); | - |
388 | int size = 0; | - |
389 | for (; i < l && size < 8; ++i, ++size) {TRUE | evaluated 7077 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | evaluated 441 times by 23 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
TRUE | evaluated 7077 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | never evaluated |
| 0-7077 |
390 | if (separators.contains(*uc))TRUE | evaluated 2065 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | evaluated 5012 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
| 2065-5012 |
391 | break;executed 2065 times by 21 tests: break; Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| 2065 |
392 | if (! ((uc->unicode() >= 'a' && uc->unicode() <= 'z') ||TRUE | evaluated 2582 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | evaluated 2430 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
TRUE | evaluated 2582 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | never evaluated |
| 0-2582 |
393 | (uc->unicode() >= 'A' && uc->unicode() <= 'Z') ||TRUE | evaluated 2430 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | never evaluated |
TRUE | evaluated 2430 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | never evaluated |
| 0-2430 |
394 | (uc->unicode() >= '0' && uc->unicode() <= '9')) ) TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
395 | return false; never executed: return false; | 0 |
396 | *pch++ = *uc++; | - |
397 | }executed 5012 times by 24 tests: end of block Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| 5012 |
398 | result->truncate(size); | - |
399 | return true;executed 2506 times by 24 tests: return true; Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| 2506 |
400 | } | - |
401 | | - |
402 | bool qt_splitLocaleName(const QString &name, QString &lang, QString &script, QString &cntry) | - |
403 | { | - |
404 | const int length = name.length(); | - |
405 | | - |
406 | lang = script = cntry = QString(); | - |
407 | | - |
408 | const QString separators = QStringLiteral("_-.@");executed 1974 times by 25 tests: return qstring_literal_temp; Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
- tst_selftests - unknown status
| 1974 |
409 | enum ParserState { NoState, LangState, ScriptState, CountryState }; | - |
410 | ParserState state = LangState; | - |
411 | for (int i = 0; i < length && state != NoState; ) {TRUE | evaluated 3356 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | evaluated 1124 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
- tst_selftests - unknown status
|
TRUE | evaluated 2506 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | evaluated 850 times by 11 testsEvaluated by:- tst_QPrinter
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
|
| 850-3356 |
412 | QString value; | - |
413 | if (!parse_locale_tag(name, i, &value, separators) ||value.isEmpty())TRUE | never evaluated | FALSE | evaluated 2506 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
TRUE | never evaluated | FALSE | evaluated 2506 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
| 0-2506 |
414 | break; never executed: break; | 0 |
415 | QChar sep = i < length ? name.at(i) : QChar();TRUE | evaluated 2065 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | evaluated 441 times by 23 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
| 441-2065 |
416 | switch (state) { | - |
417 | case LangState:executed 1291 times by 24 tests: case LangState: Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| 1291 |
418 | if (!sep.isNull() && !separators.contains(sep)) {TRUE | evaluated 1215 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | evaluated 76 times by 6 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QString
- tst_rcc
|
TRUE | never evaluated | FALSE | evaluated 1215 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
| 0-1215 |
419 | state = NoState; | - |
420 | break; never executed: break; | 0 |
421 | } | - |
422 | lang = value; | - |
423 | if (i == length) {TRUE | evaluated 76 times by 6 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QString
- tst_rcc
| FALSE | evaluated 1215 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
| 76-1215 |
424 | | - |
425 | state = NoState; | - |
426 | break;executed 76 times by 6 tests: break; Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QString
- tst_rcc
| 76 |
427 | } | - |
428 | state = ScriptState; | - |
429 | break;executed 1215 times by 21 tests: break; Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| 1215 |
430 | case ScriptState: {executed 1215 times by 21 tests: case ScriptState: Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| 1215 |
431 | QString scripts = QString::fromLatin1((const char *)script_code_list, sizeof(script_code_list) - 1); | - |
432 | if (value.length() == 4 && scripts.indexOf(value) % 4 == 0) {TRUE | never evaluated | FALSE | evaluated 1215 times by 21 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-1215 |
433 | | - |
434 | script = value; | - |
435 | state = CountryState; | - |
436 | } else { never executed: end of block | 0 |
437 | | - |
438 | cntry = value; | - |
439 | state = NoState; | - |
440 | }executed 1215 times by 21 tests: end of block Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| 1215 |
441 | break;executed 1215 times by 21 tests: break; Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QMetaType
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| 1215 |
442 | } | - |
443 | case CountryState: never executed: case CountryState: | 0 |
444 | cntry = value; | - |
445 | state = NoState; | - |
446 | break; never executed: break; | 0 |
447 | case NoState: never executed: case NoState: | 0 |
448 | | - |
449 | qWarning("QLocale: This should never happen"); | - |
450 | break; never executed: break; | 0 |
451 | } | - |
452 | ++i; | - |
453 | }executed 2506 times by 24 tests: end of block Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| 2506 |
454 | return lang.length() == 2 || lang.length() == 3;executed 1974 times by 25 tests: return lang.length() == 2 || lang.length() == 3; Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
- tst_selftests - unknown status
TRUE | evaluated 1291 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| FALSE | evaluated 683 times by 3 testsEvaluated by:- tst_QMetaType
- tst_QTimeZone
- tst_selftests - unknown status
|
TRUE | never evaluated | FALSE | evaluated 683 times by 3 testsEvaluated by:- tst_QMetaType
- tst_QTimeZone
- tst_selftests - unknown status
|
| 0-1974 |
455 | } | - |
456 | | - |
457 | void QLocalePrivate::getLangAndCountry(const QString &name, QLocale::Language &lang, | - |
458 | QLocale::Script &script, QLocale::Country &cntry) | - |
459 | { | - |
460 | lang = QLocale::C; | - |
461 | script = QLocale::AnyScript; | - |
462 | cntry = QLocale::AnyCountry; | - |
463 | | - |
464 | QString lang_code; | - |
465 | QString script_code; | - |
466 | QString cntry_code; | - |
467 | if (!qt_splitLocaleName(name, lang_code, script_code, cntry_code))TRUE | evaluated 683 times by 3 testsEvaluated by:- tst_QMetaType
- tst_QTimeZone
- tst_selftests - unknown status
| FALSE | evaluated 1291 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
| 683-1291 |
468 | return;executed 683 times by 3 tests: return; Executed by:- tst_QMetaType
- tst_QTimeZone
- tst_selftests - unknown status
| 683 |
469 | | - |
470 | lang = QLocalePrivate::codeToLanguage(lang_code); | - |
471 | if (lang == QLocale::C)TRUE | never evaluated | FALSE | evaluated 1291 times by 24 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
|
| 0-1291 |
472 | return; never executed: return; | 0 |
473 | script = QLocalePrivate::codeToScript(script_code); | - |
474 | cntry = QLocalePrivate::codeToCountry(cntry_code); | - |
475 | }executed 1291 times by 24 tests: end of block Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
| 1291 |
476 | | - |
477 | static const QLocaleData *findLocaleData(const QString &name) | - |
478 | { | - |
479 | QLocale::Language lang; | - |
480 | QLocale::Script script; | - |
481 | QLocale::Country cntry; | - |
482 | QLocalePrivate::getLangAndCountry(name, lang, script, cntry); | - |
483 | | - |
484 | return QLocaleData::findLocaleData(lang, script, cntry);executed 1974 times by 25 tests: return QLocaleData::findLocaleData(lang, script, cntry); Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
- tst_selftests - unknown status
| 1974 |
485 | } | - |
486 | | - |
487 | QString qt_readEscapedFormatString(const QString &format, int *idx) | - |
488 | { | - |
489 | int &i = *idx; | - |
490 | | - |
491 | Q_ASSERT(format.at(i) == QLatin1Char('\'')); | - |
492 | ++i; | - |
493 | if (i == format.size())TRUE | never evaluated | FALSE | evaluated 1421 times by 6 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
|
| 0-1421 |
494 | return QString(); never executed: return QString(); | 0 |
495 | if (format.at(i).unicode() == '\'') { TRUE | never evaluated | FALSE | evaluated 1421 times by 6 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
|
| 0-1421 |
496 | ++i; | - |
497 | return QLatin1String("'"); never executed: return QLatin1String("'"); | 0 |
498 | } | - |
499 | | - |
500 | QString result; | - |
501 | | - |
502 | while (i < format.size()) {TRUE | evaluated 4537 times by 6 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| FALSE | evaluated 1210 times by 1 test |
| 1210-4537 |
503 | if (format.at(i).unicode() == '\'') {TRUE | evaluated 211 times by 5 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| FALSE | evaluated 4326 times by 6 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
|
| 211-4326 |
504 | if (i + 1 < format.size() && format.at(i + 1).unicode() == '\'') {TRUE | evaluated 13 times by 1 test | FALSE | evaluated 198 times by 5 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
|
TRUE | never evaluated | FALSE | evaluated 13 times by 1 test |
| 0-198 |
505 | | - |
506 | result.append(QLatin1Char('\'')); | - |
507 | i += 2; | - |
508 | } else { never executed: end of block | 0 |
509 | break;executed 211 times by 5 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 211 |
510 | } | - |
511 | } else { | - |
512 | result.append(format.at(i++)); | - |
513 | }executed 4326 times by 6 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 4326 |
514 | } | - |
515 | if (i < format.size())TRUE | evaluated 211 times by 5 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| FALSE | evaluated 1210 times by 1 test |
| 211-1210 |
516 | ++i;executed 211 times by 5 tests: ++i; Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 211 |
517 | | - |
518 | return result;executed 1421 times by 6 tests: return result; Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 1421 |
519 | } | - |
520 | | - |
521 | int qt_repeatCount(const QString &s, int i) | - |
522 | { | - |
523 | QChar c = s.at(i); | - |
524 | int j = i + 1; | - |
525 | while (j < s.size() && s.at(j) == c)TRUE | evaluated 431373 times by 32 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| FALSE | evaluated 33876 times by 21 testsEvaluated by:- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- tst_QTime
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_selftests - unknown status
|
TRUE | evaluated 194265 times by 32 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| FALSE | evaluated 237108 times by 32 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
|
| 33876-431373 |
526 | ++j;executed 194265 times by 32 tests: ++j; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| 194265 |
527 | return j - i;executed 270984 times by 32 tests: return j - i; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| 270984 |
528 | } | - |
529 | | - |
530 | static const QLocaleData *default_data = 0; | - |
531 | static uint default_number_options = 0; | - |
532 | | - |
533 | static const QLocaleData *const c_data = locale_data; | - |
534 | static QLocalePrivate *c_private() | - |
535 | { | - |
536 | static QLocalePrivate c_locale = { c_data, Q_BASIC_ATOMIC_INITIALIZER(1), QLocale::OmitGroupSeparator }; | - |
537 | return &c_locale;executed 137262 times by 120 tests: return &c_locale; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- ...
| 137262 |
538 | } | - |
539 | | - |
540 | #ifndef QT_NO_SYSTEMLOCALE | - |
541 | | - |
542 | | - |
543 | | - |
544 | | - |
545 | | - |
546 | | - |
547 | | - |
548 | | - |
549 | | - |
550 | | - |
551 | | - |
552 | QSystemLocale::QSystemLocale() | - |
553 | { | - |
554 | delete _systemLocale; | - |
555 | _systemLocale = this; | - |
556 | | - |
557 | if (system_data)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
558 | system_data->m_language_id = 0; never executed: system_data->m_language_id = 0; | 0 |
559 | } never executed: end of block | 0 |
560 | | - |
561 | | - |
562 | | - |
563 | | - |
564 | QSystemLocale::QSystemLocale(bool) | - |
565 | { } | - |
566 | | - |
567 | | - |
568 | | - |
569 | | - |
570 | QSystemLocale::~QSystemLocale() | - |
571 | { | - |
572 | if (_systemLocale == this) {TRUE | never evaluated | FALSE | evaluated 1244 times by 541 testsEvaluated by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
|
| 0-1244 |
573 | _systemLocale = 0; | - |
574 | | - |
575 | if (system_data)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
576 | system_data->m_language_id = 0; never executed: system_data->m_language_id = 0; | 0 |
577 | } never executed: end of block | 0 |
578 | }executed 1244 times by 541 tests: end of block Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| 1244 |
579 | | - |
580 | static const QSystemLocale *systemLocale() | - |
581 | { | - |
582 | if (_systemLocale)TRUE | never evaluated | FALSE | evaluated 19015 times by 29 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTime
- tst_languageChange
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qmakelib
- tst_qobject - unknown status
- ...
|
| 0-19015 |
583 | return _systemLocale; never executed: return _systemLocale; | 0 |
584 | return QSystemLocale_globalSystemLocale();executed 19015 times by 29 tests: return QSystemLocale_globalSystemLocale(); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTime
- tst_languageChange
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qmakelib
- tst_qobject - unknown status
- ...
| 19015 |
585 | } | - |
586 | | - |
587 | void QLocalePrivate::updateSystemPrivate() | - |
588 | { | - |
589 | const QSystemLocale *sys_locale = systemLocale(); | - |
590 | if (!system_data)TRUE | evaluated 779 times by 11 testsEvaluated by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| FALSE | never evaluated |
| 0-779 |
591 | system_data = globalLocaleData();executed 779 times by 11 tests: system_data = globalLocaleData(); Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 779 |
592 | | - |
593 | | - |
594 | sys_locale->query(QSystemLocale::LocaleChanged, QVariant()); | - |
595 | | - |
596 | *system_data = *sys_locale->fallbackUiLocale().d->m_data; | - |
597 | | - |
598 | QVariant res = sys_locale->query(QSystemLocale::LanguageId, QVariant()); | - |
599 | if (!res.isNull()) {TRUE | never evaluated | FALSE | evaluated 779 times by 11 testsEvaluated by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
|
| 0-779 |
600 | system_data->m_language_id = res.toInt(); | - |
601 | system_data->m_script_id = QLocale::AnyScript; | - |
602 | } never executed: end of block | 0 |
603 | res = sys_locale->query(QSystemLocale::CountryId, QVariant()); | - |
604 | if (!res.isNull()) {TRUE | never evaluated | FALSE | evaluated 779 times by 11 testsEvaluated by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
|
| 0-779 |
605 | system_data->m_country_id = res.toInt(); | - |
606 | system_data->m_script_id = QLocale::AnyScript; | - |
607 | } never executed: end of block | 0 |
608 | res = sys_locale->query(QSystemLocale::ScriptId, QVariant()); | - |
609 | if (!res.isNull())TRUE | never evaluated | FALSE | evaluated 779 times by 11 testsEvaluated by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
|
| 0-779 |
610 | system_data->m_script_id = res.toInt(); never executed: system_data->m_script_id = res.toInt(); | 0 |
611 | | - |
612 | res = sys_locale->query(QSystemLocale::DecimalPoint, QVariant()); | - |
613 | if (!res.isNull())TRUE | evaluated 779 times by 11 testsEvaluated by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| FALSE | never evaluated |
| 0-779 |
614 | system_data->m_decimal = res.toString().at(0).unicode();executed 779 times by 11 tests: system_data->m_decimal = res.toString().at(0).unicode(); Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 779 |
615 | | - |
616 | res = sys_locale->query(QSystemLocale::GroupSeparator, QVariant()); | - |
617 | if (!res.isNull())TRUE | evaluated 779 times by 11 testsEvaluated by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| FALSE | never evaluated |
| 0-779 |
618 | system_data->m_group = res.toString().at(0).unicode();executed 779 times by 11 tests: system_data->m_group = res.toString().at(0).unicode(); Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 779 |
619 | | - |
620 | res = sys_locale->query(QSystemLocale::ZeroDigit, QVariant()); | - |
621 | if (!res.isNull())TRUE | evaluated 779 times by 11 testsEvaluated by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| FALSE | never evaluated |
| 0-779 |
622 | system_data->m_zero = res.toString().at(0).unicode();executed 779 times by 11 tests: system_data->m_zero = res.toString().at(0).unicode(); Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 779 |
623 | | - |
624 | res = sys_locale->query(QSystemLocale::NegativeSign, QVariant()); | - |
625 | if (!res.isNull())TRUE | evaluated 779 times by 11 testsEvaluated by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| FALSE | never evaluated |
| 0-779 |
626 | system_data->m_minus = res.toString().at(0).unicode();executed 779 times by 11 tests: system_data->m_minus = res.toString().at(0).unicode(); Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 779 |
627 | | - |
628 | res = sys_locale->query(QSystemLocale::PositiveSign, QVariant()); | - |
629 | if (!res.isNull())TRUE | evaluated 779 times by 11 testsEvaluated by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| FALSE | never evaluated |
| 0-779 |
630 | system_data->m_plus = res.toString().at(0).unicode();executed 779 times by 11 tests: system_data->m_plus = res.toString().at(0).unicode(); Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 779 |
631 | }executed 779 times by 11 tests: end of block Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 779 |
632 | #endif | - |
633 | | - |
634 | static const QLocaleData *systemData() | - |
635 | { | - |
636 | #ifndef QT_NO_SYSTEMLOCALE | - |
637 | | - |
638 | if (!system_data || system_data->m_language_id == 0)TRUE | evaluated 779 times by 11 testsEvaluated by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| FALSE | evaluated 109287 times by 71 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGridLayout
- ...
|
TRUE | never evaluated | FALSE | evaluated 109287 times by 71 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGridLayout
- ...
|
| 0-109287 |
639 | QLocalePrivate::updateSystemPrivate();executed 779 times by 11 tests: QLocalePrivate::updateSystemPrivate(); Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 779 |
640 | | - |
641 | return system_data;executed 110066 times by 80 tests: return system_data; Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGridLayout
- ...
| 110066 |
642 | #else | - |
643 | return locale_data; | - |
644 | #endif | - |
645 | } | - |
646 | | - |
647 | static const QLocaleData *defaultData() | - |
648 | { | - |
649 | if (!default_data)TRUE | evaluated 779 times by 11 testsEvaluated by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| FALSE | never evaluated |
| 0-779 |
650 | default_data = systemData();executed 779 times by 11 tests: default_data = systemData(); Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 779 |
651 | return default_data;executed 779 times by 11 tests: return default_data; Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 779 |
652 | } | - |
653 | | - |
654 | const QLocaleData *QLocaleData::c() | - |
655 | { | - |
656 | Q_ASSERT(locale_index[QLocale::C] == 0); | - |
657 | return c_data;executed 11892277 times by 462 tests: return c_data; Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| 11892277 |
658 | } | - |
659 | | - |
660 | static inline QString getLocaleData(const ushort *data, int size) | - |
661 | { | - |
662 | return size > 0 ? QString::fromRawData(reinterpret_cast<const QChar *>(data), size) : QString();executed 48495 times by 23 tests: return size > 0 ? QString::fromRawData(reinterpret_cast<const QChar *>(data), size) : QString(); Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QStyleSheetStyle
- tst_QTime
- tst_QXmlStream
- tst_languageChange
- tst_qmakelib
TRUE | evaluated 48495 times by 23 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QStyleSheetStyle
- tst_QTime
- tst_QXmlStream
- tst_languageChange
- tst_qmakelib
| FALSE | never evaluated |
| 0-48495 |
663 | } | - |
664 | | - |
665 | static QString getLocaleListData(const ushort *data, int size, int index) | - |
666 | { | - |
667 | static const ushort separator = ';'; | - |
668 | while (index && size > 0) {TRUE | evaluated 165304 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
| FALSE | evaluated 38522 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
|
TRUE | evaluated 165304 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
| FALSE | never evaluated |
| 0-165304 |
669 | while (*data != separator)TRUE | evaluated 650549 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
| FALSE | evaluated 165304 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
|
| 165304-650549 |
670 | ++data, --size;executed 650549 times by 14 tests: ++data, --size; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
| 650549 |
671 | --index; | - |
672 | ++data; | - |
673 | --size; | - |
674 | }executed 165304 times by 14 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
| 165304 |
675 | const ushort *end = data; | - |
676 | while (size > 0 && *end != separator)TRUE | evaluated 202212 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
| FALSE | never evaluated |
TRUE | evaluated 163690 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
| FALSE | evaluated 38522 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
|
| 0-202212 |
677 | ++end, --size;executed 163690 times by 14 tests: ++end, --size; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
| 163690 |
678 | return getLocaleData(data, end - data);executed 38522 times by 14 tests: return getLocaleData(data, end - data); Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
| 38522 |
679 | } | - |
680 | | - |
681 | | - |
682 | #ifndef QT_NO_DATASTREAM | - |
683 | QDataStream &operator<<(QDataStream &ds, const QLocale &l) | - |
684 | { | - |
685 | ds << l.name(); | - |
686 | return ds;executed 3 times by 2 tests: return ds; Executed by:- tst_QMetaType
- tst_QVariant
| 3 |
687 | } | - |
688 | | - |
689 | QDataStream &operator>>(QDataStream &ds, QLocale &l) | - |
690 | { | - |
691 | QString s; | - |
692 | ds >> s; | - |
693 | l = QLocale(s); | - |
694 | return ds;executed 7 times by 2 tests: return ds; Executed by:- tst_QMetaType
- tst_QVariant
| 7 |
695 | } | - |
696 | #endif // QT_NO_DATASTREAM | - |
697 | | - |
698 | | - |
699 | static const int locale_data_size = sizeof(locale_data)/sizeof(QLocaleData) - 1; | - |
700 | | - |
701 | Q_GLOBAL_STATIC_WITH_ARGS(QSharedDataPointer<QLocalePrivate>, defaultLocalePrivate,executed 1247 times by 541 tests: end of block Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
executed 1247 times by 541 tests: guard.store(QtGlobalStatic::Destroyed); Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
executed 447077 times by 200 tests: return &holder.value; Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QCollator
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
TRUE | evaluated 1247 times by 541 testsEvaluated by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| FALSE | never evaluated |
| 0-447077 |
702 | (QLocalePrivate::create(defaultData(), default_number_options))) | - |
703 | | - |
704 | static QLocalePrivate *localePrivateByName(const QString &name) | - |
705 | { | - |
706 | if (name == QLatin1String("C"))TRUE | evaluated 6951 times by 6 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_selftests - unknown status
| FALSE | evaluated 1974 times by 25 testsEvaluated by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
- tst_selftests - unknown status
|
| 1974-6951 |
707 | return c_private();executed 6951 times by 6 tests: return c_private(); Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_selftests - unknown status
| 6951 |
708 | const QLocaleData *data = findLocaleData(name); | - |
709 | return QLocalePrivate::create(data, data->m_language_id == QLocale::C ? QLocale::OmitGroupSeparator : 0);executed 1974 times by 25 tests: return QLocalePrivate::create(data, data->m_language_id == QLocale::C ? QLocale::OmitGroupSeparator : 0); Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
- tst_selftests - unknown status
| 1974 |
710 | } | - |
711 | | - |
712 | static QLocalePrivate *findLocalePrivate(QLocale::Language language, QLocale::Script script, | - |
713 | QLocale::Country country) | - |
714 | { | - |
715 | if (language == QLocale::C)TRUE | evaluated 130311 times by 118 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 66 times by 12 testsEvaluated by:- tst_QCalendarWidget
- tst_QCollator
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QProgressBar
- tst_QSpinBox
- tst_QString
- tst_QTime
- tst_QWidget
|
| 66-130311 |
716 | return c_private();executed 130311 times by 118 tests: return c_private(); Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 130311 |
717 | | - |
718 | const QLocaleData *data = QLocaleData::findLocaleData(language, script, country); | - |
719 | | - |
720 | int numberOptions = 0; | - |
721 | | - |
722 | | - |
723 | if (data->m_language_id == QLocale::C && language != QLocale::C) {TRUE | never evaluated | FALSE | evaluated 66 times by 12 testsEvaluated by:- tst_QCalendarWidget
- tst_QCollator
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QProgressBar
- tst_QSpinBox
- tst_QString
- tst_QTime
- tst_QWidget
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-66 |
724 | numberOptions = default_number_options; | - |
725 | data = defaultData(); | - |
726 | } never executed: end of block | 0 |
727 | return QLocalePrivate::create(data, numberOptions);executed 66 times by 12 tests: return QLocalePrivate::create(data, numberOptions); Executed by:- tst_QCalendarWidget
- tst_QCollator
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QProgressBar
- tst_QSpinBox
- tst_QString
- tst_QTime
- tst_QWidget
| 66 |
728 | } | - |
729 | | - |
730 | | - |
731 | | - |
732 | | - |
733 | | - |
734 | QLocale::QLocale(QLocalePrivate &dd) | - |
735 | : d(&dd) | - |
736 | {}executed 36633 times by 68 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGridLayout
- ...
| 36633 |
737 | | - |
738 | | - |
739 | | - |
740 | | - |
741 | | - |
742 | | - |
743 | | - |
744 | | - |
745 | | - |
746 | | - |
747 | | - |
748 | | - |
749 | | - |
750 | | - |
751 | | - |
752 | | - |
753 | | - |
754 | | - |
755 | | - |
756 | | - |
757 | | - |
758 | | - |
759 | | - |
760 | | - |
761 | | - |
762 | | - |
763 | | - |
764 | | - |
765 | | - |
766 | | - |
767 | | - |
768 | QLocale::QLocale(const QString &name) | - |
769 | : d(localePrivateByName(name)) | - |
770 | { | - |
771 | }executed 8925 times by 26 tests: end of block Executed by:- tst_QCollator
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMetaType
- tst_QMimeDatabase
- tst_QPrinter
- tst_QResourceEngine
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_QTimeZone
- tst_QVariant
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_rcc
- ...
| 8925 |
772 | | - |
773 | | - |
774 | | - |
775 | | - |
776 | | - |
777 | | - |
778 | | - |
779 | | - |
780 | | - |
781 | QLocale::QLocale() | - |
782 | : d(*defaultLocalePrivate) | - |
783 | { | - |
784 | }executed 444620 times by 199 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QCollator
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
| 444620 |
785 | | - |
786 | | - |
787 | | - |
788 | | - |
789 | | - |
790 | | - |
791 | | - |
792 | | - |
793 | | - |
794 | | - |
795 | | - |
796 | | - |
797 | | - |
798 | | - |
799 | | - |
800 | | - |
801 | | - |
802 | | - |
803 | | - |
804 | | - |
805 | QLocale::QLocale(Language language, Country country) | - |
806 | : d(findLocalePrivate(language, QLocale::AnyScript, country)) | - |
807 | { | - |
808 | }executed 130183 times by 122 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QCalendarWidget
- tst_QCollator
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- ...
| 130183 |
809 | | - |
810 | | - |
811 | | - |
812 | | - |
813 | | - |
814 | | - |
815 | | - |
816 | | - |
817 | | - |
818 | | - |
819 | | - |
820 | | - |
821 | | - |
822 | | - |
823 | | - |
824 | | - |
825 | | - |
826 | | - |
827 | | - |
828 | | - |
829 | | - |
830 | | - |
831 | | - |
832 | | - |
833 | | - |
834 | QLocale::QLocale(Language language, Script script, Country country) | - |
835 | : d(findLocalePrivate(language, script, country)) | - |
836 | { | - |
837 | } never executed: end of block | 0 |
838 | | - |
839 | | - |
840 | | - |
841 | | - |
842 | | - |
843 | QLocale::QLocale(const QLocale &other) | - |
844 | { | - |
845 | d = other.d; | - |
846 | }executed 118849 times by 138 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCollator
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDialog
- ...
| 118849 |
847 | | - |
848 | | - |
849 | | - |
850 | | - |
851 | | - |
852 | QLocale::~QLocale() | - |
853 | { | - |
854 | } | - |
855 | | - |
856 | | - |
857 | | - |
858 | | - |
859 | | - |
860 | | - |
861 | QLocale &QLocale::operator=(const QLocale &other) | - |
862 | { | - |
863 | d = other.d; | - |
864 | return *this;executed 324167 times by 136 tests: return *this; Executed by:- tst_ModelTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCollator
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- ...
| 324167 |
865 | } | - |
866 | | - |
867 | bool QLocale::operator==(const QLocale &other) const | - |
868 | { | - |
869 | return d->m_data == other.d->m_data && d->m_numberOptions == other.d->m_numberOptions;executed 57535 times by 121 tests: return d->m_data == other.d->m_data && d->m_numberOptions == other.d->m_numberOptions; Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCollator
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
TRUE | evaluated 57352 times by 120 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCollator
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| FALSE | evaluated 183 times by 7 testsEvaluated by:- tst_QCalendarWidget
- tst_QCollator
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QProgressBar
- tst_QSpinBox
- tst_QWidget
|
TRUE | evaluated 57352 times by 120 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCollator
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| FALSE | never evaluated |
| 0-57535 |
870 | } | - |
871 | | - |
872 | bool QLocale::operator!=(const QLocale &other) const | - |
873 | { | - |
874 | return d->m_data != other.d->m_data || d->m_numberOptions != other.d->m_numberOptions;executed 46411 times by 51 tests: return d->m_data != other.d->m_data || d->m_numberOptions != other.d->m_numberOptions; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QBrush
- tst_QColumnView
- tst_QDebug
- tst_QDnsLookup
- tst_QDoubleValidator
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QIntValidator
- ...
TRUE | evaluated 385 times by 3 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QTextStream
| FALSE | evaluated 46026 times by 51 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QBrush
- tst_QColumnView
- tst_QDebug
- tst_QDnsLookup
- tst_QDoubleValidator
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QIntValidator
- ...
|
TRUE | evaluated 1 time by 1 test | FALSE | evaluated 46025 times by 51 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QBrush
- tst_QColumnView
- tst_QDebug
- tst_QDnsLookup
- tst_QDoubleValidator
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QIntValidator
- ...
|
| 1-46411 |
875 | } | - |
876 | | - |
877 | | - |
878 | | - |
879 | | - |
880 | | - |
881 | | - |
882 | | - |
883 | | - |
884 | uint qHash(const QLocale &key, uint seed) Q_DECL_NOTHROW | - |
885 | { | - |
886 | QtPrivate::QHashCombine hash; | - |
887 | seed = hash(seed, key.d->m_data); | - |
888 | seed = hash(seed, key.d->m_numberOptions); | - |
889 | return seed; never executed: return seed; | 0 |
890 | } | - |
891 | | - |
892 | | - |
893 | | - |
894 | | - |
895 | | - |
896 | | - |
897 | | - |
898 | void QLocale::setNumberOptions(NumberOptions options) | - |
899 | { | - |
900 | d->m_numberOptions = options; | - |
901 | }executed 47319 times by 36 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMenu
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSidebar
- tst_QSortFilterProxyModel
- tst_QSplitter
- ...
| 47319 |
902 | | - |
903 | | - |
904 | | - |
905 | | - |
906 | | - |
907 | | - |
908 | | - |
909 | | - |
910 | | - |
911 | QLocale::NumberOptions QLocale::numberOptions() const | - |
912 | { | - |
913 | return static_cast<NumberOption>(d->m_numberOptions);executed 3542 times by 23 tests: return static_cast<NumberOption>(d->m_numberOptions); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QListView
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPrinter
- tst_QProgressBar
- tst_QProgressDialog
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_QTime
- tst_rcc
| 3542 |
914 | } | - |
915 | | - |
916 | | - |
917 | | - |
918 | | - |
919 | | - |
920 | | - |
921 | | - |
922 | QString QLocale::quoteString(const QString &str, QuotationStyle style) const | - |
923 | { | - |
924 | return quoteString(&str, style); never executed: return quoteString(&str, style); | 0 |
925 | } | - |
926 | | - |
927 | | - |
928 | | - |
929 | | - |
930 | | - |
931 | | - |
932 | QString QLocale::quoteString(const QStringRef &str, QuotationStyle style) const | - |
933 | { | - |
934 | #ifndef QT_NO_SYSTEMLOCALE | - |
935 | if (d->m_data == systemData()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
936 | QVariant res; | - |
937 | if (style == QLocale::AlternateQuotation)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
938 | res = systemLocale()->query(QSystemLocale::StringToAlternateQuotation, QVariant::fromValue(str)); never executed: res = systemLocale()->query(QSystemLocale::StringToAlternateQuotation, QVariant::fromValue(str)); | 0 |
939 | if (res.isNull() || style == QLocale::StandardQuotation)TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
940 | res = systemLocale()->query(QSystemLocale::StringToStandardQuotation, QVariant::fromValue(str)); never executed: res = systemLocale()->query(QSystemLocale::StringToStandardQuotation, QVariant::fromValue(str)); | 0 |
941 | if (!res.isNull())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
942 | return res.toString(); never executed: return res.toString(); | 0 |
943 | } never executed: end of block | 0 |
944 | #endif | - |
945 | | - |
946 | if (style == QLocale::StandardQuotation)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
947 | return QChar(d->m_data->m_quotation_start) % str % QChar(d->m_data->m_quotation_end); never executed: return QChar(d->m_data->m_quotation_start) % str % QChar(d->m_data->m_quotation_end); | 0 |
948 | else | - |
949 | return QChar(d->m_data->m_alternate_quotation_start) % str % QChar(d->m_data->m_alternate_quotation_end); never executed: return QChar(d->m_data->m_alternate_quotation_start) % str % QChar(d->m_data->m_alternate_quotation_end); | 0 |
950 | } | - |
951 | | - |
952 | | - |
953 | | - |
954 | | - |
955 | | - |
956 | | - |
957 | | - |
958 | QString QLocale::createSeparatedList(const QStringList &list) const | - |
959 | { | - |
960 | #ifndef QT_NO_SYSTEMLOCALE | - |
961 | if (d->m_data == systemData()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
962 | QVariant res; | - |
963 | res = systemLocale()->query(QSystemLocale::ListToSeparatedString, QVariant::fromValue(list)); | - |
964 | | - |
965 | if (!res.isNull())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
966 | return res.toString(); never executed: return res.toString(); | 0 |
967 | } never executed: end of block | 0 |
968 | #endif | - |
969 | | - |
970 | const int size = list.size(); | - |
971 | if (size == 1) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
972 | return list.at(0); never executed: return list.at(0); | 0 |
973 | } else if (size == 2) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
974 | QString format = getLocaleData(list_pattern_part_data + d->m_data->m_list_pattern_part_two_idx, d->m_data->m_list_pattern_part_two_size); | - |
975 | return format.arg(list.at(0), list.at(1)); never executed: return format.arg(list.at(0), list.at(1)); | 0 |
976 | } else if (size > 2) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
977 | QString formatStart = getLocaleData(list_pattern_part_data + d->m_data->m_list_pattern_part_start_idx, d->m_data->m_list_pattern_part_start_size); | - |
978 | QString formatMid = getLocaleData(list_pattern_part_data + d->m_data->m_list_pattern_part_mid_idx, d->m_data->m_list_pattern_part_mid_size); | - |
979 | QString formatEnd = getLocaleData(list_pattern_part_data + d->m_data->m_list_pattern_part_end_idx, d->m_data->m_list_pattern_part_end_size); | - |
980 | QString result = formatStart.arg(list.at(0), list.at(1)); | - |
981 | for (int i = 2; i < size - 1; ++i)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
982 | result = formatMid.arg(result, list.at(i)); never executed: result = formatMid.arg(result, list.at(i)); | 0 |
983 | result = formatEnd.arg(result, list.at(size - 1)); | - |
984 | return result; never executed: return result; | 0 |
985 | } | - |
986 | | - |
987 | return QString(); never executed: return QString(); | 0 |
988 | } | - |
989 | | - |
990 | | - |
991 | | - |
992 | | - |
993 | | - |
994 | | - |
995 | | - |
996 | | - |
997 | | - |
998 | | - |
999 | | - |
1000 | | - |
1001 | | - |
1002 | | - |
1003 | | - |
1004 | | - |
1005 | void QLocale::setDefault(const QLocale &locale) | - |
1006 | { | - |
1007 | default_data = locale.d->m_data; | - |
1008 | default_number_options = locale.numberOptions(); | - |
1009 | | - |
1010 | if (defaultLocalePrivate.exists()) {TRUE | evaluated 2457 times by 14 testsEvaluated by:- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_rcc
| FALSE | never evaluated |
| 0-2457 |
1011 | | - |
1012 | *defaultLocalePrivate = locale.d; | - |
1013 | }executed 2457 times by 14 tests: end of block Executed by:- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_rcc
| 2457 |
1014 | }executed 2457 times by 14 tests: end of block Executed by:- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_rcc
| 2457 |
1015 | | - |
1016 | | - |
1017 | | - |
1018 | | - |
1019 | | - |
1020 | | - |
1021 | QLocale::Language QLocale::language() const | - |
1022 | { | - |
1023 | return Language(d->languageId());executed 39755 times by 95 tests: return Language(d->languageId()); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDate
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 39755 |
1024 | } | - |
1025 | | - |
1026 | | - |
1027 | | - |
1028 | | - |
1029 | | - |
1030 | | - |
1031 | | - |
1032 | | - |
1033 | QLocale::Script QLocale::script() const | - |
1034 | { | - |
1035 | return Script(d->m_data->m_script_id);executed 34 times by 34 tests: return Script(d->m_data->m_script_id); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QListWidget
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QRadioButton
- ...
| 34 |
1036 | } | - |
1037 | | - |
1038 | | - |
1039 | | - |
1040 | | - |
1041 | | - |
1042 | | - |
1043 | QLocale::Country QLocale::country() const | - |
1044 | { | - |
1045 | return Country(d->countryId());executed 39729 times by 94 tests: return Country(d->countryId()); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 39729 |
1046 | } | - |
1047 | | - |
1048 | | - |
1049 | | - |
1050 | | - |
1051 | | - |
1052 | | - |
1053 | | - |
1054 | | - |
1055 | | - |
1056 | | - |
1057 | | - |
1058 | | - |
1059 | | - |
1060 | | - |
1061 | QString QLocale::name() const | - |
1062 | { | - |
1063 | Language l = language(); | - |
1064 | | - |
1065 | QString result = d->languageCode(); | - |
1066 | | - |
1067 | if (l == C)TRUE | evaluated 35 times by 2 testsEvaluated by:- tst_QMimeDatabase
- tst_QTimeZone
| FALSE | evaluated 3293 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTimeZone
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qnetworkreply - unknown status
|
| 35-3293 |
1068 | return result;executed 35 times by 2 tests: return result; Executed by:- tst_QMimeDatabase
- tst_QTimeZone
| 35 |
1069 | | - |
1070 | Country c = country(); | - |
1071 | if (c == AnyCountry)TRUE | never evaluated | FALSE | evaluated 3293 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTimeZone
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qnetworkreply - unknown status
|
| 0-3293 |
1072 | return result; never executed: return result; | 0 |
1073 | | - |
1074 | result.append(QLatin1Char('_')); | - |
1075 | result.append(d->countryCode()); | - |
1076 | | - |
1077 | return result;executed 3293 times by 14 tests: return result; Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTimeZone
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qnetworkreply - unknown status
| 3293 |
1078 | } | - |
1079 | | - |
1080 | static qlonglong toIntegral_helper(const QLocaleData *d, const QChar *data, int len, bool *ok, | - |
1081 | QLocaleData::GroupSeparatorMode mode, qlonglong) | - |
1082 | { | - |
1083 | return d->stringToLongLong(data, len, 10, ok, mode);executed 1227 times by 16 tests: return d->stringToLongLong(data, len, 10, ok, mode); Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDateTimeEdit
- tst_QFontDialog
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QPrinter
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_languageChange
| 1227 |
1084 | } | - |
1085 | | - |
1086 | static qulonglong toIntegral_helper(const QLocaleData *d, const QChar *data, int len, bool *ok, | - |
1087 | QLocaleData::GroupSeparatorMode mode, qulonglong) | - |
1088 | { | - |
1089 | return d->stringToUnsLongLong(data, len, 10, ok, mode);executed 15727 times by 11 tests: return d->stringToUnsLongLong(data, len, 10, ok, mode); Executed by:- tst_QAccessibility
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QStyleSheetStyle
- tst_QTime
| 15727 |
1090 | } | - |
1091 | | - |
1092 | template <typename T> static inline | - |
1093 | T toIntegral_helper(const QLocalePrivate *d, const QChar *data, int len, bool *ok) | - |
1094 | { | - |
1095 | | - |
1096 | const bool isUnsigned = T(0) < T(-1); | - |
1097 | typedef typename QtPrivate::QConditional<isUnsigned, qulonglong, qlonglong>::Type Int64; | - |
1098 | | - |
1099 | QLocaleData::GroupSeparatorMode mode | - |
1100 | = d->m_numberOptions & QLocale::RejectGroupSeparatorTRUE | never evaluated | FALSE | evaluated 16954 times by 23 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTime
- tst_languageChange
|
| 0-16954 |
1101 | ? QLocaleData::FailOnGroupSeparators | - |
1102 | : QLocaleData::ParseGroupSeparators; | - |
1103 | | - |
1104 | | - |
1105 | Int64 val = toIntegral_helper(d->m_data, data, len, ok, mode, Int64()); | - |
1106 | if (T(val) != val) {TRUE | never evaluated | FALSE | evaluated 16954 times by 23 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTime
- tst_languageChange
|
| 0-16954 |
1107 | if (ok)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1108 | *ok = false; never executed: *ok = false; | 0 |
1109 | val = 0; | - |
1110 | } never executed: end of block | 0 |
1111 | return T(val);executed 16954 times by 23 tests: return T(val); Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTime
- tst_languageChange
| 16954 |
1112 | } | - |
1113 | | - |
1114 | | - |
1115 | | - |
1116 | | - |
1117 | | - |
1118 | | - |
1119 | | - |
1120 | | - |
1121 | | - |
1122 | | - |
1123 | | - |
1124 | | - |
1125 | | - |
1126 | | - |
1127 | | - |
1128 | | - |
1129 | QString QLocale::bcp47Name() const | - |
1130 | { | - |
1131 | return QString::fromLatin1(d->bcp47Name());executed 332 times by 13 tests: return QString::fromLatin1(d->bcp47Name()); Executed by:- tst_ModelTest
- tst_QCollator
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QListWidget
- tst_QPrinter
- tst_QTableWidget
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_languageChange
| 332 |
1132 | } | - |
1133 | | - |
1134 | | - |
1135 | | - |
1136 | | - |
1137 | | - |
1138 | | - |
1139 | | - |
1140 | QString QLocale::languageToString(Language language) | - |
1141 | { | - |
1142 | if (uint(language) > uint(QLocale::LastLanguage))TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1143 | return QLatin1String("Unknown"); never executed: return QLatin1String("Unknown"); | 0 |
1144 | return QLatin1String(language_name_list + language_name_index[language]);executed 1 time by 1 test: return QLatin1String(language_name_list + language_name_index[language]); | 1 |
1145 | } | - |
1146 | | - |
1147 | | - |
1148 | | - |
1149 | | - |
1150 | | - |
1151 | | - |
1152 | | - |
1153 | QString QLocale::countryToString(Country country) | - |
1154 | { | - |
1155 | if (uint(country) > uint(QLocale::LastCountry))TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1156 | return QLatin1String("Unknown"); never executed: return QLatin1String("Unknown"); | 0 |
1157 | return QLatin1String(country_name_list + country_name_index[country]);executed 1 time by 1 test: return QLatin1String(country_name_list + country_name_index[country]); | 1 |
1158 | } | - |
1159 | | - |
1160 | | - |
1161 | | - |
1162 | | - |
1163 | | - |
1164 | | - |
1165 | | - |
1166 | | - |
1167 | QString QLocale::scriptToString(QLocale::Script script) | - |
1168 | { | - |
1169 | if (uint(script) > uint(QLocale::LastScript))TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1170 | return QLatin1String("Unknown"); never executed: return QLatin1String("Unknown"); | 0 |
1171 | return QLatin1String(script_name_list + script_name_index[script]);executed 1 time by 1 test: return QLatin1String(script_name_list + script_name_index[script]); | 1 |
1172 | } | - |
1173 | | - |
1174 | | - |
1175 | | - |
1176 | | - |
1177 | | - |
1178 | | - |
1179 | | - |
1180 | | - |
1181 | | - |
1182 | | - |
1183 | | - |
1184 | | - |
1185 | | - |
1186 | | - |
1187 | short QLocale::toShort(const QString &s, bool *ok) const | - |
1188 | { | - |
1189 | return toIntegral_helper<short>(d, s.constData(), s.size(), ok); never executed: return toIntegral_helper<short>(d, s.constData(), s.size(), ok); | 0 |
1190 | } | - |
1191 | | - |
1192 | | - |
1193 | | - |
1194 | | - |
1195 | | - |
1196 | | - |
1197 | | - |
1198 | | - |
1199 | | - |
1200 | | - |
1201 | | - |
1202 | | - |
1203 | | - |
1204 | | - |
1205 | ushort QLocale::toUShort(const QString &s, bool *ok) const | - |
1206 | { | - |
1207 | return toIntegral_helper<ushort>(d, s.constData(), s.size(), ok); never executed: return toIntegral_helper<ushort>(d, s.constData(), s.size(), ok); | 0 |
1208 | } | - |
1209 | | - |
1210 | | - |
1211 | | - |
1212 | | - |
1213 | | - |
1214 | | - |
1215 | | - |
1216 | | - |
1217 | | - |
1218 | | - |
1219 | | - |
1220 | | - |
1221 | | - |
1222 | | - |
1223 | int QLocale::toInt(const QString &s, bool *ok) const | - |
1224 | { | - |
1225 | return toIntegral_helper<int>(d, s.constData(), s.size(), ok);executed 1227 times by 16 tests: return toIntegral_helper<int>(d, s.constData(), s.size(), ok); Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDateTimeEdit
- tst_QFontDialog
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QPrinter
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_languageChange
| 1227 |
1226 | } | - |
1227 | | - |
1228 | | - |
1229 | | - |
1230 | | - |
1231 | | - |
1232 | | - |
1233 | | - |
1234 | | - |
1235 | | - |
1236 | | - |
1237 | | - |
1238 | | - |
1239 | | - |
1240 | | - |
1241 | uint QLocale::toUInt(const QString &s, bool *ok) const | - |
1242 | { | - |
1243 | return toIntegral_helper<uint>(d, s.constData(), s.size(), ok);executed 15727 times by 11 tests: return toIntegral_helper<uint>(d, s.constData(), s.size(), ok); Executed by:- tst_QAccessibility
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QStyleSheetStyle
- tst_QTime
| 15727 |
1244 | } | - |
1245 | | - |
1246 | | - |
1247 | | - |
1248 | | - |
1249 | | - |
1250 | | - |
1251 | | - |
1252 | | - |
1253 | | - |
1254 | | - |
1255 | | - |
1256 | | - |
1257 | | - |
1258 | | - |
1259 | | - |
1260 | qlonglong QLocale::toLongLong(const QString &s, bool *ok) const | - |
1261 | { | - |
1262 | return toIntegral_helper<qlonglong>(d, s.constData(), s.size(), ok); never executed: return toIntegral_helper<qlonglong>(d, s.constData(), s.size(), ok); | 0 |
1263 | } | - |
1264 | | - |
1265 | | - |
1266 | | - |
1267 | | - |
1268 | | - |
1269 | | - |
1270 | | - |
1271 | | - |
1272 | | - |
1273 | | - |
1274 | | - |
1275 | | - |
1276 | | - |
1277 | | - |
1278 | | - |
1279 | qulonglong QLocale::toULongLong(const QString &s, bool *ok) const | - |
1280 | { | - |
1281 | return toIntegral_helper<qulonglong>(d, s.constData(), s.size(), ok); never executed: return toIntegral_helper<qulonglong>(d, s.constData(), s.size(), ok); | 0 |
1282 | } | - |
1283 | | - |
1284 | | - |
1285 | | - |
1286 | | - |
1287 | | - |
1288 | | - |
1289 | | - |
1290 | | - |
1291 | | - |
1292 | | - |
1293 | | - |
1294 | | - |
1295 | | - |
1296 | float QLocale::toFloat(const QString &s, bool *ok) const | - |
1297 | { | - |
1298 | return QLocaleData::convertDoubleToFloat(toDouble(s, ok), ok); never executed: return QLocaleData::convertDoubleToFloat(toDouble(s, ok), ok); | 0 |
1299 | } | - |
1300 | | - |
1301 | | - |
1302 | | - |
1303 | | - |
1304 | | - |
1305 | | - |
1306 | | - |
1307 | | - |
1308 | | - |
1309 | | - |
1310 | | - |
1311 | | - |
1312 | | - |
1313 | | - |
1314 | | - |
1315 | | - |
1316 | | - |
1317 | | - |
1318 | | - |
1319 | | - |
1320 | | - |
1321 | | - |
1322 | double QLocale::toDouble(const QString &s, bool *ok) const | - |
1323 | { | - |
1324 | QLocaleData::GroupSeparatorMode mode | - |
1325 | = d->m_numberOptions & RejectGroupSeparatorTRUE | never evaluated | FALSE | evaluated 1214 times by 7 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QTextStream
|
| 0-1214 |
1326 | ? QLocaleData::FailOnGroupSeparators | - |
1327 | : QLocaleData::ParseGroupSeparators; | - |
1328 | | - |
1329 | return d->m_data->stringToDouble(s.constData(), s.size(), ok, mode);executed 1214 times by 7 tests: return d->m_data->stringToDouble(s.constData(), s.size(), ok, mode); Executed by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QTextStream
| 1214 |
1330 | } | - |
1331 | | - |
1332 | | - |
1333 | | - |
1334 | | - |
1335 | | - |
1336 | | - |
1337 | | - |
1338 | | - |
1339 | | - |
1340 | | - |
1341 | | - |
1342 | | - |
1343 | | - |
1344 | | - |
1345 | | - |
1346 | | - |
1347 | short QLocale::toShort(const QStringRef &s, bool *ok) const | - |
1348 | { | - |
1349 | return toIntegral_helper<short>(d, s.constData(), s.size(), ok); never executed: return toIntegral_helper<short>(d, s.constData(), s.size(), ok); | 0 |
1350 | } | - |
1351 | | - |
1352 | | - |
1353 | | - |
1354 | | - |
1355 | | - |
1356 | | - |
1357 | | - |
1358 | | - |
1359 | | - |
1360 | | - |
1361 | | - |
1362 | | - |
1363 | | - |
1364 | | - |
1365 | | - |
1366 | | - |
1367 | ushort QLocale::toUShort(const QStringRef &s, bool *ok) const | - |
1368 | { | - |
1369 | return toIntegral_helper<ushort>(d, s.constData(), s.size(), ok); never executed: return toIntegral_helper<ushort>(d, s.constData(), s.size(), ok); | 0 |
1370 | } | - |
1371 | | - |
1372 | | - |
1373 | | - |
1374 | | - |
1375 | | - |
1376 | | - |
1377 | | - |
1378 | | - |
1379 | | - |
1380 | | - |
1381 | | - |
1382 | | - |
1383 | | - |
1384 | | - |
1385 | | - |
1386 | | - |
1387 | int QLocale::toInt(const QStringRef &s, bool *ok) const | - |
1388 | { | - |
1389 | return toIntegral_helper<int>(d, s.constData(), s.size(), ok); never executed: return toIntegral_helper<int>(d, s.constData(), s.size(), ok); | 0 |
1390 | } | - |
1391 | | - |
1392 | | - |
1393 | | - |
1394 | | - |
1395 | | - |
1396 | | - |
1397 | | - |
1398 | | - |
1399 | | - |
1400 | | - |
1401 | | - |
1402 | | - |
1403 | | - |
1404 | | - |
1405 | | - |
1406 | | - |
1407 | uint QLocale::toUInt(const QStringRef &s, bool *ok) const | - |
1408 | { | - |
1409 | return toIntegral_helper<uint>(d, s.constData(), s.size(), ok); never executed: return toIntegral_helper<uint>(d, s.constData(), s.size(), ok); | 0 |
1410 | } | - |
1411 | | - |
1412 | | - |
1413 | | - |
1414 | | - |
1415 | | - |
1416 | | - |
1417 | | - |
1418 | | - |
1419 | | - |
1420 | | - |
1421 | | - |
1422 | | - |
1423 | | - |
1424 | | - |
1425 | | - |
1426 | | - |
1427 | | - |
1428 | qlonglong QLocale::toLongLong(const QStringRef &s, bool *ok) const | - |
1429 | { | - |
1430 | return toIntegral_helper<qlonglong>(d, s.constData(), s.size(), ok); never executed: return toIntegral_helper<qlonglong>(d, s.constData(), s.size(), ok); | 0 |
1431 | } | - |
1432 | | - |
1433 | | - |
1434 | | - |
1435 | | - |
1436 | | - |
1437 | | - |
1438 | | - |
1439 | | - |
1440 | | - |
1441 | | - |
1442 | | - |
1443 | | - |
1444 | | - |
1445 | | - |
1446 | | - |
1447 | | - |
1448 | | - |
1449 | qulonglong QLocale::toULongLong(const QStringRef &s, bool *ok) const | - |
1450 | { | - |
1451 | return toIntegral_helper<qulonglong>(d, s.constData(), s.size(), ok); never executed: return toIntegral_helper<qulonglong>(d, s.constData(), s.size(), ok); | 0 |
1452 | } | - |
1453 | | - |
1454 | | - |
1455 | | - |
1456 | | - |
1457 | | - |
1458 | | - |
1459 | | - |
1460 | | - |
1461 | | - |
1462 | | - |
1463 | | - |
1464 | | - |
1465 | | - |
1466 | | - |
1467 | | - |
1468 | float QLocale::toFloat(const QStringRef &s, bool *ok) const | - |
1469 | { | - |
1470 | return QLocaleData::convertDoubleToFloat(toDouble(s, ok), ok); never executed: return QLocaleData::convertDoubleToFloat(toDouble(s, ok), ok); | 0 |
1471 | } | - |
1472 | | - |
1473 | | - |
1474 | | - |
1475 | | - |
1476 | | - |
1477 | | - |
1478 | | - |
1479 | | - |
1480 | | - |
1481 | | - |
1482 | | - |
1483 | | - |
1484 | | - |
1485 | | - |
1486 | | - |
1487 | | - |
1488 | | - |
1489 | | - |
1490 | | - |
1491 | | - |
1492 | | - |
1493 | | - |
1494 | | - |
1495 | | - |
1496 | double QLocale::toDouble(const QStringRef &s, bool *ok) const | - |
1497 | { | - |
1498 | QLocaleData::GroupSeparatorMode mode | - |
1499 | = d->m_numberOptions & RejectGroupSeparatorTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1500 | ? QLocaleData::FailOnGroupSeparators | - |
1501 | : QLocaleData::ParseGroupSeparators; | - |
1502 | | - |
1503 | return d->m_data->stringToDouble(s.constData(), s.size(), ok, mode); never executed: return d->m_data->stringToDouble(s.constData(), s.size(), ok, mode); | 0 |
1504 | } | - |
1505 | | - |
1506 | | - |
1507 | | - |
1508 | | - |
1509 | | - |
1510 | | - |
1511 | | - |
1512 | | - |
1513 | QString QLocale::toString(qlonglong i) const | - |
1514 | { | - |
1515 | int flags = d->m_numberOptions & OmitGroupSeparatorTRUE | evaluated 11595 times by 12 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QHeaderView
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QSpinBox
- tst_QTableView
- tst_QTreeView
| FALSE | evaluated 1659 times by 20 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QPrinter
- tst_QProgressBar
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_languageChange
|
| 1659-11595 |
1516 | ? 0 | - |
1517 | : QLocaleData::ThousandsGroup; | - |
1518 | | - |
1519 | return d->m_data->longLongToString(i, -1, 10, -1, flags);executed 13254 times by 26 tests: return d->m_data->longLongToString(i, -1, 10, -1, flags); Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPrinter
- tst_QProgressBar
- tst_QProgressDialog
- tst_QSortFilterProxyModel
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTreeView
- ...
| 13254 |
1520 | } | - |
1521 | | - |
1522 | | - |
1523 | | - |
1524 | | - |
1525 | | - |
1526 | | - |
1527 | | - |
1528 | QString QLocale::toString(qulonglong i) const | - |
1529 | { | - |
1530 | int flags = d->m_numberOptions & OmitGroupSeparatorTRUE | evaluated 12 times by 1 test | FALSE | evaluated 290 times by 2 testsEvaluated by:- tst_QItemDelegate
- tst_QItemModel
|
| 12-290 |
1531 | ? 0 | - |
1532 | : QLocaleData::ThousandsGroup; | - |
1533 | | - |
1534 | return d->m_data->unsLongLongToString(i, -1, 10, -1, flags);executed 302 times by 2 tests: return d->m_data->unsLongLongToString(i, -1, 10, -1, flags); Executed by:- tst_QItemDelegate
- tst_QItemModel
| 302 |
1535 | } | - |
1536 | | - |
1537 | | - |
1538 | | - |
1539 | | - |
1540 | | - |
1541 | | - |
1542 | | - |
1543 | QString QLocale::toString(const QDate &date, const QString &format) const | - |
1544 | { | - |
1545 | return d->dateTimeToString(format, QDateTime(), date, QTime(), this);executed 13914 times by 7 tests: return d->dateTimeToString(format, QDateTime(), date, QTime(), this); Executed by:- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QVariant
| 13914 |
1546 | } | - |
1547 | | - |
1548 | | - |
1549 | | - |
1550 | | - |
1551 | | - |
1552 | | - |
1553 | QString QLocale::toString(const QDate &date, FormatType format) const | - |
1554 | { | - |
1555 | if (!date.isValid())TRUE | never evaluated | FALSE | evaluated 204 times by 2 testsEvaluated by:- tst_QDate
- tst_QItemDelegate
|
| 0-204 |
1556 | return QString(); never executed: return QString(); | 0 |
1557 | | - |
1558 | #ifndef QT_NO_SYSTEMLOCALE | - |
1559 | if (d->m_data == systemData()) {TRUE | evaluated 76 times by 2 testsEvaluated by:- tst_QDate
- tst_QItemDelegate
| FALSE | evaluated 128 times by 2 testsEvaluated by:- tst_QDate
- tst_QItemDelegate
|
| 76-128 |
1560 | QVariant res = systemLocale()->query(format == LongFormat | - |
1561 | ? QSystemLocale::DateToStringLong : QSystemLocale::DateToStringShort, | - |
1562 | date); | - |
1563 | if (!res.isNull())TRUE | evaluated 76 times by 2 testsEvaluated by:- tst_QDate
- tst_QItemDelegate
| FALSE | never evaluated |
| 0-76 |
1564 | return res.toString();executed 76 times by 2 tests: return res.toString(); Executed by:- tst_QDate
- tst_QItemDelegate
| 76 |
1565 | } never executed: end of block | 0 |
1566 | #endif | - |
1567 | | - |
1568 | QString format_str = dateFormat(format); | - |
1569 | return toString(date, format_str);executed 128 times by 2 tests: return toString(date, format_str); Executed by:- tst_QDate
- tst_QItemDelegate
| 128 |
1570 | } | - |
1571 | | - |
1572 | static bool timeFormatContainsAP(const QString &format) | - |
1573 | { | - |
1574 | int i = 0; | - |
1575 | while (i < format.size()) {TRUE | evaluated 300834 times by 26 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- tst_languageChange
- ...
| FALSE | evaluated 17874 times by 18 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- tst_selftests - unknown status
|
| 17874-300834 |
1576 | if (format.at(i).unicode() == '\'') {TRUE | evaluated 694 times by 6 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| FALSE | evaluated 300140 times by 26 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- tst_languageChange
- ...
|
| 694-300140 |
1577 | qt_readEscapedFormatString(format, &i); | - |
1578 | continue;executed 694 times by 6 tests: continue; Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 694 |
1579 | } | - |
1580 | | - |
1581 | if (format.at(i).toLower().unicode() == 'a')TRUE | evaluated 3589 times by 12 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QTime
- tst_languageChange
| FALSE | evaluated 296551 times by 26 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- tst_languageChange
- ...
|
| 3589-296551 |
1582 | return true;executed 3589 times by 12 tests: return true; Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QTime
- tst_languageChange
| 3589 |
1583 | | - |
1584 | ++i; | - |
1585 | }executed 296551 times by 26 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- tst_languageChange
- ...
| 296551 |
1586 | return false;executed 17874 times by 18 tests: return false; Executed by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- tst_selftests - unknown status
| 17874 |
1587 | } | - |
1588 | | - |
1589 | | - |
1590 | | - |
1591 | | - |
1592 | | - |
1593 | | - |
1594 | QString QLocale::toString(const QTime &time, const QString &format) const | - |
1595 | { | - |
1596 | return d->dateTimeToString(format, QDateTime(), QDate(), time, this);executed 14096 times by 6 tests: return d->dateTimeToString(format, QDateTime(), QDate(), time, this); Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QTime
- tst_QVariant
| 14096 |
1597 | } | - |
1598 | | - |
1599 | | - |
1600 | | - |
1601 | | - |
1602 | | - |
1603 | | - |
1604 | | - |
1605 | | - |
1606 | | - |
1607 | QString QLocale::toString(const QDateTime &dateTime, const QString &format) const | - |
1608 | { | - |
1609 | return d->dateTimeToString(format, dateTime, QDate(), QTime(), this);executed 10167 times by 29 tests: return d->dateTimeToString(format, dateTime, QDate(), QTime(), this); Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QXmlStream
- ...
| 10167 |
1610 | } | - |
1611 | | - |
1612 | | - |
1613 | | - |
1614 | | - |
1615 | | - |
1616 | | - |
1617 | | - |
1618 | | - |
1619 | QString QLocale::toString(const QDateTime &dateTime, FormatType format) const | - |
1620 | { | - |
1621 | if (!dateTime.isValid())TRUE | never evaluated | FALSE | evaluated 5579 times by 8 testsEvaluated by:- tst_QCompleter
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_languageChange
|
| 0-5579 |
1622 | return QString(); never executed: return QString(); | 0 |
1623 | | - |
1624 | #ifndef QT_NO_SYSTEMLOCALE | - |
1625 | if (d->m_data == systemData()) {TRUE | evaluated 2788 times by 8 testsEvaluated by:- tst_QCompleter
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_languageChange
| FALSE | evaluated 2791 times by 8 testsEvaluated by:- tst_QCompleter
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_languageChange
|
| 2788-2791 |
1626 | QVariant res = systemLocale()->query(format == LongFormat | - |
1627 | ? QSystemLocale::DateTimeToStringLong | - |
1628 | : QSystemLocale::DateTimeToStringShort, | - |
1629 | dateTime); | - |
1630 | if (!res.isNull())TRUE | evaluated 2788 times by 8 testsEvaluated by:- tst_QCompleter
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_languageChange
| FALSE | never evaluated |
| 0-2788 |
1631 | return res.toString();executed 2788 times by 8 tests: return res.toString(); Executed by:- tst_QCompleter
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_languageChange
| 2788 |
1632 | } never executed: end of block | 0 |
1633 | #endif | - |
1634 | | - |
1635 | const QString format_str = dateTimeFormat(format); | - |
1636 | return toString(dateTime, format_str);executed 2791 times by 8 tests: return toString(dateTime, format_str); Executed by:- tst_QCompleter
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_languageChange
| 2791 |
1637 | } | - |
1638 | | - |
1639 | | - |
1640 | | - |
1641 | | - |
1642 | | - |
1643 | | - |
1644 | | - |
1645 | QString QLocale::toString(const QTime &time, FormatType format) const | - |
1646 | { | - |
1647 | if (!time.isValid())TRUE | never evaluated | FALSE | evaluated 64 times by 2 testsEvaluated by:- tst_QItemDelegate
- tst_QTime
|
| 0-64 |
1648 | return QString(); never executed: return QString(); | 0 |
1649 | | - |
1650 | #ifndef QT_NO_SYSTEMLOCALE | - |
1651 | if (d->m_data == systemData()) {TRUE | evaluated 30 times by 2 testsEvaluated by:- tst_QItemDelegate
- tst_QTime
| FALSE | evaluated 34 times by 2 testsEvaluated by:- tst_QItemDelegate
- tst_QTime
|
| 30-34 |
1652 | QVariant res = systemLocale()->query(format == LongFormat | - |
1653 | ? QSystemLocale::TimeToStringLong : QSystemLocale::TimeToStringShort, | - |
1654 | time); | - |
1655 | if (!res.isNull())TRUE | evaluated 30 times by 2 testsEvaluated by:- tst_QItemDelegate
- tst_QTime
| FALSE | never evaluated |
| 0-30 |
1656 | return res.toString();executed 30 times by 2 tests: return res.toString(); Executed by:- tst_QItemDelegate
- tst_QTime
| 30 |
1657 | } never executed: end of block | 0 |
1658 | #endif | - |
1659 | | - |
1660 | QString format_str = timeFormat(format); | - |
1661 | return toString(time, format_str);executed 34 times by 2 tests: return toString(time, format_str); Executed by:- tst_QItemDelegate
- tst_QTime
| 34 |
1662 | } | - |
1663 | | - |
1664 | | - |
1665 | | - |
1666 | | - |
1667 | | - |
1668 | | - |
1669 | | - |
1670 | | - |
1671 | | - |
1672 | | - |
1673 | | - |
1674 | | - |
1675 | QString QLocale::dateFormat(FormatType format) const | - |
1676 | { | - |
1677 | #ifndef QT_NO_SYSTEMLOCALE | - |
1678 | if (d->m_data == systemData()) {TRUE | evaluated 11 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
| FALSE | evaluated 3157 times by 13 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_languageChange
|
| 11-3157 |
1679 | QVariant res = systemLocale()->query(format == LongFormat | - |
1680 | ? QSystemLocale::DateFormatLong : QSystemLocale::DateFormatShort, | - |
1681 | QVariant()); | - |
1682 | if (!res.isNull())TRUE | evaluated 11 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
| FALSE | never evaluated |
| 0-11 |
1683 | return res.toString();executed 11 times by 4 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
| 11 |
1684 | } never executed: end of block | 0 |
1685 | #endif | - |
1686 | | - |
1687 | quint32 idx, size; | - |
1688 | switch (format) { | - |
1689 | case LongFormat:executed 63 times by 3 tests: case LongFormat: Executed by:- tst_QDate
- tst_QDateTime
- tst_QItemDelegate
| 63 |
1690 | idx = d->m_data->m_long_date_format_idx; | - |
1691 | size = d->m_data->m_long_date_format_size; | - |
1692 | break;executed 63 times by 3 tests: break; Executed by:- tst_QDate
- tst_QDateTime
- tst_QItemDelegate
| 63 |
1693 | default:executed 3094 times by 13 tests: default: Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_languageChange
| 3094 |
1694 | idx = d->m_data->m_short_date_format_idx; | - |
1695 | size = d->m_data->m_short_date_format_size; | - |
1696 | break;executed 3094 times by 13 tests: break; Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_languageChange
| 3094 |
1697 | } | - |
1698 | return getLocaleData(date_format_data + idx, size);executed 3157 times by 13 tests: return getLocaleData(date_format_data + idx, size); Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_languageChange
| 3157 |
1699 | } | - |
1700 | | - |
1701 | | - |
1702 | | - |
1703 | | - |
1704 | | - |
1705 | | - |
1706 | | - |
1707 | | - |
1708 | | - |
1709 | | - |
1710 | | - |
1711 | | - |
1712 | QString QLocale::timeFormat(FormatType format) const | - |
1713 | { | - |
1714 | #ifndef QT_NO_SYSTEMLOCALE | - |
1715 | if (d->m_data == systemData()) {TRUE | evaluated 11 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
| FALSE | evaluated 3063 times by 13 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_QTime
- tst_languageChange
|
| 11-3063 |
1716 | QVariant res = systemLocale()->query(format == LongFormat | - |
1717 | ? QSystemLocale::TimeFormatLong : QSystemLocale::TimeFormatShort, | - |
1718 | QVariant()); | - |
1719 | if (!res.isNull())TRUE | evaluated 11 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
| FALSE | never evaluated |
| 0-11 |
1720 | return res.toString();executed 11 times by 4 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
| 11 |
1721 | } never executed: end of block | 0 |
1722 | #endif | - |
1723 | | - |
1724 | quint32 idx, size; | - |
1725 | switch (format) { | - |
1726 | case LongFormat:executed 15 times by 3 tests: case LongFormat: Executed by:- tst_QDateTime
- tst_QItemDelegate
- tst_QTime
| 15 |
1727 | idx = d->m_data->m_long_time_format_idx; | - |
1728 | size = d->m_data->m_long_time_format_size; | - |
1729 | break;executed 15 times by 3 tests: break; Executed by:- tst_QDateTime
- tst_QItemDelegate
- tst_QTime
| 15 |
1730 | default:executed 3048 times by 13 tests: default: Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_QTime
- tst_languageChange
| 3048 |
1731 | idx = d->m_data->m_short_time_format_idx; | - |
1732 | size = d->m_data->m_short_time_format_size; | - |
1733 | break;executed 3048 times by 13 tests: break; Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_QTime
- tst_languageChange
| 3048 |
1734 | } | - |
1735 | return getLocaleData(time_format_data + idx, size);executed 3063 times by 13 tests: return getLocaleData(time_format_data + idx, size); Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_QTime
- tst_languageChange
| 3063 |
1736 | } | - |
1737 | | - |
1738 | | - |
1739 | | - |
1740 | | - |
1741 | | - |
1742 | | - |
1743 | | - |
1744 | | - |
1745 | | - |
1746 | | - |
1747 | | - |
1748 | | - |
1749 | QString QLocale::dateTimeFormat(FormatType format) const | - |
1750 | { | - |
1751 | #ifndef QT_NO_SYSTEMLOCALE | - |
1752 | if (d->m_data == systemData()) {TRUE | evaluated 14 times by 5 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
| FALSE | evaluated 2913 times by 12 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_languageChange
|
| 14-2913 |
1753 | QVariant res = systemLocale()->query(format == LongFormat | - |
1754 | ? QSystemLocale::DateTimeFormatLong | - |
1755 | : QSystemLocale::DateTimeFormatShort, | - |
1756 | QVariant()); | - |
1757 | if (!res.isNull()) {TRUE | evaluated 14 times by 5 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
| FALSE | never evaluated |
| 0-14 |
1758 | return res.toString();executed 14 times by 5 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
| 14 |
1759 | } | - |
1760 | } never executed: end of block | 0 |
1761 | #endif | - |
1762 | return dateFormat(format) + QLatin1Char(' ') + timeFormat(format);executed 2913 times by 12 tests: return dateFormat(format) + QLatin1Char(' ') + timeFormat(format); Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_languageChange
| 2913 |
1763 | } | - |
1764 | | - |
1765 | | - |
1766 | | - |
1767 | | - |
1768 | | - |
1769 | | - |
1770 | | - |
1771 | | - |
1772 | | - |
1773 | | - |
1774 | | - |
1775 | | - |
1776 | #ifndef QT_NO_DATESTRING | - |
1777 | QTime QLocale::toTime(const QString &string, FormatType format) const | - |
1778 | { | - |
1779 | return toTime(string, timeFormat(format)); never executed: return toTime(string, timeFormat(format)); | 0 |
1780 | } | - |
1781 | #endif | - |
1782 | | - |
1783 | | - |
1784 | | - |
1785 | | - |
1786 | | - |
1787 | | - |
1788 | | - |
1789 | | - |
1790 | | - |
1791 | | - |
1792 | | - |
1793 | | - |
1794 | #ifndef QT_NO_DATESTRING | - |
1795 | QDate QLocale::toDate(const QString &string, FormatType format) const | - |
1796 | { | - |
1797 | return toDate(string, dateFormat(format)); never executed: return toDate(string, dateFormat(format)); | 0 |
1798 | } | - |
1799 | #endif | - |
1800 | | - |
1801 | | - |
1802 | | - |
1803 | | - |
1804 | | - |
1805 | | - |
1806 | | - |
1807 | | - |
1808 | | - |
1809 | | - |
1810 | | - |
1811 | | - |
1812 | | - |
1813 | #ifndef QT_NO_DATESTRING | - |
1814 | QDateTime QLocale::toDateTime(const QString &string, FormatType format) const | - |
1815 | { | - |
1816 | return toDateTime(string, dateTimeFormat(format));executed 6 times by 1 test: return toDateTime(string, dateTimeFormat(format)); | 6 |
1817 | } | - |
1818 | #endif | - |
1819 | | - |
1820 | | - |
1821 | | - |
1822 | | - |
1823 | | - |
1824 | | - |
1825 | | - |
1826 | | - |
1827 | | - |
1828 | | - |
1829 | | - |
1830 | | - |
1831 | #ifndef QT_NO_DATESTRING | - |
1832 | QTime QLocale::toTime(const QString &string, const QString &format) const | - |
1833 | { | - |
1834 | QTime time; | - |
1835 | #ifndef QT_BOOTSTRAPPED | - |
1836 | QDateTimeParser dt(QVariant::Time, QDateTimeParser::FromString); | - |
1837 | dt.setDefaultLocale(*this); | - |
1838 | if (dt.parseFormat(format))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1839 | dt.fromString(string, 0, &time); never executed: dt.fromString(string, 0, &time); | 0 |
1840 | #else | - |
1841 | Q_UNUSED(string); | - |
1842 | Q_UNUSED(format); | - |
1843 | #endif | - |
1844 | return time; never executed: return time; | 0 |
1845 | } | - |
1846 | #endif | - |
1847 | | - |
1848 | | - |
1849 | | - |
1850 | | - |
1851 | | - |
1852 | | - |
1853 | | - |
1854 | | - |
1855 | | - |
1856 | | - |
1857 | | - |
1858 | | - |
1859 | | - |
1860 | | - |
1861 | | - |
1862 | #ifndef QT_NO_DATESTRING | - |
1863 | QDate QLocale::toDate(const QString &string, const QString &format) const | - |
1864 | { | - |
1865 | QDate date; | - |
1866 | #ifndef QT_BOOTSTRAPPED | - |
1867 | QDateTimeParser dt(QVariant::Date, QDateTimeParser::FromString); | - |
1868 | dt.setDefaultLocale(*this); | - |
1869 | if (dt.parseFormat(format))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1870 | dt.fromString(string, &date, 0); never executed: dt.fromString(string, &date, 0); | 0 |
1871 | #else | - |
1872 | Q_UNUSED(string); | - |
1873 | Q_UNUSED(format); | - |
1874 | #endif | - |
1875 | return date; never executed: return date; | 0 |
1876 | } | - |
1877 | #endif | - |
1878 | | - |
1879 | | - |
1880 | | - |
1881 | | - |
1882 | | - |
1883 | | - |
1884 | | - |
1885 | | - |
1886 | | - |
1887 | | - |
1888 | | - |
1889 | | - |
1890 | | - |
1891 | | - |
1892 | | - |
1893 | #ifndef QT_NO_DATESTRING | - |
1894 | QDateTime QLocale::toDateTime(const QString &string, const QString &format) const | - |
1895 | { | - |
1896 | #ifndef QT_BOOTSTRAPPED | - |
1897 | QTime time; | - |
1898 | QDate date; | - |
1899 | | - |
1900 | QDateTimeParser dt(QVariant::DateTime, QDateTimeParser::FromString); | - |
1901 | dt.setDefaultLocale(*this); | - |
1902 | if (dt.parseFormat(format) && dt.fromString(string, &date, &time))TRUE | evaluated 533 times by 3 testsEvaluated by:- tst_QDateTime
- tst_QFtp
- tst_QNetworkRequest
| FALSE | never evaluated |
TRUE | evaluated 407 times by 3 testsEvaluated by:- tst_QDateTime
- tst_QFtp
- tst_QNetworkRequest
| FALSE | evaluated 126 times by 2 tests |
| 0-533 |
1903 | return QDateTime(date, time);executed 407 times by 3 tests: return QDateTime(date, time); Executed by:- tst_QDateTime
- tst_QFtp
- tst_QNetworkRequest
| 407 |
1904 | #else | - |
1905 | Q_UNUSED(string); | - |
1906 | Q_UNUSED(format); | - |
1907 | #endif | - |
1908 | return QDateTime(QDate(), QTime(-1, -1, -1));executed 126 times by 2 tests: return QDateTime(QDate(), QTime(-1, -1, -1)); | 126 |
1909 | } | - |
1910 | #endif | - |
1911 | | - |
1912 | | - |
1913 | | - |
1914 | | - |
1915 | | - |
1916 | | - |
1917 | | - |
1918 | QChar QLocale::decimalPoint() const | - |
1919 | { | - |
1920 | return d->decimal();executed 2865 times by 18 tests: return d->decimal(); Executed by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QTextStream
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 2865 |
1921 | } | - |
1922 | | - |
1923 | | - |
1924 | | - |
1925 | | - |
1926 | | - |
1927 | | - |
1928 | QChar QLocale::groupSeparator() const | - |
1929 | { | - |
1930 | return d->group();executed 6804 times by 22 tests: return d->group(); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_languageChange
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 6804 |
1931 | } | - |
1932 | | - |
1933 | | - |
1934 | | - |
1935 | | - |
1936 | | - |
1937 | | - |
1938 | QChar QLocale::percent() const | - |
1939 | { | - |
1940 | return d->percent();executed 44 times by 6 tests: return d->percent(); Executed by:- tst_QAccessibility
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QProgressBar
- tst_QProgressDialog
- tst_QStyle
- tst_QStyleSheetStyle
| 44 |
1941 | } | - |
1942 | | - |
1943 | | - |
1944 | | - |
1945 | | - |
1946 | | - |
1947 | | - |
1948 | QChar QLocale::zeroDigit() const | - |
1949 | { | - |
1950 | return d->zero();executed 779 times by 11 tests: return d->zero(); Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 779 |
1951 | } | - |
1952 | | - |
1953 | | - |
1954 | | - |
1955 | | - |
1956 | | - |
1957 | | - |
1958 | QChar QLocale::negativeSign() const | - |
1959 | { | - |
1960 | return d->minus();executed 57837 times by 14 tests: return d->minus(); Executed by:- tst_QSplitter
- tst_QString
- tst_QTextStream
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 57837 |
1961 | } | - |
1962 | | - |
1963 | | - |
1964 | | - |
1965 | | - |
1966 | | - |
1967 | | - |
1968 | QChar QLocale::positiveSign() const | - |
1969 | { | - |
1970 | return d->plus();executed 36454 times by 14 tests: return d->plus(); Executed by:- tst_QSplitter
- tst_QString
- tst_QTextStream
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - 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
| 36454 |
1971 | } | - |
1972 | | - |
1973 | | - |
1974 | | - |
1975 | | - |
1976 | | - |
1977 | | - |
1978 | QChar QLocale::exponential() const | - |
1979 | { | - |
1980 | return d->exponential();executed 81 times by 1 test: return d->exponential(); | 81 |
1981 | } | - |
1982 | | - |
1983 | static bool qIsUpper(char c) | - |
1984 | { | - |
1985 | return c >= 'A' && c <= 'Z';executed 1282 times by 10 tests: return c >= 'A' && c <= 'Z'; Executed by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
TRUE | evaluated 1282 times by 10 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | evaluated 1282 times by 10 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
|
| 0-1282 |
1986 | } | - |
1987 | | - |
1988 | static char qToLower(char c) | - |
1989 | { | - |
1990 | if (c >= 'A' && c <= 'Z')TRUE | evaluated 1282 times by 10 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | evaluated 1282 times by 10 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
|
| 0-1282 |
1991 | return c - 'A' + 'a'; never executed: return c - 'A' + 'a'; | 0 |
1992 | else | - |
1993 | return c;executed 1282 times by 10 tests: return c; Executed by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
| 1282 |
1994 | } | - |
1995 | | - |
1996 | | - |
1997 | | - |
1998 | | - |
1999 | | - |
2000 | | - |
2001 | | - |
2002 | | - |
2003 | | - |
2004 | QString QLocale::toString(double i, char f, int prec) const | - |
2005 | { | - |
2006 | QLocaleData::DoubleForm form = QLocaleData::DFDecimal; | - |
2007 | uint flags = 0; | - |
2008 | | - |
2009 | if (qIsUpper(f))TRUE | never evaluated | FALSE | evaluated 1282 times by 10 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
|
| 0-1282 |
2010 | flags = QLocaleData::CapitalEorX; never executed: flags = QLocaleData::CapitalEorX; | 0 |
2011 | f = qToLower(f); | - |
2012 | | - |
2013 | switch (f) { | - |
2014 | case 'f':executed 1207 times by 10 tests: case 'f': Executed by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
| 1207 |
2015 | form = QLocaleData::DFDecimal; | - |
2016 | break;executed 1207 times by 10 tests: break; Executed by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
| 1207 |
2017 | case 'e': never executed: case 'e': | 0 |
2018 | form = QLocaleData::DFExponent; | - |
2019 | break; never executed: break; | 0 |
2020 | case 'g':executed 75 times by 3 tests: case 'g': Executed by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
| 75 |
2021 | form = QLocaleData::DFSignificantDigits; | - |
2022 | break;executed 75 times by 3 tests: break; Executed by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
| 75 |
2023 | default: never executed: default: | 0 |
2024 | break; never executed: break; | 0 |
2025 | } | - |
2026 | | - |
2027 | if (!(d->m_numberOptions & OmitGroupSeparator))TRUE | evaluated 597 times by 9 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
| FALSE | evaluated 685 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSpinBox
|
| 597-685 |
2028 | flags |= QLocaleData::ThousandsGroup;executed 597 times by 9 tests: flags |= QLocaleData::ThousandsGroup; Executed by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
| 597 |
2029 | return d->m_data->doubleToString(i, prec, form, -1, flags);executed 1282 times by 10 tests: return d->m_data->doubleToString(i, prec, form, -1, flags); Executed by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
| 1282 |
2030 | } | - |
2031 | | - |
2032 | | - |
2033 | | - |
2034 | | - |
2035 | | - |
2036 | | - |
2037 | | - |
2038 | | - |
2039 | | - |
2040 | | - |
2041 | | - |
2042 | | - |
2043 | | - |
2044 | | - |
2045 | | - |
2046 | | - |
2047 | | - |
2048 | | - |
2049 | QLocale QLocale::system() | - |
2050 | { | - |
2051 | return QLocale(*QLocalePrivate::create(systemData()));executed 36633 times by 68 tests: return QLocale(*QLocalePrivate::create(systemData())); Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QAsn1Element
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGridLayout
- ...
| 36633 |
2052 | } | - |
2053 | | - |
2054 | | - |
2055 | | - |
2056 | | - |
2057 | | - |
2058 | | - |
2059 | | - |
2060 | | - |
2061 | | - |
2062 | | - |
2063 | | - |
2064 | | - |
2065 | | - |
2066 | | - |
2067 | QList<QLocale> QLocale::matchingLocales(QLocale::Language language, | - |
2068 | QLocale::Script script, | - |
2069 | QLocale::Country country) | - |
2070 | { | - |
2071 | if (uint(language) > QLocale::LastLanguage || uint(script) > QLocale::LastScript ||TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2072 | uint(country) > QLocale::LastCountry)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2073 | return QList<QLocale>(); never executed: return QList<QLocale>(); | 0 |
2074 | | - |
2075 | if (language == QLocale::C)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2076 | return QList<QLocale>() << QLocale(QLocale::C); never executed: return QList<QLocale>() << QLocale(QLocale::C); | 0 |
2077 | | - |
2078 | QList<QLocale> result; | - |
2079 | if (language == QLocale::AnyLanguage && script == QLocale::AnyScript && country == QLocale::AnyCountry)TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2080 | result.reserve(locale_data_size); never executed: result.reserve(locale_data_size); | 0 |
2081 | const QLocaleData *data = locale_data + locale_index[language]; | - |
2082 | while ( (data != locale_data + locale_data_size)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2083 | && (language == QLocale::AnyLanguage || data->m_language_id == uint(language))) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2084 | if ((script == QLocale::AnyScript || data->m_script_id == uint(script))TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2085 | && (country == QLocale::AnyCountry || data->m_country_id == uint(country))) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2086 | QLocale locale(*QLocalePrivate::create(data)); | - |
2087 | result.append(locale); | - |
2088 | } never executed: end of block | 0 |
2089 | ++data; | - |
2090 | } never executed: end of block | 0 |
2091 | return result; never executed: return result; | 0 |
2092 | } | - |
2093 | | - |
2094 | | - |
2095 | | - |
2096 | | - |
2097 | | - |
2098 | | - |
2099 | | - |
2100 | | - |
2101 | | - |
2102 | | - |
2103 | | - |
2104 | QList<QLocale::Country> QLocale::countriesForLanguage(Language language) | - |
2105 | { | - |
2106 | QList<Country> result; | - |
2107 | if (language == C) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2108 | result << AnyCountry; | - |
2109 | return result; never executed: return result; | 0 |
2110 | } | - |
2111 | | - |
2112 | unsigned language_id = language; | - |
2113 | const QLocaleData *data = locale_data + locale_index[language_id]; | - |
2114 | while (data->m_language_id == language_id) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2115 | const QLocale::Country country = static_cast<Country>(data->m_country_id); | - |
2116 | if (!result.contains(country))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2117 | result.append(country); never executed: result.append(country); | 0 |
2118 | ++data; | - |
2119 | } never executed: end of block | 0 |
2120 | | - |
2121 | return result; never executed: return result; | 0 |
2122 | } | - |
2123 | | - |
2124 | | - |
2125 | | - |
2126 | | - |
2127 | | - |
2128 | | - |
2129 | | - |
2130 | | - |
2131 | | - |
2132 | QString QLocale::monthName(int month, FormatType type) const | - |
2133 | { | - |
2134 | if (month < 1 || month > 12)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 40352 times by 12 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
|
TRUE | evaluated 1 time by 1 test | FALSE | evaluated 40351 times by 12 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
|
| 1-40352 |
2135 | return QString();executed 2 times by 1 test: return QString(); | 2 |
2136 | | - |
2137 | #ifndef QT_NO_SYSTEMLOCALE | - |
2138 | if (d->m_data == systemData()) {TRUE | evaluated 12489 times by 5 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNetworkCookieJar
- tst_qmakelib
| FALSE | evaluated 27862 times by 12 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
|
| 12489-27862 |
2139 | QVariant res = systemLocale()->query(type == LongFormat | - |
2140 | ? QSystemLocale::MonthNameLong : QSystemLocale::MonthNameShort, | - |
2141 | month); | - |
2142 | if (!res.isNull())TRUE | evaluated 12489 times by 5 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNetworkCookieJar
- tst_qmakelib
| FALSE | never evaluated |
| 0-12489 |
2143 | return res.toString();executed 12489 times by 5 tests: return res.toString(); Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNetworkCookieJar
- tst_qmakelib
| 12489 |
2144 | } never executed: end of block | 0 |
2145 | #endif | - |
2146 | | - |
2147 | quint32 idx, size; | - |
2148 | switch (type) { | - |
2149 | case QLocale::LongFormat:executed 4473 times by 4 tests: case QLocale::LongFormat: Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 4473 |
2150 | idx = d->m_data->m_long_month_names_idx; | - |
2151 | size = d->m_data->m_long_month_names_size; | - |
2152 | break;executed 4473 times by 4 tests: break; Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 4473 |
2153 | case QLocale::ShortFormat:executed 23389 times by 11 tests: case QLocale::ShortFormat: Executed by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
| 23389 |
2154 | idx = d->m_data->m_short_month_names_idx; | - |
2155 | size = d->m_data->m_short_month_names_size; | - |
2156 | break;executed 23389 times by 11 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
| 23389 |
2157 | case QLocale::NarrowFormat: never executed: case QLocale::NarrowFormat: | 0 |
2158 | idx = d->m_data->m_narrow_month_names_idx; | - |
2159 | size = d->m_data->m_narrow_month_names_size; | - |
2160 | break; never executed: break; | 0 |
2161 | default: never executed: default: | 0 |
2162 | return QString(); never executed: return QString(); | 0 |
2163 | } | - |
2164 | return getLocaleListData(months_data + idx, size, month - 1);executed 27862 times by 12 tests: return getLocaleListData(months_data + idx, size, month - 1); Executed by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
| 27862 |
2165 | } | - |
2166 | | - |
2167 | | - |
2168 | | - |
2169 | | - |
2170 | | - |
2171 | | - |
2172 | | - |
2173 | | - |
2174 | | - |
2175 | | - |
2176 | | - |
2177 | | - |
2178 | QString QLocale::standaloneMonthName(int month, FormatType type) const | - |
2179 | { | - |
2180 | if (month < 1 || month > 12)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1773 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTimeEdit
|
TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1772 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTimeEdit
|
| 1-1773 |
2181 | return QString();executed 2 times by 1 test: return QString(); | 2 |
2182 | | - |
2183 | #ifndef QT_NO_SYSTEMLOCALE | - |
2184 | if (d->m_data == systemData()) {TRUE | evaluated 537 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
| FALSE | evaluated 1235 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTimeEdit
|
| 537-1235 |
2185 | QVariant res = systemLocale()->query(type == LongFormat | - |
2186 | ? QSystemLocale::StandaloneMonthNameLong : QSystemLocale::StandaloneMonthNameShort, | - |
2187 | month); | - |
2188 | if (!res.isNull())TRUE | evaluated 537 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
| FALSE | never evaluated |
| 0-537 |
2189 | return res.toString();executed 537 times by 3 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
| 537 |
2190 | } never executed: end of block | 0 |
2191 | #endif | - |
2192 | | - |
2193 | quint32 idx, size; | - |
2194 | switch (type) { | - |
2195 | case QLocale::LongFormat:executed 1211 times by 4 tests: case QLocale::LongFormat: Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTimeEdit
| 1211 |
2196 | idx = d->m_data->m_standalone_long_month_names_idx; | - |
2197 | size = d->m_data->m_standalone_long_month_names_size; | - |
2198 | break;executed 1211 times by 4 tests: break; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTimeEdit
| 1211 |
2199 | case QLocale::ShortFormat:executed 24 times by 1 test: case QLocale::ShortFormat: | 24 |
2200 | idx = d->m_data->m_standalone_short_month_names_idx; | - |
2201 | size = d->m_data->m_standalone_short_month_names_size; | - |
2202 | break;executed 24 times by 1 test: break; | 24 |
2203 | case QLocale::NarrowFormat: never executed: case QLocale::NarrowFormat: | 0 |
2204 | idx = d->m_data->m_standalone_narrow_month_names_idx; | - |
2205 | size = d->m_data->m_standalone_narrow_month_names_size; | - |
2206 | break; never executed: break; | 0 |
2207 | default: never executed: default: | 0 |
2208 | return QString(); never executed: return QString(); | 0 |
2209 | } | - |
2210 | QString name = getLocaleListData(months_data + idx, size, month - 1); | - |
2211 | if (name.isEmpty())TRUE | never evaluated | FALSE | evaluated 1235 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTimeEdit
|
| 0-1235 |
2212 | return monthName(month, type); never executed: return monthName(month, type); | 0 |
2213 | return name;executed 1235 times by 4 tests: return name; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTimeEdit
| 1235 |
2214 | } | - |
2215 | | - |
2216 | | - |
2217 | | - |
2218 | | - |
2219 | | - |
2220 | | - |
2221 | | - |
2222 | | - |
2223 | | - |
2224 | | - |
2225 | QString QLocale::dayName(int day, FormatType type) const | - |
2226 | { | - |
2227 | if (day < 1 || day > 7)TRUE | never evaluated | FALSE | evaluated 10731 times by 12 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
|
TRUE | never evaluated | FALSE | evaluated 10731 times by 12 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
|
| 0-10731 |
2228 | return QString(); never executed: return QString(); | 0 |
2229 | | - |
2230 | #ifndef QT_NO_SYSTEMLOCALE | - |
2231 | if (d->m_data == systemData()) {TRUE | evaluated 1306 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_qmakelib
| FALSE | evaluated 9425 times by 12 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
|
| 1306-9425 |
2232 | QVariant res = systemLocale()->query(type == LongFormat | - |
2233 | ? QSystemLocale::DayNameLong : QSystemLocale::DayNameShort, | - |
2234 | day); | - |
2235 | if (!res.isNull())TRUE | evaluated 1306 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_qmakelib
| FALSE | never evaluated |
| 0-1306 |
2236 | return res.toString();executed 1306 times by 6 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_qmakelib
| 1306 |
2237 | } never executed: end of block | 0 |
2238 | #endif | - |
2239 | if (day == 7)TRUE | evaluated 1340 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNetworkCookie
| FALSE | evaluated 8085 times by 12 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
|
| 1340-8085 |
2240 | day = 0;executed 1340 times by 6 tests: day = 0; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNetworkCookie
| 1340 |
2241 | | - |
2242 | quint32 idx, size; | - |
2243 | switch (type) { | - |
2244 | case QLocale::LongFormat:executed 7160 times by 4 tests: case QLocale::LongFormat: Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 7160 |
2245 | idx = d->m_data->m_long_day_names_idx; | - |
2246 | size = d->m_data->m_long_day_names_size; | - |
2247 | break;executed 7160 times by 4 tests: break; Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 7160 |
2248 | case QLocale::ShortFormat:executed 2265 times by 11 tests: case QLocale::ShortFormat: Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
| 2265 |
2249 | idx = d->m_data->m_short_day_names_idx; | - |
2250 | size = d->m_data->m_short_day_names_size; | - |
2251 | break;executed 2265 times by 11 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
| 2265 |
2252 | case QLocale::NarrowFormat: never executed: case QLocale::NarrowFormat: | 0 |
2253 | idx = d->m_data->m_narrow_day_names_idx; | - |
2254 | size = d->m_data->m_narrow_day_names_size; | - |
2255 | break; never executed: break; | 0 |
2256 | default: never executed: default: | 0 |
2257 | return QString(); never executed: return QString(); | 0 |
2258 | } | - |
2259 | return getLocaleListData(days_data + idx, size, day);executed 9425 times by 12 tests: return getLocaleListData(days_data + idx, size, day); Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
- tst_qmakelib
| 9425 |
2260 | } | - |
2261 | | - |
2262 | | - |
2263 | | - |
2264 | | - |
2265 | | - |
2266 | | - |
2267 | | - |
2268 | | - |
2269 | | - |
2270 | | - |
2271 | | - |
2272 | | - |
2273 | | - |
2274 | QString QLocale::standaloneDayName(int day, FormatType type) const | - |
2275 | { | - |
2276 | if (day < 1 || day > 7)TRUE | never evaluated | FALSE | evaluated 28 times by 1 test |
TRUE | never evaluated | FALSE | evaluated 28 times by 1 test |
| 0-28 |
2277 | return QString(); never executed: return QString(); | 0 |
2278 | | - |
2279 | #ifndef QT_NO_SYSTEMLOCALE | - |
2280 | if (d->m_data == systemData()) {TRUE | evaluated 28 times by 1 test | FALSE | never evaluated |
| 0-28 |
2281 | QVariant res = systemLocale()->query(type == LongFormat | - |
2282 | ? QSystemLocale::DayNameLong : QSystemLocale::DayNameShort, | - |
2283 | day); | - |
2284 | if (!res.isNull())TRUE | evaluated 28 times by 1 test | FALSE | never evaluated |
| 0-28 |
2285 | return res.toString();executed 28 times by 1 test: return res.toString(); | 28 |
2286 | } never executed: end of block | 0 |
2287 | #endif | - |
2288 | if (day == 7)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2289 | day = 0; never executed: day = 0; | 0 |
2290 | | - |
2291 | quint32 idx, size; | - |
2292 | switch (type) { | - |
2293 | case QLocale::LongFormat: never executed: case QLocale::LongFormat: | 0 |
2294 | idx = d->m_data->m_standalone_long_day_names_idx; | - |
2295 | size = d->m_data->m_standalone_long_day_names_size; | - |
2296 | break; never executed: break; | 0 |
2297 | case QLocale::ShortFormat: never executed: case QLocale::ShortFormat: | 0 |
2298 | idx = d->m_data->m_standalone_short_day_names_idx; | - |
2299 | size = d->m_data->m_standalone_short_day_names_size; | - |
2300 | break; never executed: break; | 0 |
2301 | case QLocale::NarrowFormat: never executed: case QLocale::NarrowFormat: | 0 |
2302 | idx = d->m_data->m_standalone_narrow_day_names_idx; | - |
2303 | size = d->m_data->m_standalone_narrow_day_names_size; | - |
2304 | break; never executed: break; | 0 |
2305 | default: never executed: default: | 0 |
2306 | return QString(); never executed: return QString(); | 0 |
2307 | } | - |
2308 | QString name = getLocaleListData(days_data + idx, size, day); | - |
2309 | if (name.isEmpty())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2310 | return dayName(day == 0 ? 7 : day, type); never executed: return dayName(day == 0 ? 7 : day, type); | 0 |
2311 | return name; never executed: return name; | 0 |
2312 | } | - |
2313 | | - |
2314 | | - |
2315 | | - |
2316 | | - |
2317 | | - |
2318 | | - |
2319 | Qt::DayOfWeek QLocale::firstDayOfWeek() const | - |
2320 | { | - |
2321 | #ifndef QT_NO_SYSTEMLOCALE | - |
2322 | if (d->m_data == systemData()) {TRUE | evaluated 22 times by 2 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
| FALSE | evaluated 37 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
|
| 22-37 |
2323 | QVariant res = systemLocale()->query(QSystemLocale::FirstDayOfWeek, QVariant()); | - |
2324 | if (!res.isNull())TRUE | evaluated 22 times by 2 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
| FALSE | never evaluated |
| 0-22 |
2325 | return static_cast<Qt::DayOfWeek>(res.toUInt());executed 22 times by 2 tests: return static_cast<Qt::DayOfWeek>(res.toUInt()); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
| 22 |
2326 | } never executed: end of block | 0 |
2327 | #endif | - |
2328 | return static_cast<Qt::DayOfWeek>(d->m_data->m_first_day_of_week);executed 37 times by 3 tests: return static_cast<Qt::DayOfWeek>(d->m_data->m_first_day_of_week); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDateTimeEdit
| 37 |
2329 | } | - |
2330 | | - |
2331 | QLocale::MeasurementSystem QLocalePrivate::measurementSystem() const | - |
2332 | { | - |
2333 | for (int i = 0; i < ImperialMeasurementSystemsCount; ++i) {TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-2 |
2334 | if (ImperialMeasurementSystems[i].languageId == m_data->m_language_idTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-2 |
2335 | && ImperialMeasurementSystems[i].countryId == m_data->m_country_id) {TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-2 |
2336 | return ImperialMeasurementSystems[i].system;executed 2 times by 1 test: return ImperialMeasurementSystems[i].system; | 2 |
2337 | } | - |
2338 | } never executed: end of block | 0 |
2339 | return QLocale::MetricSystem; never executed: return QLocale::MetricSystem; | 0 |
2340 | } | - |
2341 | | - |
2342 | | - |
2343 | | - |
2344 | | - |
2345 | | - |
2346 | | - |
2347 | QList<Qt::DayOfWeek> QLocale::weekdays() const | - |
2348 | { | - |
2349 | #ifndef QT_NO_SYSTEMLOCALE | - |
2350 | if (d->m_data == systemData()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2351 | QVariant res = systemLocale()->query(QSystemLocale::Weekdays, QVariant()); | - |
2352 | if (!res.isNull())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2353 | return static_cast<QList<Qt::DayOfWeek> >(res.value<QList<Qt::DayOfWeek> >()); never executed: return static_cast<QList<Qt::DayOfWeek> >(res.value<QList<Qt::DayOfWeek> >()); | 0 |
2354 | } never executed: end of block | 0 |
2355 | #endif | - |
2356 | QList<Qt::DayOfWeek> weekdays; | - |
2357 | quint16 weekendStart = d->m_data->m_weekend_start; | - |
2358 | quint16 weekendEnd = d->m_data->m_weekend_end; | - |
2359 | for (int day = Qt::Monday; day <= Qt::Sunday; day++) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2360 | if ((weekendEnd >= weekendStart && (day < weekendStart || day > weekendEnd)) ||TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2361 | (weekendEnd < weekendStart && (day > weekendEnd && day < weekendStart)))TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2362 | weekdays << static_cast<Qt::DayOfWeek>(day); never executed: weekdays << static_cast<Qt::DayOfWeek>(day); | 0 |
2363 | } never executed: end of block | 0 |
2364 | return weekdays; never executed: return weekdays; | 0 |
2365 | } | - |
2366 | | - |
2367 | | - |
2368 | | - |
2369 | | - |
2370 | | - |
2371 | | - |
2372 | QLocale::MeasurementSystem QLocale::measurementSystem() const | - |
2373 | { | - |
2374 | #ifndef QT_NO_SYSTEMLOCALE | - |
2375 | if (d->m_data == systemData()) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2 |
2376 | QVariant res = systemLocale()->query(QSystemLocale::MeasurementSystem, QVariant()); | - |
2377 | if (!res.isNull())TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-2 |
2378 | return MeasurementSystem(res.toInt());executed 2 times by 1 test: return MeasurementSystem(res.toInt()); | 2 |
2379 | } never executed: end of block | 0 |
2380 | #endif | - |
2381 | | - |
2382 | return d->measurementSystem();executed 2 times by 1 test: return d->measurementSystem(); | 2 |
2383 | } | - |
2384 | | - |
2385 | | - |
2386 | | - |
2387 | | - |
2388 | | - |
2389 | | - |
2390 | Qt::LayoutDirection QLocale::textDirection() const | - |
2391 | { | - |
2392 | switch (script()) { | - |
2393 | case QLocale::ArabicScript: never executed: case QLocale::ArabicScript: | 0 |
2394 | case QLocale::AvestanScript: never executed: case QLocale::AvestanScript: | 0 |
2395 | case QLocale::CypriotScript: never executed: case QLocale::CypriotScript: | 0 |
2396 | case QLocale::HebrewScript: never executed: case QLocale::HebrewScript: | 0 |
2397 | case QLocale::ImperialAramaicScript: never executed: case QLocale::ImperialAramaicScript: | 0 |
2398 | case QLocale::InscriptionalPahlaviScript: never executed: case QLocale::InscriptionalPahlaviScript: | 0 |
2399 | case QLocale::InscriptionalParthianScript: never executed: case QLocale::InscriptionalParthianScript: | 0 |
2400 | case QLocale::KharoshthiScript: never executed: case QLocale::KharoshthiScript: | 0 |
2401 | case QLocale::LydianScript: never executed: case QLocale::LydianScript: | 0 |
2402 | case QLocale::MandaeanScript: never executed: case QLocale::MandaeanScript: | 0 |
2403 | case QLocale::ManichaeanScript: never executed: case QLocale::ManichaeanScript: | 0 |
2404 | case QLocale::MendeKikakuiScript: never executed: case QLocale::MendeKikakuiScript: | 0 |
2405 | case QLocale::MeroiticCursiveScript: never executed: case QLocale::MeroiticCursiveScript: | 0 |
2406 | case QLocale::MeroiticScript: never executed: case QLocale::MeroiticScript: | 0 |
2407 | case QLocale::NabataeanScript: never executed: case QLocale::NabataeanScript: | 0 |
2408 | case QLocale::NkoScript: never executed: case QLocale::NkoScript: | 0 |
2409 | case QLocale::OldNorthArabianScript: never executed: case QLocale::OldNorthArabianScript: | 0 |
2410 | case QLocale::OldSouthArabianScript: never executed: case QLocale::OldSouthArabianScript: | 0 |
2411 | case QLocale::OrkhonScript: never executed: case QLocale::OrkhonScript: | 0 |
2412 | case QLocale::PalmyreneScript: never executed: case QLocale::PalmyreneScript: | 0 |
2413 | case QLocale::PhoenicianScript: never executed: case QLocale::PhoenicianScript: | 0 |
2414 | case QLocale::PsalterPahlaviScript: never executed: case QLocale::PsalterPahlaviScript: | 0 |
2415 | case QLocale::SamaritanScript: never executed: case QLocale::SamaritanScript: | 0 |
2416 | case QLocale::SyriacScript: never executed: case QLocale::SyriacScript: | 0 |
2417 | case QLocale::ThaanaScript: never executed: case QLocale::ThaanaScript: | 0 |
2418 | return Qt::RightToLeft; never executed: return Qt::RightToLeft; | 0 |
2419 | default:executed 33 times by 33 tests: default: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QListWidget
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QRadioButton
- ...
| 33 |
2420 | break;executed 33 times by 33 tests: break; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QListWidget
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QRadioButton
- ...
| 33 |
2421 | } | - |
2422 | return Qt::LeftToRight;executed 33 times by 33 tests: return Qt::LeftToRight; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QListWidget
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QRadioButton
- ...
| 33 |
2423 | } | - |
2424 | | - |
2425 | | - |
2426 | | - |
2427 | | - |
2428 | | - |
2429 | | - |
2430 | | - |
2431 | | - |
2432 | | - |
2433 | | - |
2434 | | - |
2435 | | - |
2436 | | - |
2437 | QString QLocale::toUpper(const QString &str) const | - |
2438 | { | - |
2439 | #ifdef QT_USE_ICU | - |
2440 | bool ok = true; | - |
2441 | QString result = QIcu::toUpper(d->bcp47Name('_'), str, &ok); | - |
2442 | if (ok)TRUE | evaluated 3 times by 1 test | FALSE | never evaluated |
| 0-3 |
2443 | return result;executed 3 times by 1 test: return result; | 3 |
2444 | | - |
2445 | #endif | - |
2446 | return str.toUpper(); never executed: return str.toUpper(); | 0 |
2447 | } | - |
2448 | | - |
2449 | | - |
2450 | | - |
2451 | | - |
2452 | | - |
2453 | | - |
2454 | | - |
2455 | | - |
2456 | | - |
2457 | | - |
2458 | | - |
2459 | | - |
2460 | | - |
2461 | QString QLocale::toLower(const QString &str) const | - |
2462 | { | - |
2463 | #ifdef QT_USE_ICU | - |
2464 | bool ok = true; | - |
2465 | const QString result = QIcu::toLower(d->bcp47Name('_'), str, &ok); | - |
2466 | if (ok)TRUE | evaluated 5 times by 1 test | FALSE | never evaluated |
| 0-5 |
2467 | return result;executed 5 times by 1 test: return result; | 5 |
2468 | | - |
2469 | #endif | - |
2470 | return str.toLower(); never executed: return str.toLower(); | 0 |
2471 | } | - |
2472 | | - |
2473 | | - |
2474 | | - |
2475 | | - |
2476 | | - |
2477 | | - |
2478 | | - |
2479 | | - |
2480 | | - |
2481 | | - |
2482 | QString QLocale::amText() const | - |
2483 | { | - |
2484 | #ifndef QT_NO_SYSTEMLOCALE | - |
2485 | if (d->m_data == systemData()) {TRUE | evaluated 744 times by 5 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QTime
| FALSE | evaluated 2438 times by 11 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QTime
|
| 744-2438 |
2486 | QVariant res = systemLocale()->query(QSystemLocale::AMText, QVariant()); | - |
2487 | if (!res.isNull())TRUE | evaluated 744 times by 5 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QTime
| FALSE | never evaluated |
| 0-744 |
2488 | return res.toString();executed 744 times by 5 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QTime
| 744 |
2489 | } never executed: end of block | 0 |
2490 | #endif | - |
2491 | return getLocaleData(am_data + d->m_data->m_am_idx, d->m_data->m_am_size);executed 2438 times by 11 tests: return getLocaleData(am_data + d->m_data->m_am_idx, d->m_data->m_am_size); Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QTime
| 2438 |
2492 | } | - |
2493 | | - |
2494 | | - |
2495 | | - |
2496 | | - |
2497 | | - |
2498 | | - |
2499 | | - |
2500 | | - |
2501 | | - |
2502 | QString QLocale::pmText() const | - |
2503 | { | - |
2504 | #ifndef QT_NO_SYSTEMLOCALE | - |
2505 | if (d->m_data == systemData()) {TRUE | evaluated 178 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QTime
| FALSE | evaluated 1315 times by 10 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QTime
- tst_languageChange
|
| 178-1315 |
2506 | QVariant res = systemLocale()->query(QSystemLocale::PMText, QVariant()); | - |
2507 | if (!res.isNull())TRUE | evaluated 178 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QTime
| FALSE | never evaluated |
| 0-178 |
2508 | return res.toString();executed 178 times by 4 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QTime
| 178 |
2509 | } never executed: end of block | 0 |
2510 | #endif | - |
2511 | return getLocaleData(pm_data + d->m_data->m_pm_idx, d->m_data->m_pm_size);executed 1315 times by 10 tests: return getLocaleData(pm_data + d->m_data->m_pm_idx, d->m_data->m_pm_size); Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QTime
- tst_languageChange
| 1315 |
2512 | } | - |
2513 | | - |
2514 | | - |
2515 | QString QLocalePrivate::dateTimeToString(const QString &format, const QDateTime &datetime, | - |
2516 | const QDate &dateOnly, const QTime &timeOnly, | - |
2517 | const QLocale *q) const | - |
2518 | { | - |
2519 | QDate date; | - |
2520 | QTime time; | - |
2521 | bool formatDate = false; | - |
2522 | bool formatTime = false; | - |
2523 | if (datetime.isValid()) {TRUE | evaluated 10166 times by 29 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QXmlStream
- ...
| FALSE | evaluated 28011 times by 8 testsEvaluated by:- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QTime
- tst_QVariant
|
| 10166-28011 |
2524 | date = datetime.date(); | - |
2525 | time = datetime.time(); | - |
2526 | formatDate = true; | - |
2527 | formatTime = true; | - |
2528 | } else if (dateOnly.isValid()) {executed 10166 times by 29 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QXmlStream
- ...
TRUE | evaluated 13913 times by 7 testsEvaluated by:- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QVariant
| FALSE | evaluated 14098 times by 7 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QTime
- tst_QVariant
|
| 10166-14098 |
2529 | date = dateOnly; | - |
2530 | formatDate = true; | - |
2531 | } else if (timeOnly.isValid()) {executed 13913 times by 7 tests: end of block Executed by:- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QVariant
TRUE | evaluated 14094 times by 6 testsEvaluated by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QTime
- tst_QVariant
| FALSE | evaluated 4 times by 3 testsEvaluated by:- tst_QDate
- tst_QTime
- tst_QVariant
|
| 4-14094 |
2532 | time = timeOnly; | - |
2533 | formatTime = true; | - |
2534 | } else {executed 14094 times by 6 tests: end of block Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QTime
- tst_QVariant
| 14094 |
2535 | return QString();executed 4 times by 3 tests: return QString(); Executed by:- tst_QDate
- tst_QTime
- tst_QVariant
| 4 |
2536 | } | - |
2537 | | - |
2538 | QString result; | - |
2539 | | - |
2540 | int i = 0; | - |
2541 | while (i < format.size()) {TRUE | evaluated 271711 times by 32 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| FALSE | evaluated 38173 times by 32 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
|
| 38173-271711 |
2542 | if (format.at(i).unicode() == '\'') {TRUE | evaluated 727 times by 6 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| FALSE | evaluated 270984 times by 32 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
|
| 727-270984 |
2543 | result.append(qt_readEscapedFormatString(format, &i)); | - |
2544 | continue;executed 727 times by 6 tests: continue; Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 727 |
2545 | } | - |
2546 | | - |
2547 | const QChar c = format.at(i); | - |
2548 | int repeat = qt_repeatCount(format, i); | - |
2549 | bool used = false; | - |
2550 | if (formatDate) {TRUE | evaluated 172364 times by 31 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| FALSE | evaluated 98620 times by 6 testsEvaluated by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QTime
- tst_QVariant
|
| 98620-172364 |
2551 | switch (c.unicode()) { | - |
2552 | case 'y':executed 22549 times by 31 tests: case 'y': Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| 22549 |
2553 | used = true; | - |
2554 | if (repeat >= 4)TRUE | evaluated 18777 times by 21 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QVariant
- tst_QXmlStream
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_selftests - unknown status
| FALSE | evaluated 3772 times by 16 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_languageChange
- tst_qlogging - unknown status
- tst_qmessagehandler
|
| 3772-18777 |
2555 | repeat = 4;executed 18777 times by 21 tests: repeat = 4; Executed by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QVariant
- tst_QXmlStream
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_selftests - unknown status
| 18777 |
2556 | else if (repeat >= 2)TRUE | evaluated 3772 times by 16 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_languageChange
- tst_qlogging - unknown status
- tst_qmessagehandler
| FALSE | never evaluated |
| 0-3772 |
2557 | repeat = 2;executed 3772 times by 16 tests: repeat = 2; Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_languageChange
- tst_qlogging - unknown status
- tst_qmessagehandler
| 3772 |
2558 | | - |
2559 | switch (repeat) { | - |
2560 | case 4: {executed 18777 times by 21 tests: case 4: Executed by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QVariant
- tst_QXmlStream
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_selftests - unknown status
| 18777 |
2561 | const int yr = date.year(); | - |
2562 | const int len = (yr < 0) ? 5 : 4;TRUE | evaluated 440 times by 2 tests | FALSE | evaluated 18337 times by 21 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QVariant
- tst_QXmlStream
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_selftests - unknown status
|
| 440-18337 |
2563 | result.append(m_data->longLongToString(yr, -1, 10, len, QLocaleData::ZeroPadded)); | - |
2564 | break;executed 18777 times by 21 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QVariant
- tst_QXmlStream
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_selftests - unknown status
| 18777 |
2565 | } | - |
2566 | case 2:executed 3772 times by 16 tests: case 2: Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_languageChange
- tst_qlogging - unknown status
- tst_qmessagehandler
| 3772 |
2567 | result.append(m_data->longLongToString(date.year() % 100, -1, 10, 2, | - |
2568 | QLocaleData::ZeroPadded)); | - |
2569 | break;executed 3772 times by 16 tests: break; Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_languageChange
- tst_qlogging - unknown status
- tst_qmessagehandler
| 3772 |
2570 | default: never executed: default: | 0 |
2571 | repeat = 1; | - |
2572 | result.append(c); | - |
2573 | break; never executed: break; | 0 |
2574 | } | - |
2575 | break;executed 22549 times by 31 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| 22549 |
2576 | | - |
2577 | case 'M':executed 22616 times by 31 tests: case 'M': Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| 22616 |
2578 | used = true; | - |
2579 | repeat = qMin(repeat, 4); | - |
2580 | switch (repeat) { | - |
2581 | case 1:executed 3280 times by 13 tests: case 1: Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_languageChange
| 3280 |
2582 | result.append(m_data->longLongToString(date.month())); | - |
2583 | break;executed 3280 times by 13 tests: break; Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_languageChange
| 3280 |
2584 | case 2:executed 17608 times by 19 tests: case 2: Executed by:- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_selftests - unknown status
| 17608 |
2585 | result.append(m_data->longLongToString(date.month(), -1, 10, 2, QLocaleData::ZeroPadded)); | - |
2586 | break;executed 17608 times by 19 tests: break; Executed by:- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QVariant
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_selftests - unknown status
| 17608 |
2587 | case 3:executed 1611 times by 8 tests: case 3: Executed by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 1611 |
2588 | result.append(q->monthName(date.month(), QLocale::ShortFormat)); | - |
2589 | break;executed 1611 times by 8 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 1611 |
2590 | case 4:executed 117 times by 4 tests: case 4: Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 117 |
2591 | result.append(q->monthName(date.month(), QLocale::LongFormat)); | - |
2592 | break;executed 117 times by 4 tests: break; Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 117 |
2593 | } | - |
2594 | break;executed 22616 times by 31 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| 22616 |
2595 | | - |
2596 | case 'd':executed 23364 times by 31 tests: case 'd': Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| 23364 |
2597 | used = true; | - |
2598 | repeat = qMin(repeat, 4); | - |
2599 | switch (repeat) { | - |
2600 | case 1:executed 3504 times by 15 tests: case 1: Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_languageChange
- tst_qlogging - unknown status
- tst_qmessagehandler
| 3504 |
2601 | result.append(m_data->longLongToString(date.day())); | - |
2602 | break;executed 3504 times by 15 tests: break; Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QStyleSheetStyle
- tst_languageChange
- tst_qlogging - unknown status
- tst_qmessagehandler
| 3504 |
2603 | case 2:executed 18651 times by 22 tests: case 2: Executed by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QVariant
- tst_QXmlStream
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_selftests - unknown status
| 18651 |
2604 | result.append(m_data->longLongToString(date.day(), -1, 10, 2, QLocaleData::ZeroPadded)); | - |
2605 | break;executed 18651 times by 22 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QVariant
- tst_QXmlStream
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_selftests - unknown status
| 18651 |
2606 | case 3:executed 727 times by 6 tests: case 3: Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 727 |
2607 | result.append(q->dayName(date.dayOfWeek(), QLocale::ShortFormat)); | - |
2608 | break;executed 727 times by 6 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 727 |
2609 | case 4:executed 482 times by 4 tests: case 4: Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 482 |
2610 | result.append(q->dayName(date.dayOfWeek(), QLocale::LongFormat)); | - |
2611 | break;executed 482 times by 4 tests: break; Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 482 |
2612 | } | - |
2613 | break;executed 23364 times by 31 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| 23364 |
2614 | | - |
2615 | default:executed 103835 times by 31 tests: default: Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| 103835 |
2616 | break;executed 103835 times by 31 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| 103835 |
2617 | } | - |
2618 | } | - |
2619 | if (!used && formatTime) {TRUE | evaluated 202455 times by 32 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| FALSE | evaluated 68529 times by 31 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
|
TRUE | evaluated 174461 times by 30 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- tst_QTime
- tst_QVariant
- ...
| FALSE | evaluated 27994 times by 7 testsEvaluated by:- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QVariant
|
| 27994-202455 |
2620 | switch (c.unicode()) { | - |
2621 | case 'h': {executed 21463 times by 26 tests: case 'h': Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- tst_languageChange
- ...
| 21463 |
2622 | used = true; | - |
2623 | repeat = qMin(repeat, 2); | - |
2624 | int hour = time.hour(); | - |
2625 | if (timeFormatContainsAP(format)) {TRUE | evaluated 3589 times by 12 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QTime
- tst_languageChange
| FALSE | evaluated 17874 times by 18 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- tst_selftests - unknown status
|
| 3589-17874 |
2626 | if (hour > 12)TRUE | evaluated 1182 times by 9 testsEvaluated by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QTime
- tst_languageChange
| FALSE | evaluated 2407 times by 11 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QTime
|
| 1182-2407 |
2627 | hour -= 12;executed 1182 times by 9 tests: hour -= 12; Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QTime
- tst_languageChange
| 1182 |
2628 | else if (hour == 0)TRUE | evaluated 156 times by 5 testsEvaluated by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QItemDelegate
- tst_QItemModel
| FALSE | evaluated 2251 times by 10 testsEvaluated by:- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QTime
|
| 156-2251 |
2629 | hour = 12;executed 156 times by 5 tests: hour = 12; Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QItemDelegate
- tst_QItemModel
| 156 |
2630 | }executed 3589 times by 12 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QTime
- tst_languageChange
| 3589 |
2631 | | - |
2632 | switch (repeat) { | - |
2633 | case 1:executed 2935 times by 12 tests: case 1: Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QTime
- tst_languageChange
| 2935 |
2634 | result.append(m_data->longLongToString(hour)); | - |
2635 | break;executed 2935 times by 12 tests: break; Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QTime
- tst_languageChange
| 2935 |
2636 | case 2:executed 18528 times by 18 tests: case 2: Executed by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- tst_selftests - unknown status
| 18528 |
2637 | result.append(m_data->longLongToString(hour, -1, 10, 2, QLocaleData::ZeroPadded)); | - |
2638 | break;executed 18528 times by 18 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- tst_selftests - unknown status
| 18528 |
2639 | } | - |
2640 | break;executed 21463 times by 26 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- tst_languageChange
- ...
| 21463 |
2641 | } | - |
2642 | case 'H':executed 185 times by 4 tests: case 'H': Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNoDebug
- tst_QTime
| 185 |
2643 | used = true; | - |
2644 | repeat = qMin(repeat, 2); | - |
2645 | switch (repeat) { | - |
2646 | case 1: never executed: case 1: | 0 |
2647 | result.append(m_data->longLongToString(time.hour())); | - |
2648 | break; never executed: break; | 0 |
2649 | case 2:executed 185 times by 4 tests: case 2: Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNoDebug
- tst_QTime
| 185 |
2650 | result.append(m_data->longLongToString(time.hour(), -1, 10, 2, QLocaleData::ZeroPadded)); | - |
2651 | break;executed 185 times by 4 tests: break; Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNoDebug
- tst_QTime
| 185 |
2652 | } | - |
2653 | break;executed 185 times by 4 tests: break; Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNoDebug
- tst_QTime
| 185 |
2654 | | - |
2655 | case 'm':executed 21448 times by 27 tests: case 'm': Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- ...
| 21448 |
2656 | used = true; | - |
2657 | repeat = qMin(repeat, 2); | - |
2658 | switch (repeat) { | - |
2659 | case 1:executed 89 times by 2 tests: case 1: Executed by:- tst_QDateTimeEdit
- tst_QTime
| 89 |
2660 | result.append(m_data->longLongToString(time.minute())); | - |
2661 | break;executed 89 times by 2 tests: break; Executed by:- tst_QDateTimeEdit
- tst_QTime
| 89 |
2662 | case 2:executed 21359 times by 27 tests: case 2: Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- ...
| 21359 |
2663 | result.append(m_data->longLongToString(time.minute(), -1, 10, 2, QLocaleData::ZeroPadded)); | - |
2664 | break;executed 21359 times by 27 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- ...
| 21359 |
2665 | } | - |
2666 | break;executed 21448 times by 27 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- ...
| 21448 |
2667 | | - |
2668 | case 's':executed 18570 times by 19 tests: case 's': Executed by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- tst_selftests - unknown status
| 18570 |
2669 | used = true; | - |
2670 | repeat = qMin(repeat, 2); | - |
2671 | switch (repeat) { | - |
2672 | case 1:executed 83 times by 2 tests: case 1: Executed by:- tst_QDateTimeEdit
- tst_QTime
| 83 |
2673 | result.append(m_data->longLongToString(time.second())); | - |
2674 | break;executed 83 times by 2 tests: break; Executed by:- tst_QDateTimeEdit
- tst_QTime
| 83 |
2675 | case 2:executed 18487 times by 19 tests: case 2: Executed by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- tst_selftests - unknown status
| 18487 |
2676 | result.append(m_data->longLongToString(time.second(), -1, 10, 2, QLocaleData::ZeroPadded)); | - |
2677 | break;executed 18487 times by 19 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- tst_selftests - unknown status
| 18487 |
2678 | } | - |
2679 | break;executed 18570 times by 19 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileInfo
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- tst_selftests - unknown status
| 18570 |
2680 | | - |
2681 | case 'a':executed 763 times by 2 tests: case 'a': Executed by:- tst_QDateTimeEdit
- tst_QTime
| 763 |
2682 | used = true; | - |
2683 | if (i + 1 < format.length() && format.at(i + 1).unicode() == 'p') {TRUE | evaluated 725 times by 2 testsEvaluated by:- tst_QDateTimeEdit
- tst_QTime
| FALSE | evaluated 38 times by 1 test |
TRUE | evaluated 725 times by 2 testsEvaluated by:- tst_QDateTimeEdit
- tst_QTime
| FALSE | never evaluated |
| 0-725 |
2684 | repeat = 2; | - |
2685 | } else {executed 725 times by 2 tests: end of block Executed by:- tst_QDateTimeEdit
- tst_QTime
| 725 |
2686 | repeat = 1; | - |
2687 | }executed 38 times by 1 test: end of block | 38 |
2688 | result.append(time.hour() < 12 ? q->amText().toLower() : q->pmText().toLower()); | - |
2689 | break;executed 763 times by 2 tests: break; Executed by:- tst_QDateTimeEdit
- tst_QTime
| 763 |
2690 | | - |
2691 | case 'A':executed 2870 times by 12 tests: case 'A': Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QTime
- tst_languageChange
| 2870 |
2692 | used = true; | - |
2693 | if (i + 1 < format.length() && format.at(i + 1).unicode() == 'P') {TRUE | evaluated 2870 times by 12 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QTime
- tst_languageChange
| FALSE | never evaluated |
TRUE | evaluated 2870 times by 12 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QTime
- tst_languageChange
| FALSE | never evaluated |
| 0-2870 |
2694 | repeat = 2; | - |
2695 | } else {executed 2870 times by 12 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QTime
- tst_languageChange
| 2870 |
2696 | repeat = 1; | - |
2697 | } never executed: end of block | 0 |
2698 | result.append(time.hour() < 12 ? q->amText().toUpper() : q->pmText().toUpper()); | - |
2699 | break;executed 2870 times by 12 tests: break; Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QTime
- tst_languageChange
| 2870 |
2700 | | - |
2701 | case 'z':executed 16505 times by 15 tests: case 'z': Executed by:- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_selftests - unknown status
| 16505 |
2702 | used = true; | - |
2703 | if (repeat >= 3) {TRUE | evaluated 16427 times by 15 testsEvaluated by:- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_selftests - unknown status
| FALSE | evaluated 78 times by 2 testsEvaluated by:- tst_QDateTimeEdit
- tst_QTime
|
| 78-16427 |
2704 | repeat = 3; | - |
2705 | } else {executed 16427 times by 15 tests: end of block Executed by:- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_selftests - unknown status
| 16427 |
2706 | repeat = 1; | - |
2707 | }executed 78 times by 2 tests: end of block Executed by:- tst_QDateTimeEdit
- tst_QTime
| 78 |
2708 | switch (repeat) { | - |
2709 | case 1:executed 78 times by 2 tests: case 1: Executed by:- tst_QDateTimeEdit
- tst_QTime
| 78 |
2710 | result.append(m_data->longLongToString(time.msec())); | - |
2711 | break;executed 78 times by 2 tests: break; Executed by:- tst_QDateTimeEdit
- tst_QTime
| 78 |
2712 | case 3:executed 16427 times by 15 tests: case 3: Executed by:- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_selftests - unknown status
| 16427 |
2713 | result.append(m_data->longLongToString(time.msec(), -1, 10, 3, QLocaleData::ZeroPadded)); | - |
2714 | break;executed 16427 times by 15 tests: break; Executed by:- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_selftests - unknown status
| 16427 |
2715 | } | - |
2716 | break;executed 16505 times by 15 tests: break; Executed by:- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_selftests - unknown status
| 16505 |
2717 | | - |
2718 | case 't':executed 2182 times by 15 tests: case 't': Executed by:- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_selftests - unknown status
| 2182 |
2719 | used = true; | - |
2720 | repeat = 1; | - |
2721 | | - |
2722 | if (formatDate) {TRUE | evaluated 2171 times by 14 testsEvaluated by:- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QVariant
- tst_selftests - unknown status
| FALSE | evaluated 11 times by 2 testsEvaluated by:- tst_QItemDelegate
- tst_QTime
|
| 11-2171 |
2723 | result.append(datetime.timeZoneAbbreviation()); | - |
2724 | } else {executed 2171 times by 14 tests: end of block Executed by:- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QVariant
- tst_selftests - unknown status
| 2171 |
2725 | result.append(QDateTime::currentDateTime().timeZoneAbbreviation()); | - |
2726 | }executed 11 times by 2 tests: end of block Executed by:- tst_QItemDelegate
- tst_QTime
| 11 |
2727 | break;executed 2182 times by 15 tests: break; Executed by:- tst_QAsn1Element
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QTime
- tst_QVariant
- tst_selftests - unknown status
| 2182 |
2728 | | - |
2729 | default:executed 90475 times by 29 tests: default: Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- ...
| 90475 |
2730 | break;executed 90475 times by 29 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCompleter
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- tst_QTime
- tst_QVariant
- tst_QXmlStream
- ...
| 90475 |
2731 | } | - |
2732 | } | - |
2733 | if (!used) {TRUE | evaluated 118469 times by 31 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- tst_QTime
- ...
| FALSE | evaluated 152515 times by 32 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
|
| 118469-152515 |
2734 | result.append(QString(repeat, c)); | - |
2735 | }executed 118469 times by 31 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- tst_QTime
- ...
| 118469 |
2736 | i += repeat; | - |
2737 | }executed 270984 times by 32 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| 270984 |
2738 | | - |
2739 | return result;executed 38173 times by 32 tests: return result; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QStyleSheetStyle
- ...
| 38173 |
2740 | } | - |
2741 | | - |
2742 | QString QLocaleData::doubleToString(double d, int precision, DoubleForm form, | - |
2743 | int width, unsigned flags) const | - |
2744 | { | - |
2745 | return doubleToString(m_zero, m_plus, m_minus, m_exponential, m_group, m_decimal,executed 110658 times by 55 tests: return doubleToString(m_zero, m_plus, m_minus, m_exponential, m_group, m_decimal, d, precision, form, width, flags); Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| 110658 |
2746 | d, precision, form, width, flags);executed 110658 times by 55 tests: return doubleToString(m_zero, m_plus, m_minus, m_exponential, m_group, m_decimal, d, precision, form, width, flags); Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| 110658 |
2747 | } | - |
2748 | | - |
2749 | QString QLocaleData::doubleToString(const QChar _zero, const QChar plus, const QChar minus, | - |
2750 | const QChar exponential, const QChar group, const QChar decimal, | - |
2751 | double d, int precision, DoubleForm form, int width, unsigned flags) | - |
2752 | { | - |
2753 | if (precision < 0)TRUE | evaluated 97985 times by 12 testsEvaluated by:- tst_QColor
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QTextDocument
- tst_QToolButton
| FALSE | evaluated 12673 times by 47 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- ...
|
| 12673-97985 |
2754 | precision = 6;executed 97985 times by 12 tests: precision = 6; Executed by:- tst_QColor
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QTextDocument
- tst_QToolButton
| 97985 |
2755 | if (width < 0)TRUE | evaluated 7066 times by 48 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QMetaType
- ...
| FALSE | evaluated 103592 times by 11 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QLCDNumber
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QTextDocument
- tst_QToolButton
|
| 7066-103592 |
2756 | width = 0;executed 7066 times by 48 tests: width = 0; Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QMetaType
- ...
| 7066 |
2757 | | - |
2758 | bool negative = false; | - |
2759 | bool special_number = false; | - |
2760 | QString num_str; | - |
2761 | | - |
2762 | | - |
2763 | if (qt_is_inf(d)) {TRUE | evaluated 550 times by 4 testsEvaluated by:- tst_QDBusMarshall
- tst_QString
- tst_QTextStream
- tst_QVariant
| FALSE | evaluated 110108 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 550-110108 |
2764 | num_str = QString::fromLatin1("inf"); | - |
2765 | special_number = true; | - |
2766 | negative = d < 0; | - |
2767 | } else if (qt_is_nan(d)) {executed 550 times by 4 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QString
- tst_QTextStream
- tst_QVariant
TRUE | evaluated 262 times by 3 testsEvaluated by:- tst_QDBusMarshall
- tst_QString
- tst_QTextStream
| FALSE | evaluated 109846 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 262-109846 |
2768 | num_str = QString::fromLatin1("nan"); | - |
2769 | special_number = true; | - |
2770 | }executed 262 times by 3 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QString
- tst_QTextStream
| 262 |
2771 | | - |
2772 | | - |
2773 | if (!special_number) {TRUE | evaluated 109846 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| FALSE | evaluated 812 times by 4 testsEvaluated by:- tst_QDBusMarshall
- tst_QString
- tst_QTextStream
- tst_QVariant
|
| 812-109846 |
2774 | int decpt, sign; | - |
2775 | QString digits; | - |
2776 | | - |
2777 | int mode; | - |
2778 | if (form == DFDecimal)TRUE | evaluated 2251 times by 20 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QUdpSocket
- tst_selftests - unknown status
| FALSE | evaluated 107595 times by 43 testsEvaluated by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPlainTextEdit
- tst_QPrinter
- ...
|
| 2251-107595 |
2779 | mode = 3;executed 2251 times by 20 tests: mode = 3; Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QUdpSocket
- tst_selftests - unknown status
| 2251 |
2780 | else | - |
2781 | mode = 2;executed 107595 times by 43 tests: mode = 2; Executed by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPlainTextEdit
- tst_QPrinter
- ...
| 107595 |
2782 | | - |
2783 | | - |
2784 | | - |
2785 | | - |
2786 | | - |
2787 | | - |
2788 | | - |
2789 | int pr = precision; | - |
2790 | if (form == DFExponent)TRUE | evaluated 17 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| FALSE | evaluated 109829 times by 54 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 17-109829 |
2791 | ++pr;executed 17 times by 3 tests: ++pr; Executed by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| 17 |
2792 | | - |
2793 | char *rve = 0; | - |
2794 | char *buff = 0; | - |
2795 | QT_TRY { | - |
2796 | digits = QLatin1String(qdtoa(d, mode, pr, &decpt, &sign, &rve, &buff)); | - |
2797 | } QT_CATCH(...) {executed 109846 times by 55 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| 109846 |
2798 | if (buff != 0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2799 | free(buff); never executed: free(buff); | 0 |
2800 | QT_RETHROW; never executed: throw; | 0 |
2801 | } | - |
2802 | if (buff != 0)TRUE | evaluated 71428 times by 53 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| FALSE | evaluated 38418 times by 24 testsEvaluated by:- tst_QAccessibility
- tst_QBrush
- tst_QDoubleSpinBox
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
- tst_QTextList
- tst_QTextStream
- tst_QToolButton
- tst_QVariant
- tst_selftests - unknown status
|
| 38418-71428 |
2803 | free(buff);executed 71428 times by 53 tests: free(buff); Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| 71428 |
2804 | | - |
2805 | if (_zero.unicode() != '0') {TRUE | evaluated 1 time by 1 test | FALSE | evaluated 109845 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 1-109845 |
2806 | ushort z = _zero.unicode() - '0'; | - |
2807 | for (int i = 0; i < digits.length(); ++i)TRUE | evaluated 7 times by 1 test | FALSE | evaluated 1 time by 1 test |
| 1-7 |
2808 | reinterpret_cast<ushort *>(digits.data())[i] += z;executed 7 times by 1 test: reinterpret_cast<ushort *>(digits.data())[i] += z; | 7 |
2809 | }executed 1 time by 1 test: end of block | 1 |
2810 | | - |
2811 | bool always_show_decpt = (flags & Alternate || flags & ForcePoint);TRUE | evaluated 4614 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
| FALSE | evaluated 105232 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
TRUE | never evaluated | FALSE | evaluated 105232 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 0-105232 |
2812 | switch (form) { | - |
2813 | case DFExponent: {executed 17 times by 3 tests: case DFExponent: Executed by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| 17 |
2814 | num_str = exponentForm(_zero, decimal, exponential, group, plus, minus, | - |
2815 | digits, decpt, precision, PMDecimalDigits, | - |
2816 | always_show_decpt); | - |
2817 | break;executed 17 times by 3 tests: break; Executed by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| 17 |
2818 | } | - |
2819 | case DFDecimal: {executed 2251 times by 20 tests: case DFDecimal: Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QUdpSocket
- tst_selftests - unknown status
| 2251 |
2820 | num_str = decimalForm(_zero, decimal, group, | - |
2821 | digits, decpt, precision, PMDecimalDigits, | - |
2822 | always_show_decpt, flags & ThousandsGroup); | - |
2823 | break;executed 2251 times by 20 tests: break; Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QUdpSocket
- tst_selftests - unknown status
| 2251 |
2824 | } | - |
2825 | case DFSignificantDigits: {executed 107578 times by 42 tests: case DFSignificantDigits: Executed by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPlainTextEdit
- tst_QPrinter
- ...
| 107578 |
2826 | PrecisionMode mode = (flags & Alternate) ?TRUE | evaluated 4610 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
| FALSE | evaluated 102968 times by 42 testsEvaluated by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPlainTextEdit
- tst_QPrinter
- ...
|
| 4610-102968 |
2827 | PMSignificantDigits : PMChopTrailingZeros; | - |
2828 | | - |
2829 | if (decpt != digits.length() && (decpt <= -4 || decpt > precision))TRUE | evaluated 54012 times by 31 testsEvaluated by:- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QTextDocument
- ...
| FALSE | evaluated 53566 times by 35 testsEvaluated by:- tst_QBrush
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- ...
|
TRUE | evaluated 4438 times by 3 testsEvaluated by:- tst_QByteArray
- tst_QGraphicsTransform
- tst_QString
| FALSE | evaluated 49574 times by 31 testsEvaluated by:- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QTextDocument
- ...
|
TRUE | evaluated 1897 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QTextStream
| FALSE | evaluated 47677 times by 31 testsEvaluated by:- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QTextDocument
- ...
|
| 1897-54012 |
2830 | num_str = exponentForm(_zero, decimal, exponential, group, plus, minus,executed 6335 times by 5 tests: num_str = exponentForm(_zero, decimal, exponential, group, plus, minus, digits, decpt, precision, mode, always_show_decpt); Executed by:- tst_QByteArray
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QString
- tst_QTextStream
| 6335 |
2831 | digits, decpt, precision, mode,executed 6335 times by 5 tests: num_str = exponentForm(_zero, decimal, exponential, group, plus, minus, digits, decpt, precision, mode, always_show_decpt); Executed by:- tst_QByteArray
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QString
- tst_QTextStream
| 6335 |
2832 | always_show_decpt);executed 6335 times by 5 tests: num_str = exponentForm(_zero, decimal, exponential, group, plus, minus, digits, decpt, precision, mode, always_show_decpt); Executed by:- tst_QByteArray
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QString
- tst_QTextStream
| 6335 |
2833 | else | - |
2834 | num_str = decimalForm(_zero, decimal, group,executed 101243 times by 42 tests: num_str = decimalForm(_zero, decimal, group, digits, decpt, precision, mode, always_show_decpt, flags & ThousandsGroup); Executed by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPlainTextEdit
- tst_QPrinter
- ...
| 101243 |
2835 | digits, decpt, precision, mode,executed 101243 times by 42 tests: num_str = decimalForm(_zero, decimal, group, digits, decpt, precision, mode, always_show_decpt, flags & ThousandsGroup); Executed by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPlainTextEdit
- tst_QPrinter
- ...
| 101243 |
2836 | always_show_decpt, flags & ThousandsGroup);executed 101243 times by 42 tests: num_str = decimalForm(_zero, decimal, group, digits, decpt, precision, mode, always_show_decpt, flags & ThousandsGroup); Executed by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPlainTextEdit
- tst_QPrinter
- ...
| 101243 |
2837 | break;executed 107578 times by 42 tests: break; Executed by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPlainTextEdit
- tst_QPrinter
- ...
| 107578 |
2838 | } | - |
2839 | } | - |
2840 | | - |
2841 | negative = sign != 0 && !isZero(d);TRUE | evaluated 22157 times by 15 testsEvaluated by:- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsTransform
- tst_QInputDialog
- tst_QItemDelegate
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextStream
- tst_QVariant
| FALSE | evaluated 87689 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
TRUE | evaluated 22157 times by 15 testsEvaluated by:- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsTransform
- tst_QInputDialog
- tst_QItemDelegate
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextStream
- tst_QVariant
| FALSE | never evaluated |
| 0-87689 |
2842 | }executed 109846 times by 55 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| 109846 |
2843 | | - |
2844 | | - |
2845 | | - |
2846 | if (flags & QLocaleData::ZeroPaddedTRUE | evaluated 4997 times by 1 test | FALSE | evaluated 105661 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 4997-105661 |
2847 | && !(flags & QLocaleData::LeftAdjusted)TRUE | evaluated 2501 times by 1 test | FALSE | evaluated 2496 times by 1 test |
| 2496-2501 |
2848 | && !special_number) {TRUE | evaluated 2309 times by 1 test | FALSE | evaluated 192 times by 1 test |
| 192-2309 |
2849 | int num_pad_chars = width - num_str.length(); | - |
2850 | | - |
2851 | if (negativeTRUE | evaluated 66 times by 1 test | FALSE | evaluated 2243 times by 1 test |
| 66-2243 |
2852 | || flags & QLocaleData::AlwaysShowSignTRUE | evaluated 1120 times by 1 test | FALSE | evaluated 1123 times by 1 test |
| 1120-1123 |
2853 | || flags & QLocaleData::BlankBeforePositive)TRUE | evaluated 560 times by 1 test | FALSE | evaluated 563 times by 1 test |
| 560-563 |
2854 | --num_pad_chars;executed 1746 times by 1 test: --num_pad_chars; | 1746 |
2855 | | - |
2856 | for (int i = 0; i < num_pad_chars; ++i)TRUE | evaluated 23653 times by 1 test | FALSE | evaluated 2309 times by 1 test |
| 2309-23653 |
2857 | num_str.prepend(_zero);executed 23653 times by 1 test: num_str.prepend(_zero); | 23653 |
2858 | }executed 2309 times by 1 test: end of block | 2309 |
2859 | | - |
2860 | | - |
2861 | if (negative)TRUE | evaluated 22430 times by 15 testsEvaluated by:- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsTransform
- tst_QInputDialog
- tst_QItemDelegate
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextStream
- tst_QVariant
| FALSE | evaluated 88228 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 22430-88228 |
2862 | num_str.prepend(minus);executed 22430 times by 15 tests: num_str.prepend(minus); Executed by:- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsTransform
- tst_QInputDialog
- tst_QItemDelegate
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextStream
- tst_QVariant
| 22430 |
2863 | else if (flags & QLocaleData::AlwaysShowSign)TRUE | evaluated 4738 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
| FALSE | evaluated 83490 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 4738-83490 |
2864 | num_str.prepend(plus);executed 4738 times by 2 tests: num_str.prepend(plus); Executed by:- tst_QString
- tst_QTextStream
| 4738 |
2865 | else if (flags & QLocaleData::BlankBeforePositive)TRUE | evaluated 2368 times by 1 test | FALSE | evaluated 81122 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 2368-81122 |
2866 | num_str.prepend(QLatin1Char(' '));executed 2368 times by 1 test: num_str.prepend(QLatin1Char(' ')); | 2368 |
2867 | | - |
2868 | if (flags & QLocaleData::CapitalEorX)TRUE | evaluated 4999 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
| FALSE | evaluated 105659 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 4999-105659 |
2869 | num_str = num_str.toUpper();executed 4999 times by 2 tests: num_str = num_str.toUpper(); Executed by:- tst_QString
- tst_QTextStream
| 4999 |
2870 | | - |
2871 | return num_str;executed 110658 times by 55 tests: return num_str; Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| 110658 |
2872 | } | - |
2873 | | - |
2874 | QString QLocaleData::longLongToString(qlonglong l, int precision, | - |
2875 | int base, int width, | - |
2876 | unsigned flags) const | - |
2877 | { | - |
2878 | return longLongToString(m_zero, m_group, m_plus, m_minus,executed 11724979 times by 448 tests: return longLongToString(m_zero, m_group, m_plus, m_minus, l, precision, base, width, flags); Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
| 11724979 |
2879 | l, precision, base, width, flags);executed 11724979 times by 448 tests: return longLongToString(m_zero, m_group, m_plus, m_minus, l, precision, base, width, flags); Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
| 11724979 |
2880 | } | - |
2881 | | - |
2882 | QString QLocaleData::longLongToString(const QChar zero, const QChar group, | - |
2883 | const QChar plus, const QChar minus, | - |
2884 | qlonglong l, int precision, | - |
2885 | int base, int width, | - |
2886 | unsigned flags) | - |
2887 | { | - |
2888 | bool precision_not_specified = false; | - |
2889 | if (precision == -1) {TRUE | evaluated 11723779 times by 447 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
| FALSE | evaluated 7552 times by 7 testsEvaluated by:- tst_QByteArray
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QRegExp
- tst_QString
- tst_QStringRef
- tst_QTextStream
|
| 7552-11723779 |
2890 | precision_not_specified = true; | - |
2891 | precision = 1; | - |
2892 | }executed 11723779 times by 447 tests: end of block Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
| 11723779 |
2893 | | - |
2894 | bool negative = l < 0; | - |
2895 | if (base != 10) {TRUE | evaluated 2298 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QChar
- tst_QColor
- tst_QGuiVariant
- tst_QRawFont
- tst_QSpinBox
- tst_QSslSocket
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_Utf8
- tst_qlogging - unknown status
- tst_qmakelib
| FALSE | evaluated 11729033 times by 447 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
|
| 2298-11729033 |
2896 | | - |
2897 | flags &= ~AlwaysShowSign; | - |
2898 | flags &= ~BlankBeforePositive; | - |
2899 | negative = false; | - |
2900 | }executed 2298 times by 18 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QChar
- tst_QColor
- tst_QGuiVariant
- tst_QRawFont
- tst_QSpinBox
- tst_QSslSocket
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_Utf8
- tst_qlogging - unknown status
- tst_qmakelib
| 2298 |
2901 | | - |
2902 | QString num_str; | - |
2903 | if (base == 10)TRUE | evaluated 11729033 times by 447 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
| FALSE | evaluated 2298 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QChar
- tst_QColor
- tst_QGuiVariant
- tst_QRawFont
- tst_QSpinBox
- tst_QSslSocket
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_Utf8
- tst_qlogging - unknown status
- tst_qmakelib
|
| 2298-11729033 |
2904 | num_str = qlltoa(l, base, zero);executed 11729033 times by 447 tests: num_str = qlltoa(l, base, zero); Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
| 11729033 |
2905 | else | - |
2906 | num_str = qulltoa(l, base, zero);executed 2298 times by 18 tests: num_str = qulltoa(l, base, zero); Executed by:- tst_NetworkSelfTest
- tst_QChar
- tst_QColor
- tst_QGuiVariant
- tst_QRawFont
- tst_QSpinBox
- tst_QSslSocket
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_Utf8
- tst_qlogging - unknown status
- tst_qmakelib
| 2298 |
2907 | | - |
2908 | uint cnt_thousand_sep = 0; | - |
2909 | if (flags & ThousandsGroup && base == 10) {TRUE | evaluated 1893 times by 23 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- tst_QPrinter
- tst_QProgressBar
- tst_QSpinBox
- tst_QString
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_languageChange
| FALSE | evaluated 11729438 times by 448 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
|
TRUE | evaluated 1892 times by 23 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- tst_QPrinter
- tst_QProgressBar
- tst_QSpinBox
- tst_QString
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_languageChange
| FALSE | evaluated 1 time by 1 test |
| 1-11729438 |
2910 | for (int i = num_str.length() - 3; i > 0; i -= 3) {TRUE | evaluated 247 times by 10 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QFiledialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QSpinBox
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_languageChange
| FALSE | evaluated 1892 times by 23 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- tst_QPrinter
- tst_QProgressBar
- tst_QSpinBox
- tst_QString
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_languageChange
|
| 247-1892 |
2911 | num_str.insert(i, group); | - |
2912 | ++cnt_thousand_sep; | - |
2913 | }executed 247 times by 10 tests: end of block Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QFiledialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QSpinBox
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_languageChange
| 247 |
2914 | }executed 1892 times by 23 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- tst_QPrinter
- tst_QProgressBar
- tst_QSpinBox
- tst_QString
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_languageChange
| 1892 |
2915 | | - |
2916 | for (int i = num_str.length(); i < precision; ++i)TRUE | evaluated 416137 times by 392 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- 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_QApplication
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCache
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
| FALSE | evaluated 11731331 times by 449 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
|
| 416137-11731331 |
2917 | num_str.prepend(base == 10 ? zero : QChar::fromLatin1('0'));executed 416137 times by 392 tests: num_str.prepend(base == 10 ? zero : QChar::fromLatin1('0')); Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- 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_QApplication
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCache
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- ...
| 416137 |
2918 | | - |
2919 | if ((flags & Alternate || flags & ShowBase)TRUE | never evaluated | FALSE | evaluated 11731331 times by 449 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
|
TRUE | never evaluated | FALSE | evaluated 11731331 times by 449 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
|
| 0-11731331 |
2920 | && base == 8TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2921 | && (num_str.isEmpty() || num_str[0].unicode() != QLatin1Char('0')))TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2922 | num_str.prepend(QLatin1Char('0')); never executed: num_str.prepend(QLatin1Char('0')); | 0 |
2923 | | - |
2924 | | - |
2925 | | - |
2926 | bool zero_padded = flags & ZeroPaddedTRUE | evaluated 135577 times by 37 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSqlTableModel
- ...
| FALSE | evaluated 11595754 times by 442 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
|
| 135577-11595754 |
2927 | && !(flags & LeftAdjusted)TRUE | evaluated 135577 times by 37 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSqlTableModel
- ...
| FALSE | never evaluated |
| 0-135577 |
2928 | && precision_not_specified;TRUE | evaluated 135577 times by 37 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSqlTableModel
- ...
| FALSE | never evaluated |
| 0-135577 |
2929 | | - |
2930 | if (zero_padded) {TRUE | evaluated 135577 times by 37 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSqlTableModel
- ...
| FALSE | evaluated 11595754 times by 442 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- ...
|
| 135577-11595754 |
2931 | int num_pad_chars = width - num_str.length(); | - |
2932 | | - |
2933 | | - |
2934 | if (negativeTRUE | evaluated 458 times by 3 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QString
| FALSE | evaluated 135119 times by 37 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSqlTableModel
- ...
|
| 458-135119 |
2935 | || flags & AlwaysShowSignTRUE | never evaluated | FALSE | evaluated 135119 times by 37 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSqlTableModel
- ...
|
| 0-135119 |
2936 | || flags & BlankBeforePositive)TRUE | never evaluated | FALSE | evaluated 135119 times by 37 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSqlTableModel
- ...
|
| 0-135119 |
2937 | --num_pad_chars;executed 458 times by 3 tests: --num_pad_chars; Executed by:- tst_QDate
- tst_QDateTime
- tst_QString
| 458 |
2938 | | - |
2939 | | - |
2940 | if (base == 16 && (flags & Alternate || flags & ShowBase))TRUE | evaluated 2 times by 1 test | FALSE | evaluated 135575 times by 37 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSqlTableModel
- ...
|
TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-135575 |
2941 | num_pad_chars -= 2; never executed: num_pad_chars -= 2; | 0 |
2942 | | - |
2943 | else if (base == 2 && (flags & Alternate || flags & ShowBase))TRUE | never evaluated | FALSE | evaluated 135577 times by 37 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSqlTableModel
- ...
|
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0-135577 |
2944 | num_pad_chars -= 2; never executed: num_pad_chars -= 2; | 0 |
2945 | | - |
2946 | for (int i = 0; i < num_pad_chars; ++i)TRUE | evaluated 65310 times by 34 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QSslCertificate
- ...
| FALSE | evaluated 135577 times by 37 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSqlTableModel
- ...
|
| 65310-135577 |
2947 | num_str.prepend(base == 10 ? zero : QChar::fromLatin1('0'));executed 65310 times by 34 tests: num_str.prepend(base == 10 ? zero : QChar::fromLatin1('0')); Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QSslCertificate
- ...
| 65310 |
2948 | }executed 135577 times by 37 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QCompleter
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNoDebug
- tst_QSignalSpy
- tst_QSqlQuery
- tst_QSqlTableModel
- ...
| 135577 |
2949 | | - |
2950 | if (flags & CapitalEorX)TRUE | never evaluated | FALSE | evaluated 11731331 times by 449 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
|
| 0-11731331 |
2951 | num_str = num_str.toUpper(); never executed: num_str = num_str.toUpper(); | 0 |
2952 | | - |
2953 | if (base == 16 && (flags & Alternate || flags & ShowBase))TRUE | evaluated 2117 times by 17 testsEvaluated by:- tst_QChar
- tst_QColor
- tst_QGuiVariant
- tst_QRawFont
- tst_QSpinBox
- tst_QSslSocket
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_Utf8
- tst_qlogging - unknown status
- tst_qmakelib
| FALSE | evaluated 11729214 times by 447 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
|
TRUE | never evaluated | FALSE | evaluated 2117 times by 17 testsEvaluated by:- tst_QChar
- tst_QColor
- tst_QGuiVariant
- tst_QRawFont
- tst_QSpinBox
- tst_QSslSocket
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_Utf8
- tst_qlogging - unknown status
- tst_qmakelib
|
TRUE | never evaluated | FALSE | evaluated 2117 times by 17 testsEvaluated by:- tst_QChar
- tst_QColor
- tst_QGuiVariant
- tst_QRawFont
- tst_QSpinBox
- tst_QSslSocket
- tst_QStaticText
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextLayout
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_Utf8
- tst_qlogging - unknown status
- tst_qmakelib
|
| 0-11729214 |
2954 | num_str.prepend(QLatin1String(flags & UppercaseBase ? "0X" : "0x")); never executed: num_str.prepend(QLatin1String(flags & UppercaseBase ? "0X" : "0x")); | 0 |
2955 | if (base == 2 && (flags & Alternate || flags & ShowBase))TRUE | evaluated 9 times by 1 test | FALSE | evaluated 11731322 times by 449 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
|
TRUE | never evaluated | FALSE | evaluated 9 times by 1 test |
TRUE | never evaluated | FALSE | evaluated 9 times by 1 test |
| 0-11731322 |
2956 | num_str.prepend(QLatin1String(flags & UppercaseBase ? "0B" : "0b")); never executed: num_str.prepend(QLatin1String(flags & UppercaseBase ? "0B" : "0b")); | 0 |
2957 | | - |
2958 | | - |
2959 | if (negative)TRUE | evaluated 22295 times by 73 testsEvaluated by:- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QByteArray
- tst_QCache
- tst_QCalendarWidget
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDialog
- tst_QEasingCurve
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFormLayout
- tst_QFtp
- ...
| FALSE | evaluated 11709036 times by 446 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCache
- ...
|
| 22295-11709036 |
2960 | num_str.prepend(minus);executed 22295 times by 73 tests: num_str.prepend(minus); Executed by:- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBuffer
- tst_QByteArray
- tst_QCache
- tst_QCalendarWidget
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDialog
- tst_QEasingCurve
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFormLayout
- tst_QFtp
- ...
| 22295 |
2961 | else if (flags & AlwaysShowSign)TRUE | evaluated 1914 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QTextStream
| FALSE | evaluated 11707122 times by 446 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCache
- ...
|
| 1914-11707122 |
2962 | num_str.prepend(plus);executed 1914 times by 4 tests: num_str.prepend(plus); Executed by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QTextStream
| 1914 |
2963 | else if (flags & BlankBeforePositive)TRUE | never evaluated | FALSE | evaluated 11707122 times by 446 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCache
- ...
|
| 0-11707122 |
2964 | num_str.prepend(QLatin1Char(' ')); never executed: num_str.prepend(QLatin1Char(' ')); | 0 |
2965 | | - |
2966 | return num_str;executed 11731331 times by 449 tests: return num_str; Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- 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_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
| 11731331 |
2967 | } | - |
2968 | | - |
2969 | QString QLocaleData::unsLongLongToString(qulonglong l, int precision, | - |
2970 | int base, int width, | - |
2971 | unsigned flags) const | - |
2972 | { | - |
2973 | return unsLongLongToString(m_zero, m_group, m_plus,executed 53284 times by 119 tests: return unsLongLongToString(m_zero, m_group, m_plus, l, precision, base, width, flags); Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileDialog2
- ...
| 53284 |
2974 | l, precision, base, width, flags);executed 53284 times by 119 tests: return unsLongLongToString(m_zero, m_group, m_plus, l, precision, base, width, flags); Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileDialog2
- ...
| 53284 |
2975 | } | - |
2976 | | - |
2977 | QString QLocaleData::unsLongLongToString(const QChar zero, const QChar group, | - |
2978 | const QChar plus, | - |
2979 | qulonglong l, int precision, | - |
2980 | int base, int width, | - |
2981 | unsigned flags) | - |
2982 | { | - |
2983 | bool precision_not_specified = false; | - |
2984 | if (precision == -1) {TRUE | evaluated 53284 times by 119 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileDialog2
- ...
| FALSE | never evaluated |
| 0-53284 |
2985 | precision_not_specified = true; | - |
2986 | precision = 1; | - |
2987 | }executed 53284 times by 119 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileDialog2
- ...
| 53284 |
2988 | | - |
2989 | QString num_str = qulltoa(l, base, zero); | - |
2990 | | - |
2991 | uint cnt_thousand_sep = 0; | - |
2992 | if (flags & ThousandsGroup && base == 10) {TRUE | evaluated 440 times by 3 testsEvaluated by:- tst_QItemDelegate
- tst_QItemModel
- tst_QTextStream
| FALSE | evaluated 52844 times by 118 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileDialog2
- ...
|
TRUE | evaluated 440 times by 3 testsEvaluated by:- tst_QItemDelegate
- tst_QItemModel
- tst_QTextStream
| FALSE | never evaluated |
| 0-52844 |
2993 | for (int i = num_str.length() - 3; i > 0; i -=3) {TRUE | evaluated 259 times by 3 testsEvaluated by:- tst_QItemDelegate
- tst_QItemModel
- tst_QTextStream
| FALSE | evaluated 440 times by 3 testsEvaluated by:- tst_QItemDelegate
- tst_QItemModel
- tst_QTextStream
|
| 259-440 |
2994 | num_str.insert(i, group); | - |
2995 | ++cnt_thousand_sep; | - |
2996 | }executed 259 times by 3 tests: end of block Executed by:- tst_QItemDelegate
- tst_QItemModel
- tst_QTextStream
| 259 |
2997 | }executed 440 times by 3 tests: end of block Executed by:- tst_QItemDelegate
- tst_QItemModel
- tst_QTextStream
| 440 |
2998 | | - |
2999 | for (int i = num_str.length(); i < precision; ++i)TRUE | evaluated 3531 times by 33 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QColumnView
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QImage
- tst_QImageWriter
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QMetaObject
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QStackedLayout
- tst_QStateMachine
- ...
| FALSE | evaluated 53284 times by 119 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileDialog2
- ...
|
| 3531-53284 |
3000 | num_str.prepend(base == 10 ? zero : QChar::fromLatin1('0'));executed 3531 times by 33 tests: num_str.prepend(base == 10 ? zero : QChar::fromLatin1('0')); Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QColumnView
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QImage
- tst_QImageWriter
- tst_QItemModel
- tst_QItemSelectionModel
- tst_QMetaObject
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QStackedLayout
- tst_QStateMachine
- ...
| 3531 |
3001 | | - |
3002 | if ((flags & Alternate || flags & ShowBase)TRUE | evaluated 1955 times by 32 testsEvaluated by:- tst_QAccessibility
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QMetaObject
- tst_QPrinter
- tst_QSharedPointer
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QState
- tst_QStateMachine
- tst_QString
- ...
| FALSE | evaluated 51329 times by 102 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
TRUE | evaluated 134 times by 11 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDebug
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QMdiSubWindow
- tst_QNetworkConfigurationManager
- tst_QTextStream
- tst_QVariant
- tst_QWidget
| FALSE | evaluated 51195 times by 100 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
|
| 134-51329 |
3003 | && base == 8TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2087 times by 39 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDebug
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QMetaObject
- tst_QNetworkConfigurationManager
- tst_QPrinter
- tst_QSharedPointer
- ...
|
| 2-2087 |
3004 | && (num_str.isEmpty() || num_str[0].unicode() != QLatin1Char('0')))TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
| 0-2 |
3005 | num_str.prepend(QLatin1Char('0'));executed 1 time by 1 test: num_str.prepend(QLatin1Char('0')); | 1 |
3006 | | - |
3007 | | - |
3008 | | - |
3009 | bool zero_padded = flags & ZeroPaddedTRUE | evaluated 6484 times by 5 testsEvaluated by:- tst_QAlgorithms
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QUrlInternal
| FALSE | evaluated 46800 times by 117 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 6484-46800 |
3010 | && !(flags & LeftAdjusted)TRUE | evaluated 6484 times by 5 testsEvaluated by:- tst_QAlgorithms
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QUrlInternal
| FALSE | never evaluated |
| 0-6484 |
3011 | && precision_not_specified;TRUE | evaluated 6484 times by 5 testsEvaluated by:- tst_QAlgorithms
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QUrlInternal
| FALSE | never evaluated |
| 0-6484 |
3012 | | - |
3013 | if (zero_padded) {TRUE | evaluated 6484 times by 5 testsEvaluated by:- tst_QAlgorithms
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QUrlInternal
| FALSE | evaluated 46800 times by 117 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 6484-46800 |
3014 | int num_pad_chars = width - num_str.length(); | - |
3015 | | - |
3016 | | - |
3017 | if (base == 16 && flags & Alternate)TRUE | evaluated 6484 times by 5 testsEvaluated by:- tst_QAlgorithms
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QUrlInternal
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | evaluated 6484 times by 5 testsEvaluated by:- tst_QAlgorithms
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QUrlInternal
|
| 0-6484 |
3018 | num_pad_chars -= 2; never executed: num_pad_chars -= 2; | 0 |
3019 | | - |
3020 | else if (base == 2 && flags & Alternate)TRUE | never evaluated | FALSE | evaluated 6484 times by 5 testsEvaluated by:- tst_QAlgorithms
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QUrlInternal
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-6484 |
3021 | num_pad_chars -= 2; never executed: num_pad_chars -= 2; | 0 |
3022 | | - |
3023 | for (int i = 0; i < num_pad_chars; ++i)TRUE | evaluated 13384 times by 4 testsEvaluated by:- tst_QAlgorithms
- tst_QImage
- tst_QImageWriter
- tst_QUrlInternal
| FALSE | evaluated 6484 times by 5 testsEvaluated by:- tst_QAlgorithms
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QUrlInternal
|
| 6484-13384 |
3024 | num_str.prepend(base == 10 ? zero : QChar::fromLatin1('0'));executed 13384 times by 4 tests: num_str.prepend(base == 10 ? zero : QChar::fromLatin1('0')); Executed by:- tst_QAlgorithms
- tst_QImage
- tst_QImageWriter
- tst_QUrlInternal
| 13384 |
3025 | }executed 6484 times by 5 tests: end of block Executed by:- tst_QAlgorithms
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QUrlInternal
| 6484 |
3026 | | - |
3027 | if (flags & CapitalEorX)TRUE | evaluated 9 times by 1 test | FALSE | evaluated 53275 times by 119 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileDialog2
- ...
|
| 9-53275 |
3028 | num_str = num_str.toUpper();executed 9 times by 1 test: num_str = num_str.toUpper(); | 9 |
3029 | | - |
3030 | if (base == 16 && (flags & Alternate || flags & ShowBase))TRUE | evaluated 22164 times by 74 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QImage
- tst_QImageReader
- ...
| FALSE | evaluated 31120 times by 74 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsAnchorLayout
- tst_QGraphicsAnchorLayout1
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QGuiVariant
- ...
|
TRUE | evaluated 1955 times by 32 testsEvaluated by:- tst_QAccessibility
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QMetaObject
- tst_QPrinter
- tst_QSharedPointer
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QState
- tst_QStateMachine
- tst_QString
- ...
| FALSE | evaluated 20209 times by 48 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeyEvent
- tst_QMdiSubWindow
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- ...
|
TRUE | evaluated 117 times by 11 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDebug
- tst_QGraphicsItem
- tst_QGuiVariant
- tst_QMdiSubWindow
- tst_QNetworkConfigurationManager
- tst_QTextStream
- tst_QVariant
- tst_QWidget
| FALSE | evaluated 20092 times by 41 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAlgorithms
- tst_QApplication
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QGlyphRun
- tst_QGuiVariant
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeyEvent
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPainter
- tst_QPluginLoader
- tst_QRawFont
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- ...
|
| 117-31120 |
3031 | num_str.prepend(QLatin1String(flags & UppercaseBase ? "0X" : "0x"));executed 2072 times by 39 tests: num_str.prepend(QLatin1String(flags & UppercaseBase ? "0X" : "0x")); Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAccessibility
- tst_QDebug
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QMetaObject
- tst_QNetworkConfigurationManager
- tst_QPrinter
- tst_QSharedPointer
- ...
| 2072 |
3032 | else if (base == 2 && (flags & Alternate || flags & ShowBase))TRUE | evaluated 15 times by 1 test | FALSE | evaluated 51197 times by 100 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
|
TRUE | never evaluated | FALSE | evaluated 15 times by 1 test |
TRUE | evaluated 14 times by 1 test | FALSE | evaluated 1 time by 1 test |
| 0-51197 |
3033 | num_str.prepend(QLatin1String(flags & UppercaseBase ? "0B" : "0b"));executed 14 times by 1 test: num_str.prepend(QLatin1String(flags & UppercaseBase ? "0B" : "0b")); | 14 |
3034 | | - |
3035 | | - |
3036 | if (flags & AlwaysShowSign)TRUE | evaluated 3 times by 1 test | FALSE | evaluated 53281 times by 119 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileDialog2
- ...
|
| 3-53281 |
3037 | num_str.prepend(plus);executed 3 times by 1 test: num_str.prepend(plus); | 3 |
3038 | else if (flags & BlankBeforePositive)TRUE | never evaluated | FALSE | evaluated 53281 times by 119 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileDialog2
- ...
|
| 0-53281 |
3039 | num_str.prepend(QLatin1Char(' ')); never executed: num_str.prepend(QLatin1Char(' ')); | 0 |
3040 | | - |
3041 | return num_str;executed 53284 times by 119 tests: return num_str; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QByteArray
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QElapsedTimer
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileDialog2
- ...
| 53284 |
3042 | } | - |
3043 | | - |
3044 | | - |
3045 | | - |
3046 | | - |
3047 | | - |
3048 | | - |
3049 | | - |
3050 | | - |
3051 | | - |
3052 | bool QLocaleData::numberToCLocale(const QChar *str, int len, | - |
3053 | GroupSeparatorMode group_sep_mode, | - |
3054 | CharBuff *result) const | - |
3055 | { | - |
3056 | const QChar *uc = str; | - |
3057 | int l = len; | - |
3058 | int idx = 0; | - |
3059 | | - |
3060 | | - |
3061 | while (idx < l && uc[idx].isSpace())TRUE | evaluated 201668 times by 101 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| FALSE | evaluated 4310 times by 11 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFontDialog
- tst_QHostAddress
- tst_QMimeDatabase
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_QVariant
- tst_qmakelib
|
TRUE | evaluated 268 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QString
- tst_QStringRef
- tst_QXmlInputSource
| FALSE | evaluated 201400 times by 101 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
| 268-201668 |
3062 | ++idx;executed 268 times by 4 tests: ++idx; Executed by:- tst_QHostAddress
- tst_QString
- tst_QStringRef
- tst_QXmlInputSource
| 268 |
3063 | if (idx == l)TRUE | evaluated 4310 times by 11 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFontDialog
- tst_QHostAddress
- tst_QMimeDatabase
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_QVariant
- tst_qmakelib
| FALSE | evaluated 201400 times by 101 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
| 4310-201400 |
3064 | return false;executed 4310 times by 11 tests: return false; Executed by:- tst_QDate
- tst_QDateTime
- tst_QFontDialog
- tst_QHostAddress
- tst_QMimeDatabase
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_QVariant
- tst_qmakelib
| 4310 |
3065 | | - |
3066 | | - |
3067 | for (; idx < l; --l) {TRUE | evaluated 201575 times by 101 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
| 0-201575 |
3068 | if (!uc[l - 1].isSpace())TRUE | evaluated 201400 times by 101 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| FALSE | evaluated 175 times by 5 testsEvaluated by:- tst_QIntValidator
- tst_QString
- tst_QStringRef
- tst_QVariant
- tst_QXmlInputSource
|
| 175-201400 |
3069 | break;executed 201400 times by 101 tests: break; Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 201400 |
3070 | }executed 175 times by 5 tests: end of block Executed by:- tst_QIntValidator
- tst_QString
- tst_QStringRef
- tst_QVariant
- tst_QXmlInputSource
| 175 |
3071 | | - |
3072 | int group_cnt = 0; | - |
3073 | int decpt_idx = -1; | - |
3074 | int last_separator_idx = -1; | - |
3075 | int start_of_digits_idx = -1; | - |
3076 | | - |
3077 | while (idx < l) {TRUE | evaluated 577740 times by 101 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| FALSE | evaluated 200442 times by 100 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
| 200442-577740 |
3078 | const QChar in = uc[idx]; | - |
3079 | | - |
3080 | char out = digitToCLocale(in); | - |
3081 | if (out == 0) {TRUE | evaluated 209905 times by 35 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QHostAddress
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkInterface
- tst_QNetworkSession
- tst_QObject
- tst_QOpenGlConfig
- tst_QPlugin
- tst_QSpinBox
- tst_QSqlError
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTcpServer
- tst_QTextBoundaryFinder
- tst_QTextDocument
- ...
| FALSE | evaluated 367835 times by 101 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
| 209905-367835 |
3082 | if (in == m_list)TRUE | never evaluated | FALSE | evaluated 209905 times by 35 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QHostAddress
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkInterface
- tst_QNetworkSession
- tst_QObject
- tst_QOpenGlConfig
- tst_QPlugin
- tst_QSpinBox
- tst_QSqlError
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTcpServer
- tst_QTextBoundaryFinder
- tst_QTextDocument
- ...
|
| 0-209905 |
3083 | out = ';'; never executed: out = ';'; | 0 |
3084 | else if (in == m_percent)TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_QTextDocument
- tst_QTextDocumentFragment
| FALSE | evaluated 209901 times by 33 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QHostAddress
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QNetworkInterface
- tst_QNetworkSession
- tst_QObject
- tst_QOpenGlConfig
- tst_QPlugin
- tst_QSpinBox
- tst_QSqlError
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTcpServer
- tst_QTextBoundaryFinder
- tst_QTime
- ...
|
| 4-209901 |
3085 | out = '%';executed 4 times by 2 tests: out = '%'; Executed by:- tst_QTextDocument
- tst_QTextDocumentFragment
| 4 |
3086 | | - |
3087 | else if (in.unicode() >= 'A' && in.unicode() <= 'Z')TRUE | evaluated 208974 times by 30 testsEvaluated by:- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QHostAddress
- tst_QInputDialog
- tst_QMetaType
- tst_QNetworkInterface
- tst_QNetworkSession
- tst_QObject
- tst_QOpenGlConfig
- tst_QPlugin
- tst_QSpinBox
- tst_QSqlError
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QTcpServer
- tst_QTextBoundaryFinder
- tst_QTime
- tst_QTreeWidget
- tst_QUdpSocket
- tst_QVariant
- ...
| FALSE | evaluated 927 times by 14 testsEvaluated by:- tst_QAccessibility
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QHostAddress
- tst_QItemDelegate
- tst_QObject
- tst_QSpinBox
- tst_QString
- tst_QStyleSheetStyle
- tst_QVariant
- tst_qmakelib
|
TRUE | evaluated 207433 times by 15 testsEvaluated by:- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QMetaType
- tst_QObject
- tst_QOpenGlConfig
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QTextBoundaryFinder
- tst_QTime
- tst_QVariant
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Selftests
| FALSE | evaluated 1541 times by 27 testsEvaluated by:- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QHostAddress
- tst_QInputDialog
- tst_QMetaType
- tst_QNetworkInterface
- tst_QNetworkSession
- tst_QObject
- tst_QOpenGlConfig
- tst_QPlugin
- tst_QSpinBox
- tst_QSqlError
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QTcpServer
- tst_QTreeWidget
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlSimpleReader
- tst_QXmlStream
- ...
|
| 927-208974 |
3088 | out = in.toLower().toLatin1();executed 207433 times by 15 tests: out = in.toLower().toLatin1(); Executed by:- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QMetaType
- tst_QObject
- tst_QOpenGlConfig
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QTextBoundaryFinder
- tst_QTime
- tst_QVariant
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Selftests
| 207433 |
3089 | else if (in.unicode() >= 'a' && in.unicode() <= 'z')TRUE | evaluated 1521 times by 27 testsEvaluated by:- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QHostAddress
- tst_QInputDialog
- tst_QMetaType
- tst_QNetworkInterface
- tst_QNetworkSession
- tst_QObject
- tst_QOpenGlConfig
- tst_QPlugin
- tst_QSpinBox
- tst_QSqlError
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QTcpServer
- tst_QTreeWidget
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlSimpleReader
- tst_QXmlStream
- ...
| FALSE | evaluated 947 times by 15 testsEvaluated by:- tst_QAccessibility
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QHostAddress
- tst_QItemDelegate
- tst_QObject
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QVariant
- tst_qmakelib
|
TRUE | evaluated 1516 times by 27 testsEvaluated by:- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QHostAddress
- tst_QInputDialog
- tst_QMetaType
- tst_QNetworkInterface
- tst_QNetworkSession
- tst_QObject
- tst_QOpenGlConfig
- tst_QPlugin
- tst_QSpinBox
- tst_QSqlError
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QTcpServer
- tst_QTreeWidget
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlSimpleReader
- tst_QXmlStream
- ...
| FALSE | evaluated 5 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QXmlStream
|
| 5-1521 |
3090 | out = in.toLatin1();executed 1516 times by 27 tests: out = in.toLatin1(); Executed by:- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QHostAddress
- tst_QInputDialog
- tst_QMetaType
- tst_QNetworkInterface
- tst_QNetworkSession
- tst_QObject
- tst_QOpenGlConfig
- tst_QPlugin
- tst_QSpinBox
- tst_QSqlError
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QTcpServer
- tst_QTreeWidget
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlSimpleReader
- tst_QXmlStream
- ...
| 1516 |
3091 | else | - |
3092 | break;executed 952 times by 16 tests: break; Executed by:- tst_QAccessibility
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QHostAddress
- tst_QItemDelegate
- tst_QObject
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QXmlStream
- tst_qmakelib
| 952 |
3093 | } | - |
3094 | if (group_sep_mode == ParseGroupSeparators) {TRUE | evaluated 43614 times by 25 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_QTime
- tst_languageChange
| FALSE | evaluated 533174 times by 98 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
| 43614-533174 |
3095 | if (start_of_digits_idx == -1 && out >= '0' && out <= '9') {TRUE | evaluated 18455 times by 25 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_QTime
- tst_languageChange
| FALSE | evaluated 25159 times by 22 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_QTime
- tst_languageChange
|
TRUE | evaluated 18106 times by 25 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_QTime
- tst_languageChange
| FALSE | evaluated 349 times by 8 testsEvaluated by:- tst_QDate
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QSpinBox
- tst_QTextStream
|
TRUE | evaluated 17875 times by 25 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_QTime
- tst_languageChange
| FALSE | evaluated 231 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QSpinBox
|
| 231-25159 |
3096 | start_of_digits_idx = idx; | - |
3097 | } else if (out == ',') {executed 17875 times by 25 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_QTime
- tst_languageChange
TRUE | evaluated 54 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QItemDelegate
- tst_QSpinBox
| FALSE | evaluated 25685 times by 22 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_QTime
- tst_languageChange
|
| 54-25685 |
3098 | | - |
3099 | if (decpt_idx != -1)TRUE | never evaluated | FALSE | evaluated 54 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QItemDelegate
- tst_QSpinBox
|
| 0-54 |
3100 | return false; never executed: return false; | 0 |
3101 | | - |
3102 | | - |
3103 | | - |
3104 | if (last_separator_idx != -1 && idx - last_separator_idx != 4)TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QSpinBox
| FALSE | evaluated 44 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QItemDelegate
- tst_QSpinBox
|
TRUE | evaluated 3 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QSpinBox
| FALSE | evaluated 7 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSpinBox
|
| 3-44 |
3105 | return false;executed 3 times by 3 tests: return false; Executed by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QSpinBox
| 3 |
3106 | if (last_separator_idx == -1 && (start_of_digits_idx == -1 || idx - start_of_digits_idx > 3))TRUE | evaluated 44 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QItemDelegate
- tst_QSpinBox
| FALSE | evaluated 7 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSpinBox
|
TRUE | never evaluated | FALSE | evaluated 44 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QItemDelegate
- tst_QSpinBox
|
TRUE | never evaluated | FALSE | evaluated 44 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QItemDelegate
- tst_QSpinBox
|
| 0-44 |
3107 | return false; never executed: return false; | 0 |
3108 | | - |
3109 | last_separator_idx = idx; | - |
3110 | ++group_cnt; | - |
3111 | | - |
3112 | | - |
3113 | ++idx; | - |
3114 | continue;executed 51 times by 4 tests: continue; Executed by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QItemDelegate
- tst_QSpinBox
| 51 |
3115 | } else if (out == '.' || out == 'e' || out == 'E') {TRUE | evaluated 852 times by 8 testsEvaluated by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QTextStream
| FALSE | evaluated 24833 times by 22 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_QTime
- tst_languageChange
|
TRUE | evaluated 8 times by 1 test | FALSE | evaluated 24825 times by 22 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_QTime
- tst_languageChange
|
TRUE | never evaluated | FALSE | evaluated 24825 times by 22 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_QTime
- tst_languageChange
|
| 0-24833 |
3116 | | - |
3117 | if (out == '.' && decpt_idx != -1)TRUE | evaluated 852 times by 8 testsEvaluated by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QTextStream
| FALSE | evaluated 8 times by 1 test |
TRUE | never evaluated | FALSE | evaluated 852 times by 8 testsEvaluated by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QTextStream
|
| 0-852 |
3118 | return false; never executed: return false; | 0 |
3119 | if (decpt_idx == -1)TRUE | evaluated 860 times by 8 testsEvaluated by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QTextStream
| FALSE | never evaluated |
| 0-860 |
3120 | decpt_idx = idx;executed 860 times by 8 tests: decpt_idx = idx; Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QTextStream
| 860 |
3121 | | - |
3122 | | - |
3123 | | - |
3124 | if (last_separator_idx != -1 && idx - last_separator_idx != 4)TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
| FALSE | evaluated 842 times by 8 testsEvaluated by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QTextStream
|
TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
| FALSE | evaluated 15 times by 1 test |
| 3-842 |
3125 | return false;executed 3 times by 2 tests: return false; Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
| 3 |
3126 | | - |
3127 | | - |
3128 | last_separator_idx = -1; | - |
3129 | }executed 857 times by 8 tests: end of block Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QTextStream
| 857 |
3130 | }executed 43557 times by 25 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_QTime
- tst_languageChange
| 43557 |
3131 | | - |
3132 | result->append(out); | - |
3133 | | - |
3134 | ++idx; | - |
3135 | }executed 576731 times by 101 tests: end of block Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 576731 |
3136 | | - |
3137 | if (group_sep_mode == ParseGroupSeparators) {TRUE | evaluated 18161 times by 25 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_QTime
- tst_languageChange
| FALSE | evaluated 183233 times by 98 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
| 18161-183233 |
3138 | | - |
3139 | | - |
3140 | if (last_separator_idx + 1 == idx)TRUE | evaluated 67 times by 3 testsEvaluated by:- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QItemDelegate
| FALSE | evaluated 18094 times by 25 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_QTime
- tst_languageChange
|
| 67-18094 |
3141 | return false;executed 67 times by 3 tests: return false; Executed by:- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QItemDelegate
| 67 |
3142 | | - |
3143 | if (last_separator_idx != -1 && idx - last_separator_idx != 4)TRUE | evaluated 20 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QSpinBox
| FALSE | evaluated 18074 times by 25 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_QTime
- tst_languageChange
|
TRUE | evaluated 3 times by 1 test | FALSE | evaluated 17 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QSpinBox
|
| 3-18074 |
3144 | return false;executed 3 times by 1 test: return false; | 3 |
3145 | }executed 18091 times by 25 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFontDialog
- tst_QFtp
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLineEdit
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPrinter
- tst_QSpinBox
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextStream
- tst_QTime
- tst_languageChange
| 18091 |
3146 | | - |
3147 | result->append('\0'); | - |
3148 | return idx == l;executed 201324 times by 101 tests: return idx == l; Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 201324 |
3149 | } | - |
3150 | | - |
3151 | bool QLocaleData::validateChars(const QString &str, NumberMode numMode, QByteArray *buff, | - |
3152 | int decDigits, bool rejectGroupSeparators) const | - |
3153 | { | - |
3154 | buff->clear(); | - |
3155 | buff->reserve(str.length()); | - |
3156 | | - |
3157 | const bool scientific = numMode == DoubleScientificMode; | - |
3158 | bool lastWasE = false; | - |
3159 | bool lastWasDigit = false; | - |
3160 | int eCnt = 0; | - |
3161 | int decPointCnt = 0; | - |
3162 | bool dec = false; | - |
3163 | int decDigitCnt = 0; | - |
3164 | | - |
3165 | for (int i = 0; i < str.length(); ++i) {TRUE | evaluated 1651 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleValidator
- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| FALSE | evaluated 401 times by 5 testsEvaluated by:- tst_QDoubleValidator
- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
|
| 401-1651 |
3166 | char c = digitToCLocale(str.at(i)); | - |
3167 | | - |
3168 | if (c >= '0' && c <= '9') {TRUE | evaluated 1351 times by 5 testsEvaluated by:- tst_QDoubleValidator
- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| FALSE | evaluated 300 times by 5 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
|
TRUE | evaluated 1247 times by 5 testsEvaluated by:- tst_QDoubleValidator
- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| FALSE | evaluated 104 times by 1 test |
| 104-1351 |
3169 | if (numMode != IntegerMode) {TRUE | evaluated 718 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QPrinter
| FALSE | evaluated 529 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
|
| 529-718 |
3170 | | - |
3171 | if (dec && decDigits != -1 && decDigits < ++decDigitCnt)TRUE | evaluated 106 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QPrinter
| FALSE | evaluated 612 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QPrinter
|
TRUE | evaluated 106 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QPrinter
| FALSE | never evaluated |
TRUE | evaluated 12 times by 1 test | FALSE | evaluated 94 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QPrinter
|
| 0-612 |
3172 | return false;executed 12 times by 1 test: return false; | 12 |
3173 | }executed 706 times by 2 tests: end of block Executed by:- tst_QDoubleValidator
- tst_QPrinter
| 706 |
3174 | lastWasDigit = true; | - |
3175 | } else {executed 1235 times by 5 tests: end of block Executed by:- tst_QDoubleValidator
- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| 1235 |
3176 | switch (c) { | - |
3177 | case '.':executed 74 times by 4 tests: case '.': Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| 74 |
3178 | if (numMode == IntegerMode) {TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QIntValidator
- tst_QLineEdit
| FALSE | evaluated 68 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QPrinter
|
| 6-68 |
3179 | | - |
3180 | return false;executed 6 times by 2 tests: return false; Executed by:- tst_QIntValidator
- tst_QLineEdit
| 6 |
3181 | } else { | - |
3182 | | - |
3183 | if (++decPointCnt > 1)TRUE | never evaluated | FALSE | evaluated 68 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QPrinter
|
| 0-68 |
3184 | return false; never executed: return false; | 0 |
3185 | #if 0 | - |
3186 | | - |
3187 | | - |
3188 | if (decDigits == 0) | - |
3189 | return false; | - |
3190 | #endif // On second thoughts, it shall be Valid. | - |
3191 | | - |
3192 | dec = true; | - |
3193 | }executed 68 times by 2 tests: end of block Executed by:- tst_QDoubleValidator
- tst_QPrinter
| 68 |
3194 | break;executed 68 times by 2 tests: break; Executed by:- tst_QDoubleValidator
- tst_QPrinter
| 68 |
3195 | | - |
3196 | case '+':executed 41 times by 2 tests: case '+': Executed by:- tst_QDoubleValidator
- tst_QIntValidator
| 41 |
3197 | case '-':executed 123 times by 3 tests: case '-': Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
| 123 |
3198 | if (scientific) {TRUE | evaluated 56 times by 1 test | FALSE | evaluated 108 times by 3 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
|
| 56-108 |
3199 | | - |
3200 | | - |
3201 | if (i != 0 && !lastWasE)TRUE | evaluated 42 times by 1 test | FALSE | evaluated 14 times by 1 test |
TRUE | never evaluated | FALSE | evaluated 42 times by 1 test |
| 0-42 |
3202 | return false; never executed: return false; | 0 |
3203 | } else {executed 56 times by 1 test: end of block | 56 |
3204 | | - |
3205 | | - |
3206 | if (i != 0)TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
| FALSE | evaluated 104 times by 3 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
|
| 4-104 |
3207 | return false;executed 4 times by 2 tests: return false; Executed by:- tst_QDoubleValidator
- tst_QIntValidator
| 4 |
3208 | }executed 104 times by 3 tests: end of block Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
| 104 |
3209 | break;executed 160 times by 3 tests: break; Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
| 160 |
3210 | | - |
3211 | case ',':executed 19 times by 2 tests: case ',': Executed by:- tst_QDoubleValidator
- tst_QIntValidator
| 19 |
3212 | | - |
3213 | if (rejectGroupSeparators || !lastWasDigit || decPointCnt > 0)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 17 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
|
TRUE | evaluated 2 times by 1 test | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
|
TRUE | never evaluated | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
|
| 0-17 |
3214 | return false;executed 4 times by 1 test: return false; | 4 |
3215 | break;executed 15 times by 2 tests: break; Executed by:- tst_QDoubleValidator
- tst_QIntValidator
| 15 |
3216 | | - |
3217 | case 'e':executed 104 times by 1 test: case 'e': | 104 |
3218 | if (scientific) {TRUE | evaluated 52 times by 1 test | FALSE | evaluated 52 times by 1 test |
| 52 |
3219 | | - |
3220 | if (++eCnt > 1)TRUE | never evaluated | FALSE | evaluated 52 times by 1 test |
| 0-52 |
3221 | return false; never executed: return false; | 0 |
3222 | dec = false; | - |
3223 | } else {executed 52 times by 1 test: end of block | 52 |
3224 | | - |
3225 | return false;executed 52 times by 1 test: return false; | 52 |
3226 | } | - |
3227 | break;executed 52 times by 1 test: break; | 52 |
3228 | | - |
3229 | default:executed 43 times by 4 tests: default: Executed by:- tst_QAccessibility
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
| 43 |
3230 | | - |
3231 | return false;executed 43 times by 4 tests: return false; Executed by:- tst_QAccessibility
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
| 43 |
3232 | } | - |
3233 | lastWasDigit = false; | - |
3234 | }executed 295 times by 4 tests: end of block Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| 295 |
3235 | | - |
3236 | lastWasE = c == 'e'; | - |
3237 | if (c != ',')TRUE | evaluated 1515 times by 5 testsEvaluated by:- tst_QDoubleValidator
- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
|
| 15-1515 |
3238 | buff->append(c);executed 1515 times by 5 tests: buff->append(c); Executed by:- tst_QDoubleValidator
- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| 1515 |
3239 | }executed 1530 times by 5 tests: end of block Executed by:- tst_QDoubleValidator
- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| 1530 |
3240 | | - |
3241 | return true;executed 401 times by 5 tests: return true; Executed by:- tst_QDoubleValidator
- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| 401 |
3242 | } | - |
3243 | | - |
3244 | double QLocaleData::stringToDouble(const QChar *begin, int len, bool *ok, | - |
3245 | GroupSeparatorMode group_sep_mode) const | - |
3246 | { | - |
3247 | CharBuff buff; | - |
3248 | if (!numberToCLocale(begin, len, group_sep_mode, &buff)) {TRUE | evaluated 49 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| FALSE | evaluated 3972 times by 27 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- ...
|
| 49-3972 |
3249 | if (ok != 0)TRUE | evaluated 49 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| FALSE | never evaluated |
| 0-49 |
3250 | *ok = false;executed 49 times by 5 tests: *ok = false; Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 49 |
3251 | return 0.0;executed 49 times by 5 tests: return 0.0; Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 49 |
3252 | } | - |
3253 | return bytearrayToDouble(buff.constData(), ok);executed 3972 times by 27 tests: return bytearrayToDouble(buff.constData(), ok); Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- ...
| 3972 |
3254 | } | - |
3255 | | - |
3256 | qlonglong QLocaleData::stringToLongLong(const QChar *begin, int len, int base, | - |
3257 | bool *ok, GroupSeparatorMode group_sep_mode) const | - |
3258 | { | - |
3259 | CharBuff buff; | - |
3260 | if (!numberToCLocale(begin, len, group_sep_mode, &buff)) {TRUE | evaluated 4267 times by 13 testsEvaluated by:- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QFontDialog
- tst_QIntValidator
- tst_QMimeDatabase
- tst_QObject
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_QVariant
- tst_qmakelib
| FALSE | evaluated 177805 times by 83 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- ...
|
| 4267-177805 |
3261 | if (ok != 0)TRUE | evaluated 74 times by 8 testsEvaluated by:- tst_QDataWidgetMapper
- tst_QIntValidator
- tst_QObject
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
- tst_qmakelib
| FALSE | evaluated 4193 times by 9 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QFontDialog
- tst_QMimeDatabase
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_QVariant
- tst_qmakelib
|
| 74-4193 |
3262 | *ok = false;executed 74 times by 8 tests: *ok = false; Executed by:- tst_QDataWidgetMapper
- tst_QIntValidator
- tst_QObject
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
- tst_qmakelib
| 74 |
3263 | return 0;executed 4267 times by 13 tests: return 0; Executed by:- tst_QDataWidgetMapper
- tst_QDate
- tst_QDateTime
- tst_QFontDialog
- tst_QIntValidator
- tst_QMimeDatabase
- tst_QObject
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_QVariant
- tst_qmakelib
| 4267 |
3264 | } | - |
3265 | | - |
3266 | return bytearrayToLongLong(buff.constData(), base, ok);executed 177805 times by 83 tests: return bytearrayToLongLong(buff.constData(), base, ok); Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- ...
| 177805 |
3267 | } | - |
3268 | | - |
3269 | qulonglong QLocaleData::stringToUnsLongLong(const QChar *begin, int len, int base, | - |
3270 | bool *ok, GroupSeparatorMode group_sep_mode) const | - |
3271 | { | - |
3272 | CharBuff buff; | - |
3273 | if (!numberToCLocale(begin, len, group_sep_mode, &buff)) {TRUE | evaluated 958 times by 11 testsEvaluated by:- tst_QAccessibility
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QHostAddress
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QXmlStream
| FALSE | evaluated 18659 times by 29 testsEvaluated by:- tst_QAccessibility
- tst_QColorDialog
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QHostAddress
- tst_QItemDelegate
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNetworkSession
- tst_QOpenGlConfig
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTime
- tst_QUdpSocket
- tst_QVariant
- ...
|
| 958-18659 |
3274 | if (ok != 0)TRUE | evaluated 950 times by 11 testsEvaluated by:- tst_QAccessibility
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QHostAddress
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QXmlStream
| FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
| 8-950 |
3275 | *ok = false;executed 950 times by 11 tests: *ok = false; Executed by:- tst_QAccessibility
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QHostAddress
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QXmlStream
| 950 |
3276 | return 0;executed 958 times by 11 tests: return 0; Executed by:- tst_QAccessibility
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QHostAddress
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QVariant
- tst_QXmlStream
| 958 |
3277 | } | - |
3278 | | - |
3279 | return bytearrayToUnsLongLong(buff.constData(), base, ok);executed 18659 times by 29 tests: return bytearrayToUnsLongLong(buff.constData(), base, ok); Executed by:- tst_QAccessibility
- tst_QColorDialog
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QHostAddress
- tst_QItemDelegate
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QNetworkSession
- tst_QOpenGlConfig
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTime
- tst_QUdpSocket
- tst_QVariant
- ...
| 18659 |
3280 | } | - |
3281 | | - |
3282 | double QLocaleData::bytearrayToDouble(const char *num, bool *ok, bool *overflow) | - |
3283 | { | - |
3284 | if (ok != 0)TRUE | evaluated 2976 times by 22 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_Selftests
| FALSE | evaluated 1165 times by 20 testsEvaluated by:- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QWidget
|
| 1165-2976 |
3285 | *ok = true;executed 2976 times by 22 tests: *ok = true; Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_Selftests
| 2976 |
3286 | if (overflow != 0)TRUE | evaluated 163 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QPrinter
| FALSE | evaluated 3978 times by 27 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- ...
|
| 163-3978 |
3287 | *overflow = false;executed 163 times by 2 tests: *overflow = false; Executed by:- tst_QDoubleValidator
- tst_QPrinter
| 163 |
3288 | | - |
3289 | if (*num == '\0') {TRUE | never evaluated | FALSE | evaluated 4141 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
|
| 0-4141 |
3290 | if (ok != 0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3291 | *ok = false; never executed: *ok = false; | 0 |
3292 | return 0.0; never executed: return 0.0; | 0 |
3293 | } | - |
3294 | | - |
3295 | if (qstrcmp(num, "nan") == 0)TRUE | evaluated 7 times by 1 test | FALSE | evaluated 4134 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
|
| 7-4134 |
3296 | return qt_snan();executed 7 times by 1 test: return qt_snan(); | 7 |
3297 | | - |
3298 | if (qstrcmp(num, "+inf") == 0 || qstrcmp(num, "inf") == 0)TRUE | evaluated 3 times by 1 test | FALSE | evaluated 4131 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
|
TRUE | evaluated 6 times by 1 test | FALSE | evaluated 4125 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
|
| 3-4131 |
3299 | return qt_inf();executed 9 times by 1 test: return qt_inf(); | 9 |
3300 | | - |
3301 | if (qstrcmp(num, "-inf") == 0)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 4123 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
|
| 2-4123 |
3302 | return -qt_inf();executed 2 times by 1 test: return -qt_inf(); | 2 |
3303 | | - |
3304 | bool _ok; | - |
3305 | const char *endptr; | - |
3306 | double d = qstrtod(num, &endptr, &_ok); | - |
3307 | | - |
3308 | if (!_ok) {TRUE | never evaluated | FALSE | evaluated 4123 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
|
| 0-4123 |
3309 | | - |
3310 | | - |
3311 | if (ok != 0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3312 | *ok = false; never executed: *ok = false; | 0 |
3313 | if (overflow != 0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3314 | *overflow = *endptr != '\0'; never executed: *overflow = *endptr != '\0'; | 0 |
3315 | return 0.0; never executed: return 0.0; | 0 |
3316 | } | - |
3317 | | - |
3318 | if (*endptr != '\0') {TRUE | evaluated 328 times by 11 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QInputDialog
- tst_QMetaType
- tst_QObject
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QVariant
| FALSE | evaluated 3795 times by 26 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- ...
|
| 328-3795 |
3319 | | - |
3320 | if (ok != 0)TRUE | evaluated 327 times by 10 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QInputDialog
- tst_QMetaType
- tst_QObject
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QVariant
| FALSE | evaluated 1 time by 1 test |
| 1-327 |
3321 | *ok = false;executed 327 times by 10 tests: *ok = false; Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QInputDialog
- tst_QMetaType
- tst_QObject
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QVariant
| 327 |
3322 | if (overflow != 0)TRUE | evaluated 48 times by 1 test | FALSE | evaluated 280 times by 10 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QMetaType
- tst_QObject
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QVariant
|
| 48-280 |
3323 | *overflow = false;executed 48 times by 1 test: *overflow = false; | 48 |
3324 | return 0.0;executed 328 times by 11 tests: return 0.0; Executed by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QInputDialog
- tst_QMetaType
- tst_QObject
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QVariant
| 328 |
3325 | } | - |
3326 | | - |
3327 | if (ok != 0)TRUE | evaluated 2633 times by 20 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_Selftests
| FALSE | evaluated 1162 times by 19 testsEvaluated by:- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QWidget
|
| 1162-2633 |
3328 | *ok = true;executed 2633 times by 20 tests: *ok = true; Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_Selftests
| 2633 |
3329 | if (overflow != 0)TRUE | evaluated 115 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QPrinter
| FALSE | evaluated 3680 times by 25 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_Selftests
|
| 115-3680 |
3330 | *overflow = false;executed 115 times by 2 tests: *overflow = false; Executed by:- tst_QDoubleValidator
- tst_QPrinter
| 115 |
3331 | return d;executed 3795 times by 26 tests: return d; Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- ...
| 3795 |
3332 | } | - |
3333 | | - |
3334 | qlonglong QLocaleData::bytearrayToLongLong(const char *num, int base, bool *ok, bool *overflow) | - |
3335 | { | - |
3336 | bool _ok; | - |
3337 | const char *endptr; | - |
3338 | | - |
3339 | if (*num == '\0') {TRUE | evaluated 410 times by 38 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QByteArray
- tst_QDockWidget
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QLayout
- tst_QLineEdit
- tst_QMdiArea
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPrinter
- tst_QPushButton
- tst_QSharedPointer
- ...
| FALSE | evaluated 375286 times by 113 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
| 410-375286 |
3340 | if (ok != 0)TRUE | evaluated 371 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QLineEdit
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- ...
| FALSE | evaluated 39 times by 11 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QDockWidget
- tst_QLayout
- tst_QMdiArea
- tst_QPrinter
- tst_QPushButton
- tst_QSharedPointer
- tst_QStyleSheetStyle
- tst_QTabWidget
- tst_QTextDocumentLayout
|
| 39-371 |
3341 | *ok = false;executed 371 times by 27 tests: *ok = false; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QLineEdit
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- ...
| 371 |
3342 | if (overflow != 0)TRUE | evaluated 4 times by 1 test | FALSE | evaluated 406 times by 37 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QByteArray
- tst_QDockWidget
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QLayout
- tst_QMdiArea
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPrinter
- tst_QPushButton
- tst_QSharedPointer
- tst_QSslSocket
- ...
|
| 4-406 |
3343 | *overflow = false;executed 4 times by 1 test: *overflow = false; | 4 |
3344 | return 0;executed 410 times by 38 tests: return 0; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QByteArray
- tst_QDockWidget
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QLayout
- tst_QLineEdit
- tst_QMdiArea
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPrinter
- tst_QPushButton
- tst_QSharedPointer
- ...
| 410 |
3345 | } | - |
3346 | | - |
3347 | qlonglong l = qstrtoll(num, &endptr, base, &_ok); | - |
3348 | | - |
3349 | if (!_ok) {TRUE | evaluated 193 times by 18 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QInputDialog
- tst_QIntValidator
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlugin
- tst_QSettings
- tst_QSpinBox
- tst_QSqlError
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_QTreeWidget
- tst_QVariant
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | evaluated 375093 times by 111 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
| 193-375093 |
3350 | if (ok != 0)TRUE | evaluated 158 times by 17 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QInputDialog
- tst_QIntValidator
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlugin
- tst_QSettings
- tst_QSpinBox
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_QTreeWidget
- tst_QVariant
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | evaluated 35 times by 6 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QSqlError
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 35-158 |
3351 | *ok = false;executed 158 times by 17 tests: *ok = false; Executed by:- tst_QDate
- tst_QDateTime
- tst_QInputDialog
- tst_QIntValidator
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlugin
- tst_QSettings
- tst_QSpinBox
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_QTreeWidget
- tst_QVariant
- tst_qmakelib
- tst_selftests - unknown status
| 158 |
3352 | if (overflow != 0) {TRUE | evaluated 1 time by 1 test | FALSE | evaluated 192 times by 17 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QInputDialog
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlugin
- tst_QSettings
- tst_QSpinBox
- tst_QSqlError
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_QTreeWidget
- tst_QVariant
- tst_qmakelib
- tst_selftests - unknown status
|
| 1-192 |
3353 | | - |
3354 | | - |
3355 | *overflow = *endptr != '\0'; | - |
3356 | }executed 1 time by 1 test: end of block | 1 |
3357 | return 0;executed 193 times by 18 tests: return 0; Executed by:- tst_QDate
- tst_QDateTime
- tst_QInputDialog
- tst_QIntValidator
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlugin
- tst_QSettings
- tst_QSpinBox
- tst_QSqlError
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_QTreeWidget
- tst_QVariant
- tst_qmakelib
- tst_selftests - unknown status
| 193 |
3358 | } | - |
3359 | | - |
3360 | if (*endptr != '\0') {TRUE | evaluated 85 times by 10 testsEvaluated by:- tst_QDateTime
- tst_QInputDialog
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QSettings
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
- tst_qmakelib
| FALSE | evaluated 375008 times by 111 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
| 85-375008 |
3361 | | - |
3362 | if (ok != 0)TRUE | evaluated 75 times by 10 testsEvaluated by:- tst_QDateTime
- tst_QInputDialog
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QSettings
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
- tst_qmakelib
| FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
| 10-75 |
3363 | *ok = false;executed 75 times by 10 tests: *ok = false; Executed by:- tst_QDateTime
- tst_QInputDialog
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QSettings
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
- tst_qmakelib
| 75 |
3364 | if (overflow != 0)TRUE | never evaluated | FALSE | evaluated 85 times by 10 testsEvaluated by:- tst_QDateTime
- tst_QInputDialog
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QSettings
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
- tst_qmakelib
|
| 0-85 |
3365 | *overflow = false; never executed: *overflow = false; | 0 |
3366 | return 0;executed 85 times by 10 tests: return 0; Executed by:- tst_QDateTime
- tst_QInputDialog
- tst_QNetworkCookieJar
- tst_QNetworkRequest
- tst_QSettings
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
- tst_qmakelib
| 85 |
3367 | } | - |
3368 | | - |
3369 | if (ok != 0)TRUE | evaluated 241361 times by 86 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGLThreads
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 133647 times by 50 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QAsn1Element
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QFile
- tst_QFontDialog
- tst_QFtp
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeySequence
- tst_QLayout
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
|
| 133647-241361 |
3370 | *ok = true;executed 241361 times by 86 tests: *ok = true; Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGLThreads
- tst_QGraphicsProxyWidget
- ...
| 241361 |
3371 | if (overflow != 0)TRUE | evaluated 177 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| FALSE | evaluated 374831 times by 111 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
| 177-374831 |
3372 | *overflow = false;executed 177 times by 4 tests: *overflow = false; Executed by:- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| 177 |
3373 | return l;executed 375008 times by 111 tests: return l; Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 375008 |
3374 | } | - |
3375 | | - |
3376 | qulonglong QLocaleData::bytearrayToUnsLongLong(const char *num, int base, bool *ok) | - |
3377 | { | - |
3378 | bool _ok; | - |
3379 | const char *endptr; | - |
3380 | qulonglong l = qstrtoull(num, &endptr, base, &_ok); | - |
3381 | | - |
3382 | if (!_ok || *endptr != '\0') {TRUE | evaluated 1155 times by 22 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QDate
- tst_QHostAddress
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeDatabase
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringRef
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_qnetworkreply - unknown status
| FALSE | evaluated 26291 times by 44 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QHostAddress
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QItemDelegate
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QOpenGlConfig
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- ...
|
TRUE | evaluated 140 times by 5 testsEvaluated by:- tst_QDateTimeEdit
- tst_QHostAddress
- tst_QString
- tst_QStringRef
- tst_QXmlStream
| FALSE | evaluated 26151 times by 44 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QHostAddress
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QItemDelegate
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QOpenGlConfig
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- ...
|
| 140-26291 |
3383 | if (ok != 0)TRUE | evaluated 1273 times by 23 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QDate
- tst_QDateTimeEdit
- tst_QHostAddress
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeDatabase
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringRef
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_qnetworkreply - unknown status
| FALSE | evaluated 22 times by 3 testsEvaluated by:- tst_QByteArray
- tst_QString
- tst_QStringRef
|
| 22-1273 |
3384 | *ok = false;executed 1273 times by 23 tests: *ok = false; Executed by:- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QDate
- tst_QDateTimeEdit
- tst_QHostAddress
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeDatabase
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringRef
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_qnetworkreply - unknown status
| 1273 |
3385 | return 0;executed 1295 times by 23 tests: return 0; Executed by:- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QDate
- tst_QDateTimeEdit
- tst_QHostAddress
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeDatabase
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringRef
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QVariant
- tst_QXmlStream
- tst_Spdy
- tst_qnetworkreply - unknown status
| 1295 |
3386 | } | - |
3387 | | - |
3388 | if (ok != 0)TRUE | evaluated 23095 times by 42 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QHostAddress
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QItemDelegate
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- ...
| FALSE | evaluated 3056 times by 11 testsEvaluated by:- tst_QAsn1Element
- tst_QByteArray
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QString
- tst_QStringRef
- tst_QTime
|
| 3056-23095 |
3389 | *ok = true;executed 23095 times by 42 tests: *ok = true; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QHostAddress
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QItemDelegate
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- ...
| 23095 |
3390 | return l;executed 26151 times by 44 tests: return l; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QFtp
- tst_QHostAddress
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QItemDelegate
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QOpenGlConfig
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- ...
| 26151 |
3391 | } | - |
3392 | | - |
3393 | | - |
3394 | | - |
3395 | | - |
3396 | | - |
3397 | | - |
3398 | | - |
3399 | | - |
3400 | | - |
3401 | | - |
3402 | | - |
3403 | | - |
3404 | | - |
3405 | | - |
3406 | | - |
3407 | | - |
3408 | | - |
3409 | QString QLocale::currencySymbol(QLocale::CurrencySymbolFormat format) const | - |
3410 | { | - |
3411 | #ifndef QT_NO_SYSTEMLOCALE | - |
3412 | if (d->m_data == systemData()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3413 | QVariant res = systemLocale()->query(QSystemLocale::CurrencySymbol, format); | - |
3414 | if (!res.isNull())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3415 | return res.toString(); never executed: return res.toString(); | 0 |
3416 | } never executed: end of block | 0 |
3417 | #endif | - |
3418 | quint32 idx, size; | - |
3419 | switch (format) { | - |
3420 | case CurrencySymbol: never executed: case CurrencySymbol: | 0 |
3421 | idx = d->m_data->m_currency_symbol_idx; | - |
3422 | size = d->m_data->m_currency_symbol_size; | - |
3423 | return getLocaleData(currency_symbol_data + idx, size); never executed: return getLocaleData(currency_symbol_data + idx, size); | 0 |
3424 | case CurrencyDisplayName: never executed: case CurrencyDisplayName: | 0 |
3425 | idx = d->m_data->m_currency_display_name_idx; | - |
3426 | size = d->m_data->m_currency_display_name_size; | - |
3427 | return getLocaleListData(currency_display_name_data + idx, size, 0); never executed: return getLocaleListData(currency_display_name_data + idx, size, 0); | 0 |
3428 | case CurrencyIsoCode: { never executed: case CurrencyIsoCode: | 0 |
3429 | int len = 0; | - |
3430 | const QLocaleData *data = this->d->m_data; | - |
3431 | for (; len < 3; ++len)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3432 | if (!data->m_currency_iso_code[len])TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3433 | break; never executed: break; | 0 |
3434 | return len ? QString::fromLatin1(data->m_currency_iso_code, len) : QString(); never executed: return len ? QString::fromLatin1(data->m_currency_iso_code, len) : QString(); TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3435 | } | - |
3436 | } | - |
3437 | return QString(); never executed: return QString(); | 0 |
3438 | } | - |
3439 | | - |
3440 | | - |
3441 | | - |
3442 | | - |
3443 | | - |
3444 | | - |
3445 | | - |
3446 | | - |
3447 | | - |
3448 | QString QLocale::toCurrencyString(qlonglong value, const QString &symbol) const | - |
3449 | { | - |
3450 | #ifndef QT_NO_SYSTEMLOCALE | - |
3451 | if (d->m_data == systemData()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3452 | QSystemLocale::CurrencyToStringArgument arg(value, symbol); | - |
3453 | QVariant res = systemLocale()->query(QSystemLocale::CurrencyToString, QVariant::fromValue(arg)); | - |
3454 | if (!res.isNull())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3455 | return res.toString(); never executed: return res.toString(); | 0 |
3456 | } never executed: end of block | 0 |
3457 | #endif | - |
3458 | const QLocalePrivate *d = this->d; | - |
3459 | quint8 idx = d->m_data->m_currency_format_idx; | - |
3460 | quint8 size = d->m_data->m_currency_format_size; | - |
3461 | if (d->m_data->m_currency_negative_format_size && value < 0) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3462 | idx = d->m_data->m_currency_negative_format_idx; | - |
3463 | size = d->m_data->m_currency_negative_format_size; | - |
3464 | value = -value; | - |
3465 | } never executed: end of block | 0 |
3466 | QString str = toString(value); | - |
3467 | QString sym = symbol.isNull() ? currencySymbol() : symbol;TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3468 | if (sym.isEmpty())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3469 | sym = currencySymbol(QLocale::CurrencyIsoCode); never executed: sym = currencySymbol(QLocale::CurrencyIsoCode); | 0 |
3470 | QString format = getLocaleData(currency_format_data + idx, size); | - |
3471 | return format.arg(str, sym); never executed: return format.arg(str, sym); | 0 |
3472 | } | - |
3473 | | - |
3474 | | - |
3475 | | - |
3476 | | - |
3477 | | - |
3478 | QString QLocale::toCurrencyString(qulonglong value, const QString &symbol) const | - |
3479 | { | - |
3480 | #ifndef QT_NO_SYSTEMLOCALE | - |
3481 | if (d->m_data == systemData()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3482 | QSystemLocale::CurrencyToStringArgument arg(value, symbol); | - |
3483 | QVariant res = systemLocale()->query(QSystemLocale::CurrencyToString, QVariant::fromValue(arg)); | - |
3484 | if (!res.isNull())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3485 | return res.toString(); never executed: return res.toString(); | 0 |
3486 | } never executed: end of block | 0 |
3487 | #endif | - |
3488 | const QLocaleData *data = this->d->m_data; | - |
3489 | quint8 idx = data->m_currency_format_idx; | - |
3490 | quint8 size = data->m_currency_format_size; | - |
3491 | QString str = toString(value); | - |
3492 | QString sym = symbol.isNull() ? currencySymbol() : symbol;TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3493 | if (sym.isEmpty())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3494 | sym = currencySymbol(QLocale::CurrencyIsoCode); never executed: sym = currencySymbol(QLocale::CurrencyIsoCode); | 0 |
3495 | QString format = getLocaleData(currency_format_data + idx, size); | - |
3496 | return format.arg(str, sym); never executed: return format.arg(str, sym); | 0 |
3497 | } | - |
3498 | | - |
3499 | | - |
3500 | | - |
3501 | | - |
3502 | | - |
3503 | QString QLocale::toCurrencyString(double value, const QString &symbol) const | - |
3504 | { | - |
3505 | #ifndef QT_NO_SYSTEMLOCALE | - |
3506 | if (d->m_data == systemData()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3507 | QSystemLocale::CurrencyToStringArgument arg(value, symbol); | - |
3508 | QVariant res = systemLocale()->query(QSystemLocale::CurrencyToString, QVariant::fromValue(arg)); | - |
3509 | if (!res.isNull())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3510 | return res.toString(); never executed: return res.toString(); | 0 |
3511 | } never executed: end of block | 0 |
3512 | #endif | - |
3513 | const QLocaleData *data = this->d->m_data; | - |
3514 | quint8 idx = data->m_currency_format_idx; | - |
3515 | quint8 size = data->m_currency_format_size; | - |
3516 | if (data->m_currency_negative_format_size && value < 0) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3517 | idx = data->m_currency_negative_format_idx; | - |
3518 | size = data->m_currency_negative_format_size; | - |
3519 | value = -value; | - |
3520 | } never executed: end of block | 0 |
3521 | QString str = toString(value, 'f', d->m_data->m_currency_digits); | - |
3522 | QString sym = symbol.isNull() ? currencySymbol() : symbol;TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3523 | if (sym.isEmpty())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3524 | sym = currencySymbol(QLocale::CurrencyIsoCode); never executed: sym = currencySymbol(QLocale::CurrencyIsoCode); | 0 |
3525 | QString format = getLocaleData(currency_format_data + idx, size); | - |
3526 | return format.arg(str, sym); never executed: return format.arg(str, sym); | 0 |
3527 | } | - |
3528 | | - |
3529 | | - |
3530 | | - |
3531 | | - |
3532 | | - |
3533 | | - |
3534 | | - |
3535 | | - |
3536 | | - |
3537 | | - |
3538 | | - |
3539 | | - |
3540 | | - |
3541 | | - |
3542 | | - |
3543 | | - |
3544 | | - |
3545 | QStringList QLocale::uiLanguages() const | - |
3546 | { | - |
3547 | #ifndef QT_NO_SYSTEMLOCALE | - |
3548 | if (d->m_data == systemData()) {TRUE | never evaluated | FALSE | evaluated 18 times by 1 test |
| 0-18 |
3549 | QVariant res = systemLocale()->query(QSystemLocale::UILanguages, QVariant()); | - |
3550 | if (!res.isNull()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3551 | QStringList result = res.toStringList(); | - |
3552 | if (!result.isEmpty())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3553 | return result; never executed: return result; | 0 |
3554 | } never executed: end of block | 0 |
3555 | } never executed: end of block | 0 |
3556 | #endif | - |
3557 | QLocaleId id = QLocaleId::fromIds(d->m_data->m_language_id, d->m_data->m_script_id, d->m_data->m_country_id); | - |
3558 | const QLocaleId max = id.withLikelySubtagsAdded(); | - |
3559 | const QLocaleId min = max.withLikelySubtagsRemoved(); | - |
3560 | | - |
3561 | QStringList uiLanguages; | - |
3562 | uiLanguages.append(QString::fromLatin1(min.name())); | - |
3563 | if (id.script_id) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 14 times by 1 test |
| 4-14 |
3564 | id.script_id = 0; | - |
3565 | if (id != min && id.withLikelySubtagsAdded() == max)TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
3566 | uiLanguages.append(QString::fromLatin1(id.name()));executed 4 times by 1 test: uiLanguages.append(QString::fromLatin1(id.name())); | 4 |
3567 | }executed 4 times by 1 test: end of block | 4 |
3568 | if (max != min && max != id)TRUE | evaluated 4 times by 1 test | FALSE | evaluated 14 times by 1 test |
TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-14 |
3569 | uiLanguages.append(QString::fromLatin1(max.name()));executed 4 times by 1 test: uiLanguages.append(QString::fromLatin1(max.name())); | 4 |
3570 | return uiLanguages;executed 18 times by 1 test: return uiLanguages; | 18 |
3571 | } | - |
3572 | | - |
3573 | | - |
3574 | | - |
3575 | | - |
3576 | | - |
3577 | | - |
3578 | | - |
3579 | | - |
3580 | | - |
3581 | QString QLocale::nativeLanguageName() const | - |
3582 | { | - |
3583 | #ifndef QT_NO_SYSTEMLOCALE | - |
3584 | if (d->m_data == systemData()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3585 | QVariant res = systemLocale()->query(QSystemLocale::NativeLanguageName, QVariant()); | - |
3586 | if (!res.isNull())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3587 | return res.toString(); never executed: return res.toString(); | 0 |
3588 | } never executed: end of block | 0 |
3589 | #endif | - |
3590 | return getLocaleData(endonyms_data + d->m_data->m_language_endonym_idx, d->m_data->m_language_endonym_size); never executed: return getLocaleData(endonyms_data + d->m_data->m_language_endonym_idx, d->m_data->m_language_endonym_size); | 0 |
3591 | } | - |
3592 | | - |
3593 | | - |
3594 | | - |
3595 | | - |
3596 | | - |
3597 | | - |
3598 | | - |
3599 | | - |
3600 | | - |
3601 | QString QLocale::nativeCountryName() const | - |
3602 | { | - |
3603 | #ifndef QT_NO_SYSTEMLOCALE | - |
3604 | if (d->m_data == systemData()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3605 | QVariant res = systemLocale()->query(QSystemLocale::NativeCountryName, QVariant()); | - |
3606 | if (!res.isNull())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3607 | return res.toString(); never executed: return res.toString(); | 0 |
3608 | } never executed: end of block | 0 |
3609 | #endif | - |
3610 | return getLocaleData(endonyms_data + d->m_data->m_country_endonym_idx, d->m_data->m_country_endonym_size); never executed: return getLocaleData(endonyms_data + d->m_data->m_country_endonym_idx, d->m_data->m_country_endonym_size); | 0 |
3611 | } | - |
3612 | | - |
3613 | #ifndef QT_NO_DEBUG_STREAM | - |
3614 | QDebug operator<<(QDebug dbg, const QLocale &l) | - |
3615 | { | - |
3616 | QDebugStateSaver saver(dbg); | - |
3617 | dbg.nospace().noquote() | - |
3618 | << "QLocale(" << QLocale::languageToString(l.language()) | - |
3619 | << ", " << QLocale::scriptToString(l.script()) | - |
3620 | << ", " << QLocale::countryToString(l.country()) << ')'; | - |
3621 | return dbg;executed 1 time by 1 test: return dbg; | 1 |
3622 | } | - |
3623 | #endif | - |
3624 | QT_END_NAMESPACE | - |
| | |