История изменений
Исправление UVV, (текущая версия) :
Запилил https://github.com/UVV-gh/qtreemodel-test
********* Start testing of TestModelRemoveRows ********* Config: Using QtTest library 5.12.1, Qt 5.12.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160406 (Red Hat 5.3.1-6)) PASS : TestModelRemoveRows::initTestCase() FAIL! : TestModelRemoveRows::remove() Compared values are not the same Actual (model->data(model->index(start, 0, c.parent))): QVariant(QString,The User Interface [0]) Expected (c.next) : QVariant(QString,The User Interface [1]) Loc: [qabstractitemmodeltester.cpp(748)] PASS : TestModelRemoveRows::cleanupTestCase() Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 31ms ********* Finished testing of TestModelRemoveRows *********
Исходная версия UVV, :