Scarab  2.8.1
Project 8 C++ Utility Library
Functions
test_class Namespace Reference

Functions

def test_repr ()
 
def test_instance (msg)
 
def test_docstrings (doc)
 
def test_qualname (doc)
 
def test_inheritance (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 ()
 

Function Documentation

◆ test_aligned()

def test_class.test_aligned ( )

Definition at line 278 of file test_class.py.

◆ test_automatic_upcasting()

def test_class.test_automatic_upcasting ( )

Definition at line 104 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 206 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 225 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 239 of file test_class.py.

◆ test_docstrings()

def test_class.test_docstrings (   doc)

Definition at line 26 of file test_class.py.

◆ test_error_after_conversions()

def test_class.test_error_after_conversions ( )

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

◆ test_inheritance()

def test_class.test_inheritance (   msg)

Definition at line 72 of file test_class.py.

◆ test_instance()

def test_class.test_instance (   msg)

Definition at line 13 of file test_class.py.

◆ test_isinstance()

def test_class.test_isinstance ( )

Definition at line 118 of file test_class.py.

◆ test_mismatched_holder()

def test_class.test_mismatched_holder ( )

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

◆ test_override_static()

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

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

◆ test_reentrant_implicit_conversion_failure()

def test_class.test_reentrant_implicit_conversion_failure (   msg)

Definition at line 259 of file test_class.py.

◆ test_repr()

def test_class.test_repr ( )

Definition at line 7 of file test_class.py.