mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
31 lines
620 B
C++
31 lines
620 B
C++
#ifndef TESTSTRINGDATA_H
|
|
#define TESTSTRINGDATA_H
|
|
|
|
#include <QtTest>
|
|
|
|
class TestStringData : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
TestStringData();
|
|
|
|
private Q_SLOTS:
|
|
void testCreation();
|
|
void testAddEmptyRow();
|
|
void testAddOneRow();
|
|
void testAddOneRowUsingOneString();
|
|
void testAddRows();
|
|
void testClearEmptyData();
|
|
void testClearNotEmptyData();
|
|
void testInsertRows();
|
|
void testCompareForEquality();
|
|
void testCopyConstruction();
|
|
void testCopyAssignment();
|
|
void testOperatorInput();
|
|
void testRemoveRow();
|
|
void testReplaceRow();
|
|
};
|
|
|
|
#endif // TESTSTRINGDATA_H
|