[Kde-bindings] KDE/kdebindings/php/phpqt/tests
Thomas Moenicke
tm at php-qt.org
Mon Nov 3 01:18:32 UTC 2008
SVN commit 879340 by moenicke:
* enabled unittest that calls a method defined in the parent class
CCMAIL: kde-bindings at kde.org
M +4 -3 QtBasicTestCase.php
M +0 -1 testHelper.php
--- trunk/KDE/kdebindings/php/phpqt/tests/QtBasicTestCase.php #879339:879340
@@ -1,6 +1,7 @@
<?php
-// todo: set bool, empty string
+// TODO: set bool, empty string
// TODO: QColor::getRgb(int* r, int* g, int* b)
+// TODO: $this->parent()->foo()
/**
* This file contains a couple of basic tests
*
@@ -66,8 +67,8 @@
$o = new QObject();
$p = new foo($o);
// set blockSignals to true, so we can test it
-// $p->blockSignals(true);
-// $this->assertTrue($p->blockSignals(true), "Could not call a parent Qt method!");
+ $p->blockSignals(true);
+ $this->assertTrue($p->blockSignals(true), "Could not call a parent Qt method!");
echo " passed";
}
--- trunk/KDE/kdebindings/php/phpqt/tests/testHelper.php #879339:879340
@@ -33,7 +33,6 @@
public function blockSignals($bool)
{
-// return true; //parent::blockSignals($bool);
return parent::blockSignals($bool);
}
}
More information about the Kde-bindings
mailing list