[Kolab-devel] Failing php tests for kolab

Richard Bos ml at radoeka.nl
Sat Feb 7 15:11:46 CET 2009


Hi,

I just ran tests that come with the kolab pear packages and some tests are 
failing.  Hence I have some questions related to this.  Please find the 
failing tests in the attachment.  This is btw on native openSUSE_11.1

Tests seem to fail because the file Horde/Kolab/Test.php is not present;
What module provides the file Horde/Kolab/Test.php?

A test complains that the class Horde_Kolab_IMAP is not present;
What module provides the class Horde_Kolab_IMAP?

A test complains that the class Horde_Kolab_Server is not present;
What module provides the class Horde_Kolab_Server?
 Is this package http://pear.horde.org/index.php?package=Horde_Kolab_Server 
required?  The same question for Horde_Kolab_Format  (those 2 packages seem to 
he superseeded by just kolab_format and kolab_server, hence my question about 
the ones prefixed with Horde_*).

A test fails because due to the method Horde_Kolab_Server_test::unbind;
What module provides the method Horde_Kolab_Server_test::unbind

What about the module Kolab
http://pear.horde.org/index.php?package=Kolab
Is this needed as well (long time not updated)?

Besides the questions above, there are some test failing although packaging 
wise everything seems okay.  Please have a look at the results file.

Looking forward to your reply(ies).


-- 
Richard
-------------- next part --------------
===>>> /usr/share/php5/PEAR/test/Kolab_Format/Horde/Kolab/Format/AllTests.php (kolab-format-1.0.0-2.2)
PHPUnit 3.3.9 by Sebastian Bergmann.

..PHP Fatal error:  Call to a member function getValue() on a non-object in /srv/www/htdocs/horde/lib/Horde/Prefs/CategoryManager.php on line 26

===>>> /usr/share/php5/PEAR/test/Kolab_FreeBusy/Horde/Kolab/FreeBusy/AllTests.php (kolab-freebusy-0.1.2-1.1)
PHP Warning:  require_once(Horde/Kolab/Test.php): failed to open stream: No such file or directory in /usr/share/php5/PEAR/test/Kolab_FreeBusy/Horde/Kolab/FreeBusy/FreeBusyTest.php on line 17
PHP Fatal error:  require_once(): Failed opening required 'Horde/Kolab/Test.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /usr/share/php5/PEAR/test/Kolab_FreeBusy/Horde/Kolab/FreeBusy/FreeBusyTest.php on line 17

===>>> /usr/share/php5/PEAR/test/Kolab_FreeBusy/Horde/Kolab/FreeBusy/FreeBusyTest.php (kolab-freebusy-0.1.2-1.1)
PHP Warning:  require_once(Horde/Kolab/Test.php): failed to open stream: No such file or directory in /usr/share/php5/PEAR/test/Kolab_FreeBusy/Horde/Kolab/FreeBusy/FreeBusyTest.php on line 17
PHP Fatal error:  require_once(): Failed opening required 'Horde/Kolab/Test.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /usr/share/php5/PEAR/test/Kolab_FreeBusy/Horde/Kolab/FreeBusy/FreeBusyTest.php on line 17

===>>> /usr/share/php5/PEAR/Horde/Kolab/IMAP/test.php (kolab-server-0.3.0-2.2)
PHP Fatal error:  Class 'Horde_Kolab_IMAP' not found in /usr/share/php5/PEAR/Horde/Kolab/IMAP/test.php on line 27

===>>> /usr/share/php5/PEAR/Horde/Kolab/Server/test.php (kolab-server-0.3.0-2.2)
PHP Fatal error:  Class 'Horde_Kolab_Server' not found in /srv/www/htdocs/horde/lib/Horde/Kolab/Server/ldap.php on line 27

===>>> /usr/share/php5/PEAR/test/Kolab_Server/Horde/Kolab/Server/AllTests.php (kolab-server-0.3.0-2.2)
PHP Notice:  Use of undefined constant KOLAB_ATTR_KOLABDELEGATE - assumed 'KOLAB_ATTR_KOLABDELEGATE' in /usr/share/php5/PEAR/Horde/Kolab/Test/Server.php on line 399
PHPUnit 3.3.9 by Sebastian Bergmann.

..PHP Fatal error:  Call to undefined method Horde_Kolab_Server_test::unbind() in /usr/share/php5/PEAR/Horde/Kolab/Test/Server.php on line 296

===>>> /usr/share/php5/PEAR/test/Kolab_Storage/Horde/Kolab/Storage/AllTests.php (kolab-storage-0.3.0-1.2)
PHP Warning:  Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name]().  If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /usr/share/php5/PEAR/test/Kolab_Storage/Horde/Kolab/Storage/FolderTest.php on line 180
PHP Warning:  Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name]().  If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /usr/share/php5/PEAR/test/Kolab_Storage/Horde/Kolab/Storage/FolderTest.php on line 189
PHPUnit 3.3.9 by Sebastian Bergmann.

PHP Fatal error:  Call to undefined method Horde_Kolab_Server_test::unbind() in /usr/share/php5/PEAR/Horde/Kolab/Test/Server.php on line 296

===>>> /usr/share/php5/PEAR/test/Kolab_Storage/Horde/Kolab/Storage/FolderTest.php (kolab-storage-0.3.0-1.2)
PHP Warning:  Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name]().  If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /usr/share/php5/PEAR/test/Kolab_Storage/Horde/Kolab/Storage/FolderTest.php on line 180
PHP Warning:  Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name]().  If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /usr/share/php5/PEAR/test/Kolab_Storage/Horde/Kolab/Storage/FolderTest.php on line 189



More information about the devel mailing list