| Line |
Branch |
Decision |
Call |
Exec |
Source |
| 1 |
|
|
|
|
#include "XmlUIExporterOptions.h" |
| 2 |
|
|
|
|
|
| 3 |
|
|
|
|
using namespace CLO3D; |
| 4 |
|
|
|
|
|
| 5 |
|
|
|
✗ |
bool XmlUIExporterOptions::isEnabled() { |
| 6 |
|
|
0/3
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
|
✗ |
return isEnabled_; |
| 7 |
|
|
|
|
} |
| 8 |
|
|
|
|
|
| 9 |
|
|
|
1 |
void XmlUIExporterOptions::read(const QSettings* settings) { |
| 10 |
|
|
5/5
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
✓ Call 4 invoked.
|
1 |
BaseUIExporterOptions::read(settings); |
| 11 |
4/8
✓ Branch 6 taken 1 times.
✗ Branch 7 not taken.
✓ Branch 10 taken 1 times.
✗ Branch 11 not taken.
✓ Branch 14 taken 1 times.
✗ Branch 15 not taken.
✓ Branch 17 taken 1 times.
✗ Branch 18 not taken.
|
|
15/19
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
✓ Call 4 invoked.
✓ Call 5 invoked.
✓ Call 8 invoked.
✓ Call 9 invoked.
✓ Call 12 invoked.
✓ Call 13 invoked.
✓ Call 16 invoked.
✓ Call 19 invoked.
✓ Call 20 invoked.
✓ Call 21 invoked.
✓ Call 22 invoked.
✗ Call 23 not invoked.
✗ Call 24 not invoked.
✗ Call 25 not invoked.
✗ Call 26 not invoked.
|
1 |
setIsEnabled(settings->value(Keys::IS_ENABLED, Defaults::IS_ENABLED).toBool()); |
| 12 |
4/8
✓ Branch 6 taken 1 times.
✗ Branch 7 not taken.
✓ Branch 10 taken 1 times.
✗ Branch 11 not taken.
✓ Branch 14 taken 1 times.
✗ Branch 15 not taken.
✓ Branch 17 taken 1 times.
✗ Branch 18 not taken.
|
|
15/19
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
✓ Call 4 invoked.
✓ Call 5 invoked.
✓ Call 8 invoked.
✓ Call 9 invoked.
✓ Call 12 invoked.
✓ Call 13 invoked.
✓ Call 16 invoked.
✓ Call 19 invoked.
✓ Call 20 invoked.
✓ Call 21 invoked.
✓ Call 22 invoked.
✗ Call 23 not invoked.
✗ Call 24 not invoked.
✗ Call 25 not invoked.
✗ Call 26 not invoked.
|
1 |
setExportIcons(settings->value(Keys::EXPORT_ICONS, Defaults::EXPORT_ICONS).toBool()); |
| 13 |
4/8
✓ Branch 6 taken 1 times.
✗ Branch 7 not taken.
✓ Branch 10 taken 1 times.
✗ Branch 11 not taken.
✓ Branch 14 taken 1 times.
✗ Branch 15 not taken.
✓ Branch 17 taken 1 times.
✗ Branch 18 not taken.
|
|
15/19
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
✓ Call 4 invoked.
✓ Call 5 invoked.
✓ Call 8 invoked.
✓ Call 9 invoked.
✓ Call 12 invoked.
✓ Call 13 invoked.
✓ Call 16 invoked.
✓ Call 19 invoked.
✓ Call 20 invoked.
✓ Call 21 invoked.
✓ Call 22 invoked.
✗ Call 23 not invoked.
✗ Call 24 not invoked.
✗ Call 25 not invoked.
✗ Call 26 not invoked.
|
1 |
setUICompatible(settings->value(Keys::UI_COMPATIBLE, Defaults::UI_COMPATIBLE).toBool()); |
| 14 |
|
|
|
1 |
} |
| 15 |
|
|
|
|
|
| 16 |
|
|
|
✗ |
void XmlUIExporterOptions::write(QSettings* settings) { |
| 17 |
|
|
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); |
| 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::IS_ENABLED, isEnabled_); |
| 19 |
|
|
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::EXPORT_ICONS, exportIcons_); |
| 20 |
|
|
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::UI_COMPATIBLE, uiCompatible_); |
| 21 |
|
|
|
✗ |
} |
| 22 |
|
|
|
|
|
| 23 |
|
|
|
1 |
bool XmlUIExporterOptions::getExportIcons() const { |
| 24 |
1/2
✗ Branch 3 not taken.
✓ Branch 4 taken 1 times.
|
|
3/3
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
|
1 |
return exportIcons_; |
| 25 |
|
|
|
|
} |
| 26 |
|
|
|
|
|
| 27 |
|
|
|
1 |
bool XmlUIExporterOptions::getUICompatible() const { |
| 28 |
1/2
✗ Branch 3 not taken.
✓ Branch 4 taken 1 times.
|
|
3/3
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
|
1 |
return uiCompatible_; |
| 29 |
|
|
|
|
} |
| 30 |
|
|
|
|
|
| 31 |
|
|
|
1 |
void XmlUIExporterOptions::setIsEnabled(const bool isEnabled) { |
| 32 |
|
|
4/4
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
|
1 |
isEnabled_ = isEnabled; |
| 33 |
|
|
|
1 |
} |
| 34 |
|
|
|
|
|
| 35 |
|
|
|
1 |
void XmlUIExporterOptions::setExportIcons(const bool exportIcons) { |
| 36 |
|
|
4/4
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
|
1 |
exportIcons_ = exportIcons; |
| 37 |
|
|
|
1 |
} |
| 38 |
|
|
|
|
|
| 39 |
|
|
|
1 |
void XmlUIExporterOptions::setUICompatible(const bool uiCompatible) { |
| 40 |
|
|
4/4
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
|
1 |
uiCompatible_ = uiCompatible; |
| 41 |
|
|
|
1 |
} |
| 42 |
|
|
|
|
|