2005/5/9

     
 

class ProcessTestCase

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::tools::aunit::ProcessTestCase Class Reference

#include <ProcessTestSuite.h>

Inheritance diagram for acdk::tools::aunit::ProcessTestCase:

acdk::tools::aunit::TestCase acdk::lang::Object acdk::tools::aunit::Test acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

experimental TestSuite to test an external process


Public Member Functions

 ProcessTestCase (INP(RString) executable, IN(RString) name=Nil, IN(acdk::util::RProperties) env=Nil)
void setOutWriter (IN(acdk::io::RCharWriter) c)
void setErrWriter (IN(acdk::io::RCharWriter) c)
RString toString ()
 return a string representation of this object Object::toString() return getName() by default

RString getName ()
 returns the ClassName for this object by default

void run (IN(RTestResult) result)
void runTest ()

Public Attributes

RString _executable
RString _testName
acdk::io::RCharWriter _cout
acdk::io::RCharWriter _cerr
acdk::util::RProperties _env


Constructor & Destructor Documentation

acdk::tools::aunit::ProcessTestCase::ProcessTestCase INP(RString executable,
IN(RString name = Nil,
IN(acdk::util::RProperties env = Nil
[inline]
 


Member Function Documentation

RString acdk::tools::aunit::ProcessTestCase::getName  )  [inline, virtual]
 

returns the ClassName for this object by default

Reimplemented from acdk::tools::aunit::TestCase.

void acdk::tools::aunit::ProcessTestCase::run IN(RTestResult result  )  [virtual]
 

Reimplemented from acdk::tools::aunit::TestCase.

void acdk::tools::aunit::ProcessTestCase::runTest  )  [virtual]
 

Implements acdk::tools::aunit::TestCase.

void acdk::tools::aunit::ProcessTestCase::setErrWriter IN(acdk::io::RCharWriter c  )  [inline]
 

void acdk::tools::aunit::ProcessTestCase::setOutWriter IN(acdk::io::RCharWriter c  )  [inline]
 

RString acdk::tools::aunit::ProcessTestCase::toString  )  [virtual]
 

return a string representation of this object Object::toString() return getName() by default

Reimplemented from acdk::tools::aunit::TestCase.


Member Data Documentation

acdk::io::RCharWriter acdk::tools::aunit::ProcessTestCase::_cerr
 

acdk::io::RCharWriter acdk::tools::aunit::ProcessTestCase::_cout
 

acdk::util::RProperties acdk::tools::aunit::ProcessTestCase::_env
 

RString acdk::tools::aunit::ProcessTestCase::_executable
 

RString acdk::tools::aunit::ProcessTestCase::_testName