Functions
test_process.cc File Reference
#include <boost/test/auto_unit_test.hpp>
#include "testsuite.hh"
#include <utilmm/system/process.hh>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
Include dependency graph for test_process.cc:

Go to the source code of this file.

Functions

void assert_closed (int fd)
 BOOST_AUTO_TEST_CASE (test_environment)
 BOOST_AUTO_TEST_CASE (test_run)
 BOOST_AUTO_TEST_CASE (test_nonblocking)
 BOOST_AUTO_TEST_CASE (test_redirect)
void check_var (process &proc, std::string const &varname, std::string const &expected)
string get_file_contents (int fd)

Function Documentation

void assert_closed ( int  fd)

Definition at line 80 of file test_process.cc.

BOOST_AUTO_TEST_CASE ( test_environment  )

Definition at line 47 of file test_process.cc.

BOOST_AUTO_TEST_CASE ( test_run  )

Definition at line 56 of file test_process.cc.

BOOST_AUTO_TEST_CASE ( test_nonblocking  )

Definition at line 71 of file test_process.cc.

BOOST_AUTO_TEST_CASE ( test_redirect  )

Definition at line 85 of file test_process.cc.

void check_var ( process proc,
std::string const &  varname,
std::string const &  expected 
)

Definition at line 29 of file test_process.cc.

string get_file_contents ( int  fd)

Definition at line 14 of file test_process.cc.



utilmm
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Mon Oct 6 2014 03:17:01