tst_qstringlistmodel: remove an invalid test

The test is removing 2 rows starting at the last row of a model.
As the comment indicates, that's clearly invalid.

Change-Id: I43ef00d602934965b206e2ba591ff8fd0a6ae398
Reviewed-by: David Faure <david.faure@kdab.com>
This commit is contained in:
Giuseppe D'Angelo 2017-09-04 17:56:02 +02:00
parent 77a7b5c916
commit c3632d8036

View File

@ -112,12 +112,6 @@ void tst_QStringListModel::rowsAboutToBeRemoved_rowsRemoved_data()
QStringList res3;
QTest::newRow( "data3" ) << strings3 << 0 << 5 << aboutto3 << res3;
/* Not sure if this is a valid test */
QStringList strings4; strings4 << "One" << "Two" << "Three" << "Four" << "Five";
QStringList aboutto4; aboutto4 << "Five" << "";
QStringList res4; res4 << "One" << "Two" << "Three" << "Four";
QTest::newRow( "data4" ) << strings4 << 4 << 2 << aboutto4 << res4;
/*
* Keep this, template to add more data
QStringList strings2; strings2 << "One" << "Two" << "Three" << "Four" << "Five";