Functions | Variables
testdriver-before-test.inc File Reference

Default implementation of test driver. More...

Go to the source code of this file.

Functions

 if (redirect_output.isSet())
 
 if (clean_cwd_before_test.getValue())
 
 if (testcmd.isSet())
 

Variables

streambuf * oldcoutbuf = NULL
 
streambuf * redirectbuf = NULL
 
 try
 

Detailed Description

Default implementation of test driver.

This file is included in the test driver generated by the CMake command create_test_sourcelist() directly before the call to the test main function.

This file is a modified version of the itkTestDriverBeforeTest.inc file which is part of the TestKernel module of the ITK 4 project.

Definition in file testdriver-before-test.inc.

Function Documentation

§ if() [1/3]

if ( redirect_output.  isSet())

Definition at line 40 of file testdriver-before-test.inc.

§ if() [2/3]

if ( clean_cwd_before_test.  getValue())

Definition at line 48 of file testdriver-before-test.inc.

§ if() [3/3]

if ( testcmd.  isSet())

Definition at line 52 of file testdriver-before-test.inc.

Variable Documentation

§ oldcoutbuf

streambuf* oldcoutbuf = NULL

Definition at line 39 of file testdriver-before-test.inc.

§ redirectbuf

streambuf* redirectbuf = NULL

Definition at line 38 of file testdriver-before-test.inc.

§ try

try
Initial value:
{
ofstream redirectstream

Definition at line 35 of file testdriver-before-test.inc.