Merge branch 'UnitTesting' into dev

This commit is contained in:
Jan Schuffenhauer
2020-01-16 12:11:37 +01:00
29 changed files with 2105 additions and 86 deletions

View File

@@ -5,10 +5,14 @@
#include "QPoint"
#include "QColorDialog"
//for unit testing
class UnitTest;
/*!
* \brief The IntelliColorPicker manages the selected colors for one whole project.
*/
class IntelliColorPicker {
friend UnitTest;
public:
/*!
* \brief IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in production.

View File

@@ -1,9 +1,13 @@
#ifndef INTELLIRENDERSETTINGS_H
#define INTELLIRENDERSETTINGS_H
//for unit testing
class UnitTest;
class IntelliRenderSettings
{
friend UnitTest;
public:
IntelliRenderSettings();

View File

@@ -1,12 +1,18 @@
#ifndef INTELLITOOLSETTINGS_H
#define INTELLITOOLSETTINGS_H
//for unit testing
class UnitTest;
class IntelliToolsettings {
friend UnitTest;
public:
IntelliToolsettings();
virtual ~IntelliToolsettings();
int getLineWidth();
void setLineWidth(int LineWidth);
int getInnerAlpha();
void setInnerAlpha(int innerAlpha);

View File

@@ -1,6 +1,9 @@
#ifndef INTELLITRIANGULATION_H
#define INTELLITRIANGULATION_H
//for unit testing
class UnitTest;
#include <QPoint>
#include <vector>