μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Functions
test_class Namespace Reference

Namespaces

namespace  pr4220_tripped_over_this
 

Functions

def test_repr ()
 
def test_instance (msg)
 
def test_instance_new (msg)
 
def test_type ()
 
def test_type_of_py ()
 
def test_type_of_classic ()
 
def test_type_of_py_nodelete ()
 
def test_as_type_py ()
 
def test_docstrings (doc)
 
def test_qualname (doc)
 
def test_inheritance (msg)
 
def test_inheritance_init (msg)
 
def test_automatic_upcasting ()
 
def test_isinstance ()
 
def test_mismatched_holder ()
 
def test_override_static ()
 
def test_implicit_conversion_life_support ()
 
def test_operator_new_delete (capture)
 
def test_bind_protected_functions ()
 
def test_brace_initialization ()
 
def test_class_refcount ()
 
def test_reentrant_implicit_conversion_failure (msg)
 
def test_error_after_conversions ()
 
def test_aligned ()
 
def test_final ()
 
def test_non_final_final ()
 
def test_exception_rvalue_abort ()
 
def test_multiple_instances_with_same_pointer (capture)
 
def test_base_and_derived_nested_scope ()
 
def test_register_duplicate_class ()
 
def test_obj_class_name ()
 
def test_pr4220_tripped_over_this ()
 

Function Documentation

◆ test_aligned()

def test_class.test_aligned ( )

Definition at line 387 of file test_class.py.

References hasattr().

◆ test_as_type_py()

def test_class.test_as_type_py ( )

Definition at line 68 of file test_class.py.

◆ test_automatic_upcasting()

def test_class.test_automatic_upcasting ( )

Definition at line 203 of file test_class.py.

◆ test_base_and_derived_nested_scope()

def test_class.test_base_and_derived_nested_scope ( )

Definition at line 437 of file test_class.py.

◆ test_bind_protected_functions()

def test_class.test_bind_protected_functions ( )
Expose protected member functions to Python using a helper class

Definition at line 311 of file test_class.py.

◆ test_brace_initialization()

def test_class.test_brace_initialization ( )
Tests that simple POD classes can be constructed using C++11 brace initialization

Definition at line 330 of file test_class.py.

◆ test_class_refcount()

def test_class.test_class_refcount ( )
Instances must correctly increase/decrease the reference count of their types (#1029)

Definition at line 344 of file test_class.py.

◆ test_docstrings()

def test_class.test_docstrings (   doc)

Definition at line 78 of file test_class.py.

◆ test_error_after_conversions()

def test_class.test_error_after_conversions ( )

Definition at line 379 of file test_class.py.

◆ test_exception_rvalue_abort()

def test_class.test_exception_rvalue_abort ( )

Definition at line 416 of file test_class.py.

◆ test_final()

def test_class.test_final ( )

Definition at line 395 of file test_class.py.

◆ test_implicit_conversion_life_support()

def test_class.test_implicit_conversion_life_support ( )
Ensure the lifetime of temporary objects created for implicit conversions

Definition at line 254 of file test_class.py.

◆ test_inheritance()

def test_class.test_inheritance (   msg)

Definition at line 145 of file test_class.py.

◆ test_inheritance_init()

def test_class.test_inheritance_init (   msg)

Definition at line 180 of file test_class.py.

◆ test_instance()

def test_class.test_instance (   msg)

Definition at line 15 of file test_class.py.

References ConstructorStats.get().

◆ test_instance_new()

def test_class.test_instance_new (   msg)

Definition at line 28 of file test_class.py.

References ConstructorStats.get().

◆ test_isinstance()

def test_class.test_isinstance ( )

Definition at line 217 of file test_class.py.

◆ test_mismatched_holder()

def test_class.test_mismatched_holder ( )

Definition at line 223 of file test_class.py.

◆ test_multiple_instances_with_same_pointer()

def test_class.test_multiple_instances_with_same_pointer (   capture)

Definition at line 422 of file test_class.py.

◆ test_non_final_final()

def test_class.test_non_final_final ( )

Definition at line 406 of file test_class.py.

◆ test_obj_class_name()

def test_class.test_obj_class_name ( )

Definition at line 8 of file test_class.py.

References ConstructorStats.get(), and repr().

◆ test_operator_new_delete()

def test_class.test_operator_new_delete (   capture)
Tests that class-specific operator new/delete functions are invoked

Definition at line 262 of file test_class.py.

◆ test_override_static()

def test_class.test_override_static ( )
#511: problem with inheritance + overwritten def_static

Definition at line 243 of file test_class.py.

References isinstance().

◆ test_pr4220_tripped_over_this()

def test_class.test_pr4220_tripped_over_this ( )

Definition at line 484 of file test_class.py.

◆ test_qualname()

def test_class.test_qualname (   doc)
Tests that a properly qualified name is set in __qualname__ (even in pre-3.3, where we
backport the attribute) and that generated docstrings properly use it and the module name
Tests that a properly qualified name is set in __qualname__ and that
generated docstrings properly use it and the module name

Definition at line 105 of file test_class.py.

◆ test_reentrant_implicit_conversion_failure()

def test_class.test_reentrant_implicit_conversion_failure (   msg)

Definition at line 364 of file test_class.py.

◆ test_register_duplicate_class()

def test_class.test_register_duplicate_class ( )

Definition at line 444 of file test_class.py.

◆ test_repr()

def test_class.test_repr ( )

Definition at line 9 of file test_class.py.

References repr().

◆ test_type()

def test_class.test_type ( )

Definition at line 36 of file test_class.py.

◆ test_type_of_classic()

def test_class.test_type_of_classic ( )

Definition at line 57 of file test_class.py.

◆ test_type_of_py()

def test_class.test_type_of_py ( )

Definition at line 51 of file test_class.py.

◆ test_type_of_py_nodelete()

def test_class.test_type_of_py_nodelete ( )

Definition at line 63 of file test_class.py.