|
| 1 | +// Copyright 2023 LAAS CNRS |
| 2 | +// |
| 3 | +// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +// you may not use this file except in compliance with the License. |
| 5 | +// You may obtain a copy of the License at |
| 6 | +// |
| 7 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +// |
| 9 | +// Unless required by applicable law or agreed to in writing, software |
| 10 | +// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +// See the License for the specific language governing permissions and |
| 13 | +// limitations under the License. |
| 14 | + |
| 15 | +#include <gmock/gmock.h> |
| 16 | + |
| 17 | +#include "hardware_interface/actuator.hpp" |
| 18 | +#include "hardware_interface/actuator_interface.hpp" |
| 19 | +#include "hardware_interface/sensor.hpp" |
| 20 | +#include "hardware_interface/sensor_interface.hpp" |
| 21 | +#include "hardware_interface/system.hpp" |
| 22 | +#include "hardware_interface/system_interface.hpp" |
| 23 | + |
| 24 | +class TestInstantiationHardwares : public ::testing::Test |
| 25 | +{ |
| 26 | +protected: |
| 27 | + static void SetUpTestCase() {} |
| 28 | +}; |
| 29 | + |
| 30 | +TEST_F(TestInstantiationHardwares, build_actuator) { hardware_interface::Actuator anActuator; } |
| 31 | + |
| 32 | +TEST_F(TestInstantiationHardwares, build_sensor) { hardware_interface::Sensor aSensor; } |
| 33 | + |
| 34 | +TEST_F(TestInstantiationHardwares, build_system) { hardware_interface::System aSystem; } |
0 commit comments