49 lines
891 B
C++
49 lines
891 B
C++
#ifndef TESTINFO_H
|
|
#define TESTINFO_H
|
|
|
|
#include <QObject>
|
|
#include <QTest>
|
|
|
|
class testInfo:public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
private slots:
|
|
|
|
void testcreateevent();
|
|
|
|
void testTmkOpen();
|
|
void testtmkgetmaxn();
|
|
void testmrtgetmaxn();
|
|
void testtmkconfig();
|
|
void testtmkselect();
|
|
void testtmkgetinfo();
|
|
void testtmkgethwver();
|
|
|
|
//Now we'll test onboard RAM in Bus Controller mode
|
|
void testbcreset();
|
|
void testbcgetmaxbase();
|
|
void testbcputgetw();
|
|
void testbcputgetblk();
|
|
|
|
//Now we'll test onboard RAM in Remote Terminal mode
|
|
void testrtreset();
|
|
void testrtgetmaxpage();
|
|
void testrtputgetw();
|
|
void testrtputgetblk();
|
|
|
|
|
|
//Now we'll test interrupt in Bus Controller mode
|
|
void testgetInt();
|
|
|
|
void init();
|
|
void cleanup();
|
|
void cleanupTestCase();
|
|
|
|
protected:
|
|
|
|
bool isFailed = false;
|
|
};
|
|
|
|
#endif // TESTINFO_H
|