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