[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/tests
From:       Stephen Kelly <steveire () gmail ! com>
Date:       2010-06-30 16:09:06
Message-ID: 20100630160906.162B8AC8E2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1144727 by skelly:

Fix unit tests.

 M  +9 -1      kselectionproxymodeltest.cpp  


--- trunk/KDE/kdelibs/kdeui/tests/kselectionproxymodeltest.cpp #1144726:1144727
@@ -178,7 +178,15 @@
 template<>
 void TestData<ImmediateSelectionStrategy<9>, \
KSelectionProxyModel::ChildrenOfExactSelection>::testModifyInTopLevelData()  {
-  noop_testModifyInTopLevelData();
+  QTest::addColumn<SignalList>("signalList");
+  QTest::addColumn<PersistentChangeList>("changeList");
+  newModifyTest("modify01", IndexFinder(), 0, 0 );
+  newModifyTest("modify02", IndexFinder(), 0, 4 );
+  newModifyTest("modify03", IndexFinder(), 9, 9 );
+  newModifyTest("modify04", IndexFinder(), 6, 9 );
+  newModifyTest("modify05", IndexFinder(), 4, 4 );
+  newModifyTest("modify06", IndexFinder(), 3, 7 );
+  newModifyTest("modify07", IndexFinder(), 0, 9 );
 }
 
 template<>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic