FEI Package Browser (Single Doxygen Collection)
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
test_utils
feitester.hpp
Go to the documentation of this file.
1
/*--------------------------------------------------------------------*/
2
/* Copyright 2005 Sandia Corporation. */
3
/* Under the terms of Contract DE-AC04-94AL85000, there is a */
4
/* non-exclusive license for use of this work by or on behalf */
5
/* of the U.S. Government. Export of this program may require */
6
/* a license from the United States Government. */
7
/*--------------------------------------------------------------------*/
8
9
#ifndef _feitester_hpp_
10
#define _feitester_hpp_
11
12
#include <string>
13
32
class
feitester
{
33
public
:
34
feitester
() :
path_
() {}
35
virtual
~feitester
(){}
36
39
virtual
const
char
*
getName
() = 0;
40
41
virtual
int
testInitialization
() = 0;
42
43
virtual
int
testLoading
() = 0;
44
45
virtual
int
testSolve
() = 0;
46
47
virtual
int
testCheckResult
() = 0;
48
49
virtual
void
dumpMatrixFiles
() = 0;
50
51
virtual
void
setParameter
(
const
char
* param) = 0;
52
53
void
setPath
(
const
std::string& path)
54
{
path_
= path; }
55
56
void
setPath
(
const
char
* path)
57
{
path_
= path; }
58
59
protected
:
60
std::string
path_
;
61
};
62
63
#endif
// _feitester_hpp_
feitester::testCheckResult
virtual int testCheckResult()=0
feitester::testSolve
virtual int testSolve()=0
feitester::feitester
feitester()
Definition
feitester.hpp:34
feitester::setPath
void setPath(const std::string &path)
Definition
feitester.hpp:53
feitester::~feitester
virtual ~feitester()
Definition
feitester.hpp:35
feitester::setParameter
virtual void setParameter(const char *param)=0
feitester::dumpMatrixFiles
virtual void dumpMatrixFiles()=0
feitester::testLoading
virtual int testLoading()=0
feitester::getName
virtual const char * getName()=0
feitester::path_
std::string path_
Definition
feitester.hpp:60
feitester::testInitialization
virtual int testInitialization()=0
feitester::setPath
void setPath(const char *path)
Definition
feitester.hpp:56
Generated by
1.17.0