Functions
testlib_main.cxx File Reference
#include <iostream>
#include <string>
#include <vector>
#include <cstdlib>
#include <exception>
#include "testlib_register.h"

Go to the source code of this file.

Functions

void list_test_names (std::ostream &ostr)
 
void testlib_enter_stealth_mode ()
 
int testlib_run_test_unit (std::vector< std::string >::size_type i, int argc, char *argv[])
 
int testlib_main (int argc, char *argv[])
 
void testlib_register_test (const std::string &name, TestMainFunction func)
 
void testlib_cleanup ()
 

Function Documentation

◆ list_test_names()

void list_test_names ( std::ostream &  ostr)

Definition at line 53 of file testlib_main.cxx.

◆ testlib_cleanup()

void testlib_cleanup ( )

Definition at line 186 of file testlib_main.cxx.

◆ testlib_enter_stealth_mode()

void testlib_enter_stealth_mode ( )

Definition at line 63 of file testlib_main.cxx.

◆ testlib_main()

int testlib_main ( int  argc,
char *  argv[] 
)

Definition at line 109 of file testlib_main.cxx.

◆ testlib_register_test()

void testlib_register_test ( const std::string &  name,
TestMainFunction  func 
)

Definition at line 179 of file testlib_main.cxx.

◆ testlib_run_test_unit()

int testlib_run_test_unit ( std::vector< std::string >::size_type  i,
int  argc,
char *  argv[] 
)

Definition at line 89 of file testlib_main.cxx.