FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
feitester Class Referenceabstract

#include <feitester.hpp>

Inheritance diagram for feitester:
Inheritance graph
[legend]

Public Member Functions

 feitester ()
 
virtual ~feitester ()
 
virtual const char * getName ()=0
 
virtual int testInitialization ()=0
 
virtual int testLoading ()=0
 
virtual int testSolve ()=0
 
virtual int testCheckResult ()=0
 
virtual void dumpMatrixFiles ()=0
 
virtual void setParameter (const char *param)=0
 
void setPath (const std::string &path)
 
void setPath (const char *path)
 

Protected Attributes

std::string path_
 

Detailed Description

A test "harness" for fei implementations. This interface is intended to be specialized by more specific test harnesses that exercise various specific fei implementations.

All methods in this interface (except getName()) return int error-codes, and it is expected that an error-return of 0 indicates success while any non-zero error-return is an indication of failure.

The methods on this interface should be called in the following order:

  1. testInitialization()
  2. testLoading()
  3. testSolve()
  4. testCheckResult()

Definition at line 32 of file feitester.hpp.

Constructor & Destructor Documentation

feitester::feitester ( )
inline

Definition at line 34 of file feitester.hpp.

virtual feitester::~feitester ( )
inlinevirtual

Definition at line 35 of file feitester.hpp.

Member Function Documentation

virtual const char* feitester::getName ( )
pure virtual

Method to obtain a name describing this test.

Implemented in FEI_tester, and snl_fei_tester.

virtual int feitester::testInitialization ( )
pure virtual

Implemented in FEI_tester, and snl_fei_tester.

Referenced by test_FEI::test1().

virtual int feitester::testLoading ( )
pure virtual

Implemented in FEI_tester, and snl_fei_tester.

Referenced by test_FEI::test1().

virtual int feitester::testSolve ( )
pure virtual

Implemented in FEI_tester, and snl_fei_tester.

Referenced by test_FEI::test1().

virtual int feitester::testCheckResult ( )
pure virtual

Implemented in FEI_tester, and snl_fei_tester.

Referenced by test_FEI::test1().

virtual void feitester::dumpMatrixFiles ( )
pure virtual

Implemented in FEI_tester, and snl_fei_tester.

virtual void feitester::setParameter ( const char *  param)
pure virtual

Implemented in FEI_tester, and snl_fei_tester.

void feitester::setPath ( const std::string &  path)
inline

Definition at line 53 of file feitester.hpp.

References path_.

Referenced by test_FEI::test1().

void feitester::setPath ( const char *  path)
inline

Definition at line 56 of file feitester.hpp.

References path_.

Member Data Documentation

std::string feitester::path_
protected

Definition at line 60 of file feitester.hpp.

Referenced by setPath(), and snl_fei_tester::testInitialization().


The documentation for this class was generated from the following file: