[Kst] extragear/graphics/kst/tests

George Staikos staikos at kde.org
Tue Jun 20 22:33:42 CEST 2006


SVN commit 553362 by staikos:

forgot to update this.  triggers don't fire when the value is set to what it
already is


 M  +2 -2      testscalars.cpp  


--- trunk/extragear/graphics/kst/tests/testscalars.cpp #553361:553362
@@ -81,9 +81,9 @@
   *sp = 3.1415;
   doTest(listener->_trigger == 1);
   sp->setValue(3.1415);
+  doTest(listener->_trigger == 1);
+  *sp = 1.1415;
   doTest(listener->_trigger == 2);
-  *sp = 1.1415;
-  doTest(listener->_trigger == 3);
 
   KstScalarPtr sp2 = new KstScalar(sp->tagName());
   doTest(sp2->tagName() == sp->tagName() + "'");


More information about the Kst mailing list