commit 9ce7e4ed961222399f50e0b7344ac727d02dffd4 Author: Tobias Berger Date: Fri Sep 17 11:59:28 2021 +0200 Initial commit diff --git a/FractionTask.pro b/FractionTask.pro new file mode 100644 index 0000000..ca37b88 --- /dev/null +++ b/FractionTask.pro @@ -0,0 +1,13 @@ +QT += testlib +QT -= gui + +CONFIG += qt console warn_on depend_includepath testcase +CONFIG -= app_bundle + +TEMPLATE = app + +SOURCES += tst_testcasename.cpp \ + fraction.cpp + +HEADERS += \ + fraction.hpp diff --git a/FractionTask.pro.user b/FractionTask.pro.user new file mode 100644 index 0000000..a02da4d --- /dev/null +++ b/FractionTask.pro.user @@ -0,0 +1,325 @@ + + + + + + EnvironmentId + {d3621eea-71f0-43b2-9e98-92c09a372104} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + UTF-8 + false + 4 + false + 80 + true + true + 1 + true + false + 0 + true + true + 0 + 8 + true + 1 + true + true + true + false + + + + ProjectExplorer.Project.PluginSettings + + + + ProjectExplorer.Project.Target.0 + + Desktop Qt 5.15.0 MinGW 64-bit + Desktop Qt 5.15.0 MinGW 64-bit + qt.qt5.5150.win64_mingw81_kit + 0 + 0 + 0 + + true + 0 + C:\Users\$5NP000-N4QVBFC8R26B\Documents\build-FractionTask-Desktop_Qt_5_15_0_MinGW_64_bit-Debug + C:/Users/$5NP000-N4QVBFC8R26B/Documents/build-FractionTask-Desktop_Qt_5_15_0_MinGW_64_bit-Debug + + + true + QtProjectManager.QMakeBuildStep + + false + + + + true + Qt4ProjectManager.MakeStep + + false + + + false + + 2 + Erstellen + Erstellen + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + + true + clean + + false + + 1 + Bereinigen + Bereinigen + ProjectExplorer.BuildSteps.Clean + + 2 + false + + Debug + Qt4ProjectManager.Qt4BuildConfiguration + 2 + 2 + 2 + + + true + 2 + C:\Users\$5NP000-N4QVBFC8R26B\Documents\build-FractionTask-Desktop_Qt_5_15_0_MinGW_64_bit-Release + C:/Users/$5NP000-N4QVBFC8R26B/Documents/build-FractionTask-Desktop_Qt_5_15_0_MinGW_64_bit-Release + + + true + QtProjectManager.QMakeBuildStep + + false + + + + true + Qt4ProjectManager.MakeStep + + false + + + false + + 2 + Erstellen + Erstellen + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + + true + clean + + false + + 1 + Bereinigen + Bereinigen + ProjectExplorer.BuildSteps.Clean + + 2 + false + + Release + Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + 2 + + + true + 0 + C:\Users\$5NP000-N4QVBFC8R26B\Documents\build-FractionTask-Desktop_Qt_5_15_0_MinGW_64_bit-Profile + C:/Users/$5NP000-N4QVBFC8R26B/Documents/build-FractionTask-Desktop_Qt_5_15_0_MinGW_64_bit-Profile + + + true + QtProjectManager.QMakeBuildStep + + false + + + + true + Qt4ProjectManager.MakeStep + + false + + + false + + 2 + Erstellen + Erstellen + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + + true + clean + + false + + 1 + Bereinigen + Bereinigen + ProjectExplorer.BuildSteps.Clean + + 2 + false + + Profile + Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + 0 + + 3 + + + 0 + Deployment + Deployment + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + dwarf + + cpu-cycles + + + 250 + + -e + cpu-cycles + --call-graph + dwarf,4096 + -F + 250 + + -F + true + 4096 + false + false + 1000 + + true + + false + false + false + false + true + 0.01 + 10 + true + kcachegrind + 1 + 25 + + 1 + true + false + true + valgrind + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + + 2 + + + ProjectExplorer.CustomExecutableRunConfiguration + + + false + + false + true + false + false + true + + + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/fraction.cpp b/fraction.cpp new file mode 100644 index 0000000..5d912fc --- /dev/null +++ b/fraction.cpp @@ -0,0 +1,6 @@ +#include "fraction.h" + +Fraction::Fraction() +{ + +} diff --git a/fraction.hpp b/fraction.hpp new file mode 100644 index 0000000..903227b --- /dev/null +++ b/fraction.hpp @@ -0,0 +1,11 @@ +#ifndef FRACTION_H +#define FRACTION_H + + +class Fraction +{ +public: + Fraction(); +}; + +#endif // FRACTION_H diff --git a/tst_testcasename.cpp b/tst_testcasename.cpp new file mode 100644 index 0000000..b026e3d --- /dev/null +++ b/tst_testcasename.cpp @@ -0,0 +1,35 @@ +#include + +// add necessary includes here + +class TestCaseName : public QObject +{ + Q_OBJECT + +public: + TestCaseName(); + ~TestCaseName(); + +private slots: + void test_case1(); + +}; + +TestCaseName::TestCaseName() +{ + +} + +TestCaseName::~TestCaseName() +{ + +} + +void TestCaseName::test_case1() +{ + +} + +QTEST_APPLESS_MAIN(TestCaseName) + +#include "tst_testcasename.moc"