Salome HOME
Get rid of Qt classes in the data model.
[modules/hydro.git] / src / HYDROGUI / test_HYDROGUI_ListModel.cxx
index f3c76ed0e2c2e82fdac36578d4d62402b0771bf1..96c012bf31db8618adbb07365e160d4423fb992e 100644 (file)
@@ -361,8 +361,8 @@ void test_HYDROGUI_ListModel::testDragAndDrop()
   CPPUNIT_ASSERT_EQUAL( false, aRes );
   CPPUNIT_ASSERT_EQUAL( anInitialState, GetObjects( aModel ) );
 
-  // 7. [D, *E, *G] -> -1 : drop item index is out of range ( more than than (list length - 1) )
-  aRes = aModel->move( QList<int>() << 3 << 4 << 6, aDnD, false, 8 );
+  // 7. [D, *E, *G] -> -1 : drop item index is out of range ( more than than list length )
+  aRes = aModel->move( QList<int>() << 3 << 4 << 6, aDnD, false, 9 );
   CPPUNIT_ASSERT_EQUAL( false, aRes );
   CPPUNIT_ASSERT_EQUAL( anInitialState, GetObjects( aModel ) );