Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/compressedtexture/qsgtexturefilehandler_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||
---|---|---|---|---|---|---|---|---|
1 | - | |||||||
2 | - | |||||||
3 | - | |||||||
4 | extern const QLoggingCategory &QSG_LOG_TEXTUREIO(); | - | ||||||
5 | - | |||||||
6 | class QQuickTextureFactory; | - | ||||||
7 | - | |||||||
8 | class QSGTextureFileHandler | - | ||||||
9 | { | - | ||||||
10 | public: | - | ||||||
11 | QSGTextureFileHandler(QIODevice *device, const QByteArray &logName = QByteArray()) | - | ||||||
12 | : m_device(device) | - | ||||||
13 | { | - | ||||||
14 | m_logName = !logName.isEmpty()
never executed: ba;return ba; never executed: }());return ba; | 0-10 | ||||||
15 | } executed 10 times by 1 test: end of block Executed by:
| 10 | ||||||
16 | virtual ~QSGTextureFileHandler() {} | - | ||||||
17 | - | |||||||
18 | virtual QQuickTextureFactory *read() = 0; | - | ||||||
19 | QIODevice *device() const { return executed 20 times by 1 test: m_device;return m_device; Executed by:
executed 20 times by 1 test: }return m_device; Executed by:
| 20 | ||||||
20 | QByteArray logName() const { return executed 10 times by 1 test: m_logName;return m_logName; Executed by:
executed 10 times by 1 test: }return m_logName; Executed by:
| 10 | ||||||
21 | - | |||||||
22 | private: | - | ||||||
23 | QIODevice *m_device = nullptr; | - | ||||||
24 | QByteArray m_logName; | - | ||||||
25 | }; | - | ||||||
26 | - | |||||||
27 | - | |||||||
Switch to Source code | Preprocessed file |