Public Member Functions | Public Attributes | List of all members
test_urdf_error.TestURDFParserError Class Reference
Inheritance diagram for test_urdf_error.TestURDFParserError:
Inheritance graph
[legend]

Public Member Functions

def assertLoggedErrors (self, errors, func, args, kwds)
 
def assertParseErrorPath (self, path, func, args, kwds)
 
def getParseFuncs (self, cls, xml_string)
 
def setUp (self)
 
def tearDown (self)
 
def test_bad_ducktype (self)
 
def test_bad_inertial_origin_xyz (self)
 
def test_invalid_joint_type (self)
 
def test_invalid_joint_type_in_robot (self)
 
def test_unknown_attribute (self)
 
def test_unknown_tag (self)
 
def test_unset_required_name_aggregate_ducktype (self)
 
def test_unset_required_name_aggregate_in_robot (self)
 
def test_unset_required_name_link (self)
 

Public Attributes

 errors
 

Detailed Description

Definition at line 8 of file test_urdf_error.py.

Member Function Documentation

◆ assertLoggedErrors()

def test_urdf_error.TestURDFParserError.assertLoggedErrors (   self,
  errors,
  func,
  args,
  kwds 
)

Definition at line 19 of file test_urdf_error.py.

◆ assertParseErrorPath()

def test_urdf_error.TestURDFParserError.assertParseErrorPath (   self,
  path,
  func,
  args,
  kwds 
)

Definition at line 23 of file test_urdf_error.py.

◆ getParseFuncs()

def test_urdf_error.TestURDFParserError.getParseFuncs (   self,
  cls,
  xml_string 
)
Check XML parsing of a given string, using both "from_xml_string" and "parse" 

Definition at line 29 of file test_urdf_error.py.

◆ setUp()

def test_urdf_error.TestURDFParserError.setUp (   self)

Definition at line 9 of file test_urdf_error.py.

◆ tearDown()

def test_urdf_error.TestURDFParserError.tearDown (   self)

Definition at line 16 of file test_urdf_error.py.

◆ test_bad_ducktype()

def test_urdf_error.TestURDFParserError.test_bad_ducktype (   self)

Definition at line 126 of file test_urdf_error.py.

◆ test_bad_inertial_origin_xyz()

def test_urdf_error.TestURDFParserError.test_bad_inertial_origin_xyz (   self)

Definition at line 113 of file test_urdf_error.py.

◆ test_invalid_joint_type()

def test_urdf_error.TestURDFParserError.test_invalid_joint_type (   self)

Definition at line 70 of file test_urdf_error.py.

◆ test_invalid_joint_type_in_robot()

def test_urdf_error.TestURDFParserError.test_invalid_joint_type_in_robot (   self)

Definition at line 80 of file test_urdf_error.py.

◆ test_unknown_attribute()

def test_urdf_error.TestURDFParserError.test_unknown_attribute (   self)

Definition at line 55 of file test_urdf_error.py.

◆ test_unknown_tag()

def test_urdf_error.TestURDFParserError.test_unknown_tag (   self)

Definition at line 45 of file test_urdf_error.py.

◆ test_unset_required_name_aggregate_ducktype()

def test_urdf_error.TestURDFParserError.test_unset_required_name_aggregate_ducktype (   self)
If an aggregate duck-typed element does not have a required attribute, ensure it is reported with the index 

Definition at line 103 of file test_urdf_error.py.

◆ test_unset_required_name_aggregate_in_robot()

def test_urdf_error.TestURDFParserError.test_unset_required_name_aggregate_in_robot (   self)
Show that an aggregate with an unset name still has its index specified 

Definition at line 92 of file test_urdf_error.py.

◆ test_unset_required_name_link()

def test_urdf_error.TestURDFParserError.test_unset_required_name_link (   self)

Definition at line 63 of file test_urdf_error.py.

Member Data Documentation

◆ errors

test_urdf_error.TestURDFParserError.errors

Definition at line 11 of file test_urdf_error.py.


The documentation for this class was generated from the following file:


urdfdom_py
Author(s): Thomas Moulard, David Lu, Kelsey Hawkins, Antonio El Khoury, Eric Cousineau, Ioan Sucan , Jackie Kay
autogenerated on Mon Feb 28 2022 23:58:25