Commit 64e57059 authored by Laurent Montel's avatar Laurent Montel 😁

Make it compiles

parent 3ac76438
add_definitions(-DTRANSLATION_DOMAIN=\"kmail_editor_plugins\")
add_subdirectory(rot13)
add_subdirectory(insertspecialcharacter)
add_subdirectory(changecase)
......@@ -15,19 +15,19 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "insertspecialcharacterplugineditorinterfacetest.h"
#include "../insertspecialcharacterplugineditorinterface.h"
#include "changecaseplugineditorinterfacetest.h"
#include "../changecaseplugineditorinterface.h"
#include <QTest>
InsertSpecialCharacterPluginEditorInterfaceTest::InsertSpecialCharacterPluginEditorInterfaceTest(QObject *parent)
changecasePluginEditorInterfaceTest::changecasePluginEditorInterfaceTest(QObject *parent)
: QObject(parent)
{
}
InsertSpecialCharacterPluginEditorInterfaceTest::~InsertSpecialCharacterPluginEditorInterfaceTest()
changecasePluginEditorInterfaceTest::~changecasePluginEditorInterfaceTest()
{
}
QTEST_MAIN(InsertSpecialCharacterPluginEditorInterfaceTest)
QTEST_MAIN(changecasePluginEditorInterfaceTest)
......@@ -15,17 +15,17 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef InsertSpecialCharacterPLUGINEDITORINTERFACETEST_H
#define InsertSpecialCharacterPLUGINEDITORINTERFACETEST_H
#ifndef changecasePLUGINEDITORINTERFACETEST_H
#define changecasePLUGINEDITORINTERFACETEST_H
#include <QObject>
class InsertSpecialCharacterPluginEditorInterfaceTest : public QObject
class changecasePluginEditorInterfaceTest : public QObject
{
Q_OBJECT
public:
explicit InsertSpecialCharacterPluginEditorInterfaceTest(QObject *parent = Q_NULLPTR);
~InsertSpecialCharacterPluginEditorInterfaceTest();
explicit changecasePluginEditorInterfaceTest(QObject *parent = Q_NULLPTR);
~changecasePluginEditorInterfaceTest();
};
#endif
......@@ -15,26 +15,26 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "insertspecialcharacterplugineditortest.h"
#include "../insertspecialcharacterplugineditor.h"
#include "changecaseplugineditortest.h"
#include "../changecaseplugineditor.h"
#include <KActionCollection>
#include <QTest>
InsertSpecialCharacterPluginEditorTest::InsertSpecialCharacterPluginEditorTest(QObject *parent)
changecasePluginEditorTest::changecasePluginEditorTest(QObject *parent)
: QObject(parent)
{
}
InsertSpecialCharacterPluginEditorTest::~InsertSpecialCharacterPluginEditorTest()
changecasePluginEditorTest::~changecasePluginEditorTest()
{
}
void InsertSpecialCharacterPluginEditorTest::shouldHaveDefaultValue()
void changecasePluginEditorTest::shouldHaveDefaultValue()
{
InsertSpecialCharacterPluginEditor plugin;
changecasePluginEditor plugin;
QVERIFY(plugin.createInterface(new KActionCollection(this)));
}
QTEST_MAIN(InsertSpecialCharacterPluginEditorTest)
QTEST_MAIN(changecasePluginEditorTest)
......@@ -15,17 +15,17 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef InsertSpecialCharacterPLUGINEDITORTEST_H
#define InsertSpecialCharacterPLUGINEDITORTEST_H
#ifndef changecasePLUGINEDITORTEST_H
#define changecasePLUGINEDITORTEST_H
#include <QObject>
class InsertSpecialCharacterPluginEditorTest : public QObject
class changecasePluginEditorTest : public QObject
{
Q_OBJECT
public:
explicit InsertSpecialCharacterPluginEditorTest(QObject *parent = Q_NULLPTR);
~InsertSpecialCharacterPluginEditorTest();
explicit changecasePluginEditorTest(QObject *parent = Q_NULLPTR);
~changecasePluginEditorTest();
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment