Chrysalis - CLO3D DevTools Extension Test Coverage


integrations/clo3d/extensions/dev-tools/
File: integrations/clo3d/extensions/dev-tools/src/GeneralUIExporterOptions.cpp
Date: 2026-08-27 18:36:32
Lines:
0/24
0.0%
Functions:
0/7
0.0%
Branches:
0/28
0.0%
Decisions:
0/0
-%
Calls:
0/112
0.0%

Line Branch Decision Call Exec Source
1 #include "GeneralUIExporterOptions.h"
2
3 #include <QKeySequence>
4
5 #define LOGGER_NAME "UI Exporter Options"
6
7 using namespace CLO3D;
8
9 ✗ void GeneralUIExporterOptions::read(const QSettings* settings) {
10
0/5
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ BaseUIExporterOptions::read(settings);
11
0/24
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 9 not invoked.
✗ Call 10 not invoked.
✗ Call 13 not invoked.
✗ Call 16 not invoked.
✗ Call 17 not invoked.
✗ Call 20 not invoked.
✗ Call 21 not invoked.
✗ Call 22 not invoked.
✗ Call 23 not invoked.
✗ Call 24 not invoked.
✗ Call 25 not invoked.
✗ Call 26 not invoked.
✗ Call 27 not invoked.
✗ Call 28 not invoked.
✗ Call 29 not invoked.
✗ Call 30 not invoked.
✗ Call 31 not invoked.
✗ setShortcut(settings->value(Keys::SHORTCUT, Defaults::SHORTCUT).value<QKeySequence>());
12
0/19
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 8 not invoked.
✗ Call 9 not invoked.
✗ Call 12 not invoked.
✗ Call 13 not invoked.
✗ Call 16 not invoked.
✗ Call 19 not invoked.
✗ Call 20 not invoked.
✗ Call 21 not invoked.
✗ Call 22 not invoked.
✗ Call 23 not invoked.
✗ Call 24 not invoked.
✗ Call 25 not invoked.
✗ Call 26 not invoked.
✗ setPickMyMouse(settings->value(Keys::PICK_BY_MOUSE, Defaults::PICK_BY_MOUSE).toBool());
13 ✗ }
14
15 ✗ void GeneralUIExporterOptions::write(QSettings* settings) {
16
0/5
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ BaseUIExporterOptions::write(settings);
17
0/13
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 9 not invoked.
✗ Call 10 not invoked.
✗ Call 13 not invoked.
✗ Call 14 not invoked.
✗ Call 15 not invoked.
✗ Call 16 not invoked.
✗ settings->setValue(Keys::SHORTCUT, shortcut_);
18
0/14
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 9 not invoked.
✗ Call 12 not invoked.
✗ Call 13 not invoked.
✗ Call 16 not invoked.
✗ Call 17 not invoked.
✗ Call 18 not invoked.
✗ Call 19 not invoked.
✗ settings->setValue(Keys::PICK_BY_MOUSE, pickByMouse_);
19 ✗ }
20
21 ✗ QKeySequence GeneralUIExporterOptions::getShortcut() const {
22
0/6
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ return shortcut_;
23 }
24
25 ✗ bool GeneralUIExporterOptions::getPickMyMouse() const {
26
0/3
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ return pickByMouse_;
27 }
28
29 ✗ void GeneralUIExporterOptions::setShortcut(const QKeySequence &shortcut) {
30
0/4
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ shortcut_ = shortcut;
31
0/11
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 7 not invoked.
✗ Call 8 not invoked.
✗ Call 9 not invoked.
✗ Call 10 not invoked.
✗ shortcutHandler_->setShortcut(shortcut_);
32 ✗ }
33
34 ✗ void GeneralUIExporterOptions::setPickMyMouse(bool pickByMouse) {
35
0/4
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ pickByMouse_ = pickByMouse;
36 ✗ }
37
38 ✗ void GeneralUIExporterOptions::setShortcutHandler(BaseNativeShortcutHandler* shortcutHandler) {
39
0/4
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ shortcutHandler_ = shortcutHandler;
40 ✗ }
41