Test: [skip ci] make sure tests pass in any order
This commit is contained in:
@@ -50,18 +50,19 @@ private Q_SLOTS:
|
|||||||
output.str(std::string());
|
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()
|
void test_Invalid()
|
||||||
{
|
{
|
||||||
SoNode* node = loadBuffer("Hello, World");
|
SoNode* node = loadBuffer("Hello, World");
|
||||||
QCOMPARE(node, nullptr);
|
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()
|
void test_MaterialBinding_data()
|
||||||
{
|
{
|
||||||
QTest::addColumn<QString>("result");
|
QTest::addColumn<QString>("result");
|
||||||
|
|||||||
Reference in New Issue
Block a user