From: mzn Date: Wed, 2 Apr 2014 06:34:34 +0000 (+0000) Subject: Adjustment. X-Git-Tag: BR_hydro_v1_0_1~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=45d486d7d904c1ceb218a499a566dd4b065c5539;p=modules%2Fhydro.git Adjustment. --- diff --git a/src/HYDROGUI/test_HYDROGUI_ListModel.cxx b/src/HYDROGUI/test_HYDROGUI_ListModel.cxx index f3c76ed0..96c012bf 100644 --- a/src/HYDROGUI/test_HYDROGUI_ListModel.cxx +++ b/src/HYDROGUI/test_HYDROGUI_ListModel.cxx @@ -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() << 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() << 3 << 4 << 6, aDnD, false, 9 ); CPPUNIT_ASSERT_EQUAL( false, aRes ); CPPUNIT_ASSERT_EQUAL( anInitialState, GetObjects( aModel ) );