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
KDebugSettings
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
Utilities
KDebugSettings
Commits
61b5e733
Commit
61b5e733
authored
Feb 23, 2015
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add unittest
parent
5cf10aee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
CMakeLists.txt
CMakeLists.txt
+2
-0
autotests/CMakeLists.txt
autotests/CMakeLists.txt
+17
-0
src/CMakeLists.txt
src/CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
61b5e733
...
...
@@ -21,6 +21,8 @@ include(ECMInstallIcons)
include
(
KDEInstallDirs
)
include
(
KDECompilerSettings
)
include
(
KDECMakeSettings
)
include
(
ECMAddTests
)
add_definitions
(
-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS
)
add_definitions
(
-DTRANSLATION_DOMAIN=
"kdebugsettings"
)
...
...
autotests/CMakeLists.txt
View file @
61b5e733
# convenience macro to add qtest unit tests
macro
(
add_unittest _source _additionalsource
)
set
(
_test
${
_source
}
${
_additionalsource
}
)
get_filename_component
(
_name
${
_source
}
NAME_WE
)
add_executable
(
${
_name
}
${
_test
}
)
add_test
(
${
_name
}
${
_name
}
)
ecm_mark_as_test
(
kdebugsettings-
${
_name
}
)
target_link_libraries
(
${
_name
}
Qt5::Test
KF5::I18n
Qt5::Widgets
)
endmacro
()
add_unittest
(
kdebugsettingsdialogtest.cpp
""
)
src/CMakeLists.txt
View file @
61b5e733
...
...
@@ -12,5 +12,5 @@ install(TARGETS kdebugsettings ${INSTALL_TARGETS_DEFAULT_ARGS} )
########### install files ###############
#install( PROGRAMS org.kde.kline
s.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install
(
PROGRAMS org.kde.kdebugsetting
s.desktop DESTINATION
${
XDG_APPS_INSTALL_DIR
}
)
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