Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Paul Rouanet
ros2_control_bolt
Commits
12c44834
Unverified
Commit
12c44834
authored
May 07, 2020
by
Denis Štogl
Browse files
Added test dummies to repositories.
parent
484d1a0e
Changes
8
Hide whitespace changes
Inline
Side-by-side
ros2_control_demo_communication_gazebo/CMakeLists.txt
View file @
12c44834
...
...
@@ -26,13 +26,11 @@ install(DIRECTORY include/
if
(
BUILD_TESTING
)
find_package
(
ament_lint_auto REQUIRED
)
# the following line skips the linter which checks for copyrights
# uncomment the line when a copyright and license is not present in all source files
#set(ament_cmake_copyright_FOUND TRUE)
# the following line skips cpplint (only works in a git repo)
# uncomment the line when this package is not in a git repo
#set(ament_cmake_cpplint_FOUND TRUE)
ament_lint_auto_find_test_dependencies
()
ament_add_gtest
(
test_dummy test/test_dummy.cpp
)
target_include_directories
(
test_dummy PRIVATE include
)
# ament_target_dependencies(test_dummy rcpputils)
endif
()
ament_export_libraries
(
${
PROJECT_NAME
}
)
...
...
ros2_control_demo_communication_gazebo/test/test_dummy.cpp
0 → 100644
View file @
12c44834
// Copyright 2017 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include
<gtest/gtest.h>
class
TestDummy
:
public
::
testing
::
Test
{
protected:
static
void
SetUpTestCase
()
{
}
}
ros2_control_demo_communication_headless/CMakeLists.txt
View file @
12c44834
...
...
@@ -26,13 +26,11 @@ install(DIRECTORY include/
if
(
BUILD_TESTING
)
find_package
(
ament_lint_auto REQUIRED
)
# the following line skips the linter which checks for copyrights
# uncomment the line when a copyright and license is not present in all source files
#set(ament_cmake_copyright_FOUND TRUE)
# the following line skips cpplint (only works in a git repo)
# uncomment the line when this package is not in a git repo
#set(ament_cmake_cpplint_FOUND TRUE)
ament_lint_auto_find_test_dependencies
()
ament_add_gtest
(
test_dummy test/test_dummy.cpp
)
target_include_directories
(
test_dummy PRIVATE include
)
# ament_target_dependencies(test_dummy rcpputils)
endif
()
ament_export_libraries
(
${
PROJECT_NAME
}
)
...
...
ros2_control_demo_communication_headless/test/test_dummy.cpp
0 → 100644
View file @
12c44834
// Copyright 2017 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include
<gtest/gtest.h>
class
TestDummy
:
public
::
testing
::
Test
{
protected:
static
void
SetUpTestCase
()
{
}
}
ros2_control_demo_hardware/CMakeLists.txt
View file @
12c44834
...
...
@@ -26,13 +26,11 @@ install(DIRECTORY include/
if
(
BUILD_TESTING
)
find_package
(
ament_lint_auto REQUIRED
)
# the following line skips the linter which checks for copyrights
# uncomment the line when a copyright and license is not present in all source files
#set(ament_cmake_copyright_FOUND TRUE)
# the following line skips cpplint (only works in a git repo)
# uncomment the line when this package is not in a git repo
#set(ament_cmake_cpplint_FOUND TRUE)
ament_lint_auto_find_test_dependencies
()
ament_add_gtest
(
test_dummy test/test_dummy.cpp
)
target_include_directories
(
test_dummy PRIVATE include
)
# ament_target_dependencies(test_dummy rcpputils)
endif
()
ament_export_libraries
(
${
PROJECT_NAME
}
)
...
...
ros2_control_demo_hardware/test/test_dummy.cpp
0 → 100644
View file @
12c44834
// Copyright 2017 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include
<gtest/gtest.h>
class
TestDummy
:
public
::
testing
::
Test
{
protected:
static
void
SetUpTestCase
()
{
}
}
ros2_control_demo_robot/CMakeLists.txt
View file @
12c44834
...
...
@@ -26,13 +26,11 @@ install(DIRECTORY config/ description/ launch/
if
(
BUILD_TESTING
)
find_package
(
ament_lint_auto REQUIRED
)
# the following line skips the linter which checks for copyrights
# uncomment the line when a copyright and license is not present in all source files
#set(ament_cmake_copyright_FOUND TRUE)
# the following line skips cpplint (only works in a git repo)
# uncomment the line when this package is not in a git repo
#set(ament_cmake_cpplint_FOUND TRUE)
ament_lint_auto_find_test_dependencies
()
ament_add_gtest
(
test_dummy test/test_dummy.cpp
)
target_include_directories
(
test_dummy PRIVATE include
)
# ament_target_dependencies(test_dummy rcpputils)
endif
()
ament_package
()
ros2_control_demo_robot/test/test_dummy.cpp
0 → 100644
View file @
12c44834
// Copyright 2017 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include
<gtest/gtest.h>
class
TestDummy
:
public
::
testing
::
Test
{
protected:
static
void
SetUpTestCase
()
{
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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