Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Functions | Variables
tesseract_urdf_geometry_unit.cpp File Reference
#include <tesseract_common/macros.h>
#include <gtest/gtest.h>
#include <Eigen/Geometry>
#include <tesseract_geometry/geometries.h>
#include <tesseract_urdf/geometry.h>
#include <tesseract_support/tesseract_support_resource_locator.h>
#include "tesseract_urdf_common_unit.h"
Include dependency graph for tesseract_urdf_geometry_unit.cpp:

Functions

 EXPECT_TRUE (runTest< std::vector< tesseract_geometry::Geometry::Ptr > >(elem, &tesseract_urdf::parseGeometry, str, "geometry", resource_locator, 2, true))
 
 EXPECT_TRUE (elem.size()==1)
 
 EXPECT_TRUE (elem[0]->getType()==tesseract_geometry::GeometryType::BOX)
 
 EXPECT_FALSE (runTest< std::vector< tesseract_geometry::Geometry::Ptr > >(elem, &tesseract_urdf::parseGeometry, str, "geometry", resource_locator, 2, true))
 

Variables

TESSERACT_COMMON_IGNORE_WARNINGS_PUSH TESSERACT_COMMON_IGNORE_WARNINGS_POP
 
std::vector< tesseract_geometry::Geometry::Ptrelem
 

Function Documentation

◆ EXPECT_FALSE()

EXPECT_FALSE ( runTest< std::vector< tesseract_geometry::Geometry::Ptr > >  elem, &tesseract_urdf::parseGeometry, str, "geometry", resource_locator, 2, true)

◆ EXPECT_TRUE() [1/3]

EXPECT_TRUE ( elem.  size() = =1)

◆ EXPECT_TRUE() [2/3]

EXPECT_TRUE ( elem->  getType()[0] = =tesseract_geometry::GeometryType::BOX)

◆ EXPECT_TRUE() [3/3]

EXPECT_TRUE ( runTest< std::vector< tesseract_geometry::Geometry::Ptr > >  elem, &tesseract_urdf::parseGeometry, str, "geometry", resource_locator, 2, true)

Variable Documentation

◆ elem

Initial value:
{
std::string str = R"(<geometry extra="0 0 0">
<box size="1 1 1" />
</geometry>)"
std::string str
Definition: tesseract_srdf_unit.cpp:925

◆ TESSERACT_COMMON_IGNORE_WARNINGS_POP

TESSERACT_COMMON_IGNORE_WARNINGS_PUSH TESSERACT_COMMON_IGNORE_WARNINGS_POP
Initial value:
{
Abstract class for resource loaders.
Definition: tesseract_support_resource_locator.h:42