Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | static QSystemLocale *_systemLocale = 0; | - |
12 | class QSystemLocaleSingleton: public QSystemLocale | - |
13 | { | - |
14 | public: | - |
15 | 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 |
16 | }; | - |
17 | | - |
18 | namespace { namespace Q_QGS_QSystemLocale_globalSystemLocale { typedef QSystemLocaleSingleton Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::InitializedTRUE | 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 |
) guard.store(QtGlobalStatic::Destroyed);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 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
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 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
- ...
&holder.value;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
- ...
} } } static QGlobalStatic<QSystemLocaleSingleton, Q_QGS_QSystemLocale_globalSystemLocale::innerFunction, Q_QGS_QSystemLocale_globalSystemLocale::guard> QSystemLocale_globalSystemLocale; | 0-19015 |
19 | static QLocaleData *system_data = 0; | - |
20 | namespace { namespace Q_QGS_globalLocaleData { typedef QLocaleData Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::InitializedTRUE | 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 |
) guard.store(QtGlobalStatic::Destroyed);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 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
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 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
&holder.value;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
} } } static QGlobalStatic<QLocaleData, Q_QGS_globalLocaleData::innerFunction, Q_QGS_globalLocaleData::guard> globalLocaleData; | 0-1244 |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | QLocale::Language QLocalePrivate::codeToLanguage(const QString &code) | - |
31 | { | - |
32 | int len = code.length(); | - |
33 | if (len != 2TRUE | 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
|
&& len != 3TRUE | never evaluated | FALSE | never evaluated |
) | 0-1291 |
34 | return never executed: return QLocale::C; QLocale::C;never executed: return QLocale::C; | 0 |
35 | ushort uc1 = code[0].toLower().unicode(); | - |
36 | ushort uc2 = code[1].toLower().unicode(); | - |
37 | ushort uc3 = len > 2TRUE | 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
|
? code[2].toLower().unicode() : 0; | 0-1291 |
38 | | - |
39 | const unsigned char *c = language_code_list; | - |
40 | for (; *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
|
c != 0TRUE | 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
|
; c += 3) { | 7-46203 |
41 | if (uc1 == c[0]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
|
&& uc2 == c[1]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
|
&& uc3 == c[2]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 |
42 | returnexecuted 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
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 |
43 | }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 |
44 | | - |
45 | | - |
46 | if (uc1 == 'n'TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QCollator
- tst_QDateTimeEdit
| FALSE | never evaluated |
&& uc2 == 'o'TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QCollator
- tst_QDateTimeEdit
| FALSE | never evaluated |
&& uc3 == 0TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QCollator
- tst_QDateTimeEdit
| FALSE | never evaluated |
) { | 0-7 |
47 | static_assert(bool(QLocale::Norwegian == QLocale::NorwegianBokmal), "QLocale::Norwegian == QLocale::NorwegianBokmal"); | - |
48 | returnexecuted 7 times by 2 tests: return QLocale::Norwegian; Executed by:- tst_QCollator
- tst_QDateTimeEdit
QLocale::Norwegian;executed 7 times by 2 tests: return QLocale::Norwegian; Executed by:- tst_QCollator
- tst_QDateTimeEdit
| 7 |
49 | } | - |
50 | if (uc1 == 't'TRUE | never evaluated | FALSE | never evaluated |
&& uc2 == 'l'TRUE | never evaluated | FALSE | never evaluated |
&& uc3 == 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
51 | static_assert(bool(QLocale::Tagalog == QLocale::Filipino), "QLocale::Tagalog == QLocale::Filipino"); | - |
52 | return never executed: return QLocale::Tagalog; QLocale::Tagalog;never executed: return QLocale::Tagalog; | 0 |
53 | } | - |
54 | if (uc1 == 's'TRUE | never evaluated | FALSE | never evaluated |
&& uc2 == 'h'TRUE | never evaluated | FALSE | never evaluated |
&& uc3 == 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
55 | static_assert(bool(QLocale::SerboCroatian == QLocale::Serbian), "QLocale::SerboCroatian == QLocale::Serbian"); | - |
56 | return never executed: return QLocale::SerboCroatian; QLocale::SerboCroatian;never executed: return QLocale::SerboCroatian; | 0 |
57 | } | - |
58 | if (uc1 == 'm'TRUE | never evaluated | FALSE | never evaluated |
&& uc2 == 'o'TRUE | never evaluated | FALSE | never evaluated |
&& uc3 == 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
59 | static_assert(bool(QLocale::Moldavian == QLocale::Romanian), "QLocale::Moldavian == QLocale::Romanian"); | - |
60 | return never executed: return QLocale::Moldavian; QLocale::Moldavian;never executed: return QLocale::Moldavian; | 0 |
61 | } | - |
62 | | - |
63 | if (uc1 == 'i'TRUE | never evaluated | FALSE | never evaluated |
&& uc2 == 'w'TRUE | never evaluated | FALSE | never evaluated |
&& uc3 == 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
64 | return never executed: return QLocale::Hebrew; QLocale::Hebrew;never executed: return QLocale::Hebrew; | 0 |
65 | if (uc1 == 'i'TRUE | never evaluated | FALSE | never evaluated |
&& uc2 == 'n'TRUE | never evaluated | FALSE | never evaluated |
&& uc3 == 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
66 | return never executed: return QLocale::Indonesian; QLocale::Indonesian;never executed: return QLocale::Indonesian; | 0 |
67 | if (uc1 == 'j'TRUE | never evaluated | FALSE | never evaluated |
&& uc2 == 'i'TRUE | never evaluated | FALSE | never evaluated |
&& uc3 == 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
68 | return never executed: return QLocale::Yiddish; QLocale::Yiddish;never executed: return QLocale::Yiddish; | 0 |
69 | | - |
70 | return never executed: return QLocale::C; QLocale::C;never executed: return QLocale::C; | 0 |
71 | } | - |
72 | | - |
73 | QLocale::Script QLocalePrivate::codeToScript(const QString &code) | - |
74 | { | - |
75 | int len = code.length(); | - |
76 | if (len != 4TRUE | 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 |
77 | returnexecuted 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
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 |
78 | | - |
79 | | - |
80 | unsigned char c0 = code.at(0).toUpper().toLatin1(); | - |
81 | unsigned char c1 = code.at(1).toLower().toLatin1(); | - |
82 | unsigned char c2 = code.at(2).toLower().toLatin1(); | - |
83 | unsigned char c3 = code.at(3).toLower().toLatin1(); | - |
84 | | - |
85 | const unsigned char *c = script_code_list; | - |
86 | for (int i = 0; i < QLocale::LastScriptTRUE | never evaluated | FALSE | never evaluated |
; ++i, c += 4) { | 0 |
87 | if (c0 == c[0]TRUE | never evaluated | FALSE | never evaluated |
&& c1 == c[1]TRUE | never evaluated | FALSE | never evaluated |
&& c2 == c[2]TRUE | never evaluated | FALSE | never evaluated |
&& c3 == c[3]TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
88 | return never executed: return QLocale::Script(i); QLocale::Script(i);never executed: return QLocale::Script(i); | 0 |
89 | } never executed: end of block | 0 |
90 | return never executed: return QLocale::AnyScript; QLocale::AnyScript;never executed: return QLocale::AnyScript; | 0 |
91 | } | - |
92 | | - |
93 | QLocale::Country QLocalePrivate::codeToCountry(const QString &code) | - |
94 | { | - |
95 | int len = code.length(); | - |
96 | if (len != 2TRUE | 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
|
&& len != 3TRUE | evaluated 76 times by 6 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QString
- tst_rcc
| FALSE | never evaluated |
) | 0-1636 |
97 | returnexecuted 76 times by 6 tests: return QLocale::AnyCountry; Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QString
- tst_rcc
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 |
98 | ushort uc1 = code[0].toUpper().unicode(); | - |
99 | ushort uc2 = code[1].toUpper().unicode(); | - |
100 | ushort uc3 = len > 2TRUE | 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
|
? code[2].toUpper().unicode() : 0; | 0-1636 |
101 | | - |
102 | const unsigned char *c = country_code_list; | - |
103 | for (; *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 |
c != 0TRUE | 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 |
; c += 3) { | 0-306631 |
104 | if (uc1 == c[0]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
|
&& uc2 == c[1]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
|
&& uc3 == c[2]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 |
105 | returnexecuted 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
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 |
106 | }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 |
107 | | - |
108 | return never executed: return QLocale::AnyCountry; QLocale::AnyCountry;never executed: return QLocale::AnyCountry; | 0 |
109 | } | - |
110 | | - |
111 | QString QLocalePrivate::languageToCode(QLocale::Language language) | - |
112 | { | - |
113 | if (language == QLocale::AnyLanguageTRUE | 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 |
114 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
115 | if (language == QLocale::CTRUE | 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 |
116 | returnexecuted 35 times by 2 tests: return QLatin1String("C"); Executed by:- tst_QMimeDatabase
- tst_QTimeZone
QLatin1String("C");executed 35 times by 2 tests: return QLatin1String("C"); Executed by:- tst_QMimeDatabase
- tst_QTimeZone
| 35 |
117 | | - |
118 | const unsigned char *c = language_code_list + 3*(uint(language)); | - |
119 | | - |
120 | QString code(c[2] == 0 ? 2 : 3, Qt::Uninitialized); | - |
121 | | - |
122 | code[0] = ushort(c[0]); | - |
123 | code[1] = ushort(c[1]); | - |
124 | if (c[2] != 0TRUE | 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 |
125 | code[2] = ushort(c[2]); never executed: code[2] = ushort(c[2]); | 0 |
126 | | - |
127 | returnexecuted 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
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 |
128 | } | - |
129 | | - |
130 | QString QLocalePrivate::scriptToCode(QLocale::Script script) | - |
131 | { | - |
132 | if (script == QLocale::AnyScriptTRUE | never evaluated | FALSE | never evaluated |
|| script > QLocale::LastScriptTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
133 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
134 | const unsigned char *c = script_code_list + 4*(uint(script)); | - |
135 | return never executed: return QString::fromLatin1((const char *)c, 4); QString::fromLatin1((const char *)c, 4);never executed: return QString::fromLatin1((const char *)c, 4); | 0 |
136 | } | - |
137 | | - |
138 | QString QLocalePrivate::countryToCode(QLocale::Country country) | - |
139 | { | - |
140 | if (country == QLocale::AnyCountryTRUE | 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 |
141 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
142 | | - |
143 | const unsigned char *c = country_code_list + 3*(uint(country)); | - |
144 | | - |
145 | QString code(c[2] == 0 ? 2 : 3, Qt::Uninitialized); | - |
146 | | - |
147 | code[0] = ushort(c[0]); | - |
148 | code[1] = ushort(c[1]); | - |
149 | if (c[2] != 0TRUE | 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 |
150 | code[2] = ushort(c[2]); never executed: code[2] = ushort(c[2]); | 0 |
151 | | - |
152 | returnexecuted 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
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 |
153 | } | - |
154 | | - |
155 | | - |
156 | static bool addLikelySubtags(QLocaleId &localeId) | - |
157 | { | - |
158 | | - |
159 | const int likely_subtags_count = sizeof(likely_subtags) / sizeof(likely_subtags[0]); | - |
160 | const QLocaleId *p = likely_subtags; | - |
161 | const QLocaleId *const e = p + likely_subtags_count; | - |
162 | for ( ; p < eTRUE | 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
- ...
|
; p += 2) { | 3009-2430029 |
163 | 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 |
164 | localeId = p[1]; | - |
165 | returnexecuted 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
- ...
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 |
166 | } | - |
167 | }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 |
168 | returnexecuted 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
- ...
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 |
169 | } | - |
170 | | - |
171 | QLocaleId QLocaleId::withLikelySubtagsAdded() const | - |
172 | { | - |
173 | | - |
174 | if (language_idTRUE | 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 |
|| script_idTRUE | never evaluated | FALSE | never evaluated |
|| country_idTRUE | never evaluated | FALSE | never evaluated |
) { | 0-2779 |
175 | QLocaleId id = QLocaleId::fromIds(language_id, script_id, country_id); | - |
176 | 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 |
177 | returnexecuted 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
- ...
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 |
178 | }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 |
179 | | - |
180 | if (country_idTRUE | 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 |
181 | QLocaleId id = QLocaleId::fromIds(language_id, script_id, 0); | - |
182 | 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 |
183 | id.country_id = country_id; | - |
184 | returnexecuted 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
- ...
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 |
185 | } | - |
186 | }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 |
187 | | - |
188 | if (script_idTRUE | 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 |
189 | QLocaleId id = QLocaleId::fromIds(language_id, 0, country_id); | - |
190 | 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 |
191 | id.script_id = script_id; | - |
192 | return never executed: return id; id;never executed: return id; | 0 |
193 | } | - |
194 | }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 |
195 | | - |
196 | if (script_idTRUE | 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
|
&& country_idTRUE | 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 |
197 | QLocaleId id = QLocaleId::fromIds(language_id, 0, 0); | - |
198 | 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 |
199 | id.script_id = script_id; | - |
200 | id.country_id = country_id; | - |
201 | returnexecuted 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
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 |
202 | } | - |
203 | } never executed: end of block | 0 |
204 | returnexecuted 725 times by 4 tests: return *this; Executed by:- tst_QMetaType
- tst_QMimeDatabase
- tst_QTimeZone
- tst_selftests - unknown status
*this;executed 725 times by 4 tests: return *this; Executed by:- tst_QMetaType
- tst_QMimeDatabase
- tst_QTimeZone
- tst_selftests - unknown status
| 725 |
205 | } | - |
206 | | - |
207 | QLocaleId QLocaleId::withLikelySubtagsRemoved() const | - |
208 | { | - |
209 | QLocaleId max = withLikelySubtagsAdded(); | - |
210 | | - |
211 | { | - |
212 | QLocaleId id = QLocaleId::fromIds(language_id, 0, 0); | - |
213 | if (id.withLikelySubtagsAdded() == maxTRUE | 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 |
214 | returnexecuted 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
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 |
215 | } | - |
216 | | - |
217 | if (country_idTRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) { | 0-1 |
218 | QLocaleId id = QLocaleId::fromIds(language_id, 0, country_id); | - |
219 | if (id.withLikelySubtagsAdded() == maxTRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) | 0-1 |
220 | returnexecuted 1 time by 1 test: return id; id;executed 1 time by 1 test: return id; | 1 |
221 | } never executed: end of block | 0 |
222 | | - |
223 | if (script_idTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
224 | QLocaleId id = QLocaleId::fromIds(language_id, script_id, 0); | - |
225 | if (id.withLikelySubtagsAdded() == maxTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
226 | return never executed: return id; id;never executed: return id; | 0 |
227 | } never executed: end of block | 0 |
228 | return never executed: return max; max;never executed: return max; | 0 |
229 | } | - |
230 | | - |
231 | QByteArray QLocaleId::name(char separator) const | - |
232 | { | - |
233 | if (language_id == QLocale::AnyLanguageTRUE | 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 |
234 | return never executed: return QByteArray(); QByteArray();never executed: return QByteArray(); | 0 |
235 | if (language_id == QLocale::CTRUE | 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 |
236 | returnexecuted 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; }()); ([]() -> 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); returnexecuted 14 times by 1 test: return ba; ba;executed 14 times by 1 test: return ba; }());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; }()); | 14 |
237 | | - |
238 | const unsigned char *lang = language_code_list + 3 * language_id; | - |
239 | const unsigned char *script = | - |
240 | (script_id != QLocale::AnyScriptTRUE | 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
|
? script_code_list + 4 * script_id : 0); | 4-348 |
241 | const unsigned char *country = | - |
242 | (country_id != QLocale::AnyCountryTRUE | 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
|
? country_code_list + 3 * country_id : 0); | 9-343 |
243 | char len = (lang[2] != 0TRUE | 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
|
? 3 : 2) + (scriptTRUE | 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+1 : 0) + (countryTRUE | 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
|
? (country[2] != 0TRUE | never evaluated | FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_QCollator
- tst_QMimeDatabase
|
? 3 : 2)+1 : 0); | 0-352 |
244 | QByteArray name(len, Qt::Uninitialized); | - |
245 | char *uc = name.data(); | - |
246 | *uc++ = lang[0]; | - |
247 | *uc++ = lang[1]; | - |
248 | if (lang[2] != 0TRUE | 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 |
249 | * never executed: *uc++ = lang[2]; uc++ = lang[2];never executed: *uc++ = lang[2]; | 0 |
250 | if (scriptTRUE | 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 |
251 | *uc++ = separator; | - |
252 | *uc++ = script[0]; | - |
253 | *uc++ = script[1]; | - |
254 | *uc++ = script[2]; | - |
255 | *uc++ = script[3]; | - |
256 | }executed 4 times by 1 test: end of block | 4 |
257 | if (countryTRUE | 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 |
258 | *uc++ = separator; | - |
259 | *uc++ = country[0]; | - |
260 | *uc++ = country[1]; | - |
261 | if (country[2] != 0TRUE | never evaluated | FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_QCollator
- tst_QMimeDatabase
|
) | 0-9 |
262 | * never executed: *uc++ = country[2]; uc++ = country[2];never executed: *uc++ = country[2]; | 0 |
263 | }executed 9 times by 2 tests: end of block Executed by:- tst_QCollator
- tst_QMimeDatabase
| 9 |
264 | returnexecuted 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
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 |
265 | } | - |
266 | | - |
267 | QByteArray QLocalePrivate::bcp47Name(char separator) const | - |
268 | { | - |
269 | if (m_data->m_language_id == QLocale::AnyLanguageTRUE | 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 |
270 | return never executed: return QByteArray(); QByteArray();never executed: return QByteArray(); | 0 |
271 | if (m_data->m_language_id == QLocale::CTRUE | 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 |
272 | return 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; }()); ([]() -> 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); returnnever executed: return ba; ba;never executed: return ba; }());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; }()); | 0 |
273 | | - |
274 | QLocaleId localeId = QLocaleId::fromIds(m_data->m_language_id, m_data->m_script_id, m_data->m_country_id); | - |
275 | returnexecuted 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
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 |
276 | } | - |
277 | | - |
278 | const QLocaleData *QLocaleData::findLocaleData(QLocale::Language language, QLocale::Script script, QLocale::Country country) | - |
279 | { | - |
280 | QLocaleId localeId = QLocaleId::fromIds(language, script, country); | - |
281 | localeId = localeId.withLikelySubtagsAdded(); | - |
282 | | - |
283 | uint idx = locale_index[localeId.language_id]; | - |
284 | | - |
285 | const QLocaleData *data = locale_data + idx; | - |
286 | | - |
287 | if (idx == 0TRUE | 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 |
288 | returnexecuted 683 times by 3 tests: return data; Executed by:- tst_QMetaType
- tst_QTimeZone
- tst_selftests - unknown status
data;executed 683 times by 3 tests: return data; Executed by:- tst_QMetaType
- tst_QTimeZone
- tst_selftests - unknown status
| 683 |
289 | | - |
290 | ((!(data->m_language_id == localeId.language_id)) ? qt_assert("data->m_language_id == localeId.language_id",__FILE__,347) : qt_noop()); | - |
291 | | - |
292 | if (localeId.script_id != QLocale::AnyScriptTRUE | 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 |
&& localeId.country_id != QLocale::AnyCountryTRUE | 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 |
293 | | - |
294 | do { | - |
295 | if (data->m_script_id == localeId.script_idTRUE | 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
|
&& data->m_country_id == localeId.country_idTRUE | 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 |
296 | returnexecuted 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
- ...
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 |
297 | ++data; | - |
298 | }executed 139 times by 6 tests: end of block Executed by:- tst_QCollator
- tst_QDateTimeEdit
- tst_QIntValidator
- tst_QResourceEngine
- tst_QString
- tst_rcc
while (data->m_language_id == localeId.language_idTRUE | evaluated 139 times by 6 testsEvaluated by:- tst_QCollator
- tst_QDateTimeEdit
- tst_QIntValidator
- tst_QResourceEngine
- tst_QString
- tst_rcc
| FALSE | never evaluated |
); | 0-139 |
299 | | - |
300 | | - |
301 | localeId.script_id = QLocale::AnyScript; | - |
302 | data = locale_data + idx; | - |
303 | } never executed: end of block | 0 |
304 | | - |
305 | if (localeId.script_id == QLocale::AnyScriptTRUE | never evaluated | FALSE | never evaluated |
&& localeId.country_id == QLocale::AnyCountryTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
306 | return never executed: return data; data;never executed: return data; | 0 |
307 | | - |
308 | if (localeId.script_id == QLocale::AnyScriptTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
309 | do { | - |
310 | if (data->m_country_id == localeId.country_idTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
311 | return never executed: return data; data;never executed: return data; | 0 |
312 | ++data; | - |
313 | } never executed: end of block while (data->m_language_id == localeId.language_idTRUE | never evaluated | FALSE | never evaluated |
); | 0 |
314 | } never executed: end of block else if (localeId.country_id == QLocale::AnyCountryTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
315 | do { | - |
316 | if (data->m_script_id == localeId.script_idTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
317 | return never executed: return data; data;never executed: return data; | 0 |
318 | ++data; | - |
319 | } never executed: end of block while (data->m_language_id == localeId.language_idTRUE | never evaluated | FALSE | never evaluated |
); | 0 |
320 | } never executed: end of block | 0 |
321 | | - |
322 | return never executed: return locale_data + idx; locale_data + idx;never executed: return locale_data + idx; | 0 |
323 | } | - |
324 | | - |
325 | static bool parse_locale_tag(const QString &input, int &i, QString *result, const QString &separators) | - |
326 | { | - |
327 | *result = QString(8, Qt::Uninitialized); | - |
328 | QChar *pch = result->data(); | - |
329 | const QChar *uc = input.data() + i; | - |
330 | const int l = input.length(); | - |
331 | int size = 0; | - |
332 | for (; i < lTRUE | 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
|
&& size < 8TRUE | 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 |
; ++i, ++size) { | 0-7077 |
333 | 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 |
334 | 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 |
335 | if (! ((uc->unicode() >= 'a'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
|
&& 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 | never evaluated |
) || | 0-2582 |
336 | (uc->unicode() >= 'A'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 |
&& 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 |
) || | 0-2430 |
337 | (uc->unicode() >= '0'TRUE | never evaluated | FALSE | never evaluated |
&& uc->unicode() <= '9'TRUE | never evaluated | FALSE | never evaluated |
)) ) | 0 |
338 | return never executed: return false; false;never executed: return false; | 0 |
339 | *pch++ = *uc++; | - |
340 | }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 |
341 | result->truncate(size); | - |
342 | returnexecuted 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
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 |
343 | } | - |
344 | | - |
345 | bool qt_splitLocaleName(const QString &name, QString &lang, QString &script, QString &cntry) | - |
346 | { | - |
347 | const int length = name.length(); | - |
348 | | - |
349 | lang = script = cntry = QString(); | - |
350 | | - |
351 | const QString separators = ([]() -> QString { enum { Size = sizeof(u"" "_-.@")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "_-.@" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 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
qstring_literal_temp;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 |
352 | enum ParserState { NoState, LangState, ScriptState, CountryState }; | - |
353 | ParserState state = LangState; | - |
354 | for (int i = 0; i < lengthTRUE | 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
|
&& state != NoStateTRUE | 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 |
355 | QString value; | - |
356 | if (!parse_locale_tag(name, i, &value, separators)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
|
||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
|
) | 0-2506 |
357 | break; never executed: break; | 0 |
358 | QChar sep = i < lengthTRUE | 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
|
? name.at(i) : QChar(); | 441-2065 |
359 | switch (state) { | - |
360 | caseexecuted 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
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 |
361 | if (!sep.isNull()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
|
&& !separators.contains(sep)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 |
362 | state = NoState; | - |
363 | break; never executed: break; | 0 |
364 | } | - |
365 | lang = value; | - |
366 | if (i == lengthTRUE | 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 |
367 | | - |
368 | state = NoState; | - |
369 | break;executed 76 times by 6 tests: break; Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QString
- tst_rcc
| 76 |
370 | } | - |
371 | state = ScriptState; | - |
372 | 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 |
373 | caseexecuted 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
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 |
374 | QString scripts = QString::fromLatin1((const char *)script_code_list, sizeof(script_code_list) - 1); | - |
375 | if (value.length() == 4TRUE | 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
|
&& scripts.indexOf(value) % 4 == 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0-1215 |
376 | | - |
377 | script = value; | - |
378 | state = CountryState; | - |
379 | } never executed: end of block else { | 0 |
380 | | - |
381 | cntry = value; | - |
382 | state = NoState; | - |
383 | }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 |
384 | 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 |
385 | } | - |
386 | case never executed: case CountryState: CountryState:never executed: case CountryState: | 0 |
387 | cntry = value; | - |
388 | state = NoState; | - |
389 | break; never executed: break; | 0 |
390 | case never executed: case NoState: NoState:never executed: case NoState: | 0 |
391 | | - |
392 | QMessageLogger(__FILE__, 449, __PRETTY_FUNCTION__).warning("QLocale: This should never happen"); | - |
393 | break; never executed: break; | 0 |
394 | } | - |
395 | ++i; | - |
396 | }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 |
397 | returnexecuted 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
lang.length() == 2TRUE | 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
|
|| lang.length() == 3TRUE | never evaluated | FALSE | evaluated 683 times by 3 testsEvaluated by:- tst_QMetaType
- tst_QTimeZone
- tst_selftests - unknown status
|
;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
| 0-1974 |
398 | } | - |
399 | | - |
400 | void QLocalePrivate::getLangAndCountry(const QString &name, QLocale::Language &lang, | - |
401 | QLocale::Script &script, QLocale::Country &cntry) | - |
402 | { | - |
403 | lang = QLocale::C; | - |
404 | script = QLocale::AnyScript; | - |
405 | cntry = QLocale::AnyCountry; | - |
406 | | - |
407 | QString lang_code; | - |
408 | QString script_code; | - |
409 | QString cntry_code; | - |
410 | 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 |
411 | return;executed 683 times by 3 tests: return; Executed by:- tst_QMetaType
- tst_QTimeZone
- tst_selftests - unknown status
| 683 |
412 | | - |
413 | lang = QLocalePrivate::codeToLanguage(lang_code); | - |
414 | if (lang == QLocale::CTRUE | 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 |
415 | return; never executed: return; | 0 |
416 | script = QLocalePrivate::codeToScript(script_code); | - |
417 | cntry = QLocalePrivate::codeToCountry(cntry_code); | - |
418 | }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 |
419 | | - |
420 | static const QLocaleData *findLocaleData(const QString &name) | - |
421 | { | - |
422 | QLocale::Language lang; | - |
423 | QLocale::Script script; | - |
424 | QLocale::Country cntry; | - |
425 | QLocalePrivate::getLangAndCountry(name, lang, script, cntry); | - |
426 | | - |
427 | returnexecuted 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
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 |
428 | } | - |
429 | | - |
430 | QString qt_readEscapedFormatString(const QString &format, int *idx) | - |
431 | { | - |
432 | int &i = *idx; | - |
433 | | - |
434 | ((!(format.at(i) == QLatin1Char('\''))) ? qt_assert("format.at(i) == QLatin1Char('\\'')",__FILE__,491) : qt_noop()); | - |
435 | ++i; | - |
436 | 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 |
437 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
438 | 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 |
439 | ++i; | - |
440 | return never executed: return QLatin1String("'"); QLatin1String("'");never executed: return QLatin1String("'"); | 0 |
441 | } | - |
442 | | - |
443 | QString result; | - |
444 | | - |
445 | 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 |
446 | 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 |
447 | if (i + 1 < format.size()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
|
&& format.at(i + 1).unicode() == '\''TRUE | never evaluated | FALSE | evaluated 13 times by 1 test |
) { | 0-198 |
448 | | - |
449 | result.append(QLatin1Char('\'')); | - |
450 | i += 2; | - |
451 | } never executed: end of block else { | 0 |
452 | break;executed 211 times by 5 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 211 |
453 | } | - |
454 | } else { | - |
455 | result.append(format.at(i++)); | - |
456 | }executed 4326 times by 6 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 4326 |
457 | } | - |
458 | 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 |
459 | ++executed 211 times by 5 tests: ++i; Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
i;executed 211 times by 5 tests: ++i; Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 211 |
460 | | - |
461 | returnexecuted 1421 times by 6 tests: return result; Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
result;executed 1421 times by 6 tests: return result; Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 1421 |
462 | } | - |
463 | | - |
464 | int qt_repeatCount(const QString &s, int i) | - |
465 | { | - |
466 | QChar c = s.at(i); | - |
467 | int j = i + 1; | - |
468 | while (j < s.size()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
|
&& s.at(j) == cTRUE | 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 |
469 | ++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
- ...
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 |
470 | returnexecuted 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
- ...
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 |
471 | } | - |
472 | | - |
473 | static const QLocaleData *default_data = 0; | - |
474 | static uint default_number_options = 0; | - |
475 | | - |
476 | static const QLocaleData *const c_data = locale_data; | - |
477 | static QLocalePrivate *c_private() | - |
478 | { | - |
479 | static QLocalePrivate c_locale = { c_data, { 1 }, QLocale::OmitGroupSeparator }; | - |
480 | returnexecuted 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
- ...
&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 |
481 | } | - |
482 | QSystemLocale::QSystemLocale() | - |
483 | { | - |
484 | delete _systemLocale; | - |
485 | _systemLocale = this; | - |
486 | | - |
487 | if (system_dataTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
488 | system_data->m_language_id = 0; never executed: system_data->m_language_id = 0; | 0 |
489 | } never executed: end of block | 0 |
490 | | - |
491 | | - |
492 | | - |
493 | | - |
494 | QSystemLocale::QSystemLocale(bool) | - |
495 | { } | - |
496 | | - |
497 | | - |
498 | | - |
499 | | - |
500 | QSystemLocale::~QSystemLocale() | - |
501 | { | - |
502 | if (_systemLocale == thisTRUE | 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 |
503 | _systemLocale = 0; | - |
504 | | - |
505 | if (system_dataTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
506 | system_data->m_language_id = 0; never executed: system_data->m_language_id = 0; | 0 |
507 | } never executed: end of block | 0 |
508 | }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 |
509 | | - |
510 | static const QSystemLocale *systemLocale() | - |
511 | { | - |
512 | if (_systemLocaleTRUE | 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 |
513 | return never executed: return _systemLocale; _systemLocale;never executed: return _systemLocale; | 0 |
514 | returnexecuted 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
- ...
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 |
515 | } | - |
516 | | - |
517 | void QLocalePrivate::updateSystemPrivate() | - |
518 | { | - |
519 | const QSystemLocale *sys_locale = systemLocale(); | - |
520 | if (!system_dataTRUE | 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 |
521 | 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 |
522 | | - |
523 | | - |
524 | sys_locale->query(QSystemLocale::LocaleChanged, QVariant()); | - |
525 | | - |
526 | *system_data = *sys_locale->fallbackUiLocale().d->m_data; | - |
527 | | - |
528 | QVariant res = sys_locale->query(QSystemLocale::LanguageId, QVariant()); | - |
529 | 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 |
530 | system_data->m_language_id = res.toInt(); | - |
531 | system_data->m_script_id = QLocale::AnyScript; | - |
532 | } never executed: end of block | 0 |
533 | res = sys_locale->query(QSystemLocale::CountryId, QVariant()); | - |
534 | 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 |
535 | system_data->m_country_id = res.toInt(); | - |
536 | system_data->m_script_id = QLocale::AnyScript; | - |
537 | } never executed: end of block | 0 |
538 | res = sys_locale->query(QSystemLocale::ScriptId, QVariant()); | - |
539 | 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 |
540 | system_data->m_script_id = res.toInt(); never executed: system_data->m_script_id = res.toInt(); | 0 |
541 | | - |
542 | res = sys_locale->query(QSystemLocale::DecimalPoint, QVariant()); | - |
543 | 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 |
544 | 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 |
545 | | - |
546 | res = sys_locale->query(QSystemLocale::GroupSeparator, QVariant()); | - |
547 | 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 |
548 | 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 |
549 | | - |
550 | res = sys_locale->query(QSystemLocale::ZeroDigit, QVariant()); | - |
551 | 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 |
552 | 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 |
553 | | - |
554 | res = sys_locale->query(QSystemLocale::NegativeSign, QVariant()); | - |
555 | 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 |
556 | 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 |
557 | | - |
558 | res = sys_locale->query(QSystemLocale::PositiveSign, QVariant()); | - |
559 | 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 |
560 | 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 |
561 | }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 |
562 | | - |
563 | | - |
564 | static const QLocaleData *systemData() | - |
565 | { | - |
566 | | - |
567 | | - |
568 | if (!system_dataTRUE | 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
- ...
|
|| system_data->m_language_id == 0TRUE | 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 |
569 | 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 |
570 | | - |
571 | returnexecuted 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
- ...
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 |
572 | | - |
573 | | - |
574 | | - |
575 | } | - |
576 | | - |
577 | static const QLocaleData *defaultData() | - |
578 | { | - |
579 | if (!default_dataTRUE | 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 |
580 | 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 |
581 | returnexecuted 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
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 |
582 | } | - |
583 | | - |
584 | const QLocaleData *QLocaleData::c() | - |
585 | { | - |
586 | ((!(locale_index[QLocale::C] == 0)) ? qt_assert("locale_index[QLocale::C] == 0",__FILE__,656) : qt_noop()); | - |
587 | returnexecuted 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
- ...
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 |
588 | } | - |
589 | | - |
590 | static inline QString getLocaleData(const ushort *data, int size) | - |
591 | { | - |
592 | returnexecuted 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
size > 0TRUE | 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 |
? 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
| 0-48495 |
593 | } | - |
594 | | - |
595 | static QString getLocaleListData(const ushort *data, int size, int index) | - |
596 | { | - |
597 | static const ushort separator = ';'; | - |
598 | while (indexTRUE | 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
|
&& size > 0TRUE | 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 |
599 | while (*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
|
data != separatorTRUE | 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 |
600 | ++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
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 |
601 | --index; | - |
602 | ++data; | - |
603 | --size; | - |
604 | }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 |
605 | const ushort *end = data; | - |
606 | while (size > 0TRUE | 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
|
end != separatorTRUE | 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 |
607 | ++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
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 |
608 | returnexecuted 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
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 |
609 | } | - |
610 | | - |
611 | | - |
612 | | - |
613 | QDataStream &operator<<(QDataStream &ds, const QLocale &l) | - |
614 | { | - |
615 | ds << l.name(); | - |
616 | returnexecuted 3 times by 2 tests: return ds; Executed by:- tst_QMetaType
- tst_QVariant
ds;executed 3 times by 2 tests: return ds; Executed by:- tst_QMetaType
- tst_QVariant
| 3 |
617 | } | - |
618 | | - |
619 | QDataStream &operator>>(QDataStream &ds, QLocale &l) | - |
620 | { | - |
621 | QString s; | - |
622 | ds >> s; | - |
623 | l = QLocale(s); | - |
624 | returnexecuted 7 times by 2 tests: return ds; Executed by:- tst_QMetaType
- tst_QVariant
ds;executed 7 times by 2 tests: return ds; Executed by:- tst_QMetaType
- tst_QVariant
| 7 |
625 | } | - |
626 | | - |
627 | | - |
628 | | - |
629 | static const int locale_data_size = sizeof(locale_data)/sizeof(QLocaleData) - 1; | - |
630 | | - |
631 | namespace { namespace Q_QGS_defaultLocalePrivate { typedef QSharedDataPointer<QLocalePrivate> Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::InitializedTRUE | 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 |
) guard.store(QtGlobalStatic::Destroyed);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 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
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type (QLocalePrivate::create(defaultData(), default_number_options)))) : value (QLocalePrivate::create(defaultData(), default_number_options)) { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 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
- ...
&holder.value;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
- ...
} } } static QGlobalStatic<QSharedDataPointer<QLocalePrivate>, Q_QGS_defaultLocalePrivate::innerFunction, Q_QGS_defaultLocalePrivate::guard> defaultLocalePrivate; | 0-447077 |
632 | | - |
633 | | - |
634 | static QLocalePrivate *localePrivateByName(const QString &name) | - |
635 | { | - |
636 | 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 |
637 | returnexecuted 6951 times by 6 tests: return c_private(); Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_selftests - unknown status
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 |
638 | const QLocaleData *data = findLocaleData(name); | - |
639 | returnexecuted 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
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 |
640 | } | - |
641 | | - |
642 | static QLocalePrivate *findLocalePrivate(QLocale::Language language, QLocale::Script script, | - |
643 | QLocale::Country country) | - |
644 | { | - |
645 | if (language == QLocale::CTRUE | 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 |
646 | returnexecuted 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
- ...
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 |
647 | | - |
648 | const QLocaleData *data = QLocaleData::findLocaleData(language, script, country); | - |
649 | | - |
650 | int numberOptions = 0; | - |
651 | | - |
652 | | - |
653 | if (data->m_language_id == QLocale::CTRUE | 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
|
&& language != QLocale::CTRUE | never evaluated | FALSE | never evaluated |
) { | 0-66 |
654 | numberOptions = default_number_options; | - |
655 | data = defaultData(); | - |
656 | } never executed: end of block | 0 |
657 | returnexecuted 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
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 |
658 | } | - |
659 | | - |
660 | | - |
661 | | - |
662 | | - |
663 | | - |
664 | QLocale::QLocale(QLocalePrivate &dd) | - |
665 | : d(&dd) | - |
666 | {}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 |
667 | QLocale::QLocale(const QString &name) | - |
668 | : d(localePrivateByName(name)) | - |
669 | { | - |
670 | }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 |
671 | QLocale::QLocale() | - |
672 | : d(*defaultLocalePrivate) | - |
673 | { | - |
674 | }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 |
675 | QLocale::QLocale(Language language, Country country) | - |
676 | : d(findLocalePrivate(language, QLocale::AnyScript, country)) | - |
677 | { | - |
678 | }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 |
679 | QLocale::QLocale(Language language, Script script, Country country) | - |
680 | : d(findLocalePrivate(language, script, country)) | - |
681 | { | - |
682 | } never executed: end of block | 0 |
683 | | - |
684 | | - |
685 | | - |
686 | | - |
687 | | - |
688 | QLocale::QLocale(const QLocale &other) | - |
689 | { | - |
690 | d = other.d; | - |
691 | }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 |
692 | | - |
693 | | - |
694 | | - |
695 | | - |
696 | | - |
697 | QLocale::~QLocale() | - |
698 | { | - |
699 | } | - |
700 | | - |
701 | | - |
702 | | - |
703 | | - |
704 | | - |
705 | | - |
706 | QLocale &QLocale::operator=(const QLocale &other) | - |
707 | { | - |
708 | d = other.d; | - |
709 | returnexecuted 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
- ...
*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 |
710 | } | - |
711 | | - |
712 | bool QLocale::operator==(const QLocale &other) const | - |
713 | { | - |
714 | returnexecuted 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
- ...
d->m_data == other.d->m_dataTRUE | 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
|
&& d->m_numberOptions == other.d->m_numberOptionsTRUE | 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 |
;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
- ...
| 0-57535 |
715 | } | - |
716 | | - |
717 | bool QLocale::operator!=(const QLocale &other) const | - |
718 | { | - |
719 | returnexecuted 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
- ...
d->m_data != other.d->m_dataTRUE | 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
- ...
|
|| d->m_numberOptions != other.d->m_numberOptionsTRUE | 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
- ...
|
;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
- ...
| 1-46411 |
720 | } | - |
721 | uint qHash(const QLocale &key, uint seed) noexcept | - |
722 | { | - |
723 | QtPrivate::QHashCombine hash; | - |
724 | seed = hash(seed, key.d->m_data); | - |
725 | seed = hash(seed, key.d->m_numberOptions); | - |
726 | return never executed: return seed; seed;never executed: return seed; | 0 |
727 | } | - |
728 | | - |
729 | | - |
730 | | - |
731 | | - |
732 | | - |
733 | | - |
734 | | - |
735 | void QLocale::setNumberOptions(NumberOptions options) | - |
736 | { | - |
737 | d->m_numberOptions = options; | - |
738 | }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 |
739 | QLocale::NumberOptions QLocale::numberOptions() const | - |
740 | { | - |
741 | returnexecuted 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
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 |
742 | } | - |
743 | | - |
744 | | - |
745 | | - |
746 | | - |
747 | | - |
748 | | - |
749 | | - |
750 | QString QLocale::quoteString(const QString &str, QuotationStyle style) const | - |
751 | { | - |
752 | return never executed: return quoteString(&str, style); quoteString(&str, style);never executed: return quoteString(&str, style); | 0 |
753 | } | - |
754 | | - |
755 | | - |
756 | | - |
757 | | - |
758 | | - |
759 | | - |
760 | QString QLocale::quoteString(const QStringRef &str, QuotationStyle style) const | - |
761 | { | - |
762 | | - |
763 | if (d->m_data == systemData()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
764 | QVariant res; | - |
765 | if (style == QLocale::AlternateQuotationTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
766 | res = systemLocale()->query(QSystemLocale::StringToAlternateQuotation, QVariant::fromValue(str)); never executed: res = systemLocale()->query(QSystemLocale::StringToAlternateQuotation, QVariant::fromValue(str)); | 0 |
767 | if (res.isNull()TRUE | never evaluated | FALSE | never evaluated |
|| style == QLocale::StandardQuotationTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
768 | res = systemLocale()->query(QSystemLocale::StringToStandardQuotation, QVariant::fromValue(str)); never executed: res = systemLocale()->query(QSystemLocale::StringToStandardQuotation, QVariant::fromValue(str)); | 0 |
769 | if (!res.isNull()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
770 | return never executed: return res.toString(); res.toString();never executed: return res.toString(); | 0 |
771 | } never executed: end of block | 0 |
772 | | - |
773 | | - |
774 | if (style == QLocale::StandardQuotationTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
775 | return never executed: return QChar(d->m_data->m_quotation_start) % str % QChar(d->m_data->m_quotation_end); 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 |
776 | else | - |
777 | return never executed: return QChar(d->m_data->m_alternate_quotation_start) % str % QChar(d->m_data->m_alternate_quotation_end); 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 |
778 | } | - |
779 | | - |
780 | | - |
781 | | - |
782 | | - |
783 | | - |
784 | | - |
785 | | - |
786 | QString QLocale::createSeparatedList(const QStringList &list) const | - |
787 | { | - |
788 | | - |
789 | if (d->m_data == systemData()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
790 | QVariant res; | - |
791 | res = systemLocale()->query(QSystemLocale::ListToSeparatedString, QVariant::fromValue(list)); | - |
792 | | - |
793 | if (!res.isNull()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
794 | return never executed: return res.toString(); res.toString();never executed: return res.toString(); | 0 |
795 | } never executed: end of block | 0 |
796 | | - |
797 | | - |
798 | const int size = list.size(); | - |
799 | if (size == 1TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
800 | return never executed: return list.at(0); list.at(0);never executed: return list.at(0); | 0 |
801 | } else if (size == 2TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
802 | 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); | - |
803 | return never executed: return format.arg(list.at(0), list.at(1)); format.arg(list.at(0), list.at(1));never executed: return format.arg(list.at(0), list.at(1)); | 0 |
804 | } else if (size > 2TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
805 | 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); | - |
806 | 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); | - |
807 | 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); | - |
808 | QString result = formatStart.arg(list.at(0), list.at(1)); | - |
809 | for (int i = 2; i < size - 1TRUE | never evaluated | FALSE | never evaluated |
; ++i) | 0 |
810 | result = formatMid.arg(result, list.at(i)); never executed: result = formatMid.arg(result, list.at(i)); | 0 |
811 | result = formatEnd.arg(result, list.at(size - 1)); | - |
812 | return never executed: return result; result;never executed: return result; | 0 |
813 | } | - |
814 | | - |
815 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
816 | } | - |
817 | void QLocale::setDefault(const QLocale &locale) | - |
818 | { | - |
819 | default_data = locale.d->m_data; | - |
820 | default_number_options = locale.numberOptions(); | - |
821 | | - |
822 | 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 |
823 | | - |
824 | *defaultLocalePrivate = locale.d; | - |
825 | }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 |
826 | }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 |
827 | | - |
828 | | - |
829 | | - |
830 | | - |
831 | | - |
832 | | - |
833 | QLocale::Language QLocale::language() const | - |
834 | { | - |
835 | returnexecuted 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
- ...
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 |
836 | } | - |
837 | QLocale::Script QLocale::script() const | - |
838 | { | - |
839 | returnexecuted 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
- ...
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 |
840 | } | - |
841 | | - |
842 | | - |
843 | | - |
844 | | - |
845 | | - |
846 | | - |
847 | QLocale::Country QLocale::country() const | - |
848 | { | - |
849 | returnexecuted 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
- ...
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 |
850 | } | - |
851 | QString QLocale::name() const | - |
852 | { | - |
853 | Language l = language(); | - |
854 | | - |
855 | QString result = d->languageCode(); | - |
856 | | - |
857 | if (l == CTRUE | 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 |
858 | returnexecuted 35 times by 2 tests: return result; Executed by:- tst_QMimeDatabase
- tst_QTimeZone
result;executed 35 times by 2 tests: return result; Executed by:- tst_QMimeDatabase
- tst_QTimeZone
| 35 |
859 | | - |
860 | Country c = country(); | - |
861 | if (c == AnyCountryTRUE | 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 |
862 | return never executed: return result; result;never executed: return result; | 0 |
863 | | - |
864 | result.append(QLatin1Char('_')); | - |
865 | result.append(d->countryCode()); | - |
866 | | - |
867 | returnexecuted 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
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 |
868 | } | - |
869 | | - |
870 | static qlonglong toIntegral_helper(const QLocaleData *d, const QChar *data, int len, bool *ok, | - |
871 | QLocaleData::GroupSeparatorMode mode, qlonglong) | - |
872 | { | - |
873 | returnexecuted 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
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 |
874 | } | - |
875 | | - |
876 | static qulonglong toIntegral_helper(const QLocaleData *d, const QChar *data, int len, bool *ok, | - |
877 | QLocaleData::GroupSeparatorMode mode, qulonglong) | - |
878 | { | - |
879 | returnexecuted 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
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 |
880 | } | - |
881 | | - |
882 | template <typename T> static inline | - |
883 | T toIntegral_helper(const QLocalePrivate *d, const QChar *data, int len, bool *ok) | - |
884 | { | - |
885 | | - |
886 | const bool isUnsigned = T(0) < T(-1); | - |
887 | typedef typename QtPrivate::QConditional<isUnsigned, qulonglong, qlonglong>::Type Int64; | - |
888 | | - |
889 | QLocaleData::GroupSeparatorMode mode | - |
890 | = 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 |
891 | ? QLocaleData::FailOnGroupSeparators | - |
892 | : QLocaleData::ParseGroupSeparators; | - |
893 | | - |
894 | | - |
895 | Int64 val = toIntegral_helper(d->m_data, data, len, ok, mode, Int64()); | - |
896 | if (T(val) != valTRUE | 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 |
897 | if (okTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
898 | * never executed: *ok = false; ok = false;never executed: *ok = false; | 0 |
899 | val = 0; | - |
900 | } never executed: end of block | 0 |
901 | returnexecuted 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
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 |
902 | } | - |
903 | QString QLocale::bcp47Name() const | - |
904 | { | - |
905 | returnexecuted 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
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 |
906 | } | - |
907 | | - |
908 | | - |
909 | | - |
910 | | - |
911 | | - |
912 | | - |
913 | | - |
914 | QString QLocale::languageToString(Language language) | - |
915 | { | - |
916 | if (uint(language) > uint(QLocale::LastLanguage)TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
917 | return never executed: return QLatin1String("Unknown"); QLatin1String("Unknown");never executed: return QLatin1String("Unknown"); | 0 |
918 | returnexecuted 1 time by 1 test: return QLatin1String(language_name_list + language_name_index[language]); QLatin1String(language_name_list + language_name_index[language]);executed 1 time by 1 test: return QLatin1String(language_name_list + language_name_index[language]); | 1 |
919 | } | - |
920 | | - |
921 | | - |
922 | | - |
923 | | - |
924 | | - |
925 | | - |
926 | | - |
927 | QString QLocale::countryToString(Country country) | - |
928 | { | - |
929 | if (uint(country) > uint(QLocale::LastCountry)TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
930 | return never executed: return QLatin1String("Unknown"); QLatin1String("Unknown");never executed: return QLatin1String("Unknown"); | 0 |
931 | returnexecuted 1 time by 1 test: return QLatin1String(country_name_list + country_name_index[country]); QLatin1String(country_name_list + country_name_index[country]);executed 1 time by 1 test: return QLatin1String(country_name_list + country_name_index[country]); | 1 |
932 | } | - |
933 | QString QLocale::scriptToString(QLocale::Script script) | - |
934 | { | - |
935 | if (uint(script) > uint(QLocale::LastScript)TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
936 | return never executed: return QLatin1String("Unknown"); QLatin1String("Unknown");never executed: return QLatin1String("Unknown"); | 0 |
937 | returnexecuted 1 time by 1 test: return QLatin1String(script_name_list + script_name_index[script]); QLatin1String(script_name_list + script_name_index[script]);executed 1 time by 1 test: return QLatin1String(script_name_list + script_name_index[script]); | 1 |
938 | } | - |
939 | short QLocale::toShort(const QString &s, bool *ok) const | - |
940 | { | - |
941 | return never executed: return toIntegral_helper<short>(d, s.constData(), s.size(), ok); toIntegral_helper<short>(d, s.constData(), s.size(), ok);never executed: return toIntegral_helper<short>(d, s.constData(), s.size(), ok); | 0 |
942 | } | - |
943 | ushort QLocale::toUShort(const QString &s, bool *ok) const | - |
944 | { | - |
945 | return never executed: return toIntegral_helper<ushort>(d, s.constData(), s.size(), ok); toIntegral_helper<ushort>(d, s.constData(), s.size(), ok);never executed: return toIntegral_helper<ushort>(d, s.constData(), s.size(), ok); | 0 |
946 | } | - |
947 | int QLocale::toInt(const QString &s, bool *ok) const | - |
948 | { | - |
949 | returnexecuted 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
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 |
950 | } | - |
951 | uint QLocale::toUInt(const QString &s, bool *ok) const | - |
952 | { | - |
953 | returnexecuted 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
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 |
954 | } | - |
955 | qlonglong QLocale::toLongLong(const QString &s, bool *ok) const | - |
956 | { | - |
957 | return never executed: return toIntegral_helper<qlonglong>(d, s.constData(), s.size(), ok); toIntegral_helper<qlonglong>(d, s.constData(), s.size(), ok);never executed: return toIntegral_helper<qlonglong>(d, s.constData(), s.size(), ok); | 0 |
958 | } | - |
959 | qulonglong QLocale::toULongLong(const QString &s, bool *ok) const | - |
960 | { | - |
961 | return never executed: return toIntegral_helper<qulonglong>(d, s.constData(), s.size(), ok); toIntegral_helper<qulonglong>(d, s.constData(), s.size(), ok);never executed: return toIntegral_helper<qulonglong>(d, s.constData(), s.size(), ok); | 0 |
962 | } | - |
963 | float QLocale::toFloat(const QString &s, bool *ok) const | - |
964 | { | - |
965 | return never executed: return QLocaleData::convertDoubleToFloat(toDouble(s, ok), ok); QLocaleData::convertDoubleToFloat(toDouble(s, ok), ok);never executed: return QLocaleData::convertDoubleToFloat(toDouble(s, ok), ok); | 0 |
966 | } | - |
967 | double QLocale::toDouble(const QString &s, bool *ok) const | - |
968 | { | - |
969 | QLocaleData::GroupSeparatorMode mode | - |
970 | = 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 |
971 | ? QLocaleData::FailOnGroupSeparators | - |
972 | : QLocaleData::ParseGroupSeparators; | - |
973 | | - |
974 | returnexecuted 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
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 |
975 | } | - |
976 | short QLocale::toShort(const QStringRef &s, bool *ok) const | - |
977 | { | - |
978 | return never executed: return toIntegral_helper<short>(d, s.constData(), s.size(), ok); toIntegral_helper<short>(d, s.constData(), s.size(), ok);never executed: return toIntegral_helper<short>(d, s.constData(), s.size(), ok); | 0 |
979 | } | - |
980 | ushort QLocale::toUShort(const QStringRef &s, bool *ok) const | - |
981 | { | - |
982 | return never executed: return toIntegral_helper<ushort>(d, s.constData(), s.size(), ok); toIntegral_helper<ushort>(d, s.constData(), s.size(), ok);never executed: return toIntegral_helper<ushort>(d, s.constData(), s.size(), ok); | 0 |
983 | } | - |
984 | int QLocale::toInt(const QStringRef &s, bool *ok) const | - |
985 | { | - |
986 | return never executed: return toIntegral_helper<int>(d, s.constData(), s.size(), ok); toIntegral_helper<int>(d, s.constData(), s.size(), ok);never executed: return toIntegral_helper<int>(d, s.constData(), s.size(), ok); | 0 |
987 | } | - |
988 | uint QLocale::toUInt(const QStringRef &s, bool *ok) const | - |
989 | { | - |
990 | return never executed: return toIntegral_helper<uint>(d, s.constData(), s.size(), ok); toIntegral_helper<uint>(d, s.constData(), s.size(), ok);never executed: return toIntegral_helper<uint>(d, s.constData(), s.size(), ok); | 0 |
991 | } | - |
992 | qlonglong QLocale::toLongLong(const QStringRef &s, bool *ok) const | - |
993 | { | - |
994 | return never executed: return toIntegral_helper<qlonglong>(d, s.constData(), s.size(), ok); toIntegral_helper<qlonglong>(d, s.constData(), s.size(), ok);never executed: return toIntegral_helper<qlonglong>(d, s.constData(), s.size(), ok); | 0 |
995 | } | - |
996 | qulonglong QLocale::toULongLong(const QStringRef &s, bool *ok) const | - |
997 | { | - |
998 | return never executed: return toIntegral_helper<qulonglong>(d, s.constData(), s.size(), ok); toIntegral_helper<qulonglong>(d, s.constData(), s.size(), ok);never executed: return toIntegral_helper<qulonglong>(d, s.constData(), s.size(), ok); | 0 |
999 | } | - |
1000 | float QLocale::toFloat(const QStringRef &s, bool *ok) const | - |
1001 | { | - |
1002 | return never executed: return QLocaleData::convertDoubleToFloat(toDouble(s, ok), ok); QLocaleData::convertDoubleToFloat(toDouble(s, ok), ok);never executed: return QLocaleData::convertDoubleToFloat(toDouble(s, ok), ok); | 0 |
1003 | } | - |
1004 | double QLocale::toDouble(const QStringRef &s, bool *ok) const | - |
1005 | { | - |
1006 | QLocaleData::GroupSeparatorMode mode | - |
1007 | = d->m_numberOptions & RejectGroupSeparatorTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1008 | ? QLocaleData::FailOnGroupSeparators | - |
1009 | : QLocaleData::ParseGroupSeparators; | - |
1010 | | - |
1011 | return never executed: return d->m_data->stringToDouble(s.constData(), s.size(), ok, mode); d->m_data->stringToDouble(s.constData(), s.size(), ok, mode);never executed: return d->m_data->stringToDouble(s.constData(), s.size(), ok, mode); | 0 |
1012 | } | - |
1013 | QString QLocale::toString(qlonglong i) const | - |
1014 | { | - |
1015 | 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 |
1016 | ? 0 | - |
1017 | : QLocaleData::ThousandsGroup; | - |
1018 | | - |
1019 | returnexecuted 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
- ...
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 |
1020 | } | - |
1021 | | - |
1022 | | - |
1023 | | - |
1024 | | - |
1025 | | - |
1026 | | - |
1027 | | - |
1028 | QString QLocale::toString(qulonglong i) const | - |
1029 | { | - |
1030 | 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 |
1031 | ? 0 | - |
1032 | : QLocaleData::ThousandsGroup; | - |
1033 | | - |
1034 | returnexecuted 302 times by 2 tests: return d->m_data->unsLongLongToString(i, -1, 10, -1, flags); Executed by:- tst_QItemDelegate
- tst_QItemModel
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 |
1035 | } | - |
1036 | | - |
1037 | | - |
1038 | | - |
1039 | | - |
1040 | | - |
1041 | | - |
1042 | | - |
1043 | QString QLocale::toString(const QDate &date, const QString &format) const | - |
1044 | { | - |
1045 | returnexecuted 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
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 |
1046 | } | - |
1047 | | - |
1048 | | - |
1049 | | - |
1050 | | - |
1051 | | - |
1052 | | - |
1053 | QString QLocale::toString(const QDate &date, FormatType format) const | - |
1054 | { | - |
1055 | if (!date.isValid()TRUE | never evaluated | FALSE | evaluated 204 times by 2 testsEvaluated by:- tst_QDate
- tst_QItemDelegate
|
) | 0-204 |
1056 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
1057 | | - |
1058 | | - |
1059 | 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 |
1060 | QVariant res = systemLocale()->query(format == LongFormat | - |
1061 | ? QSystemLocale::DateToStringLong : QSystemLocale::DateToStringShort, | - |
1062 | date); | - |
1063 | if (!res.isNull()TRUE | evaluated 76 times by 2 testsEvaluated by:- tst_QDate
- tst_QItemDelegate
| FALSE | never evaluated |
) | 0-76 |
1064 | returnexecuted 76 times by 2 tests: return res.toString(); Executed by:- tst_QDate
- tst_QItemDelegate
res.toString();executed 76 times by 2 tests: return res.toString(); Executed by:- tst_QDate
- tst_QItemDelegate
| 76 |
1065 | } never executed: end of block | 0 |
1066 | | - |
1067 | | - |
1068 | QString format_str = dateFormat(format); | - |
1069 | returnexecuted 128 times by 2 tests: return toString(date, format_str); Executed by:- tst_QDate
- tst_QItemDelegate
toString(date, format_str);executed 128 times by 2 tests: return toString(date, format_str); Executed by:- tst_QDate
- tst_QItemDelegate
| 128 |
1070 | } | - |
1071 | | - |
1072 | static bool timeFormatContainsAP(const QString &format) | - |
1073 | { | - |
1074 | int i = 0; | - |
1075 | 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 |
1076 | 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 |
1077 | qt_readEscapedFormatString(format, &i); | - |
1078 | continue;executed 694 times by 6 tests: continue; Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 694 |
1079 | } | - |
1080 | | - |
1081 | 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 |
1082 | returnexecuted 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
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 |
1083 | | - |
1084 | ++i; | - |
1085 | }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 |
1086 | returnexecuted 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
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 |
1087 | } | - |
1088 | | - |
1089 | | - |
1090 | | - |
1091 | | - |
1092 | | - |
1093 | | - |
1094 | QString QLocale::toString(const QTime &time, const QString &format) const | - |
1095 | { | - |
1096 | returnexecuted 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
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 |
1097 | } | - |
1098 | QString QLocale::toString(const QDateTime &dateTime, const QString &format) const | - |
1099 | { | - |
1100 | returnexecuted 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
- ...
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 |
1101 | } | - |
1102 | QString QLocale::toString(const QDateTime &dateTime, FormatType format) const | - |
1103 | { | - |
1104 | 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 |
1105 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
1106 | | - |
1107 | | - |
1108 | 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 |
1109 | QVariant res = systemLocale()->query(format == LongFormat | - |
1110 | ? QSystemLocale::DateTimeToStringLong | - |
1111 | : QSystemLocale::DateTimeToStringShort, | - |
1112 | dateTime); | - |
1113 | 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 |
1114 | returnexecuted 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
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 |
1115 | } never executed: end of block | 0 |
1116 | | - |
1117 | | - |
1118 | const QString format_str = dateTimeFormat(format); | - |
1119 | returnexecuted 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
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 |
1120 | } | - |
1121 | | - |
1122 | | - |
1123 | | - |
1124 | | - |
1125 | | - |
1126 | | - |
1127 | | - |
1128 | QString QLocale::toString(const QTime &time, FormatType format) const | - |
1129 | { | - |
1130 | if (!time.isValid()TRUE | never evaluated | FALSE | evaluated 64 times by 2 testsEvaluated by:- tst_QItemDelegate
- tst_QTime
|
) | 0-64 |
1131 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
1132 | | - |
1133 | | - |
1134 | 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 |
1135 | QVariant res = systemLocale()->query(format == LongFormat | - |
1136 | ? QSystemLocale::TimeToStringLong : QSystemLocale::TimeToStringShort, | - |
1137 | time); | - |
1138 | if (!res.isNull()TRUE | evaluated 30 times by 2 testsEvaluated by:- tst_QItemDelegate
- tst_QTime
| FALSE | never evaluated |
) | 0-30 |
1139 | returnexecuted 30 times by 2 tests: return res.toString(); Executed by:- tst_QItemDelegate
- tst_QTime
res.toString();executed 30 times by 2 tests: return res.toString(); Executed by:- tst_QItemDelegate
- tst_QTime
| 30 |
1140 | } never executed: end of block | 0 |
1141 | | - |
1142 | | - |
1143 | QString format_str = timeFormat(format); | - |
1144 | returnexecuted 34 times by 2 tests: return toString(time, format_str); Executed by:- tst_QItemDelegate
- tst_QTime
toString(time, format_str);executed 34 times by 2 tests: return toString(time, format_str); Executed by:- tst_QItemDelegate
- tst_QTime
| 34 |
1145 | } | - |
1146 | QString QLocale::dateFormat(FormatType format) const | - |
1147 | { | - |
1148 | | - |
1149 | 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 |
1150 | QVariant res = systemLocale()->query(format == LongFormat | - |
1151 | ? QSystemLocale::DateFormatLong : QSystemLocale::DateFormatShort, | - |
1152 | QVariant()); | - |
1153 | if (!res.isNull()TRUE | evaluated 11 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
| FALSE | never evaluated |
) | 0-11 |
1154 | returnexecuted 11 times by 4 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
res.toString();executed 11 times by 4 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
| 11 |
1155 | } never executed: end of block | 0 |
1156 | | - |
1157 | | - |
1158 | quint32 idx, size; | - |
1159 | switch (format) { | - |
1160 | caseexecuted 63 times by 3 tests: case LongFormat: Executed by:- tst_QDate
- tst_QDateTime
- tst_QItemDelegate
LongFormat:executed 63 times by 3 tests: case LongFormat: Executed by:- tst_QDate
- tst_QDateTime
- tst_QItemDelegate
| 63 |
1161 | idx = d->m_data->m_long_date_format_idx; | - |
1162 | size = d->m_data->m_long_date_format_size; | - |
1163 | break;executed 63 times by 3 tests: break; Executed by:- tst_QDate
- tst_QDateTime
- tst_QItemDelegate
| 63 |
1164 | defaultexecuted 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
: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 |
1165 | idx = d->m_data->m_short_date_format_idx; | - |
1166 | size = d->m_data->m_short_date_format_size; | - |
1167 | 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 |
1168 | } | - |
1169 | returnexecuted 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
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 |
1170 | } | - |
1171 | QString QLocale::timeFormat(FormatType format) const | - |
1172 | { | - |
1173 | | - |
1174 | 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 |
1175 | QVariant res = systemLocale()->query(format == LongFormat | - |
1176 | ? QSystemLocale::TimeFormatLong : QSystemLocale::TimeFormatShort, | - |
1177 | QVariant()); | - |
1178 | if (!res.isNull()TRUE | evaluated 11 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
| FALSE | never evaluated |
) | 0-11 |
1179 | returnexecuted 11 times by 4 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
res.toString();executed 11 times by 4 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
| 11 |
1180 | } never executed: end of block | 0 |
1181 | | - |
1182 | | - |
1183 | quint32 idx, size; | - |
1184 | switch (format) { | - |
1185 | caseexecuted 15 times by 3 tests: case LongFormat: Executed by:- tst_QDateTime
- tst_QItemDelegate
- tst_QTime
LongFormat:executed 15 times by 3 tests: case LongFormat: Executed by:- tst_QDateTime
- tst_QItemDelegate
- tst_QTime
| 15 |
1186 | idx = d->m_data->m_long_time_format_idx; | - |
1187 | size = d->m_data->m_long_time_format_size; | - |
1188 | break;executed 15 times by 3 tests: break; Executed by:- tst_QDateTime
- tst_QItemDelegate
- tst_QTime
| 15 |
1189 | defaultexecuted 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
: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 |
1190 | idx = d->m_data->m_short_time_format_idx; | - |
1191 | size = d->m_data->m_short_time_format_size; | - |
1192 | 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 |
1193 | } | - |
1194 | returnexecuted 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
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 |
1195 | } | - |
1196 | QString QLocale::dateTimeFormat(FormatType format) const | - |
1197 | { | - |
1198 | | - |
1199 | 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 |
1200 | QVariant res = systemLocale()->query(format == LongFormat | - |
1201 | ? QSystemLocale::DateTimeFormatLong | - |
1202 | : QSystemLocale::DateTimeFormatShort, | - |
1203 | QVariant()); | - |
1204 | 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 |
1205 | returnexecuted 14 times by 5 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
res.toString();executed 14 times by 5 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QStyleSheetStyle
| 14 |
1206 | } | - |
1207 | } never executed: end of block | 0 |
1208 | | - |
1209 | returnexecuted 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
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 |
1210 | } | - |
1211 | QTime QLocale::toTime(const QString &string, FormatType format) const | - |
1212 | { | - |
1213 | return never executed: return toTime(string, timeFormat(format)); toTime(string, timeFormat(format));never executed: return toTime(string, timeFormat(format)); | 0 |
1214 | } | - |
1215 | QDate QLocale::toDate(const QString &string, FormatType format) const | - |
1216 | { | - |
1217 | return never executed: return toDate(string, dateFormat(format)); toDate(string, dateFormat(format));never executed: return toDate(string, dateFormat(format)); | 0 |
1218 | } | - |
1219 | QDateTime QLocale::toDateTime(const QString &string, FormatType format) const | - |
1220 | { | - |
1221 | returnexecuted 6 times by 1 test: return toDateTime(string, dateTimeFormat(format)); toDateTime(string, dateTimeFormat(format));executed 6 times by 1 test: return toDateTime(string, dateTimeFormat(format)); | 6 |
1222 | } | - |
1223 | QTime QLocale::toTime(const QString &string, const QString &format) const | - |
1224 | { | - |
1225 | QTime time; | - |
1226 | | - |
1227 | QDateTimeParser dt(QVariant::Time, QDateTimeParser::FromString); | - |
1228 | dt.setDefaultLocale(*this); | - |
1229 | if (dt.parseFormat(format)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1230 | dt.fromString(string, 0, &time); never executed: dt.fromString(string, 0, &time); | 0 |
1231 | | - |
1232 | | - |
1233 | | - |
1234 | | - |
1235 | return never executed: return time; time;never executed: return time; | 0 |
1236 | } | - |
1237 | QDate QLocale::toDate(const QString &string, const QString &format) const | - |
1238 | { | - |
1239 | QDate date; | - |
1240 | | - |
1241 | QDateTimeParser dt(QVariant::Date, QDateTimeParser::FromString); | - |
1242 | dt.setDefaultLocale(*this); | - |
1243 | if (dt.parseFormat(format)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1244 | dt.fromString(string, &date, 0); never executed: dt.fromString(string, &date, 0); | 0 |
1245 | | - |
1246 | | - |
1247 | | - |
1248 | | - |
1249 | return never executed: return date; date;never executed: return date; | 0 |
1250 | } | - |
1251 | QDateTime QLocale::toDateTime(const QString &string, const QString &format) const | - |
1252 | { | - |
1253 | | - |
1254 | QTime time; | - |
1255 | QDate date; | - |
1256 | | - |
1257 | QDateTimeParser dt(QVariant::DateTime, QDateTimeParser::FromString); | - |
1258 | dt.setDefaultLocale(*this); | - |
1259 | if (dt.parseFormat(format)TRUE | evaluated 533 times by 3 testsEvaluated by:- tst_QDateTime
- tst_QFtp
- tst_QNetworkRequest
| FALSE | never evaluated |
&& dt.fromString(string, &date, &time)TRUE | evaluated 407 times by 3 testsEvaluated by:- tst_QDateTime
- tst_QFtp
- tst_QNetworkRequest
| FALSE | evaluated 126 times by 2 tests |
) | 0-533 |
1260 | returnexecuted 407 times by 3 tests: return QDateTime(date, time); Executed by:- tst_QDateTime
- tst_QFtp
- tst_QNetworkRequest
QDateTime(date, time);executed 407 times by 3 tests: return QDateTime(date, time); Executed by:- tst_QDateTime
- tst_QFtp
- tst_QNetworkRequest
| 407 |
1261 | | - |
1262 | | - |
1263 | | - |
1264 | | - |
1265 | returnexecuted 126 times by 2 tests: return QDateTime(QDate(), QTime(-1, -1, -1)); QDateTime(QDate(), QTime(-1, -1, -1));executed 126 times by 2 tests: return QDateTime(QDate(), QTime(-1, -1, -1)); | 126 |
1266 | } | - |
1267 | QChar QLocale::decimalPoint() const | - |
1268 | { | - |
1269 | returnexecuted 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
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 |
1270 | } | - |
1271 | | - |
1272 | | - |
1273 | | - |
1274 | | - |
1275 | | - |
1276 | | - |
1277 | QChar QLocale::groupSeparator() const | - |
1278 | { | - |
1279 | returnexecuted 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
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 |
1280 | } | - |
1281 | | - |
1282 | | - |
1283 | | - |
1284 | | - |
1285 | | - |
1286 | | - |
1287 | QChar QLocale::percent() const | - |
1288 | { | - |
1289 | returnexecuted 44 times by 6 tests: return d->percent(); Executed by:- tst_QAccessibility
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QProgressBar
- tst_QProgressDialog
- tst_QStyle
- tst_QStyleSheetStyle
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 |
1290 | } | - |
1291 | | - |
1292 | | - |
1293 | | - |
1294 | | - |
1295 | | - |
1296 | | - |
1297 | QChar QLocale::zeroDigit() const | - |
1298 | { | - |
1299 | returnexecuted 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
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 |
1300 | } | - |
1301 | | - |
1302 | | - |
1303 | | - |
1304 | | - |
1305 | | - |
1306 | | - |
1307 | QChar QLocale::negativeSign() const | - |
1308 | { | - |
1309 | returnexecuted 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
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 |
1310 | } | - |
1311 | | - |
1312 | | - |
1313 | | - |
1314 | | - |
1315 | | - |
1316 | | - |
1317 | QChar QLocale::positiveSign() const | - |
1318 | { | - |
1319 | returnexecuted 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
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 |
1320 | } | - |
1321 | | - |
1322 | | - |
1323 | | - |
1324 | | - |
1325 | | - |
1326 | | - |
1327 | QChar QLocale::exponential() const | - |
1328 | { | - |
1329 | returnexecuted 81 times by 1 test: return d->exponential(); d->exponential();executed 81 times by 1 test: return d->exponential(); | 81 |
1330 | } | - |
1331 | | - |
1332 | static bool qIsUpper(char c) | - |
1333 | { | - |
1334 | returnexecuted 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
c >= 'A'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 |
&& c <= 'Z'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
|
;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
| 0-1282 |
1335 | } | - |
1336 | | - |
1337 | static char qToLower(char c) | - |
1338 | { | - |
1339 | if (c >= 'A'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 |
&& c <= 'Z'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 |
1340 | return never executed: return c - 'A' + 'a'; c - 'A' + 'a';never executed: return c - 'A' + 'a'; | 0 |
1341 | else | - |
1342 | returnexecuted 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
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 |
1343 | } | - |
1344 | QString QLocale::toString(double i, char f, int prec) const | - |
1345 | { | - |
1346 | QLocaleData::DoubleForm form = QLocaleData::DFDecimal; | - |
1347 | uint flags = 0; | - |
1348 | | - |
1349 | 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 |
1350 | flags = QLocaleData::CapitalEorX; never executed: flags = QLocaleData::CapitalEorX; | 0 |
1351 | f = qToLower(f); | - |
1352 | | - |
1353 | switch (f) { | - |
1354 | caseexecuted 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
'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 |
1355 | form = QLocaleData::DFDecimal; | - |
1356 | 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 |
1357 | case never executed: case 'e': 'e':never executed: case 'e': | 0 |
1358 | form = QLocaleData::DFExponent; | - |
1359 | break; never executed: break; | 0 |
1360 | caseexecuted 75 times by 3 tests: case 'g': Executed by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
'g':executed 75 times by 3 tests: case 'g': Executed by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
| 75 |
1361 | form = QLocaleData::DFSignificantDigits; | - |
1362 | break;executed 75 times by 3 tests: break; Executed by:- tst_QDoubleSpinBox
- tst_QInputDialog
- tst_QItemDelegate
| 75 |
1363 | default never executed: default: :never executed: default: | 0 |
1364 | break; never executed: break; | 0 |
1365 | } | - |
1366 | | - |
1367 | 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 |
1368 | 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 |
1369 | returnexecuted 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
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 |
1370 | } | - |
1371 | QLocale QLocale::system() | - |
1372 | { | - |
1373 | returnexecuted 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
- ...
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 |
1374 | } | - |
1375 | QList<QLocale> QLocale::matchingLocales(QLocale::Language language, | - |
1376 | QLocale::Script script, | - |
1377 | QLocale::Country country) | - |
1378 | { | - |
1379 | if (uint(language) > QLocale::LastLanguageTRUE | never evaluated | FALSE | never evaluated |
|| uint(script) > QLocale::LastScriptTRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
1380 | uint(country) > QLocale::LastCountryTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1381 | return never executed: return QList<QLocale>(); QList<QLocale>();never executed: return QList<QLocale>(); | 0 |
1382 | | - |
1383 | if (language == QLocale::CTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1384 | return never executed: return QList<QLocale>() << QLocale(QLocale::C); QList<QLocale>() << QLocale(QLocale::C);never executed: return QList<QLocale>() << QLocale(QLocale::C); | 0 |
1385 | | - |
1386 | QList<QLocale> result; | - |
1387 | if (language == QLocale::AnyLanguageTRUE | never evaluated | FALSE | never evaluated |
&& script == QLocale::AnyScriptTRUE | never evaluated | FALSE | never evaluated |
&& country == QLocale::AnyCountryTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1388 | result.reserve(locale_data_size); never executed: result.reserve(locale_data_size); | 0 |
1389 | const QLocaleData *data = locale_data + locale_index[language]; | - |
1390 | while ( (TRUE | never evaluated | FALSE | never evaluated |
data != locale_data + locale_data_size)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1391 | && (language == QLocale::AnyLanguageTRUE | never evaluated | FALSE | never evaluated |
|| data->m_language_id == uint(language)TRUE | never evaluated | FALSE | never evaluated |
)) { | 0 |
1392 | if ((script == QLocale::AnyScriptTRUE | never evaluated | FALSE | never evaluated |
|| data->m_script_id == uint(script)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1393 | && (country == QLocale::AnyCountryTRUE | never evaluated | FALSE | never evaluated |
|| data->m_country_id == uint(country)TRUE | never evaluated | FALSE | never evaluated |
)) { | 0 |
1394 | QLocale locale(*QLocalePrivate::create(data)); | - |
1395 | result.append(locale); | - |
1396 | } never executed: end of block | 0 |
1397 | ++data; | - |
1398 | } never executed: end of block | 0 |
1399 | return never executed: return result; result;never executed: return result; | 0 |
1400 | } | - |
1401 | QList<QLocale::Country> QLocale::countriesForLanguage(Language language) | - |
1402 | { | - |
1403 | QList<Country> result; | - |
1404 | if (language == CTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1405 | result << AnyCountry; | - |
1406 | return never executed: return result; result;never executed: return result; | 0 |
1407 | } | - |
1408 | | - |
1409 | unsigned language_id = language; | - |
1410 | const QLocaleData *data = locale_data + locale_index[language_id]; | - |
1411 | while (data->m_language_id == language_idTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1412 | const QLocale::Country country = static_cast<Country>(data->m_country_id); | - |
1413 | if (!result.contains(country)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1414 | result.append(country); never executed: result.append(country); | 0 |
1415 | ++data; | - |
1416 | } never executed: end of block | 0 |
1417 | | - |
1418 | return never executed: return result; result;never executed: return result; | 0 |
1419 | } | - |
1420 | QString QLocale::monthName(int month, FormatType type) const | - |
1421 | { | - |
1422 | if (month < 1TRUE | 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
|
|| month > 12TRUE | 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 |
1423 | returnexecuted 2 times by 1 test: return QString(); QString();executed 2 times by 1 test: return QString(); | 2 |
1424 | | - |
1425 | | - |
1426 | 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 |
1427 | QVariant res = systemLocale()->query(type == LongFormat | - |
1428 | ? QSystemLocale::MonthNameLong : QSystemLocale::MonthNameShort, | - |
1429 | month); | - |
1430 | 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 |
1431 | returnexecuted 12489 times by 5 tests: return res.toString(); Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNetworkCookieJar
- tst_qmakelib
res.toString();executed 12489 times by 5 tests: return res.toString(); Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNetworkCookieJar
- tst_qmakelib
| 12489 |
1432 | } never executed: end of block | 0 |
1433 | | - |
1434 | | - |
1435 | quint32 idx, size; | - |
1436 | switch (type) { | - |
1437 | caseexecuted 4473 times by 4 tests: case QLocale::LongFormat: Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
QLocale::LongFormat:executed 4473 times by 4 tests: case QLocale::LongFormat: Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 4473 |
1438 | idx = d->m_data->m_long_month_names_idx; | - |
1439 | size = d->m_data->m_long_month_names_size; | - |
1440 | break;executed 4473 times by 4 tests: break; Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 4473 |
1441 | caseexecuted 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
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 |
1442 | idx = d->m_data->m_short_month_names_idx; | - |
1443 | size = d->m_data->m_short_month_names_size; | - |
1444 | 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 |
1445 | case never executed: case QLocale::NarrowFormat: QLocale::NarrowFormat:never executed: case QLocale::NarrowFormat: | 0 |
1446 | idx = d->m_data->m_narrow_month_names_idx; | - |
1447 | size = d->m_data->m_narrow_month_names_size; | - |
1448 | break; never executed: break; | 0 |
1449 | default never executed: default: :never executed: default: | 0 |
1450 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
1451 | } | - |
1452 | returnexecuted 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
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 |
1453 | } | - |
1454 | QString QLocale::standaloneMonthName(int month, FormatType type) const | - |
1455 | { | - |
1456 | if (month < 1TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1773 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTimeEdit
|
|| month > 12TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1772 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTimeEdit
|
) | 1-1773 |
1457 | returnexecuted 2 times by 1 test: return QString(); QString();executed 2 times by 1 test: return QString(); | 2 |
1458 | | - |
1459 | | - |
1460 | 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 |
1461 | QVariant res = systemLocale()->query(type == LongFormat | - |
1462 | ? QSystemLocale::StandaloneMonthNameLong : QSystemLocale::StandaloneMonthNameShort, | - |
1463 | month); | - |
1464 | if (!res.isNull()TRUE | evaluated 537 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
| FALSE | never evaluated |
) | 0-537 |
1465 | returnexecuted 537 times by 3 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
res.toString();executed 537 times by 3 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
| 537 |
1466 | } never executed: end of block | 0 |
1467 | | - |
1468 | | - |
1469 | quint32 idx, size; | - |
1470 | switch (type) { | - |
1471 | caseexecuted 1211 times by 4 tests: case QLocale::LongFormat: Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTimeEdit
QLocale::LongFormat:executed 1211 times by 4 tests: case QLocale::LongFormat: Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTimeEdit
| 1211 |
1472 | idx = d->m_data->m_standalone_long_month_names_idx; | - |
1473 | size = d->m_data->m_standalone_long_month_names_size; | - |
1474 | break;executed 1211 times by 4 tests: break; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTimeEdit
| 1211 |
1475 | caseexecuted 24 times by 1 test: case QLocale::ShortFormat: QLocale::ShortFormat:executed 24 times by 1 test: case QLocale::ShortFormat: | 24 |
1476 | idx = d->m_data->m_standalone_short_month_names_idx; | - |
1477 | size = d->m_data->m_standalone_short_month_names_size; | - |
1478 | break;executed 24 times by 1 test: break; | 24 |
1479 | case never executed: case QLocale::NarrowFormat: QLocale::NarrowFormat:never executed: case QLocale::NarrowFormat: | 0 |
1480 | idx = d->m_data->m_standalone_narrow_month_names_idx; | - |
1481 | size = d->m_data->m_standalone_narrow_month_names_size; | - |
1482 | break; never executed: break; | 0 |
1483 | default never executed: default: :never executed: default: | 0 |
1484 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
1485 | } | - |
1486 | QString name = getLocaleListData(months_data + idx, size, month - 1); | - |
1487 | if (name.isEmpty()TRUE | never evaluated | FALSE | evaluated 1235 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTimeEdit
|
) | 0-1235 |
1488 | return never executed: return monthName(month, type); monthName(month, type);never executed: return monthName(month, type); | 0 |
1489 | returnexecuted 1235 times by 4 tests: return name; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTimeEdit
name;executed 1235 times by 4 tests: return name; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTimeEdit
| 1235 |
1490 | } | - |
1491 | QString QLocale::dayName(int day, FormatType type) const | - |
1492 | { | - |
1493 | if (day < 1TRUE | 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
|
|| day > 7TRUE | 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 |
1494 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
1495 | | - |
1496 | | - |
1497 | 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 |
1498 | QVariant res = systemLocale()->query(type == LongFormat | - |
1499 | ? QSystemLocale::DayNameLong : QSystemLocale::DayNameShort, | - |
1500 | day); | - |
1501 | 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 |
1502 | returnexecuted 1306 times by 6 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_qmakelib
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 |
1503 | } never executed: end of block | 0 |
1504 | | - |
1505 | if (day == 7TRUE | 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 |
1506 | 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 |
1507 | | - |
1508 | quint32 idx, size; | - |
1509 | switch (type) { | - |
1510 | caseexecuted 7160 times by 4 tests: case QLocale::LongFormat: Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
QLocale::LongFormat:executed 7160 times by 4 tests: case QLocale::LongFormat: Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 7160 |
1511 | idx = d->m_data->m_long_day_names_idx; | - |
1512 | size = d->m_data->m_long_day_names_size; | - |
1513 | break;executed 7160 times by 4 tests: break; Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 7160 |
1514 | caseexecuted 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
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 |
1515 | idx = d->m_data->m_short_day_names_idx; | - |
1516 | size = d->m_data->m_short_day_names_size; | - |
1517 | 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 |
1518 | case never executed: case QLocale::NarrowFormat: QLocale::NarrowFormat:never executed: case QLocale::NarrowFormat: | 0 |
1519 | idx = d->m_data->m_narrow_day_names_idx; | - |
1520 | size = d->m_data->m_narrow_day_names_size; | - |
1521 | break; never executed: break; | 0 |
1522 | default never executed: default: :never executed: default: | 0 |
1523 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
1524 | } | - |
1525 | returnexecuted 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
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 |
1526 | } | - |
1527 | QString QLocale::standaloneDayName(int day, FormatType type) const | - |
1528 | { | - |
1529 | if (day < 1TRUE | never evaluated | FALSE | evaluated 28 times by 1 test |
|| day > 7TRUE | never evaluated | FALSE | evaluated 28 times by 1 test |
) | 0-28 |
1530 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
1531 | | - |
1532 | | - |
1533 | if (d->m_data == systemData()TRUE | evaluated 28 times by 1 test | FALSE | never evaluated |
) { | 0-28 |
1534 | QVariant res = systemLocale()->query(type == LongFormat | - |
1535 | ? QSystemLocale::DayNameLong : QSystemLocale::DayNameShort, | - |
1536 | day); | - |
1537 | if (!res.isNull()TRUE | evaluated 28 times by 1 test | FALSE | never evaluated |
) | 0-28 |
1538 | returnexecuted 28 times by 1 test: return res.toString(); res.toString();executed 28 times by 1 test: return res.toString(); | 28 |
1539 | } never executed: end of block | 0 |
1540 | | - |
1541 | if (day == 7TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1542 | day = 0; never executed: day = 0; | 0 |
1543 | | - |
1544 | quint32 idx, size; | - |
1545 | switch (type) { | - |
1546 | case never executed: case QLocale::LongFormat: QLocale::LongFormat:never executed: case QLocale::LongFormat: | 0 |
1547 | idx = d->m_data->m_standalone_long_day_names_idx; | - |
1548 | size = d->m_data->m_standalone_long_day_names_size; | - |
1549 | break; never executed: break; | 0 |
1550 | case never executed: case QLocale::ShortFormat: QLocale::ShortFormat:never executed: case QLocale::ShortFormat: | 0 |
1551 | idx = d->m_data->m_standalone_short_day_names_idx; | - |
1552 | size = d->m_data->m_standalone_short_day_names_size; | - |
1553 | break; never executed: break; | 0 |
1554 | case never executed: case QLocale::NarrowFormat: QLocale::NarrowFormat:never executed: case QLocale::NarrowFormat: | 0 |
1555 | idx = d->m_data->m_standalone_narrow_day_names_idx; | - |
1556 | size = d->m_data->m_standalone_narrow_day_names_size; | - |
1557 | break; never executed: break; | 0 |
1558 | default never executed: default: :never executed: default: | 0 |
1559 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
1560 | } | - |
1561 | QString name = getLocaleListData(days_data + idx, size, day); | - |
1562 | if (name.isEmpty()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1563 | return never executed: return dayName(day == 0 ? 7 : day, type); dayName(day == 0 ? 7 : day, type);never executed: return dayName(day == 0 ? 7 : day, type); | 0 |
1564 | return never executed: return name; name;never executed: return name; | 0 |
1565 | } | - |
1566 | | - |
1567 | | - |
1568 | | - |
1569 | | - |
1570 | | - |
1571 | | - |
1572 | Qt::DayOfWeek QLocale::firstDayOfWeek() const | - |
1573 | { | - |
1574 | | - |
1575 | 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 |
1576 | QVariant res = systemLocale()->query(QSystemLocale::FirstDayOfWeek, QVariant()); | - |
1577 | if (!res.isNull()TRUE | evaluated 22 times by 2 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
| FALSE | never evaluated |
) | 0-22 |
1578 | returnexecuted 22 times by 2 tests: return static_cast<Qt::DayOfWeek>(res.toUInt()); Executed by:- tst_QAccessibility
- tst_QCalendarWidget
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 |
1579 | } never executed: end of block | 0 |
1580 | | - |
1581 | returnexecuted 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
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 |
1582 | } | - |
1583 | | - |
1584 | QLocale::MeasurementSystem QLocalePrivate::measurementSystem() const | - |
1585 | { | - |
1586 | for (int i = 0; i < ImperialMeasurementSystemsCountTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
; ++i) { | 0-2 |
1587 | if (ImperialMeasurementSystems[i].languageId == m_data->m_language_idTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-2 |
1588 | && ImperialMeasurementSystems[i].countryId == m_data->m_country_idTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-2 |
1589 | returnexecuted 2 times by 1 test: return ImperialMeasurementSystems[i].system; ImperialMeasurementSystems[i].system;executed 2 times by 1 test: return ImperialMeasurementSystems[i].system; | 2 |
1590 | } | - |
1591 | } never executed: end of block | 0 |
1592 | return never executed: return QLocale::MetricSystem; QLocale::MetricSystem;never executed: return QLocale::MetricSystem; | 0 |
1593 | } | - |
1594 | | - |
1595 | | - |
1596 | | - |
1597 | | - |
1598 | | - |
1599 | | - |
1600 | QList<Qt::DayOfWeek> QLocale::weekdays() const | - |
1601 | { | - |
1602 | | - |
1603 | if (d->m_data == systemData()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1604 | QVariant res = systemLocale()->query(QSystemLocale::Weekdays, QVariant()); | - |
1605 | if (!res.isNull()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1606 | return never executed: return static_cast<QList<Qt::DayOfWeek> >(res.value<QList<Qt::DayOfWeek> >()); static_cast<QList<Qt::DayOfWeek> >(res.value<QList<Qt::DayOfWeek> >());never executed: return static_cast<QList<Qt::DayOfWeek> >(res.value<QList<Qt::DayOfWeek> >()); | 0 |
1607 | } never executed: end of block | 0 |
1608 | | - |
1609 | QList<Qt::DayOfWeek> weekdays; | - |
1610 | quint16 weekendStart = d->m_data->m_weekend_start; | - |
1611 | quint16 weekendEnd = d->m_data->m_weekend_end; | - |
1612 | for (int day = Qt::Monday; day <= Qt::SundayTRUE | never evaluated | FALSE | never evaluated |
; day++) { | 0 |
1613 | if ((weekendEnd >= weekendStartTRUE | never evaluated | FALSE | never evaluated |
&& (day < weekendStartTRUE | never evaluated | FALSE | never evaluated |
|| day > weekendEndTRUE | never evaluated | FALSE | never evaluated |
)) || | 0 |
1614 | (weekendEnd < weekendStartTRUE | never evaluated | FALSE | never evaluated |
&& (day > weekendEndTRUE | never evaluated | FALSE | never evaluated |
&& day < weekendStartTRUE | never evaluated | FALSE | never evaluated |
))) | 0 |
1615 | weekdays << static_cast<Qt::DayOfWeek>(day); never executed: weekdays << static_cast<Qt::DayOfWeek>(day); | 0 |
1616 | } never executed: end of block | 0 |
1617 | return never executed: return weekdays; weekdays;never executed: return weekdays; | 0 |
1618 | } | - |
1619 | | - |
1620 | | - |
1621 | | - |
1622 | | - |
1623 | | - |
1624 | | - |
1625 | QLocale::MeasurementSystem QLocale::measurementSystem() const | - |
1626 | { | - |
1627 | | - |
1628 | if (d->m_data == systemData()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { | 2 |
1629 | QVariant res = systemLocale()->query(QSystemLocale::MeasurementSystem, QVariant()); | - |
1630 | if (!res.isNull()TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
1631 | returnexecuted 2 times by 1 test: return MeasurementSystem(res.toInt()); MeasurementSystem(res.toInt());executed 2 times by 1 test: return MeasurementSystem(res.toInt()); | 2 |
1632 | } never executed: end of block | 0 |
1633 | | - |
1634 | | - |
1635 | returnexecuted 2 times by 1 test: return d->measurementSystem(); d->measurementSystem();executed 2 times by 1 test: return d->measurementSystem(); | 2 |
1636 | } | - |
1637 | | - |
1638 | | - |
1639 | | - |
1640 | | - |
1641 | | - |
1642 | | - |
1643 | Qt::LayoutDirection QLocale::textDirection() const | - |
1644 | { | - |
1645 | switch (script()) { | - |
1646 | case never executed: case QLocale::ArabicScript: QLocale::ArabicScript:never executed: case QLocale::ArabicScript: | 0 |
1647 | case never executed: case QLocale::AvestanScript: QLocale::AvestanScript:never executed: case QLocale::AvestanScript: | 0 |
1648 | case never executed: case QLocale::CypriotScript: QLocale::CypriotScript:never executed: case QLocale::CypriotScript: | 0 |
1649 | case never executed: case QLocale::HebrewScript: QLocale::HebrewScript:never executed: case QLocale::HebrewScript: | 0 |
1650 | case never executed: case QLocale::ImperialAramaicScript: QLocale::ImperialAramaicScript:never executed: case QLocale::ImperialAramaicScript: | 0 |
1651 | case never executed: case QLocale::InscriptionalPahlaviScript: QLocale::InscriptionalPahlaviScript:never executed: case QLocale::InscriptionalPahlaviScript: | 0 |
1652 | case never executed: case QLocale::InscriptionalParthianScript: QLocale::InscriptionalParthianScript:never executed: case QLocale::InscriptionalParthianScript: | 0 |
1653 | case never executed: case QLocale::KharoshthiScript: QLocale::KharoshthiScript:never executed: case QLocale::KharoshthiScript: | 0 |
1654 | case never executed: case QLocale::LydianScript: QLocale::LydianScript:never executed: case QLocale::LydianScript: | 0 |
1655 | case never executed: case QLocale::MandaeanScript: QLocale::MandaeanScript:never executed: case QLocale::MandaeanScript: | 0 |
1656 | case never executed: case QLocale::ManichaeanScript: QLocale::ManichaeanScript:never executed: case QLocale::ManichaeanScript: | 0 |
1657 | case never executed: case QLocale::MendeKikakuiScript: QLocale::MendeKikakuiScript:never executed: case QLocale::MendeKikakuiScript: | 0 |
1658 | case never executed: case QLocale::MeroiticCursiveScript: QLocale::MeroiticCursiveScript:never executed: case QLocale::MeroiticCursiveScript: | 0 |
1659 | case never executed: case QLocale::MeroiticScript: QLocale::MeroiticScript:never executed: case QLocale::MeroiticScript: | 0 |
1660 | case never executed: case QLocale::NabataeanScript: QLocale::NabataeanScript:never executed: case QLocale::NabataeanScript: | 0 |
1661 | case never executed: case QLocale::NkoScript: QLocale::NkoScript:never executed: case QLocale::NkoScript: | 0 |
1662 | case never executed: case QLocale::OldNorthArabianScript: QLocale::OldNorthArabianScript:never executed: case QLocale::OldNorthArabianScript: | 0 |
1663 | case never executed: case QLocale::OldSouthArabianScript: QLocale::OldSouthArabianScript:never executed: case QLocale::OldSouthArabianScript: | 0 |
1664 | case never executed: case QLocale::OrkhonScript: QLocale::OrkhonScript:never executed: case QLocale::OrkhonScript: | 0 |
1665 | case never executed: case QLocale::PalmyreneScript: QLocale::PalmyreneScript:never executed: case QLocale::PalmyreneScript: | 0 |
1666 | case never executed: case QLocale::PhoenicianScript: QLocale::PhoenicianScript:never executed: case QLocale::PhoenicianScript: | 0 |
1667 | case never executed: case QLocale::PsalterPahlaviScript: QLocale::PsalterPahlaviScript:never executed: case QLocale::PsalterPahlaviScript: | 0 |
1668 | case never executed: case QLocale::SamaritanScript: QLocale::SamaritanScript:never executed: case QLocale::SamaritanScript: | 0 |
1669 | case never executed: case QLocale::SyriacScript: QLocale::SyriacScript:never executed: case QLocale::SyriacScript: | 0 |
1670 | case never executed: case QLocale::ThaanaScript: QLocale::ThaanaScript:never executed: case QLocale::ThaanaScript: | 0 |
1671 | return never executed: return Qt::RightToLeft; Qt::RightToLeft;never executed: return Qt::RightToLeft; | 0 |
1672 | defaultexecuted 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
- ...
: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 |
1673 | 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 |
1674 | } | - |
1675 | returnexecuted 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
- ...
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 |
1676 | } | - |
1677 | QString QLocale::toUpper(const QString &str) const | - |
1678 | { | - |
1679 | | - |
1680 | bool ok = true; | - |
1681 | QString result = QIcu::toUpper(d->bcp47Name('_'), str, &ok); | - |
1682 | if (okTRUE | evaluated 3 times by 1 test | FALSE | never evaluated |
) | 0-3 |
1683 | returnexecuted 3 times by 1 test: return result; result;executed 3 times by 1 test: return result; | 3 |
1684 | | - |
1685 | | - |
1686 | return never executed: return str.toUpper(); str.toUpper();never executed: return str.toUpper(); | 0 |
1687 | } | - |
1688 | QString QLocale::toLower(const QString &str) const | - |
1689 | { | - |
1690 | | - |
1691 | bool ok = true; | - |
1692 | const QString result = QIcu::toLower(d->bcp47Name('_'), str, &ok); | - |
1693 | if (okTRUE | evaluated 5 times by 1 test | FALSE | never evaluated |
) | 0-5 |
1694 | returnexecuted 5 times by 1 test: return result; result;executed 5 times by 1 test: return result; | 5 |
1695 | | - |
1696 | | - |
1697 | return never executed: return str.toLower(); str.toLower();never executed: return str.toLower(); | 0 |
1698 | } | - |
1699 | QString QLocale::amText() const | - |
1700 | { | - |
1701 | | - |
1702 | 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 |
1703 | QVariant res = systemLocale()->query(QSystemLocale::AMText, QVariant()); | - |
1704 | 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 |
1705 | returnexecuted 744 times by 5 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QTime
res.toString();executed 744 times by 5 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QTime
| 744 |
1706 | } never executed: end of block | 0 |
1707 | | - |
1708 | returnexecuted 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
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 |
1709 | } | - |
1710 | QString QLocale::pmText() const | - |
1711 | { | - |
1712 | | - |
1713 | 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 |
1714 | QVariant res = systemLocale()->query(QSystemLocale::PMText, QVariant()); | - |
1715 | if (!res.isNull()TRUE | evaluated 178 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QTime
| FALSE | never evaluated |
) | 0-178 |
1716 | returnexecuted 178 times by 4 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QTime
res.toString();executed 178 times by 4 tests: return res.toString(); Executed by:- tst_QAccessibility
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QTime
| 178 |
1717 | } never executed: end of block | 0 |
1718 | | - |
1719 | returnexecuted 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
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 |
1720 | } | - |
1721 | | - |
1722 | | - |
1723 | QString QLocalePrivate::dateTimeToString(const QString &format, const QDateTime &datetime, | - |
1724 | const QDate &dateOnly, const QTime &timeOnly, | - |
1725 | const QLocale *q) const | - |
1726 | { | - |
1727 | QDate date; | - |
1728 | QTime time; | - |
1729 | bool formatDate = false; | - |
1730 | bool formatTime = false; | - |
1731 | 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 |
1732 | date = datetime.date(); | - |
1733 | time = datetime.time(); | - |
1734 | formatDate = true; | - |
1735 | formatTime = true; | - |
1736 | }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
- ...
else if (dateOnly.isValid()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 |
1737 | date = dateOnly; | - |
1738 | formatDate = true; | - |
1739 | }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
else if (timeOnly.isValid()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 |
1740 | time = timeOnly; | - |
1741 | formatTime = true; | - |
1742 | }executed 14094 times by 6 tests: end of block Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
- tst_QMetaType
- tst_QTime
- tst_QVariant
else { | 14094 |
1743 | returnexecuted 4 times by 3 tests: return QString(); Executed by:- tst_QDate
- tst_QTime
- tst_QVariant
QString();executed 4 times by 3 tests: return QString(); Executed by:- tst_QDate
- tst_QTime
- tst_QVariant
| 4 |
1744 | } | - |
1745 | | - |
1746 | QString result; | - |
1747 | | - |
1748 | int i = 0; | - |
1749 | 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 |
1750 | 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 |
1751 | result.append(qt_readEscapedFormatString(format, &i)); | - |
1752 | continue;executed 727 times by 6 tests: continue; Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 727 |
1753 | } | - |
1754 | | - |
1755 | const QChar c = format.at(i); | - |
1756 | int repeat = qt_repeatCount(format, i); | - |
1757 | bool used = false; | - |
1758 | if (formatDateTRUE | 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 |
1759 | switch (c.unicode()) { | - |
1760 | caseexecuted 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
- ...
'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 |
1761 | used = true; | - |
1762 | if (repeat >= 4TRUE | 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 |
1763 | 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 |
1764 | else if (repeat >= 2TRUE | 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 |
1765 | 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 |
1766 | | - |
1767 | switch (repeat) { | - |
1768 | caseexecuted 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
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 |
1769 | const int yr = date.year(); | - |
1770 | const int len = (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
|
yr < 0)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
|
? 5 : 4; | 440-18337 |
1771 | result.append(m_data->longLongToString(yr, -1, 10, len, QLocaleData::ZeroPadded)); | - |
1772 | 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 |
1773 | } | - |
1774 | caseexecuted 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
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 |
1775 | result.append(m_data->longLongToString(date.year() % 100, -1, 10, 2, | - |
1776 | QLocaleData::ZeroPadded)); | - |
1777 | 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 |
1778 | default never executed: default: :never executed: default: | 0 |
1779 | repeat = 1; | - |
1780 | result.append(c); | - |
1781 | break; never executed: break; | 0 |
1782 | } | - |
1783 | 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 |
1784 | | - |
1785 | caseexecuted 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
- ...
'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 |
1786 | used = true; | - |
1787 | repeat = qMin(repeat, 4); | - |
1788 | switch (repeat) { | - |
1789 | caseexecuted 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
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 |
1790 | result.append(m_data->longLongToString(date.month())); | - |
1791 | 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 |
1792 | caseexecuted 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
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 |
1793 | result.append(m_data->longLongToString(date.month(), -1, 10, 2, QLocaleData::ZeroPadded)); | - |
1794 | 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 |
1795 | caseexecuted 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
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 |
1796 | result.append(q->monthName(date.month(), QLocale::ShortFormat)); | - |
1797 | 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 |
1798 | caseexecuted 117 times by 4 tests: case 4: Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
4:executed 117 times by 4 tests: case 4: Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 117 |
1799 | result.append(q->monthName(date.month(), QLocale::LongFormat)); | - |
1800 | break;executed 117 times by 4 tests: break; Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 117 |
1801 | } | - |
1802 | 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 |
1803 | | - |
1804 | caseexecuted 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
- ...
'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 |
1805 | used = true; | - |
1806 | repeat = qMin(repeat, 4); | - |
1807 | switch (repeat) { | - |
1808 | caseexecuted 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
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 |
1809 | result.append(m_data->longLongToString(date.day())); | - |
1810 | 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 |
1811 | caseexecuted 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
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 |
1812 | result.append(m_data->longLongToString(date.day(), -1, 10, 2, QLocaleData::ZeroPadded)); | - |
1813 | 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 |
1814 | caseexecuted 727 times by 6 tests: case 3: Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
3:executed 727 times by 6 tests: case 3: Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 727 |
1815 | result.append(q->dayName(date.dayOfWeek(), QLocale::ShortFormat)); | - |
1816 | break;executed 727 times by 6 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QDateTimeEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlStream
| 727 |
1817 | caseexecuted 482 times by 4 tests: case 4: Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
4:executed 482 times by 4 tests: case 4: Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 482 |
1818 | result.append(q->dayName(date.dayOfWeek(), QLocale::LongFormat)); | - |
1819 | break;executed 482 times by 4 tests: break; Executed by:- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QItemDelegate
| 482 |
1820 | } | - |
1821 | 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 |
1822 | | - |
1823 | defaultexecuted 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
- ...
: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 |
1824 | 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 |
1825 | } | - |
1826 | } | - |
1827 | if (!usedTRUE | 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
- ...
|
&& formatTimeTRUE | 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 |
1828 | switch (c.unicode()) { | - |
1829 | caseexecuted 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
- ...
'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 |
1830 | used = true; | - |
1831 | repeat = qMin(repeat, 2); | - |
1832 | int hour = time.hour(); | - |
1833 | 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 |
1834 | if (hour > 12TRUE | 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 |
1835 | 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 |
1836 | else if (hour == 0TRUE | 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 |
1837 | hour = 12;executed 156 times by 5 tests: hour = 12; Executed by:- tst_QAccessibility
- tst_QDateTimeEdit
- tst_QFiledialog
- tst_QItemDelegate
- tst_QItemModel
| 156 |
1838 | }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 |
1839 | | - |
1840 | switch (repeat) { | - |
1841 | caseexecuted 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
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 |
1842 | result.append(m_data->longLongToString(hour)); | - |
1843 | 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 |
1844 | caseexecuted 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
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 |
1845 | result.append(m_data->longLongToString(hour, -1, 10, 2, QLocaleData::ZeroPadded)); | - |
1846 | 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 |
1847 | } | - |
1848 | 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 |
1849 | } | - |
1850 | caseexecuted 185 times by 4 tests: case 'H': Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNoDebug
- tst_QTime
'H':executed 185 times by 4 tests: case 'H': Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNoDebug
- tst_QTime
| 185 |
1851 | used = true; | - |
1852 | repeat = qMin(repeat, 2); | - |
1853 | switch (repeat) { | - |
1854 | case never executed: case 1: 1:never executed: case 1: | 0 |
1855 | result.append(m_data->longLongToString(time.hour())); | - |
1856 | break; never executed: break; | 0 |
1857 | caseexecuted 185 times by 4 tests: case 2: Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNoDebug
- tst_QTime
2:executed 185 times by 4 tests: case 2: Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNoDebug
- tst_QTime
| 185 |
1858 | result.append(m_data->longLongToString(time.hour(), -1, 10, 2, QLocaleData::ZeroPadded)); | - |
1859 | break;executed 185 times by 4 tests: break; Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNoDebug
- tst_QTime
| 185 |
1860 | } | - |
1861 | break;executed 185 times by 4 tests: break; Executed by:- tst_QDateTime
- tst_QDateTimeEdit
- tst_QNoDebug
- tst_QTime
| 185 |
1862 | | - |
1863 | caseexecuted 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
- ...
'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 |
1864 | used = true; | - |
1865 | repeat = qMin(repeat, 2); | - |
1866 | switch (repeat) { | - |
1867 | caseexecuted 89 times by 2 tests: case 1: Executed by:- tst_QDateTimeEdit
- tst_QTime
1:executed 89 times by 2 tests: case 1: Executed by:- tst_QDateTimeEdit
- tst_QTime
| 89 |
1868 | result.append(m_data->longLongToString(time.minute())); | - |
1869 | break;executed 89 times by 2 tests: break; Executed by:- tst_QDateTimeEdit
- tst_QTime
| 89 |
1870 | caseexecuted 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
- ...
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 |
1871 | result.append(m_data->longLongToString(time.minute(), -1, 10, 2, QLocaleData::ZeroPadded)); | - |
1872 | 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 |
1873 | } | - |
1874 | 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 |
1875 | | - |
1876 | caseexecuted 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
'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 |
1877 | used = true; | - |
1878 | repeat = qMin(repeat, 2); | - |
1879 | switch (repeat) { | - |
1880 | caseexecuted 83 times by 2 tests: case 1: Executed by:- tst_QDateTimeEdit
- tst_QTime
1:executed 83 times by 2 tests: case 1: Executed by:- tst_QDateTimeEdit
- tst_QTime
| 83 |
1881 | result.append(m_data->longLongToString(time.second())); | - |
1882 | break;executed 83 times by 2 tests: break; Executed by:- tst_QDateTimeEdit
- tst_QTime
| 83 |
1883 | caseexecuted 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
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 |
1884 | result.append(m_data->longLongToString(time.second(), -1, 10, 2, QLocaleData::ZeroPadded)); | - |
1885 | 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 |
1886 | } | - |
1887 | 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 |
1888 | | - |
1889 | caseexecuted 763 times by 2 tests: case 'a': Executed by:- tst_QDateTimeEdit
- tst_QTime
'a':executed 763 times by 2 tests: case 'a': Executed by:- tst_QDateTimeEdit
- tst_QTime
| 763 |
1890 | used = true; | - |
1891 | if (i + 1 < format.length()TRUE | evaluated 725 times by 2 testsEvaluated by:- tst_QDateTimeEdit
- tst_QTime
| FALSE | evaluated 38 times by 1 test |
&& format.at(i + 1).unicode() == 'p'TRUE | evaluated 725 times by 2 testsEvaluated by:- tst_QDateTimeEdit
- tst_QTime
| FALSE | never evaluated |
) { | 0-725 |
1892 | repeat = 2; | - |
1893 | }executed 725 times by 2 tests: end of block Executed by:- tst_QDateTimeEdit
- tst_QTime
else { | 725 |
1894 | repeat = 1; | - |
1895 | }executed 38 times by 1 test: end of block | 38 |
1896 | result.append(time.hour() < 12 ? q->amText().toLower() : q->pmText().toLower()); | - |
1897 | break;executed 763 times by 2 tests: break; Executed by:- tst_QDateTimeEdit
- tst_QTime
| 763 |
1898 | | - |
1899 | caseexecuted 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
'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 |
1900 | used = true; | - |
1901 | if (i + 1 < format.length()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 |
&& 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 |
) { | 0-2870 |
1902 | repeat = 2; | - |
1903 | }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
else { | 2870 |
1904 | repeat = 1; | - |
1905 | } never executed: end of block | 0 |
1906 | result.append(time.hour() < 12 ? q->amText().toUpper() : q->pmText().toUpper()); | - |
1907 | 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 |
1908 | | - |
1909 | caseexecuted 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
'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 |
1910 | used = true; | - |
1911 | if (repeat >= 3TRUE | 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 |
1912 | repeat = 3; | - |
1913 | }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
else { | 16427 |
1914 | repeat = 1; | - |
1915 | }executed 78 times by 2 tests: end of block Executed by:- tst_QDateTimeEdit
- tst_QTime
| 78 |
1916 | switch (repeat) { | - |
1917 | caseexecuted 78 times by 2 tests: case 1: Executed by:- tst_QDateTimeEdit
- tst_QTime
1:executed 78 times by 2 tests: case 1: Executed by:- tst_QDateTimeEdit
- tst_QTime
| 78 |
1918 | result.append(m_data->longLongToString(time.msec())); | - |
1919 | break;executed 78 times by 2 tests: break; Executed by:- tst_QDateTimeEdit
- tst_QTime
| 78 |
1920 | caseexecuted 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
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 |
1921 | result.append(m_data->longLongToString(time.msec(), -1, 10, 3, QLocaleData::ZeroPadded)); | - |
1922 | 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 |
1923 | } | - |
1924 | 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 |
1925 | | - |
1926 | caseexecuted 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
'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 |
1927 | used = true; | - |
1928 | repeat = 1; | - |
1929 | | - |
1930 | if (formatDateTRUE | 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 |
1931 | result.append(datetime.timeZoneAbbreviation()); | - |
1932 | }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
else { | 2171 |
1933 | result.append(QDateTime::currentDateTime().timeZoneAbbreviation()); | - |
1934 | }executed 11 times by 2 tests: end of block Executed by:- tst_QItemDelegate
- tst_QTime
| 11 |
1935 | 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 |
1936 | | - |
1937 | defaultexecuted 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
- ...
: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 |
1938 | 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 |
1939 | } | - |
1940 | } | - |
1941 | if (!usedTRUE | 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 |
1942 | result.append(QString(repeat, c)); | - |
1943 | }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 |
1944 | i += repeat; | - |
1945 | }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 |
1946 | | - |
1947 | returnexecuted 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
- ...
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 |
1948 | } | - |
1949 | | - |
1950 | QString QLocaleData::doubleToString(double d, int precision, DoubleForm form, | - |
1951 | int width, unsigned flags) const | - |
1952 | { | - |
1953 | returnexecuted 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
- ...
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 |
1954 | 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 |
1955 | } | - |
1956 | | - |
1957 | QString QLocaleData::doubleToString(const QChar _zero, const QChar plus, const QChar minus, | - |
1958 | const QChar exponential, const QChar group, const QChar decimal, | - |
1959 | double d, int precision, DoubleForm form, int width, unsigned flags) | - |
1960 | { | - |
1961 | if (precision < 0TRUE | 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 |
1962 | 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 |
1963 | if (width < 0TRUE | 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 |
1964 | 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 |
1965 | | - |
1966 | bool negative = false; | - |
1967 | bool special_number = false; | - |
1968 | QString num_str; | - |
1969 | | - |
1970 | | - |
1971 | 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 |
1972 | num_str = QString::fromLatin1("inf"); | - |
1973 | special_number = true; | - |
1974 | negative = d < 0; | - |
1975 | }executed 550 times by 4 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QString
- tst_QTextStream
- tst_QVariant
else if (qt_is_nan(d)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 |
1976 | num_str = QString::fromLatin1("nan"); | - |
1977 | special_number = true; | - |
1978 | }executed 262 times by 3 tests: end of block Executed by:- tst_QDBusMarshall
- tst_QString
- tst_QTextStream
| 262 |
1979 | | - |
1980 | | - |
1981 | if (!special_numberTRUE | 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 |
1982 | int decpt, sign; | - |
1983 | QString digits; | - |
1984 | | - |
1985 | int mode; | - |
1986 | if (form == DFDecimalTRUE | 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 |
1987 | 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 |
1988 | else | - |
1989 | 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 |
1990 | | - |
1991 | | - |
1992 | | - |
1993 | | - |
1994 | | - |
1995 | | - |
1996 | | - |
1997 | int pr = precision; | - |
1998 | if (form == DFExponentTRUE | 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 |
1999 | ++executed 17 times by 3 tests: ++pr; Executed by:- tst_QString
- tst_QStringRef
- tst_QTextStream
pr;executed 17 times by 3 tests: ++pr; Executed by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| 17 |
2000 | | - |
2001 | char *rve = 0; | - |
2002 | char *buff = 0; | - |
2003 | try { | - |
2004 | digits = QLatin1String(qdtoa(d, mode, pr, &decpt, &sign, &rve, &buff)); | - |
2005 | }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
- ...
catch (...) { | 109846 |
2006 | if (buff != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2007 | free(buff); never executed: free(buff); | 0 |
2008 | throw; never executed: throw; | 0 |
2009 | } | - |
2010 | if (buff != 0TRUE | 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 |
2011 | 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 |
2012 | | - |
2013 | 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 |
2014 | ushort z = _zero.unicode() - '0'; | - |
2015 | for (int i = 0; i < digits.length()TRUE | evaluated 7 times by 1 test | FALSE | evaluated 1 time by 1 test |
; ++i) | 1-7 |
2016 | reinterpret_cast<executed 7 times by 1 test: reinterpret_cast<ushort *>(digits.data())[i] += z; ushort *>(digits.data())[i] += z;executed 7 times by 1 test: reinterpret_cast<ushort *>(digits.data())[i] += z; | 7 |
2017 | }executed 1 time by 1 test: end of block | 1 |
2018 | | - |
2019 | bool always_show_decpt = (flags & AlternateTRUE | 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
- ...
|
|| flags & ForcePointTRUE | 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 |
2020 | switch (form) { | - |
2021 | caseexecuted 17 times by 3 tests: case DFExponent: Executed by:- tst_QString
- tst_QStringRef
- tst_QTextStream
DFExponent:executed 17 times by 3 tests: case DFExponent: Executed by:- tst_QString
- tst_QStringRef
- tst_QTextStream
{ | 17 |
2022 | num_str = exponentForm(_zero, decimal, exponential, group, plus, minus, | - |
2023 | digits, decpt, precision, PMDecimalDigits, | - |
2024 | always_show_decpt); | - |
2025 | break;executed 17 times by 3 tests: break; Executed by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| 17 |
2026 | } | - |
2027 | caseexecuted 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
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 |
2028 | num_str = decimalForm(_zero, decimal, group, | - |
2029 | digits, decpt, precision, PMDecimalDigits, | - |
2030 | always_show_decpt, flags & ThousandsGroup); | - |
2031 | 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 |
2032 | } | - |
2033 | caseexecuted 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
- ...
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 |
2034 | PrecisionMode mode = (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
- ...
|
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 |
2035 | PMSignificantDigits : PMChopTrailingZeros; | - |
2036 | | - |
2037 | if (decpt != digits.length()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
- ...
|
&& (decpt <= -4TRUE | 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
- ...
|
|| decpt > precisionTRUE | 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 |
2038 | 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 |
2039 | 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 |
2040 | 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 |
2041 | else | - |
2042 | 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 |
2043 | 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 |
2044 | 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 |
2045 | 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 |
2046 | } | - |
2047 | } | - |
2048 | | - |
2049 | negative = sign != 0TRUE | 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
- ...
|
&& !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 | never evaluated |
; | 0-87689 |
2050 | }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 |
2051 | | - |
2052 | | - |
2053 | | - |
2054 | 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 |
2055 | && !(flags & QLocaleData::LeftAdjusted)TRUE | evaluated 2501 times by 1 test | FALSE | evaluated 2496 times by 1 test |
| 2496-2501 |
2056 | && !special_numberTRUE | evaluated 2309 times by 1 test | FALSE | evaluated 192 times by 1 test |
) { | 192-2309 |
2057 | int num_pad_chars = width - num_str.length(); | - |
2058 | | - |
2059 | if (negativeTRUE | evaluated 66 times by 1 test | FALSE | evaluated 2243 times by 1 test |
| 66-2243 |
2060 | || flags & QLocaleData::AlwaysShowSignTRUE | evaluated 1120 times by 1 test | FALSE | evaluated 1123 times by 1 test |
| 1120-1123 |
2061 | || flags & QLocaleData::BlankBeforePositiveTRUE | evaluated 560 times by 1 test | FALSE | evaluated 563 times by 1 test |
) | 560-563 |
2062 | --executed 1746 times by 1 test: --num_pad_chars; num_pad_chars;executed 1746 times by 1 test: --num_pad_chars; | 1746 |
2063 | | - |
2064 | for (int i = 0; i < num_pad_charsTRUE | evaluated 23653 times by 1 test | FALSE | evaluated 2309 times by 1 test |
; ++i) | 2309-23653 |
2065 | num_str.prepend(_zero);executed 23653 times by 1 test: num_str.prepend(_zero); | 23653 |
2066 | }executed 2309 times by 1 test: end of block | 2309 |
2067 | | - |
2068 | | - |
2069 | if (negativeTRUE | 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 |
2070 | 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 |
2071 | else if (flags & QLocaleData::AlwaysShowSignTRUE | 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 |
2072 | num_str.prepend(plus);executed 4738 times by 2 tests: num_str.prepend(plus); Executed by:- tst_QString
- tst_QTextStream
| 4738 |
2073 | else if (flags & QLocaleData::BlankBeforePositiveTRUE | 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 |
2074 | num_str.prepend(QLatin1Char(' '));executed 2368 times by 1 test: num_str.prepend(QLatin1Char(' ')); | 2368 |
2075 | | - |
2076 | if (flags & QLocaleData::CapitalEorXTRUE | 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 |
2077 | num_str = num_str.toUpper();executed 4999 times by 2 tests: num_str = num_str.toUpper(); Executed by:- tst_QString
- tst_QTextStream
| 4999 |
2078 | | - |
2079 | returnexecuted 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
- ...
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 |
2080 | } | - |
2081 | | - |
2082 | QString QLocaleData::longLongToString(qlonglong l, int precision, | - |
2083 | int base, int width, | - |
2084 | unsigned flags) const | - |
2085 | { | - |
2086 | returnexecuted 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
- ...
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 |
2087 | 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 |
2088 | } | - |
2089 | | - |
2090 | QString QLocaleData::longLongToString(const QChar zero, const QChar group, | - |
2091 | const QChar plus, const QChar minus, | - |
2092 | qlonglong l, int precision, | - |
2093 | int base, int width, | - |
2094 | unsigned flags) | - |
2095 | { | - |
2096 | bool precision_not_specified = false; | - |
2097 | if (precision == -1TRUE | 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 |
2098 | precision_not_specified = true; | - |
2099 | precision = 1; | - |
2100 | }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 |
2101 | | - |
2102 | bool negative = l < 0; | - |
2103 | if (base != 10TRUE | 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 |
2104 | | - |
2105 | flags &= ~AlwaysShowSign; | - |
2106 | flags &= ~BlankBeforePositive; | - |
2107 | negative = false; | - |
2108 | }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 |
2109 | | - |
2110 | QString num_str; | - |
2111 | if (base == 10TRUE | 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 |
2112 | 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 |
2113 | else | - |
2114 | 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 |
2115 | | - |
2116 | uint cnt_thousand_sep = 0; | - |
2117 | if (flags & ThousandsGroupTRUE | 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
- ...
|
&& base == 10TRUE | 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 |
2118 | for (int i = num_str.length() - 3; i > 0TRUE | 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
|
; i -= 3) { | 247-1892 |
2119 | num_str.insert(i, group); | - |
2120 | ++cnt_thousand_sep; | - |
2121 | }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 |
2122 | }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 |
2123 | | - |
2124 | for (int i = num_str.length() ; i < precisionTRUE | 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
- ...
|
; ++i) | 416137-11731331 |
2125 | 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 |
2126 | | - |
2127 | if ((flags & AlternateTRUE | 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
- ...
|
|| flags & ShowBaseTRUE | 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 |
2128 | && base == 8TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2129 | && (num_str.isEmpty()TRUE | never evaluated | FALSE | never evaluated |
|| num_str[0].unicode() != QLatin1Char('0')TRUE | never evaluated | FALSE | never evaluated |
)) | 0 |
2130 | num_str.prepend(QLatin1Char('0')); never executed: num_str.prepend(QLatin1Char('0')); | 0 |
2131 | | - |
2132 | | - |
2133 | | - |
2134 | 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 |
2135 | && !(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 |
2136 | && precision_not_specifiedTRUE | 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 |
2137 | | - |
2138 | if (zero_paddedTRUE | 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 |
2139 | int num_pad_chars = width - num_str.length(); | - |
2140 | | - |
2141 | | - |
2142 | 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 |
2143 | || 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 |
2144 | || flags & BlankBeforePositiveTRUE | 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 |
2145 | --executed 458 times by 3 tests: --num_pad_chars; Executed by:- tst_QDate
- tst_QDateTime
- tst_QString
num_pad_chars;executed 458 times by 3 tests: --num_pad_chars; Executed by:- tst_QDate
- tst_QDateTime
- tst_QString
| 458 |
2146 | | - |
2147 | | - |
2148 | if (base == 16TRUE | 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
- ...
|
&& (flags & AlternateTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
|| flags & ShowBaseTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
)) | 0-135575 |
2149 | num_pad_chars -= 2; never executed: num_pad_chars -= 2; | 0 |
2150 | | - |
2151 | else if (base == 2TRUE | 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
- ...
|
&& (flags & AlternateTRUE | never evaluated | FALSE | never evaluated |
|| flags & ShowBaseTRUE | never evaluated | FALSE | never evaluated |
)) | 0-135577 |
2152 | num_pad_chars -= 2; never executed: num_pad_chars -= 2; | 0 |
2153 | | - |
2154 | for (int i = 0; i < num_pad_charsTRUE | 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
- ...
|
; ++i) | 65310-135577 |
2155 | 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 |
2156 | }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 |
2157 | | - |
2158 | if (flags & CapitalEorXTRUE | 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 |
2159 | num_str = num_str.toUpper(); never executed: num_str = num_str.toUpper(); | 0 |
2160 | | - |
2161 | if (base == 16TRUE | 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
- ...
|
&& (flags & AlternateTRUE | 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
|
|| flags & ShowBaseTRUE | 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 |
2162 | num_str.prepend(QLatin1String(flags & UppercaseBase ? "0X" : "0x")); never executed: num_str.prepend(QLatin1String(flags & UppercaseBase ? "0X" : "0x")); | 0 |
2163 | if (base == 2TRUE | 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
- ...
|
&& (flags & AlternateTRUE | never evaluated | FALSE | evaluated 9 times by 1 test |
|| flags & ShowBaseTRUE | never evaluated | FALSE | evaluated 9 times by 1 test |
)) | 0-11731322 |
2164 | num_str.prepend(QLatin1String(flags & UppercaseBase ? "0B" : "0b")); never executed: num_str.prepend(QLatin1String(flags & UppercaseBase ? "0B" : "0b")); | 0 |
2165 | | - |
2166 | | - |
2167 | if (negativeTRUE | 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 |
2168 | 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 |
2169 | else if (flags & AlwaysShowSignTRUE | 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 |
2170 | 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 |
2171 | else if (flags & BlankBeforePositiveTRUE | 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 |
2172 | num_str.prepend(QLatin1Char(' ')); never executed: num_str.prepend(QLatin1Char(' ')); | 0 |
2173 | | - |
2174 | returnexecuted 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
- ...
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 |
2175 | } | - |
2176 | | - |
2177 | QString QLocaleData::unsLongLongToString(qulonglong l, int precision, | - |
2178 | int base, int width, | - |
2179 | unsigned flags) const | - |
2180 | { | - |
2181 | returnexecuted 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
- ...
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 |
2182 | 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 |
2183 | } | - |
2184 | | - |
2185 | QString QLocaleData::unsLongLongToString(const QChar zero, const QChar group, | - |
2186 | const QChar plus, | - |
2187 | qulonglong l, int precision, | - |
2188 | int base, int width, | - |
2189 | unsigned flags) | - |
2190 | { | - |
2191 | bool precision_not_specified = false; | - |
2192 | if (precision == -1TRUE | 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 |
2193 | precision_not_specified = true; | - |
2194 | precision = 1; | - |
2195 | }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 |
2196 | | - |
2197 | QString num_str = qulltoa(l, base, zero); | - |
2198 | | - |
2199 | uint cnt_thousand_sep = 0; | - |
2200 | if (flags & ThousandsGroupTRUE | 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
- ...
|
&& base == 10TRUE | evaluated 440 times by 3 testsEvaluated by:- tst_QItemDelegate
- tst_QItemModel
- tst_QTextStream
| FALSE | never evaluated |
) { | 0-52844 |
2201 | for (int i = num_str.length() - 3; i > 0TRUE | 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
|
; i -=3) { | 259-440 |
2202 | num_str.insert(i, group); | - |
2203 | ++cnt_thousand_sep; | - |
2204 | }executed 259 times by 3 tests: end of block Executed by:- tst_QItemDelegate
- tst_QItemModel
- tst_QTextStream
| 259 |
2205 | }executed 440 times by 3 tests: end of block Executed by:- tst_QItemDelegate
- tst_QItemModel
- tst_QTextStream
| 440 |
2206 | | - |
2207 | for (int i = num_str.length() ; i < precisionTRUE | 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
- ...
|
; ++i) | 3531-53284 |
2208 | 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 |
2209 | | - |
2210 | if ((flags & AlternateTRUE | 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
- ...
|
|| flags & ShowBaseTRUE | 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 |
2211 | && 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 |
2212 | && (num_str.isEmpty()TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
|| num_str[0].unicode() != QLatin1Char('0')TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
)) | 0-2 |
2213 | num_str.prepend(QLatin1Char('0'));executed 1 time by 1 test: num_str.prepend(QLatin1Char('0')); | 1 |
2214 | | - |
2215 | | - |
2216 | | - |
2217 | 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 |
2218 | && !(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 |
2219 | && precision_not_specifiedTRUE | evaluated 6484 times by 5 testsEvaluated by:- tst_QAlgorithms
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QUrlInternal
| FALSE | never evaluated |
; | 0-6484 |
2220 | | - |
2221 | if (zero_paddedTRUE | 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 |
2222 | int num_pad_chars = width - num_str.length(); | - |
2223 | | - |
2224 | | - |
2225 | if (base == 16TRUE | evaluated 6484 times by 5 testsEvaluated by:- tst_QAlgorithms
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QUrlInternal
| FALSE | never evaluated |
&& flags & AlternateTRUE | never evaluated | FALSE | evaluated 6484 times by 5 testsEvaluated by:- tst_QAlgorithms
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QUrlInternal
|
) | 0-6484 |
2226 | num_pad_chars -= 2; never executed: num_pad_chars -= 2; | 0 |
2227 | | - |
2228 | else if (base == 2TRUE | never evaluated | FALSE | evaluated 6484 times by 5 testsEvaluated by:- tst_QAlgorithms
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QUrlInternal
|
&& flags & AlternateTRUE | never evaluated | FALSE | never evaluated |
) | 0-6484 |
2229 | num_pad_chars -= 2; never executed: num_pad_chars -= 2; | 0 |
2230 | | - |
2231 | for (int i = 0; i < num_pad_charsTRUE | 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
|
; ++i) | 6484-13384 |
2232 | 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 |
2233 | }executed 6484 times by 5 tests: end of block Executed by:- tst_QAlgorithms
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QUrlInternal
| 6484 |
2234 | | - |
2235 | if (flags & CapitalEorXTRUE | 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 |
2236 | num_str = num_str.toUpper();executed 9 times by 1 test: num_str = num_str.toUpper(); | 9 |
2237 | | - |
2238 | if (base == 16TRUE | 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
- ...
|
&& (flags & AlternateTRUE | 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
- ...
|
|| flags & ShowBaseTRUE | 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 |
2239 | 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 |
2240 | else if (base == 2TRUE | 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
- ...
|
&& (flags & AlternateTRUE | never evaluated | FALSE | evaluated 15 times by 1 test |
|| flags & ShowBaseTRUE | evaluated 14 times by 1 test | FALSE | evaluated 1 time by 1 test |
)) | 0-51197 |
2241 | num_str.prepend(QLatin1String(flags & UppercaseBase ? "0B" : "0b"));executed 14 times by 1 test: num_str.prepend(QLatin1String(flags & UppercaseBase ? "0B" : "0b")); | 14 |
2242 | | - |
2243 | | - |
2244 | if (flags & AlwaysShowSignTRUE | 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 |
2245 | num_str.prepend(plus);executed 3 times by 1 test: num_str.prepend(plus); | 3 |
2246 | else if (flags & BlankBeforePositiveTRUE | 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 |
2247 | num_str.prepend(QLatin1Char(' ')); never executed: num_str.prepend(QLatin1Char(' ')); | 0 |
2248 | | - |
2249 | returnexecuted 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
- ...
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 |
2250 | } | - |
2251 | bool QLocaleData::numberToCLocale(const QChar *str, int len, | - |
2252 | GroupSeparatorMode group_sep_mode, | - |
2253 | CharBuff *result) const | - |
2254 | { | - |
2255 | const QChar *uc = str; | - |
2256 | int l = len; | - |
2257 | int idx = 0; | - |
2258 | | - |
2259 | | - |
2260 | while (idx < lTRUE | 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
|
&& uc[idx].isSpace()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 |
2261 | ++executed 268 times by 4 tests: ++idx; Executed by:- tst_QHostAddress
- tst_QString
- tst_QStringRef
- tst_QXmlInputSource
idx;executed 268 times by 4 tests: ++idx; Executed by:- tst_QHostAddress
- tst_QString
- tst_QStringRef
- tst_QXmlInputSource
| 268 |
2262 | if (idx == lTRUE | 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 |
2263 | returnexecuted 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
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 |
2264 | | - |
2265 | | - |
2266 | for (; idx < lTRUE | 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 |
; --l) { | 0-201575 |
2267 | 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 |
2268 | 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 |
2269 | }executed 175 times by 5 tests: end of block Executed by:- tst_QIntValidator
- tst_QString
- tst_QStringRef
- tst_QVariant
- tst_QXmlInputSource
| 175 |
2270 | | - |
2271 | int group_cnt = 0; | - |
2272 | int decpt_idx = -1; | - |
2273 | int last_separator_idx = -1; | - |
2274 | int start_of_digits_idx = -1; | - |
2275 | | - |
2276 | while (idx < lTRUE | 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 |
2277 | const QChar in = uc[idx]; | - |
2278 | | - |
2279 | char out = digitToCLocale(in); | - |
2280 | if (out == 0TRUE | 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 |
2281 | if (in == m_listTRUE | 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 |
2282 | out = ';'; never executed: out = ';'; | 0 |
2283 | else if (in == m_percentTRUE | 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 |
2284 | out = '%';executed 4 times by 2 tests: out = '%'; Executed by:- tst_QTextDocument
- tst_QTextDocumentFragment
| 4 |
2285 | | - |
2286 | else if (in.unicode() >= 'A'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
|
&& in.unicode() <= 'Z'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 |
2287 | 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 |
2288 | else if (in.unicode() >= 'a'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
|
&& in.unicode() <= 'z'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 |
2289 | 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 |
2290 | else | - |
2291 | 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 |
2292 | } | - |
2293 | if (group_sep_mode == ParseGroupSeparatorsTRUE | 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 |
2294 | if (start_of_digits_idx == -1TRUE | 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
|
&& out >= '0'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
|
&& out <= '9'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 |
2295 | start_of_digits_idx = idx; | - |
2296 | }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
else if (out == ','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 |
2297 | | - |
2298 | if (decpt_idx != -1TRUE | never evaluated | FALSE | evaluated 54 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QItemDelegate
- tst_QSpinBox
|
) | 0-54 |
2299 | return never executed: return false; false;never executed: return false; | 0 |
2300 | | - |
2301 | | - |
2302 | | - |
2303 | if (last_separator_idx != -1TRUE | 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
|
&& idx - last_separator_idx != 4TRUE | 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 |
2304 | returnexecuted 3 times by 3 tests: return false; Executed by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QSpinBox
false;executed 3 times by 3 tests: return false; Executed by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QSpinBox
| 3 |
2305 | if (last_separator_idx == -1TRUE | 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
|
&& (start_of_digits_idx == -1TRUE | never evaluated | FALSE | evaluated 44 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QItemDelegate
- tst_QSpinBox
|
|| idx - start_of_digits_idx > 3TRUE | never evaluated | FALSE | evaluated 44 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QItemDelegate
- tst_QSpinBox
|
)) | 0-44 |
2306 | return never executed: return false; false;never executed: return false; | 0 |
2307 | | - |
2308 | last_separator_idx = idx; | - |
2309 | ++group_cnt; | - |
2310 | | - |
2311 | | - |
2312 | ++idx; | - |
2313 | continue;executed 51 times by 4 tests: continue; Executed by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QItemDelegate
- tst_QSpinBox
| 51 |
2314 | } else if (out == '.'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
|
|| out == 'e'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
|
|| out == 'E'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 |
2315 | | - |
2316 | if (out == '.'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 |
&& decpt_idx != -1TRUE | 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 |
2317 | return never executed: return false; false;never executed: return false; | 0 |
2318 | if (decpt_idx == -1TRUE | 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 |
2319 | 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 |
2320 | | - |
2321 | | - |
2322 | | - |
2323 | if (last_separator_idx != -1TRUE | 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
|
&& idx - last_separator_idx != 4TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
| FALSE | evaluated 15 times by 1 test |
) | 3-842 |
2324 | returnexecuted 3 times by 2 tests: return false; Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
false;executed 3 times by 2 tests: return false; Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
| 3 |
2325 | | - |
2326 | | - |
2327 | last_separator_idx = -1; | - |
2328 | }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 |
2329 | }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 |
2330 | | - |
2331 | result->append(out); | - |
2332 | | - |
2333 | ++idx; | - |
2334 | }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 |
2335 | | - |
2336 | if (group_sep_mode == ParseGroupSeparatorsTRUE | 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 |
2337 | | - |
2338 | | - |
2339 | if (last_separator_idx + 1 == idxTRUE | 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 |
2340 | returnexecuted 67 times by 3 tests: return false; Executed by:- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QItemDelegate
false;executed 67 times by 3 tests: return false; Executed by:- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QItemDelegate
| 67 |
2341 | | - |
2342 | if (last_separator_idx != -1TRUE | 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
|
&& idx - last_separator_idx != 4TRUE | evaluated 3 times by 1 test | FALSE | evaluated 17 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QIntValidator
- tst_QSpinBox
|
) | 3-18074 |
2343 | returnexecuted 3 times by 1 test: return false; false;executed 3 times by 1 test: return false; | 3 |
2344 | }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 |
2345 | | - |
2346 | result->append('\0'); | - |
2347 | returnexecuted 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
- ...
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 |
2348 | } | - |
2349 | | - |
2350 | bool QLocaleData::validateChars(const QString &str, NumberMode numMode, QByteArray *buff, | - |
2351 | int decDigits, bool rejectGroupSeparators) const | - |
2352 | { | - |
2353 | buff->clear(); | - |
2354 | buff->reserve(str.length()); | - |
2355 | | - |
2356 | const bool scientific = numMode == DoubleScientificMode; | - |
2357 | bool lastWasE = false; | - |
2358 | bool lastWasDigit = false; | - |
2359 | int eCnt = 0; | - |
2360 | int decPointCnt = 0; | - |
2361 | bool dec = false; | - |
2362 | int decDigitCnt = 0; | - |
2363 | | - |
2364 | for (int i = 0; i < str.length()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
|
; ++i) { | 401-1651 |
2365 | char c = digitToCLocale(str.at(i)); | - |
2366 | | - |
2367 | if (c >= '0'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
|
&& c <= '9'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 |
2368 | if (numMode != IntegerModeTRUE | 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 |
2369 | | - |
2370 | if (decTRUE | evaluated 106 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QPrinter
| FALSE | evaluated 612 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QPrinter
|
&& decDigits != -1TRUE | evaluated 106 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QPrinter
| FALSE | never evaluated |
&& decDigits < ++decDigitCntTRUE | evaluated 12 times by 1 test | FALSE | evaluated 94 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QPrinter
|
) | 0-612 |
2371 | returnexecuted 12 times by 1 test: return false; false;executed 12 times by 1 test: return false; | 12 |
2372 | }executed 706 times by 2 tests: end of block Executed by:- tst_QDoubleValidator
- tst_QPrinter
| 706 |
2373 | lastWasDigit = true; | - |
2374 | }executed 1235 times by 5 tests: end of block Executed by:- tst_QDoubleValidator
- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
else { | 1235 |
2375 | switch (c) { | - |
2376 | caseexecuted 74 times by 4 tests: case '.': Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
'.':executed 74 times by 4 tests: case '.': Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| 74 |
2377 | if (numMode == IntegerModeTRUE | 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 |
2378 | | - |
2379 | returnexecuted 6 times by 2 tests: return false; Executed by:- tst_QIntValidator
- tst_QLineEdit
false;executed 6 times by 2 tests: return false; Executed by:- tst_QIntValidator
- tst_QLineEdit
| 6 |
2380 | } else { | - |
2381 | | - |
2382 | if (++TRUE | never evaluated | FALSE | evaluated 68 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QPrinter
|
decPointCnt > 1TRUE | never evaluated | FALSE | evaluated 68 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QPrinter
|
) | 0-68 |
2383 | return never executed: return false; false;never executed: return false; | 0 |
2384 | | - |
2385 | | - |
2386 | | - |
2387 | | - |
2388 | | - |
2389 | | - |
2390 | | - |
2391 | dec = true; | - |
2392 | }executed 68 times by 2 tests: end of block Executed by:- tst_QDoubleValidator
- tst_QPrinter
| 68 |
2393 | break;executed 68 times by 2 tests: break; Executed by:- tst_QDoubleValidator
- tst_QPrinter
| 68 |
2394 | | - |
2395 | caseexecuted 41 times by 2 tests: case '+': Executed by:- tst_QDoubleValidator
- tst_QIntValidator
'+':executed 41 times by 2 tests: case '+': Executed by:- tst_QDoubleValidator
- tst_QIntValidator
| 41 |
2396 | caseexecuted 123 times by 3 tests: case '-': Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
'-':executed 123 times by 3 tests: case '-': Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
| 123 |
2397 | if (scientificTRUE | evaluated 56 times by 1 test | FALSE | evaluated 108 times by 3 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
|
) { | 56-108 |
2398 | | - |
2399 | | - |
2400 | if (i != 0TRUE | evaluated 42 times by 1 test | FALSE | evaluated 14 times by 1 test |
&& !lastWasETRUE | never evaluated | FALSE | evaluated 42 times by 1 test |
) | 0-42 |
2401 | return never executed: return false; false;never executed: return false; | 0 |
2402 | }executed 56 times by 1 test: end of block else { | 56 |
2403 | | - |
2404 | | - |
2405 | if (i != 0TRUE | 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 |
2406 | returnexecuted 4 times by 2 tests: return false; Executed by:- tst_QDoubleValidator
- tst_QIntValidator
false;executed 4 times by 2 tests: return false; Executed by:- tst_QDoubleValidator
- tst_QIntValidator
| 4 |
2407 | }executed 104 times by 3 tests: end of block Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
| 104 |
2408 | break;executed 160 times by 3 tests: break; Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
| 160 |
2409 | | - |
2410 | caseexecuted 19 times by 2 tests: case ',': Executed by:- tst_QDoubleValidator
- tst_QIntValidator
',':executed 19 times by 2 tests: case ',': Executed by:- tst_QDoubleValidator
- tst_QIntValidator
| 19 |
2411 | | - |
2412 | if (rejectGroupSeparatorsTRUE | evaluated 2 times by 1 test | FALSE | evaluated 17 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
|
|| !lastWasDigitTRUE | evaluated 2 times by 1 test | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
|
|| decPointCnt > 0TRUE | never evaluated | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_QDoubleValidator
- tst_QIntValidator
|
) | 0-17 |
2413 | returnexecuted 4 times by 1 test: return false; false;executed 4 times by 1 test: return false; | 4 |
2414 | break;executed 15 times by 2 tests: break; Executed by:- tst_QDoubleValidator
- tst_QIntValidator
| 15 |
2415 | | - |
2416 | caseexecuted 104 times by 1 test: case 'e': 'e':executed 104 times by 1 test: case 'e': | 104 |
2417 | if (scientificTRUE | evaluated 52 times by 1 test | FALSE | evaluated 52 times by 1 test |
) { | 52 |
2418 | | - |
2419 | if (++TRUE | never evaluated | FALSE | evaluated 52 times by 1 test |
eCnt > 1TRUE | never evaluated | FALSE | evaluated 52 times by 1 test |
) | 0-52 |
2420 | return never executed: return false; false;never executed: return false; | 0 |
2421 | dec = false; | - |
2422 | }executed 52 times by 1 test: end of block else { | 52 |
2423 | | - |
2424 | returnexecuted 52 times by 1 test: return false; false;executed 52 times by 1 test: return false; | 52 |
2425 | } | - |
2426 | break;executed 52 times by 1 test: break; | 52 |
2427 | | - |
2428 | defaultexecuted 43 times by 4 tests: default: Executed by:- tst_QAccessibility
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
:executed 43 times by 4 tests: default: Executed by:- tst_QAccessibility
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
| 43 |
2429 | | - |
2430 | returnexecuted 43 times by 4 tests: return false; Executed by:- tst_QAccessibility
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
false;executed 43 times by 4 tests: return false; Executed by:- tst_QAccessibility
- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
| 43 |
2431 | } | - |
2432 | lastWasDigit = false; | - |
2433 | }executed 295 times by 4 tests: end of block Executed by:- tst_QDoubleValidator
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| 295 |
2434 | | - |
2435 | lastWasE = c == 'e'; | - |
2436 | 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 |
2437 | 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 |
2438 | }executed 1530 times by 5 tests: end of block Executed by:- tst_QDoubleValidator
- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| 1530 |
2439 | | - |
2440 | returnexecuted 401 times by 5 tests: return true; Executed by:- tst_QDoubleValidator
- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
true;executed 401 times by 5 tests: return true; Executed by:- tst_QDoubleValidator
- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| 401 |
2441 | } | - |
2442 | | - |
2443 | double QLocaleData::stringToDouble(const QChar *begin, int len, bool *ok, | - |
2444 | GroupSeparatorMode group_sep_mode) const | - |
2445 | { | - |
2446 | CharBuff buff; | - |
2447 | 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 |
2448 | if (ok != 0TRUE | evaluated 49 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| FALSE | never evaluated |
) | 0-49 |
2449 | *executed 49 times by 5 tests: *ok = false; Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
ok = false;executed 49 times by 5 tests: *ok = false; Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 49 |
2450 | returnexecuted 49 times by 5 tests: return 0.0; Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
0.0;executed 49 times by 5 tests: return 0.0; Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 49 |
2451 | } | - |
2452 | returnexecuted 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
- ...
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 |
2453 | } | - |
2454 | | - |
2455 | qlonglong QLocaleData::stringToLongLong(const QChar *begin, int len, int base, | - |
2456 | bool *ok, GroupSeparatorMode group_sep_mode) const | - |
2457 | { | - |
2458 | CharBuff buff; | - |
2459 | 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 |
2460 | if (ok != 0TRUE | 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 |
2461 | *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
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 |
2462 | returnexecuted 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
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 |
2463 | } | - |
2464 | | - |
2465 | returnexecuted 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
- ...
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 |
2466 | } | - |
2467 | | - |
2468 | qulonglong QLocaleData::stringToUnsLongLong(const QChar *begin, int len, int base, | - |
2469 | bool *ok, GroupSeparatorMode group_sep_mode) const | - |
2470 | { | - |
2471 | CharBuff buff; | - |
2472 | 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 |
2473 | if (ok != 0TRUE | 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 |
2474 | *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
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 |
2475 | returnexecuted 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
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 |
2476 | } | - |
2477 | | - |
2478 | returnexecuted 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
- ...
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 |
2479 | } | - |
2480 | | - |
2481 | double QLocaleData::bytearrayToDouble(const char *num, bool *ok, bool *overflow) | - |
2482 | { | - |
2483 | if (ok != 0TRUE | 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 |
2484 | *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
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 |
2485 | if (overflow != 0TRUE | 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 |
2486 | *executed 163 times by 2 tests: *overflow = false; Executed by:- tst_QDoubleValidator
- tst_QPrinter
overflow = false;executed 163 times by 2 tests: *overflow = false; Executed by:- tst_QDoubleValidator
- tst_QPrinter
| 163 |
2487 | | - |
2488 | if (*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
- ...
|
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 |
2489 | if (ok != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2490 | * never executed: *ok = false; ok = false;never executed: *ok = false; | 0 |
2491 | return never executed: return 0.0; 0.0;never executed: return 0.0; | 0 |
2492 | } | - |
2493 | | - |
2494 | if (qstrcmp(num, "nan") == 0TRUE | 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 |
2495 | returnexecuted 7 times by 1 test: return qt_snan(); qt_snan();executed 7 times by 1 test: return qt_snan(); | 7 |
2496 | | - |
2497 | if (qstrcmp(num, "+inf") == 0TRUE | 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
- ...
|
|| qstrcmp(num, "inf") == 0TRUE | 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 |
2498 | returnexecuted 9 times by 1 test: return qt_inf(); qt_inf();executed 9 times by 1 test: return qt_inf(); | 9 |
2499 | | - |
2500 | if (qstrcmp(num, "-inf") == 0TRUE | 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 |
2501 | returnexecuted 2 times by 1 test: return -qt_inf(); -qt_inf();executed 2 times by 1 test: return -qt_inf(); | 2 |
2502 | | - |
2503 | bool _ok; | - |
2504 | const char *endptr; | - |
2505 | double d = qstrtod(num, &endptr, &_ok); | - |
2506 | | - |
2507 | if (!_okTRUE | 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 |
2508 | | - |
2509 | | - |
2510 | if (ok != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2511 | * never executed: *ok = false; ok = false;never executed: *ok = false; | 0 |
2512 | if (overflow != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2513 | * never executed: *overflow = *endptr != '\0'; overflow = *endptr != '\0';never executed: *overflow = *endptr != '\0'; | 0 |
2514 | return never executed: return 0.0; 0.0;never executed: return 0.0; | 0 |
2515 | } | - |
2516 | | - |
2517 | if (*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
- ...
|
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 |
2518 | | - |
2519 | if (ok != 0TRUE | 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 |
2520 | *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
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 |
2521 | if (overflow != 0TRUE | 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 |
2522 | *executed 48 times by 1 test: *overflow = false; overflow = false;executed 48 times by 1 test: *overflow = false; | 48 |
2523 | returnexecuted 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
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 |
2524 | } | - |
2525 | | - |
2526 | if (ok != 0TRUE | 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 |
2527 | *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
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 |
2528 | if (overflow != 0TRUE | 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 |
2529 | *executed 115 times by 2 tests: *overflow = false; Executed by:- tst_QDoubleValidator
- tst_QPrinter
overflow = false;executed 115 times by 2 tests: *overflow = false; Executed by:- tst_QDoubleValidator
- tst_QPrinter
| 115 |
2530 | returnexecuted 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
- ...
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 |
2531 | } | - |
2532 | | - |
2533 | qlonglong QLocaleData::bytearrayToLongLong(const char *num, int base, bool *ok, bool *overflow) | - |
2534 | { | - |
2535 | bool _ok; | - |
2536 | const char *endptr; | - |
2537 | | - |
2538 | if (*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
- ...
|
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 |
2539 | if (ok != 0TRUE | 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 |
2540 | *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
- ...
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 |
2541 | if (overflow != 0TRUE | 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 |
2542 | *executed 4 times by 1 test: *overflow = false; overflow = false;executed 4 times by 1 test: *overflow = false; | 4 |
2543 | returnexecuted 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
- ...
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 |
2544 | } | - |
2545 | | - |
2546 | qlonglong l = qstrtoll(num, &endptr, base, &_ok); | - |
2547 | | - |
2548 | if (!_okTRUE | 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 |
2549 | if (ok != 0TRUE | 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 |
2550 | *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
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 |
2551 | if (overflow != 0TRUE | 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 |
2552 | | - |
2553 | | - |
2554 | *overflow = *endptr != '\0'; | - |
2555 | }executed 1 time by 1 test: end of block | 1 |
2556 | returnexecuted 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
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 |
2557 | } | - |
2558 | | - |
2559 | if (*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
- ...
|
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 |
2560 | | - |
2561 | if (ok != 0TRUE | 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 |
2562 | *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
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 |
2563 | if (overflow != 0TRUE | 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 |
2564 | * never executed: *overflow = false; overflow = false;never executed: *overflow = false; | 0 |
2565 | returnexecuted 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
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 |
2566 | } | - |
2567 | | - |
2568 | if (ok != 0TRUE | 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 |
2569 | *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
- ...
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 |
2570 | if (overflow != 0TRUE | 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 |
2571 | *executed 177 times by 4 tests: *overflow = false; Executed by:- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
overflow = false;executed 177 times by 4 tests: *overflow = false; Executed by:- tst_QFontDialog
- tst_QIntValidator
- tst_QLineEdit
- tst_QPrinter
| 177 |
2572 | returnexecuted 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
- ...
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 |
2573 | } | - |
2574 | | - |
2575 | qulonglong QLocaleData::bytearrayToUnsLongLong(const char *num, int base, bool *ok) | - |
2576 | { | - |
2577 | bool _ok; | - |
2578 | const char *endptr; | - |
2579 | qulonglong l = qstrtoull(num, &endptr, base, &_ok); | - |
2580 | | - |
2581 | if (!_okTRUE | 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
- ...
|
endptr != '\0'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 |
2582 | if (ok != 0TRUE | 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 |
2583 | *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
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 |
2584 | returnexecuted 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
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 |
2585 | } | - |
2586 | | - |
2587 | if (ok != 0TRUE | 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 |
2588 | *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
- ...
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 |
2589 | returnexecuted 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
- ...
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 |
2590 | } | - |
2591 | QString QLocale::currencySymbol(QLocale::CurrencySymbolFormat format) const | - |
2592 | { | - |
2593 | | - |
2594 | if (d->m_data == systemData()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2595 | QVariant res = systemLocale()->query(QSystemLocale::CurrencySymbol, format); | - |
2596 | if (!res.isNull()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2597 | return never executed: return res.toString(); res.toString();never executed: return res.toString(); | 0 |
2598 | } never executed: end of block | 0 |
2599 | | - |
2600 | quint32 idx, size; | - |
2601 | switch (format) { | - |
2602 | case never executed: case CurrencySymbol: CurrencySymbol:never executed: case CurrencySymbol: | 0 |
2603 | idx = d->m_data->m_currency_symbol_idx; | - |
2604 | size = d->m_data->m_currency_symbol_size; | - |
2605 | return never executed: return getLocaleData(currency_symbol_data + idx, size); getLocaleData(currency_symbol_data + idx, size);never executed: return getLocaleData(currency_symbol_data + idx, size); | 0 |
2606 | case never executed: case CurrencyDisplayName: CurrencyDisplayName:never executed: case CurrencyDisplayName: | 0 |
2607 | idx = d->m_data->m_currency_display_name_idx; | - |
2608 | size = d->m_data->m_currency_display_name_size; | - |
2609 | return never executed: return getLocaleListData(currency_display_name_data + idx, size, 0); getLocaleListData(currency_display_name_data + idx, size, 0);never executed: return getLocaleListData(currency_display_name_data + idx, size, 0); | 0 |
2610 | case never executed: case CurrencyIsoCode: CurrencyIsoCode:never executed: case CurrencyIsoCode: { | 0 |
2611 | int len = 0; | - |
2612 | const QLocaleData *data = this->d->m_data; | - |
2613 | for (; len < 3TRUE | never evaluated | FALSE | never evaluated |
; ++len) | 0 |
2614 | if (!data->m_currency_iso_code[len]TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2615 | break; never executed: break; | 0 |
2616 | return never executed: return len ? QString::fromLatin1(data->m_currency_iso_code, len) : QString(); lenTRUE | never evaluated | FALSE | never evaluated |
? QString::fromLatin1(data->m_currency_iso_code, len) : QString();never executed: return len ? QString::fromLatin1(data->m_currency_iso_code, len) : QString(); | 0 |
2617 | } | - |
2618 | } | - |
2619 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
2620 | } | - |
2621 | QString QLocale::toCurrencyString(qlonglong value, const QString &symbol) const | - |
2622 | { | - |
2623 | | - |
2624 | if (d->m_data == systemData()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2625 | QSystemLocale::CurrencyToStringArgument arg(value, symbol); | - |
2626 | QVariant res = systemLocale()->query(QSystemLocale::CurrencyToString, QVariant::fromValue(arg)); | - |
2627 | if (!res.isNull()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2628 | return never executed: return res.toString(); res.toString();never executed: return res.toString(); | 0 |
2629 | } never executed: end of block | 0 |
2630 | | - |
2631 | const QLocalePrivate *d = this->d; | - |
2632 | quint8 idx = d->m_data->m_currency_format_idx; | - |
2633 | quint8 size = d->m_data->m_currency_format_size; | - |
2634 | if (d->m_data->m_currency_negative_format_sizeTRUE | never evaluated | FALSE | never evaluated |
&& value < 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2635 | idx = d->m_data->m_currency_negative_format_idx; | - |
2636 | size = d->m_data->m_currency_negative_format_size; | - |
2637 | value = -value; | - |
2638 | } never executed: end of block | 0 |
2639 | QString str = toString(value); | - |
2640 | QString sym = symbol.isNull()TRUE | never evaluated | FALSE | never evaluated |
? currencySymbol() : symbol; | 0 |
2641 | if (sym.isEmpty()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2642 | sym = currencySymbol(QLocale::CurrencyIsoCode); never executed: sym = currencySymbol(QLocale::CurrencyIsoCode); | 0 |
2643 | QString format = getLocaleData(currency_format_data + idx, size); | - |
2644 | return never executed: return format.arg(str, sym); format.arg(str, sym);never executed: return format.arg(str, sym); | 0 |
2645 | } | - |
2646 | | - |
2647 | | - |
2648 | | - |
2649 | | - |
2650 | | - |
2651 | QString QLocale::toCurrencyString(qulonglong value, const QString &symbol) const | - |
2652 | { | - |
2653 | | - |
2654 | if (d->m_data == systemData()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2655 | QSystemLocale::CurrencyToStringArgument arg(value, symbol); | - |
2656 | QVariant res = systemLocale()->query(QSystemLocale::CurrencyToString, QVariant::fromValue(arg)); | - |
2657 | if (!res.isNull()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2658 | return never executed: return res.toString(); res.toString();never executed: return res.toString(); | 0 |
2659 | } never executed: end of block | 0 |
2660 | | - |
2661 | const QLocaleData *data = this->d->m_data; | - |
2662 | quint8 idx = data->m_currency_format_idx; | - |
2663 | quint8 size = data->m_currency_format_size; | - |
2664 | QString str = toString(value); | - |
2665 | QString sym = symbol.isNull()TRUE | never evaluated | FALSE | never evaluated |
? currencySymbol() : symbol; | 0 |
2666 | if (sym.isEmpty()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2667 | sym = currencySymbol(QLocale::CurrencyIsoCode); never executed: sym = currencySymbol(QLocale::CurrencyIsoCode); | 0 |
2668 | QString format = getLocaleData(currency_format_data + idx, size); | - |
2669 | return never executed: return format.arg(str, sym); format.arg(str, sym);never executed: return format.arg(str, sym); | 0 |
2670 | } | - |
2671 | | - |
2672 | | - |
2673 | | - |
2674 | | - |
2675 | | - |
2676 | QString QLocale::toCurrencyString(double value, const QString &symbol) const | - |
2677 | { | - |
2678 | | - |
2679 | if (d->m_data == systemData()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2680 | QSystemLocale::CurrencyToStringArgument arg(value, symbol); | - |
2681 | QVariant res = systemLocale()->query(QSystemLocale::CurrencyToString, QVariant::fromValue(arg)); | - |
2682 | if (!res.isNull()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2683 | return never executed: return res.toString(); res.toString();never executed: return res.toString(); | 0 |
2684 | } never executed: end of block | 0 |
2685 | | - |
2686 | const QLocaleData *data = this->d->m_data; | - |
2687 | quint8 idx = data->m_currency_format_idx; | - |
2688 | quint8 size = data->m_currency_format_size; | - |
2689 | if (data->m_currency_negative_format_sizeTRUE | never evaluated | FALSE | never evaluated |
&& value < 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2690 | idx = data->m_currency_negative_format_idx; | - |
2691 | size = data->m_currency_negative_format_size; | - |
2692 | value = -value; | - |
2693 | } never executed: end of block | 0 |
2694 | QString str = toString(value, 'f', d->m_data->m_currency_digits); | - |
2695 | QString sym = symbol.isNull()TRUE | never evaluated | FALSE | never evaluated |
? currencySymbol() : symbol; | 0 |
2696 | if (sym.isEmpty()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2697 | sym = currencySymbol(QLocale::CurrencyIsoCode); never executed: sym = currencySymbol(QLocale::CurrencyIsoCode); | 0 |
2698 | QString format = getLocaleData(currency_format_data + idx, size); | - |
2699 | return never executed: return format.arg(str, sym); format.arg(str, sym);never executed: return format.arg(str, sym); | 0 |
2700 | } | - |
2701 | QStringList QLocale::uiLanguages() const | - |
2702 | { | - |
2703 | | - |
2704 | if (d->m_data == systemData()TRUE | never evaluated | FALSE | evaluated 18 times by 1 test |
) { | 0-18 |
2705 | QVariant res = systemLocale()->query(QSystemLocale::UILanguages, QVariant()); | - |
2706 | if (!res.isNull()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2707 | QStringList result = res.toStringList(); | - |
2708 | if (!result.isEmpty()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2709 | return never executed: return result; result;never executed: return result; | 0 |
2710 | } never executed: end of block | 0 |
2711 | } never executed: end of block | 0 |
2712 | | - |
2713 | QLocaleId id = QLocaleId::fromIds(d->m_data->m_language_id, d->m_data->m_script_id, d->m_data->m_country_id); | - |
2714 | const QLocaleId max = id.withLikelySubtagsAdded(); | - |
2715 | const QLocaleId min = max.withLikelySubtagsRemoved(); | - |
2716 | | - |
2717 | QStringList uiLanguages; | - |
2718 | uiLanguages.append(QString::fromLatin1(min.name())); | - |
2719 | if (id.script_idTRUE | evaluated 4 times by 1 test | FALSE | evaluated 14 times by 1 test |
) { | 4-14 |
2720 | id.script_id = 0; | - |
2721 | if (id != minTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
&& id.withLikelySubtagsAdded() == maxTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) | 0-4 |
2722 | uiLanguages.append(QString::fromLatin1(id.name()));executed 4 times by 1 test: uiLanguages.append(QString::fromLatin1(id.name())); | 4 |
2723 | }executed 4 times by 1 test: end of block | 4 |
2724 | if (max != minTRUE | evaluated 4 times by 1 test | FALSE | evaluated 14 times by 1 test |
&& max != idTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) | 0-14 |
2725 | uiLanguages.append(QString::fromLatin1(max.name()));executed 4 times by 1 test: uiLanguages.append(QString::fromLatin1(max.name())); | 4 |
2726 | returnexecuted 18 times by 1 test: return uiLanguages; uiLanguages;executed 18 times by 1 test: return uiLanguages; | 18 |
2727 | } | - |
2728 | QString QLocale::nativeLanguageName() const | - |
2729 | { | - |
2730 | | - |
2731 | if (d->m_data == systemData()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2732 | QVariant res = systemLocale()->query(QSystemLocale::NativeLanguageName, QVariant()); | - |
2733 | if (!res.isNull()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2734 | return never executed: return res.toString(); res.toString();never executed: return res.toString(); | 0 |
2735 | } never executed: end of block | 0 |
2736 | | - |
2737 | return never executed: return getLocaleData(endonyms_data + d->m_data->m_language_endonym_idx, d->m_data->m_language_endonym_size); 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 |
2738 | } | - |
2739 | QString QLocale::nativeCountryName() const | - |
2740 | { | - |
2741 | | - |
2742 | if (d->m_data == systemData()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2743 | QVariant res = systemLocale()->query(QSystemLocale::NativeCountryName, QVariant()); | - |
2744 | if (!res.isNull()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2745 | return never executed: return res.toString(); res.toString();never executed: return res.toString(); | 0 |
2746 | } never executed: end of block | 0 |
2747 | | - |
2748 | return never executed: return getLocaleData(endonyms_data + d->m_data->m_country_endonym_idx, d->m_data->m_country_endonym_size); 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 |
2749 | } | - |
2750 | | - |
2751 | | - |
2752 | QDebug operator<<(QDebug dbg, const QLocale &l) | - |
2753 | { | - |
2754 | QDebugStateSaver saver(dbg); | - |
2755 | dbg.nospace().noquote() | - |
2756 | << "QLocale(" << QLocale::languageToString(l.language()) | - |
2757 | << ", " << QLocale::scriptToString(l.script()) | - |
2758 | << ", " << QLocale::countryToString(l.country()) << ')'; | - |
2759 | returnexecuted 1 time by 1 test: return dbg; dbg;executed 1 time by 1 test: return dbg; | 1 |
2760 | } | - |
2761 | | - |
2762 | | - |
| | |