v2
This commit is contained in:
45
teststat.h
Normal file
45
teststat.h
Normal file
@@ -0,0 +1,45 @@
|
||||
/*#ifndef TESTSTAT_H
|
||||
#define TESTSTAT_H
|
||||
|
||||
#include <QObject>
|
||||
#include "statwrd.h"
|
||||
|
||||
class teststatwrd:public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
|
||||
void testConstructor();
|
||||
void testaddrRTFind();
|
||||
void testmessErrFind();
|
||||
void testinstrFind();
|
||||
void testserReqFind();
|
||||
void testreservFind();
|
||||
void testbroadCRFind();
|
||||
void testbusyFind();
|
||||
void testsubSysFFind();
|
||||
void testdynBCAFind();
|
||||
void testtermFlgFind();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
const uint8_t addrRT0 = 0;
|
||||
const uint8_t messErr0 = 0;
|
||||
const uint8_t instr0 = 0;
|
||||
const uint8_t serReq0 = 0;
|
||||
const uint8_t reserv0 = 0;
|
||||
const uint8_t broadCR0 = 0;
|
||||
const uint8_t busy0 = 0;
|
||||
const uint8_t subSysF0 = 0;
|
||||
const uint8_t dynBCA0 = 0;
|
||||
const uint8_t termFlg0 = 0;
|
||||
|
||||
private:
|
||||
|
||||
StatusWord mStatWrd;
|
||||
};
|
||||
|
||||
#endif // TESTSTAT_H
|
||||
*/
|
Reference in New Issue
Block a user