cppyabm  1.0.17
An agent-based library to integrate C++ and Python
Functions
test_class Namespace Reference

Functions

def test_repr ()
 
def test_instance (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 ()
 

Function Documentation

◆ test_aligned()

def test_class.test_aligned ( )

Definition at line 380 of file test_class.py.

◆ test_as_type_py()

def test_class.test_as_type_py ( )

Definition at line 61 of file test_class.py.

◆ test_automatic_upcasting()

def test_class.test_automatic_upcasting ( )

Definition at line 196 of file test_class.py.

◆ test_base_and_derived_nested_scope()

def test_class.test_base_and_derived_nested_scope ( )

Definition at line 430 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 304 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 323 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 337 of file test_class.py.

◆ test_docstrings()

def test_class.test_docstrings (   doc)

Definition at line 71 of file test_class.py.

◆ test_error_after_conversions()

def test_class.test_error_after_conversions ( )

Definition at line 372 of file test_class.py.

◆ test_exception_rvalue_abort()

def test_class.test_exception_rvalue_abort ( )

Definition at line 409 of file test_class.py.

◆ test_final()

def test_class.test_final ( )

Definition at line 388 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 247 of file test_class.py.

◆ test_inheritance()

def test_class.test_inheritance (   msg)

Definition at line 138 of file test_class.py.

◆ test_inheritance_init()

def test_class.test_inheritance_init (   msg)

Definition at line 173 of file test_class.py.

◆ test_instance()

def test_class.test_instance (   msg)

Definition at line 16 of file test_class.py.

◆ test_isinstance()

def test_class.test_isinstance ( )

Definition at line 210 of file test_class.py.

◆ test_mismatched_holder()

def test_class.test_mismatched_holder ( )

Definition at line 216 of file test_class.py.

◆ test_multiple_instances_with_same_pointer()

def test_class.test_multiple_instances_with_same_pointer (   capture)

Definition at line 415 of file test_class.py.

◆ test_non_final_final()

def test_class.test_non_final_final ( )

Definition at line 399 of file test_class.py.

◆ 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 255 of file test_class.py.

◆ test_override_static()

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

Definition at line 236 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

Definition at line 98 of file test_class.py.

◆ test_reentrant_implicit_conversion_failure()

def test_class.test_reentrant_implicit_conversion_failure (   msg)

Definition at line 357 of file test_class.py.

◆ test_register_duplicate_class()

def test_class.test_register_duplicate_class ( )

Definition at line 437 of file test_class.py.

◆ test_repr()

def test_class.test_repr ( )

Definition at line 10 of file test_class.py.

◆ test_type()

def test_class.test_type ( )

Definition at line 29 of file test_class.py.

◆ test_type_of_classic()

def test_class.test_type_of_classic ( )

Definition at line 50 of file test_class.py.

◆ test_type_of_py()

def test_class.test_type_of_py ( )

Definition at line 44 of file test_class.py.

◆ test_type_of_py_nodelete()

def test_class.test_type_of_py_nodelete ( )

Definition at line 56 of file test_class.py.