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

Public Member Functions

def __init__ (self, args, kwargs)
 
def test_arg_function (self)
 
def test_boolean_if_statement (self)
 
def test_broken_input_doesnt_create_empty_output_file (self)
 
def test_comments (self)
 
def test_consecutive_if (self)
 
def test_consider_non_elements_block (self)
 
def test_consider_non_elements_if (self)
 
def test_create_subdirs (self)
 
def test_default_arg (self)
 
def test_default_arg_empty (self)
 
def test_default_arg_missing (self)
 
def test_default_arg_override (self)
 
def test_default_param (self)
 
def test_default_param_override (self)
 
def test_double_underscore_property_name_raises (self)
 
def test_dynamic_macro_name_clash (self)
 
def test_dynamic_macro_names (self)
 
def test_dynamic_macro_undefined (self)
 
def test_enforce_xacro_ns (self)
 
def test_equality_expression_in_if_statement (self)
 
def test_error_reporting (self)
 
def test_escaping_dollar_braces (self)
 
def test_evaluate_macro_params_before_body (self)
 
def test_expression_in_extension (self)
 
def test_extension_in_expression (self)
 
def test_float_if_statement (self)
 
def test_from_issue (self)
 
def test_greedy_property_evaluation (self)
 
def test_ignore_xacro_comments (self)
 
def test_include (self)
 
def test_include_deprecated (self)
 
def test_include_from_variable (self)
 
def test_include_glob (self)
 
def test_include_nonexistent (self)
 
def test_include_recursive (self)
 
def test_include_with_namespace (self)
 
def test_inorder_processing (self)
 
def test_insert_block_property (self)
 
def test_integer_if_statement (self)
 
def test_integer_stays_integer (self)
 
def test_invalid_if_statement (self)
 
def test_invalid_property_name (self)
 
def test_issue_68_numeric_arg (self)
 
def test_iterable_literals_eval (self)
 
def test_iterable_literals_plain (self)
 
def test_just_a_dollar_sign (self)
 
def test_macro_name_with_colon (self)
 
def test_macro_params_escaped_string (self)
 
def test_macro_undefined (self)
 
def test_math_expressions (self)
 
def test_math_ignores_spaces (self)
 
def test_message_functions (self)
 
def test_multi_tree_evaluation (self)
 
def test_multiple_blocks (self)
 
def test_multiple_definition_and_evaluation (self)
 
def test_multiple_insert_blocks (self)
 
def test_multiple_recursive_evaluation (self)
 
def test_no_double_evaluation (self)
 
def test_no_evaluation (self)
 
def test_overwrite_globals (self)
 
def test_param_missing (self)
 
def test_property_forwarding (self)
 
def test_property_if_statement (self)
 
def test_property_replacement (self)
 
def test_property_scope_global (self)
 
def test_property_scope_parent (self)
 
def test_recursive_bad_math (self)
 
def test_recursive_definition (self)
 
def test_recursive_evaluation (self)
 
def test_recursive_evaluation_wrong_order (self)
 
def test_restricted_builtins (self)
 
def test_restricted_builtins_nested (self)
 
def test_safe_eval (self)
 
def test_should_replace_before_macroexpand (self)
 
def test_substitution_args_arg (self)
 
def test_substitution_args_find (self)
 
def test_target_namespace (self)
 
def test_target_namespace_only_from_root (self)
 
def test_transitive_arg_evaluation (self)
 
def test_transitive_evaluation (self)
 
def test_xacro_attribute (self)
 
def test_xacro_element (self)
 
def test_xml_namespace_lifting (self)
 
- Public Member Functions inherited from test_xacro.TestXacroCommentsIgnored
def __init__ (self, args, kwargs)
 
def test_pr2 (self)
 
- Public Member Functions inherited from test_xacro.TestXacroBase
def __init__ (self, args, kwargs)
 
def assert_matches (self, a, b)
 
def quick_xacro (self, xml, cli=None, kwargs)
 
def run_xacro (self, input_path, args)
 

Public Attributes

 ignore_nodes
 
- Public Attributes inherited from test_xacro.TestXacroCommentsIgnored
 ignore_nodes
 
- Public Attributes inherited from test_xacro.TestXacroBase
 ignore_nodes
 
 in_order
 

Detailed Description

Definition at line 366 of file test_xacro.py.

Constructor & Destructor Documentation

◆ __init__()

def test_xacro.TestXacro.__init__ (   self,
  args,
  kwargs 
)

Definition at line 367 of file test_xacro.py.

Member Function Documentation

◆ test_arg_function()

def test_xacro.TestXacro.test_arg_function (   self)

Definition at line 1042 of file test_xacro.py.

◆ test_boolean_if_statement()

def test_xacro.TestXacro.test_boolean_if_statement (   self)

Definition at line 653 of file test_xacro.py.

◆ test_broken_input_doesnt_create_empty_output_file()

def test_xacro.TestXacro.test_broken_input_doesnt_create_empty_output_file (   self)

Definition at line 1047 of file test_xacro.py.

◆ test_comments()

def test_xacro.TestXacro.test_comments (   self)

Definition at line 1227 of file test_xacro.py.

◆ test_consecutive_if()

def test_xacro.TestXacro.test_consecutive_if (   self)

Definition at line 720 of file test_xacro.py.

◆ test_consider_non_elements_block()

def test_xacro.TestXacro.test_consider_non_elements_block (   self)

Definition at line 783 of file test_xacro.py.

◆ test_consider_non_elements_if()

def test_xacro.TestXacro.test_consider_non_elements_if (   self)

Definition at line 776 of file test_xacro.py.

◆ test_create_subdirs()

def test_xacro.TestXacro.test_create_subdirs (   self)

Definition at line 1059 of file test_xacro.py.

◆ test_default_arg()

def test_xacro.TestXacro.test_default_arg (   self)

Definition at line 1000 of file test_xacro.py.

◆ test_default_arg_empty()

def test_xacro.TestXacro.test_default_arg_empty (   self)

Definition at line 1037 of file test_xacro.py.

◆ test_default_arg_missing()

def test_xacro.TestXacro.test_default_arg_missing (   self)

Definition at line 1030 of file test_xacro.py.

◆ test_default_arg_override()

def test_xacro.TestXacro.test_default_arg_override (   self)

Definition at line 1015 of file test_xacro.py.

◆ test_default_param()

def test_xacro.TestXacro.test_default_param (   self)

Definition at line 936 of file test_xacro.py.

◆ test_default_param_override()

def test_xacro.TestXacro.test_default_param_override (   self)

Definition at line 960 of file test_xacro.py.

◆ test_double_underscore_property_name_raises()

def test_xacro.TestXacro.test_double_underscore_property_name_raises (   self)

Definition at line 376 of file test_xacro.py.

◆ test_dynamic_macro_name_clash()

def test_xacro.TestXacro.test_dynamic_macro_name_clash (   self)

Definition at line 393 of file test_xacro.py.

◆ test_dynamic_macro_names()

def test_xacro.TestXacro.test_dynamic_macro_names (   self)

Definition at line 383 of file test_xacro.py.

◆ test_dynamic_macro_undefined()

def test_xacro.TestXacro.test_dynamic_macro_undefined (   self)

Definition at line 407 of file test_xacro.py.

◆ test_enforce_xacro_ns()

def test_xacro.TestXacro.test_enforce_xacro_ns (   self)

Definition at line 1096 of file test_xacro.py.

◆ test_equality_expression_in_if_statement()

def test_xacro.TestXacro.test_equality_expression_in_if_statement (   self)

Definition at line 726 of file test_xacro.py.

◆ test_error_reporting()

def test_xacro.TestXacro.test_error_reporting (   self)

Definition at line 1203 of file test_xacro.py.

◆ test_escaping_dollar_braces()

def test_xacro.TestXacro.test_escaping_dollar_braces (   self)

Definition at line 527 of file test_xacro.py.

◆ test_evaluate_macro_params_before_body()

def test_xacro.TestXacro.test_evaluate_macro_params_before_body (   self)

Definition at line 475 of file test_xacro.py.

◆ test_expression_in_extension()

def test_xacro.TestXacro.test_expression_in_extension (   self)

Definition at line 1179 of file test_xacro.py.

◆ test_extension_in_expression()

def test_xacro.TestXacro.test_extension_in_expression (   self)

Definition at line 1174 of file test_xacro.py.

◆ test_float_if_statement()

def test_xacro.TestXacro.test_float_if_statement (   self)

Definition at line 693 of file test_xacro.py.

◆ test_from_issue()

def test_xacro.TestXacro.test_from_issue (   self)

Definition at line 914 of file test_xacro.py.

◆ test_greedy_property_evaluation()

def test_xacro.TestXacro.test_greedy_property_evaluation (   self)

Definition at line 854 of file test_xacro.py.

◆ test_ignore_xacro_comments()

def test_xacro.TestXacro.test_ignore_xacro_comments (   self)

Definition at line 803 of file test_xacro.py.

◆ test_include()

def test_xacro.TestXacro.test_include (   self)

Definition at line 594 of file test_xacro.py.

◆ test_include_deprecated()

def test_xacro.TestXacro.test_include_deprecated (   self)

Definition at line 609 of file test_xacro.py.

◆ test_include_from_variable()

def test_xacro.TestXacro.test_include_from_variable (   self)

Definition at line 616 of file test_xacro.py.

◆ test_include_glob()

def test_xacro.TestXacro.test_include_glob (   self)

Definition at line 598 of file test_xacro.py.

◆ test_include_nonexistent()

def test_xacro.TestXacro.test_include_nonexistent (   self)

Definition at line 604 of file test_xacro.py.

◆ test_include_recursive()

def test_xacro.TestXacro.test_include_recursive (   self)

Definition at line 625 of file test_xacro.py.

◆ test_include_with_namespace()

def test_xacro.TestXacro.test_include_with_namespace (   self)

Definition at line 634 of file test_xacro.py.

◆ test_inorder_processing()

def test_xacro.TestXacro.test_inorder_processing (   self)

Definition at line 439 of file test_xacro.py.

◆ test_insert_block_property()

def test_xacro.TestXacro.test_insert_block_property (   self)

Definition at line 579 of file test_xacro.py.

◆ test_integer_if_statement()

def test_xacro.TestXacro.test_integer_if_statement (   self)

Definition at line 673 of file test_xacro.py.

◆ test_integer_stays_integer()

def test_xacro.TestXacro.test_integer_stays_integer (   self)

Definition at line 568 of file test_xacro.py.

◆ test_invalid_if_statement()

def test_xacro.TestXacro.test_invalid_if_statement (   self)

Definition at line 667 of file test_xacro.py.

◆ test_invalid_property_name()

def test_xacro.TestXacro.test_invalid_property_name (   self)

Definition at line 371 of file test_xacro.py.

◆ test_issue_68_numeric_arg()

def test_xacro.TestXacro.test_issue_68_numeric_arg (   self)

Definition at line 1107 of file test_xacro.py.

◆ test_iterable_literals_eval()

def test_xacro.TestXacro.test_iterable_literals_eval (   self)

Definition at line 1084 of file test_xacro.py.

◆ test_iterable_literals_plain()

def test_xacro.TestXacro.test_iterable_literals_plain (   self)

Definition at line 1072 of file test_xacro.py.

◆ test_just_a_dollar_sign()

def test_xacro.TestXacro.test_just_a_dollar_sign (   self)

Definition at line 531 of file test_xacro.py.

◆ test_macro_name_with_colon()

def test_xacro.TestXacro.test_macro_name_with_colon (   self)

Definition at line 1135 of file test_xacro.py.

◆ test_macro_params_escaped_string()

def test_xacro.TestXacro.test_macro_params_escaped_string (   self)

Definition at line 481 of file test_xacro.py.

◆ test_macro_undefined()

def test_xacro.TestXacro.test_macro_undefined (   self)

Definition at line 413 of file test_xacro.py.

◆ test_math_expressions()

def test_xacro.TestXacro.test_math_expressions (   self)

Definition at line 748 of file test_xacro.py.

◆ test_math_ignores_spaces()

def test_xacro.TestXacro.test_math_ignores_spaces (   self)

Definition at line 515 of file test_xacro.py.

◆ test_message_functions()

def test_xacro.TestXacro.test_message_functions (   self)

Definition at line 1194 of file test_xacro.py.

◆ test_multi_tree_evaluation()

def test_xacro.TestXacro.test_multi_tree_evaluation (   self)

Definition at line 900 of file test_xacro.py.

◆ test_multiple_blocks()

def test_xacro.TestXacro.test_multiple_blocks (   self)

Definition at line 549 of file test_xacro.py.

◆ test_multiple_definition_and_evaluation()

def test_xacro.TestXacro.test_multiple_definition_and_evaluation (   self)

Definition at line 874 of file test_xacro.py.

◆ test_multiple_insert_blocks()

def test_xacro.TestXacro.test_multiple_insert_blocks (   self)

Definition at line 535 of file test_xacro.py.

◆ test_multiple_recursive_evaluation()

def test_xacro.TestXacro.test_multiple_recursive_evaluation (   self)

Definition at line 861 of file test_xacro.py.

◆ test_no_double_evaluation()

def test_xacro.TestXacro.test_no_double_evaluation (   self)

Definition at line 1152 of file test_xacro.py.

◆ test_no_evaluation()

def test_xacro.TestXacro.test_no_evaluation (   self)

Definition at line 738 of file test_xacro.py.

◆ test_overwrite_globals()

def test_xacro.TestXacro.test_overwrite_globals (   self)

Definition at line 1145 of file test_xacro.py.

◆ test_param_missing()

def test_xacro.TestXacro.test_param_missing (   self)

Definition at line 984 of file test_xacro.py.

◆ test_property_forwarding()

def test_xacro.TestXacro.test_property_forwarding (   self)

Definition at line 1163 of file test_xacro.py.

◆ test_property_if_statement()

def test_xacro.TestXacro.test_property_if_statement (   self)

Definition at line 707 of file test_xacro.py.

◆ test_property_replacement()

def test_xacro.TestXacro.test_property_replacement (   self)

Definition at line 487 of file test_xacro.py.

◆ test_property_scope_global()

def test_xacro.TestXacro.test_property_scope_global (   self)

Definition at line 504 of file test_xacro.py.

◆ test_property_scope_parent()

def test_xacro.TestXacro.test_property_scope_parent (   self)

Definition at line 496 of file test_xacro.py.

◆ test_recursive_bad_math()

def test_xacro.TestXacro.test_recursive_bad_math (   self)

Definition at line 929 of file test_xacro.py.

◆ test_recursive_definition()

def test_xacro.TestXacro.test_recursive_definition (   self)

Definition at line 842 of file test_xacro.py.

◆ test_recursive_evaluation()

def test_xacro.TestXacro.test_recursive_evaluation (   self)

Definition at line 820 of file test_xacro.py.

◆ test_recursive_evaluation_wrong_order()

def test_xacro.TestXacro.test_recursive_evaluation_wrong_order (   self)

Definition at line 831 of file test_xacro.py.

◆ test_restricted_builtins()

def test_xacro.TestXacro.test_restricted_builtins (   self)

Definition at line 758 of file test_xacro.py.

◆ test_restricted_builtins_nested()

def test_xacro.TestXacro.test_restricted_builtins_nested (   self)

Definition at line 762 of file test_xacro.py.

◆ test_safe_eval()

def test_xacro.TestXacro.test_safe_eval (   self)

Definition at line 772 of file test_xacro.py.

◆ test_should_replace_before_macroexpand()

def test_xacro.TestXacro.test_should_replace_before_macroexpand (   self)

Definition at line 464 of file test_xacro.py.

◆ test_substitution_args_arg()

def test_xacro.TestXacro.test_substitution_args_arg (   self)

Definition at line 523 of file test_xacro.py.

◆ test_substitution_args_find()

def test_xacro.TestXacro.test_substitution_args_find (   self)

Definition at line 519 of file test_xacro.py.

◆ test_target_namespace()

def test_xacro.TestXacro.test_target_namespace (   self)

Definition at line 1184 of file test_xacro.py.

◆ test_target_namespace_only_from_root()

def test_xacro.TestXacro.test_target_namespace_only_from_root (   self)

Definition at line 1189 of file test_xacro.py.

◆ test_transitive_arg_evaluation()

def test_xacro.TestXacro.test_transitive_arg_evaluation (   self)

Definition at line 1122 of file test_xacro.py.

◆ test_transitive_evaluation()

def test_xacro.TestXacro.test_transitive_evaluation (   self)

Definition at line 887 of file test_xacro.py.

◆ test_xacro_attribute()

def test_xacro.TestXacro.test_xacro_attribute (   self)

Definition at line 428 of file test_xacro.py.

◆ test_xacro_element()

def test_xacro.TestXacro.test_xacro_element (   self)

Definition at line 419 of file test_xacro.py.

◆ test_xml_namespace_lifting()

def test_xacro.TestXacro.test_xml_namespace_lifting (   self)

Definition at line 1217 of file test_xacro.py.

Member Data Documentation

◆ ignore_nodes

test_xacro.TestXacro.ignore_nodes

Definition at line 369 of file test_xacro.py.


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


xacro
Author(s): Stuart Glaser, William Woodall, Robert Haschke
autogenerated on Thu May 25 2023 02:45:08