Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
KDE Pim
Commits
ce9d395b
Commit
ce9d395b
authored
Feb 11, 2016
by
Laurent Montel
😁
Browse files
Add test apps
parent
426699d1
Changes
3
Show whitespace changes
Inline
Side-by-side
kaddressbook/CMakeLists.txt
View file @
ce9d395b
...
@@ -117,6 +117,7 @@ else()
...
@@ -117,6 +117,7 @@ else()
endif
()
endif
()
if
(
BUILD_TESTING
)
if
(
BUILD_TESTING
)
add_subdirectory
(
autotests
)
add_subdirectory
(
autotests
)
add_subdirectory
(
tests
)
endif
()
endif
()
if
(
KF5Gpgmepp_FOUND
)
if
(
KF5Gpgmepp_FOUND
)
...
...
kaddressbook/tests/CMakeLists.txt
0 → 100644
View file @
ce9d395b
set
(
newdesigntest_SRCS
main.cpp
)
add_executable
(
newdesigntest
${
newdesigntest_SRCS
}
)
target_link_libraries
(
newdesigntest
Qt5::Widgets
KF5::Contacts
KF5::I18n
KF5::Completion
KF5::IconThemes
KF5::WidgetsAddons
)
kaddressbook/tests/main.cpp
0 → 100644
View file @
ce9d395b
/*
Copyright (C) 2016 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 <QApplication>
int
main
(
int
argc
,
char
*
argv
[])
{
QApplication
app
(
argc
,
argv
);
return
app
.
exec
();
}
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