Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Namespaces | Functions
unit_test_utils.h File Reference

Common Tesseract unit test utilities. More...

#include <tesseract_common/macros.h>
#include <gtest/gtest.h>
#include <boost/serialization/shared_ptr.hpp>
#include <tesseract_common/serialization.h>
#include <tesseract_common/utils.h>
Include dependency graph for unit_test_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tesseract_common
 

Functions

template<typename SerializableType >
void tesseract_common::testSerialization (const SerializableType &object, const std::string &typename_string)
 Tests Boost serialization for a serializable type. More...
 
template<typename SerializableType >
void tesseract_common::testSerializationPtr (const std::shared_ptr< SerializableType > &object, const std::string &typename_string)
 Tests Boost serialization of shared pointer for a serializable type. More...
 
template<typename SerializableTypeBase , typename SerializableTypeDerived >
void tesseract_common::testSerializationDerivedClass (const std::shared_ptr< SerializableTypeBase > &object, const std::string &typename_string)
 Tests Boost serialization for a serializable derived type. More...
 

Detailed Description

Common Tesseract unit test utilities.

Author
Levi Armstrong
Matthew Powelson
Date
March 16, 2022
Version
TODO
Bug:
No known bugs
License
Software License Agreement (Apache License)
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.