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 <stdio.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 81 of file test_process.cc.

BOOST_AUTO_TEST_CASE ( test_environment  )

Definition at line 48 of file test_process.cc.

BOOST_AUTO_TEST_CASE ( test_run  )

Definition at line 57 of file test_process.cc.

BOOST_AUTO_TEST_CASE ( test_nonblocking  )

Definition at line 72 of file test_process.cc.

BOOST_AUTO_TEST_CASE ( test_redirect  )

Definition at line 86 of file test_process.cc.

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

Definition at line 30 of file test_process.cc.

string get_file_contents ( int  fd)

Definition at line 15 of file test_process.cc.



utilmm
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Wed Sep 16 2015 07:05:43