Functions
test_shape_shifter.cpp File Reference

Test for shape_shifter.h . More...

#include "gtest/gtest.h"
#include <string>
#include <utility>
#include <vector>
#include <ros/serialization.h>
#include <cras_topic_tools/shape_shifter.h>
#include <std_msgs/Bool.h>
#include <std_msgs/Header.h>
#include <std_msgs/String.h>
#include <geometry_msgs/PointStamped.h>
Include dependency graph for test_shape_shifter.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
 TEST (ShapeShifter, MsgToShapeShifter)
 
 TEST (ShapeShifter, GetBuffer)
 
 TEST (ShapeShifter, GetHeaderOK)
 
 TEST (ShapeShifter, GetHeaderFromHeader)
 
 TEST (ShapeShifter, GetHeaderFromBool)
 
 TEST (ShapeShifter, GetHeaderFromLongString)
 
 TEST (ShapeShifter, GetHeaderFromFakeString)
 
 TEST (ShapeShifter, SetHeaderSameLength)
 
 TEST (ShapeShifter, SetHeaderShorter)
 
 TEST (ShapeShifter, SetHeaderLonger)
 
 TEST (ShapeShifter, CopyShapeShifter)
 
 TEST (ShapeShifter, CopyCrasShapeShifter)
 

Detailed Description

Test for shape_shifter.h .

Author
Martin Pecka SPDX-License-Identifier: BSD-3-Clause SPDX-FileCopyrightText: Czech Technical University in Prague

Definition in file test_shape_shifter.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 312 of file test_shape_shifter.cpp.

◆ TEST() [1/12]

TEST ( ShapeShifter  ,
MsgToShapeShifter   
)

Definition at line 23 of file test_shape_shifter.cpp.

◆ TEST() [2/12]

TEST ( ShapeShifter  ,
GetBuffer   
)

Definition at line 59 of file test_shape_shifter.cpp.

◆ TEST() [3/12]

TEST ( ShapeShifter  ,
GetHeaderOK   
)

Definition at line 89 of file test_shape_shifter.cpp.

◆ TEST() [4/12]

TEST ( ShapeShifter  ,
GetHeaderFromHeader   
)

Definition at line 109 of file test_shape_shifter.cpp.

◆ TEST() [5/12]

TEST ( ShapeShifter  ,
GetHeaderFromBool   
)

Definition at line 126 of file test_shape_shifter.cpp.

◆ TEST() [6/12]

TEST ( ShapeShifter  ,
GetHeaderFromLongString   
)

Definition at line 140 of file test_shape_shifter.cpp.

◆ TEST() [7/12]

TEST ( ShapeShifter  ,
GetHeaderFromFakeString   
)

Definition at line 154 of file test_shape_shifter.cpp.

◆ TEST() [8/12]

TEST ( ShapeShifter  ,
SetHeaderSameLength   
)

Definition at line 171 of file test_shape_shifter.cpp.

◆ TEST() [9/12]

TEST ( ShapeShifter  ,
SetHeaderShorter   
)

Definition at line 200 of file test_shape_shifter.cpp.

◆ TEST() [10/12]

TEST ( ShapeShifter  ,
SetHeaderLonger   
)

Definition at line 229 of file test_shape_shifter.cpp.

◆ TEST() [11/12]

TEST ( ShapeShifter  ,
CopyShapeShifter   
)

Definition at line 258 of file test_shape_shifter.cpp.

◆ TEST() [12/12]

TEST ( ShapeShifter  ,
CopyCrasShapeShifter   
)

Definition at line 282 of file test_shape_shifter.cpp.



cras_topic_tools
Author(s): Martin Pecka
autogenerated on Sat Jun 17 2023 02:33:13