Migrate to CTest (#7062)

This commit is contained in:
saker
2024-01-15 17:19:33 -05:00
committed by GitHub
parent 629ba0362b
commit 6c4d458599
12 changed files with 92 additions and 129 deletions

View File

@@ -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"