Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Akonadi Contacts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
Akonadi Contacts
Commits
754210b8
Commit
754210b8
authored
Feb 09, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add autotests
parent
f9db88cb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
162 additions
and
0 deletions
+162
-0
akonadi-contact/src/editor/customfieldeditor/autotests/CMakeLists.txt
...act/src/editor/customfieldeditor/autotests/CMakeLists.txt
+12
-0
akonadi-contact/src/editor/customfieldeditor/autotests/customfieldeditorwidgettest.cpp
...stomfieldeditor/autotests/customfieldeditorwidgettest.cpp
+38
-0
akonadi-contact/src/editor/customfieldeditor/autotests/customfieldeditorwidgettest.h
...customfieldeditor/autotests/customfieldeditorwidgettest.h
+37
-0
akonadi-contact/src/editor/customfieldeditor/autotests/customfieldswidgettest.cpp
...or/customfieldeditor/autotests/customfieldswidgettest.cpp
+38
-0
akonadi-contact/src/editor/customfieldeditor/autotests/customfieldswidgettest.h
...itor/customfieldeditor/autotests/customfieldswidgettest.h
+37
-0
No files found.
akonadi-contact/src/editor/customfieldeditor/autotests/CMakeLists.txt
View file @
754210b8
set
(
customfieldswidgettest_SRCS customfieldswidgettest.cpp ../customfieldswidget.cpp
)
add_executable
(
customfieldswidgettest
${
customfieldswidgettest_SRCS
}
)
add_test
(
customfieldswidgettest customfieldswidgettest
)
ecm_mark_as_test
(
customfieldswidgettest
)
target_link_libraries
(
customfieldswidgettest Qt5::Test Qt5::Widgets KF5::AkonadiContact KF5::Contacts KF5::I18n KF5::Completion
)
set
(
customfieldeditorwidgettest_SRCS customfieldeditorwidgettest.cpp ../customfieldeditorwidget.cpp
)
add_executable
(
customfieldeditorwidgettest
${
customfieldeditorwidgettest_SRCS
}
)
add_test
(
customfieldeditorwidgettest customfieldeditorwidgettest
)
ecm_mark_as_test
(
customfieldeditorwidgettest
)
target_link_libraries
(
customfieldeditorwidgettest Qt5::Test Qt5::Widgets KF5::AkonadiContact KF5::Contacts KF5::I18n KF5::Completion
)
akonadi-contact/src/editor/customfieldeditor/autotests/customfieldeditorwidgettest.cpp
0 → 100644
View file @
754210b8
/*
This file is part of Akonadi Contact.
Copyright (C) 2016 eyeOS S.L.U., a Telefonica company, sales@eyeos.com
Copyright (C) 2016 Laurent Montel <laurent.montel@kdab.com>
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 "customfieldeditorwidgettest.h"
#include <QTest>
CustomFieldEditorWidgetTest
::
CustomFieldEditorWidgetTest
(
QObject
*
parent
)
:
QObject
(
parent
)
{
}
CustomFieldEditorWidgetTest
::~
CustomFieldEditorWidgetTest
()
{
}
QTEST_MAIN
(
CustomFieldEditorWidgetTest
)
akonadi-contact/src/editor/customfieldeditor/autotests/customfieldeditorwidgettest.h
0 → 100644
View file @
754210b8
/*
This file is part of Akonadi Contact.
Copyright (C) 2016 eyeOS S.L.U., a Telefonica company, sales@eyeos.com
Copyright (C) 2016 Laurent Montel <laurent.montel@kdab.com>
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 CUSTOMFIELDEDITORWIDGETTEST_H
#define CUSTOMFIELDEDITORWIDGETTEST_H
#include <QObject>
class
CustomFieldEditorWidgetTest
:
public
QObject
{
Q_OBJECT
public:
explicit
CustomFieldEditorWidgetTest
(
QObject
*
parent
=
Q_NULLPTR
);
~
CustomFieldEditorWidgetTest
();
};
#endif // CUSTOMFIELDEDITORWIDGETTEST_H
akonadi-contact/src/editor/customfieldeditor/autotests/customfieldswidgettest.cpp
0 → 100644
View file @
754210b8
/*
This file is part of Akonadi Contact.
Copyright (C) 2016 eyeOS S.L.U., a Telefonica company, sales@eyeos.com
Copyright (C) 2016 Laurent Montel <laurent.montel@kdab.com>
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 "customfieldswidgettest.h"
#include <QTest>
CustomFieldsWidgetTest
::
CustomFieldsWidgetTest
(
QObject
*
parent
)
:
QObject
(
parent
)
{
}
CustomFieldsWidgetTest
::~
CustomFieldsWidgetTest
()
{
}
QTEST_MAIN
(
CustomFieldsWidgetTest
)
akonadi-contact/src/editor/customfieldeditor/autotests/customfieldswidgettest.h
0 → 100644
View file @
754210b8
/*
This file is part of Akonadi Contact.
Copyright (C) 2016 eyeOS S.L.U., a Telefonica company, sales@eyeos.com
Copyright (C) 2016 Laurent Montel <laurent.montel@kdab.com>
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 CUSTOMFIELDSWIDGETTEST_H
#define CUSTOMFIELDSWIDGETTEST_H
#include <QObject>
class
CustomFieldsWidgetTest
:
public
QObject
{
Q_OBJECT
public:
explicit
CustomFieldsWidgetTest
(
QObject
*
parent
=
Q_NULLPTR
);
~
CustomFieldsWidgetTest
();
};
#endif // CUSTOMFIELDSWIDGETTEST_H
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment