Test: [skip ci] make sure tests pass in any order

This commit is contained in:
wmayer
2022-12-01 22:11:49 +01:00
parent d8e0b73357
commit e00a5243ec

View File

@@ -50,18 +50,19 @@ private Q_SLOTS:
output.str(std::string());
}
// Must be the very first test!
void test_Output()
{
QCOMPARE(output.str().c_str(), "#Inventor V2.1 ascii \n\n");
}
void test_Invalid()
{
SoNode* node = loadBuffer("Hello, World");
QCOMPARE(node, nullptr);
}
void test_Output()
{
std::stringstream str;
Base::InventorBuilder builder(str);
QCOMPARE(str.str().c_str(), "#Inventor V2.1 ascii \n\n");
}
void test_MaterialBinding_data()
{
QTest::addColumn<QString>("result");