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

Functions

def redirect_stdout (target)
 
def redirect_stderr (target)
 
def test_captured (capsys)
 
def test_captured_large_string (capsys)
 
def test_guard_capture (capsys)
 
def test_series_captured (capture)
 
def test_flush (capfd)
 
def test_not_captured (capfd)
 
def test_err (capfd)
 
def test_multi_captured (capfd)
 
def test_dual (capsys)
 
def test_redirect (capfd)
 
def test_redirect_err (capfd)
 
def test_redirect_both (capfd)
 

Function Documentation

◆ redirect_stderr()

def test_iostream.redirect_stderr (   target)

Definition at line 32 of file test_iostream.py.

◆ redirect_stdout()

def test_iostream.redirect_stdout (   target)

Definition at line 21 of file test_iostream.py.

◆ test_captured()

def test_iostream.test_captured (   capsys)

Definition at line 39 of file test_iostream.py.

◆ test_captured_large_string()

def test_iostream.test_captured_large_string (   capsys)

Definition at line 57 of file test_iostream.py.

◆ test_dual()

def test_iostream.test_dual (   capsys)

Definition at line 152 of file test_iostream.py.

◆ test_err()

def test_iostream.test_err (   capfd)

Definition at line 121 of file test_iostream.py.

◆ test_flush()

def test_iostream.test_flush (   capfd)

Definition at line 83 of file test_iostream.py.

◆ test_guard_capture()

def test_iostream.test_guard_capture (   capsys)

Definition at line 68 of file test_iostream.py.

◆ test_multi_captured()

def test_iostream.test_multi_captured (   capfd)

Definition at line 140 of file test_iostream.py.

◆ test_not_captured()

def test_iostream.test_not_captured (   capfd)

Definition at line 102 of file test_iostream.py.

◆ test_redirect()

def test_iostream.test_redirect (   capfd)

Definition at line 159 of file test_iostream.py.

◆ test_redirect_both()

def test_iostream.test_redirect_both (   capfd)

Definition at line 199 of file test_iostream.py.

◆ test_redirect_err()

def test_iostream.test_redirect_err (   capfd)

Definition at line 184 of file test_iostream.py.

◆ test_series_captured()

def test_iostream.test_series_captured (   capture)

Definition at line 76 of file test_iostream.py.