mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-31 04:14:41 -04:00
Migrate to CTest (#7062)
This commit is contained in:
@@ -24,11 +24,11 @@
|
||||
|
||||
#include "ArrayVector.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QtTest/QtTest>
|
||||
#include <array>
|
||||
#include <iterator>
|
||||
|
||||
#include "QTestSuite.h"
|
||||
|
||||
using lmms::ArrayVector;
|
||||
|
||||
struct ShouldNotConstruct
|
||||
@@ -59,10 +59,9 @@ struct DestructorCheck
|
||||
bool* destructed;
|
||||
};
|
||||
|
||||
class ArrayVectorTest : QTestSuite
|
||||
class ArrayVectorTest : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
void defaultConstructorTest()
|
||||
{
|
||||
@@ -826,6 +825,7 @@ private slots:
|
||||
QVERIFY(!(e != v));
|
||||
QVERIFY(g != v);
|
||||
}
|
||||
} ArrayVectorTests;
|
||||
};
|
||||
|
||||
QTEST_GUILESS_MAIN(ArrayVectorTest)
|
||||
#include "ArrayVectorTest.moc"
|
||||
|
||||
Reference in New Issue
Block a user