diff --git a/src/CopyrighFixer/CopyrighFixer/interfaceimplem.cpp b/src/CopyrighFixer/CopyrighFixer/interfaceimplem.cpp new file mode 100644 index 0000000..9b659dd --- /dev/null +++ b/src/CopyrighFixer/CopyrighFixer/interfaceimplem.cpp @@ -0,0 +1,28 @@ +//# +//# Copyright (C) 2021-2021 QuasarApp. +//# Distributed under the lgplv3 software license, see the accompanying +//# Everyone is permitted to copy and distribute verbatim copies +//# of this license document, but changing it is not allowed. +//# + +#include "interfaceimplem.h" + +namespace CopyrighFixer { + +InterfaceImplem::InterfaceImplem() { + +} + +bool InterfaceImplem::read(const QString &pathToFile, Signature &objSign) { + +} + +bool InterfaceImplem::write(const QString &pathToFile, const Signature &objSign) { + +} + +Extension InterfaceImplem::supportsExtensions() const { + +} + +}; diff --git a/src/CopyrighFixer/CopyrighFixer/interfaceimplem.h b/src/CopyrighFixer/CopyrighFixer/interfaceimplem.h new file mode 100644 index 0000000..9c6cb75 --- /dev/null +++ b/src/CopyrighFixer/CopyrighFixer/interfaceimplem.h @@ -0,0 +1,32 @@ +//# +//# Copyright (C) 2021-2021 QuasarApp. +//# Distributed under the lgplv3 software license, see the accompanying +//# Everyone is permitted to copy and distribute verbatim copies +//# of this license document, but changing it is not allowed. +//# + +#ifndef INTERFACEIMPLEM_H +#define INTERFACEIMPLEM_H + +#include "CopyrighFixer_global.h" +#include "CopyrighFixer/ifilemanager.h" + + +namespace CopyrighFixer { + + +class CopyrighFixer_EXPORT InterfaceImplem: public IFileManager { +public: + InterfaceImplem(); + + bool read(const QString &pathToFile, Signature &objSign); + + bool write(const QString &pathToFile, const Signature &objSign); + + Extension supportsExtensions() const; + +}; + +}; + +#endif // INTERFACEIMPLEM_H diff --git a/src/CopyrighFixer/interfaceimplem.cpp b/src/CopyrighFixer/interfaceimplem.cpp new file mode 100644 index 0000000..a4f4629 --- /dev/null +++ b/src/CopyrighFixer/interfaceimplem.cpp @@ -0,0 +1,6 @@ +#include "interfaceimplem.h" + +InterfaceImplem::InterfaceImplem() +{ + +} diff --git a/src/CopyrighFixer/interfaceimplem.h b/src/CopyrighFixer/interfaceimplem.h new file mode 100644 index 0000000..25ca8ae --- /dev/null +++ b/src/CopyrighFixer/interfaceimplem.h @@ -0,0 +1,11 @@ +#ifndef INTERFACEIMPLEM_H +#define INTERFACEIMPLEM_H + + +class InterfaceImplem +{ +public: + InterfaceImplem(); +}; + +#endif // INTERFACEIMPLEM_H diff --git a/tests/tstMain.cpp b/tests/tstMain.cpp index 953871b..7975049 100644 --- a/tests/tstMain.cpp +++ b/tests/tstMain.cpp @@ -10,6 +10,7 @@ #include "signtest.h" #include "signertest.h" #include "configparsertest.h" +#include "interfaceimplemtest.h" // Use This macros for initialize your own test classes. // Check exampletests @@ -37,6 +38,7 @@ private slots: TestCase(signTest, SignTest); TestCase(signerTest, SignerTest); TestCase(configParserTest, ConfigParserTest) + TestCase(interfaceImplemTest, InterfaceImplemTest) // END TEST CASES private: diff --git a/tests/units/interfaceimplemtest.cpp b/tests/units/interfaceimplemtest.cpp new file mode 100644 index 0000000..8de1a0a --- /dev/null +++ b/tests/units/interfaceimplemtest.cpp @@ -0,0 +1,33 @@ +//# +//# Copyright (C) 2020-2021 QuasarApp. +//# Distributed under the lgplv3 software license, see the accompanying +//# Everyone is permitted to copy and distribute verbatim copies +//# of this license document, but changing it is not allowed. +//# + +#include "interfaceimplemtest.h" + +InterfaceImplemTest::InterfaceImplemTest() { + +} + +InterfaceImplemTest::~InterfaceImplemTest() { + +} + +void InterfaceImplemTest::test() { + testIntesfaceImplem(); +} + +void InterfaceImplemTest::testReadSign() { + QVERIFY(true); +} + +void InterfaceImplemTest::testWriteSign() { + QVERIFY(true); +} + +void InterfaceImplemTest::testIntesfaceImplem() { + testReadSign(); + testWriteSign(); +} diff --git a/tests/units/interfaceimplemtest.h b/tests/units/interfaceimplemtest.h new file mode 100644 index 0000000..12a1353 --- /dev/null +++ b/tests/units/interfaceimplemtest.h @@ -0,0 +1,28 @@ +//# +//# Copyright (C) 2020-2021 QuasarApp. +//# Distributed under the lgplv3 software license, see the accompanying +//# Everyone is permitted to copy and distribute verbatim copies +//# of this license document, but changing it is not allowed. +//# + +#ifndef INTERFACEIMPLEMTEST_H +#define INTERFACEIMPLEMTEST_H +#include "test.h" +#include "testutils.h" +#include "CopyrighFixer/interfaceimplem.h" + +#include + +class InterfaceImplemTest: public Test, protected TestUtils { +public: + InterfaceImplemTest(); + ~InterfaceImplemTest(); + + void test(); + + void testReadSign(); + void testWriteSign(); + void testIntesfaceImplem(); +}; + +#endif // INTERFACEIMPLEMTEST_H