Commit 86aac3db authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Prepare to implement groupmanagementdialog

parent 79e1fcf3
Pipeline #44809 passed with stage
in 9 minutes and 21 seconds
......@@ -40,3 +40,5 @@ add_unittest( changedebugmodejobtest.cpp "")
add_unittest( loadgroupmenutest.cpp "")
add_unittest( loadtoolbuttontest.cpp "")
add_unittest( savetoolbuttontest.cpp "")
add_unittest( groupmanagementdialogtest.cpp "")
add_unittest( groupmanagementwidgettest.cpp "")
/*
Copyright (c) 2020 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/
#include "groupmanagementdialogtest.h"
#include "groupmanagementdialog.h"
#include <QTest>
QTEST_MAIN(GroupManagementDialogTest)
GroupManagementDialogTest::GroupManagementDialogTest(QObject *parent)
: QObject(parent)
{
}
void GroupManagementDialogTest::shouldHaveDefaultValues()
{
GroupManagementDialog w;
//TODO
}
/*
Copyright (c) 2020 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/
#ifndef GROUPMANAGEMENTDIALOGTEST_H
#define GROUPMANAGEMENTDIALOGTEST_H
#include <QObject>
class GroupManagementDialogTest : public QObject
{
Q_OBJECT
public:
explicit GroupManagementDialogTest(QObject *parent = nullptr);
~GroupManagementDialogTest() override = default;
private Q_SLOTS:
void shouldHaveDefaultValues();
};
#endif // GROUPMANAGEMENTDIALOGTEST_H
/*
Copyright (c) 2020 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/
#include "groupmanagementwidgettest.h"
#include "groupmanagementwidget.h"
#include <QTest>
QTEST_MAIN(GroupManagementWidgetTest)
GroupManagementWidgetTest::GroupManagementWidgetTest(QObject *parent)
: QObject(parent)
{
}
void GroupManagementWidgetTest::shouldHaveDefaultValues()
{
GroupManagementWidget w;
//TODO
}
/*
Copyright (c) 2020 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/
#ifndef GROUPMANAGEMENTWIDGETTEST_H
#define GROUPMANAGEMENTWIDGETTEST_H
#include <QObject>
class GroupManagementWidgetTest : public QObject
{
Q_OBJECT
public:
explicit GroupManagementWidgetTest(QObject *parent = nullptr);
~GroupManagementWidgetTest() override = default;
private Q_SLOTS:
void shouldHaveDefaultValues();
};
#endif // GROUPMANAGEMENTWIDGETTEST_H
......@@ -28,6 +28,8 @@ set(kdebugsettings_LIB_SRCS
categorywarning.cpp
loadtoolbutton.cpp
savetoolbutton.cpp
groupmanagementdialog.cpp
groupmanagementwidget.cpp
${kdebugsettings_debug_SRCS}
)
......
/*
Copyright (c) 2020 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/
#include "groupmanagementdialog.h"
GroupManagementDialog::GroupManagementDialog(QWidget *parent)
: QDialog(parent)
{
}
GroupManagementDialog::~GroupManagementDialog()
{
}
/*
Copyright (c) 2020 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/
#ifndef GROUPMANAGEMENTDIALOG_H
#define GROUPMANAGEMENTDIALOG_H
#include <QDialog>
#include "libkdebugsettings_private_export.h"
class LIBKDEBUGSETTINGS_EXPORT_TEST_EXPORT GroupManagementDialog : public QDialog
{
Q_OBJECT
public:
explicit GroupManagementDialog(QWidget *parent = nullptr);
~GroupManagementDialog() override;
};
#endif // GROUPMANAGEMENTDIALOG_H
/*
Copyright (c) 2020 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/
#include "groupmanagementwidget.h"
GroupManagementWidget::GroupManagementWidget(QWidget *parent)
: QWidget(parent)
{
}
GroupManagementWidget::~GroupManagementWidget()
{
}
/*
Copyright (c) 2020 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/
#ifndef GROUPMANAGEMENTWIDGET_H
#define GROUPMANAGEMENTWIDGET_H
#include <QWidget>
#include "libkdebugsettings_private_export.h"
class LIBKDEBUGSETTINGS_EXPORT_TEST_EXPORT GroupManagementWidget : public QWidget
{
Q_OBJECT
public:
explicit GroupManagementWidget(QWidget *parent = nullptr);
~GroupManagementWidget() override;
};
#endif // GROUPMANAGEMENTWIDGET_H
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