Origen V93K SMT7 Library
 All Classes Namespaces Files Functions Variables Typedefs Macros
functional_test.hpp
Go to the documentation of this file.
1 #ifndef ORIGEN_TEST_METHOD_FUNCTIONAL_TEST_INCLUDED
2 #define ORIGEN_TEST_METHOD_FUNCTIONAL_TEST_INCLUDED
3 
4 #include "base.hpp"
5 #include "mapi.hpp"
6 #include "rdi.hpp"
7 
8 using namespace std;
9 
10 namespace Origen {
11 namespace TestMethod {
12 
13 class FunctionalTest : public Base {
14  void serialProcessing(int site);
15 
16  string _pin;
17  string _port;
18  int _capture;
19  int _bitPerWord;
20  int _processResults;
21  string _pattern;
22  string _testNameOverride;
23 
24  public:
26  virtual ~FunctionalTest();
27  void SMC_backgroundProcessing();
28 
29  FunctionalTest& capture(int v);
30  FunctionalTest& pin(string v);
31  FunctionalTest& port(string v);
32  FunctionalTest& bitPerWord(int v);
33  FunctionalTest& processResults(int v);
34  FunctionalTest& pattern(string v);
35  FunctionalTest& testName(string v);
36 
37  string testName() { return Base::testName(); }
38 
39  protected:
41  FunctionalTest& getThis();
42  ARRAY_I capturedData();
43  ARRAY_I capturedData(int);
44  void _setup();
45  void _execute();
46 
47  string label;
48  vector<int> results;
49  string pinName;
50 };
51 }
52 }
53 #endif
Definition: base.hpp:13
string testName()
Definition: functional_test.hpp:37
string pinName
Definition: functional_test.hpp:49
Site & site()
Definition: origen.cpp:13
FunctionalTest super
Definition: functional_test.hpp:40
vector< int > results
Definition: functional_test.hpp:48
Definition: functional_test.hpp:13
string label
Definition: functional_test.hpp:47