[Kolab-devel] gunnar: server Makefile,1.70,1.71

Thomas Arendsen Hein thomas at intevation.de
Mon Feb 16 16:23:13 CET 2009


* cvs at kolab.org <cvs at kolab.org> [20090209 11:09]:
> +.PHONY: test
> +test:
> +	for TEST in $(PHPUNIT_TESTS); \
> +	do                            \
> +		$(PHPUNIT) $$TEST;    \
> +	done

Good idea to add this!

And here's the report of my first run, CVS as of 20090210:


for TEST in /kolab/lib/php/test/Kolab_Format/Horde/Kolab/Format/AllTests.php /kolab/lib/php/test/Kolab_Server/Horde/Kolab/Server/AllTests.php /kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/AllTests.php /kolab/lib/php/test/Kolab_Filter/Horde/Kolab/Filter/AllTests.php /kolab/lib/php/test/Kolab_FreeBusy/Horde/Kolab/FreeBusy/AllTests.php; \
	do                            \
		/kolab/bin/phpunit $TEST;    \
	done
PHPUnit 3.3.3 by Sebastian Bergmann.

..............

Time: 0 seconds

OK (14 tests, 56 assertions)
PHPUnit 3.3.3 by Sebastian Bergmann.

....................IIIIIIIIIIIIIIIIIIIIII..................  60 / 119
...IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII......................

Time: 0 seconds

OK, but incomplete or skipped tests!
Tests: 119, Assertions: 169, Incomplete: 56.
PHPUnit 3.3.3 by Sebastian Bergmann.

.....EEEEEEEEEEEEEEEEEEEEEEEE....

Time: 0 seconds

There were 24 errors:

1) testConstruct(Horde_Kolab_Storage_DataTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/DataTest.php:41

2) testGetCacheKey(Horde_Kolab_Storage_DataTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/DataTest.php:41

3) testDelete(Horde_Kolab_Storage_DataTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/DataTest.php:41

4) testMove(Horde_Kolab_Storage_DataTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/DataTest.php:41

5) testSave(Horde_Kolab_Storage_DataTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/DataTest.php:41

6) testObjectDeleteAll(Horde_Kolab_Storage_DataTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/DataTest.php:41

7) testConstruct(Horde_Kolab_Storage_FolderTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/FolderTest.php:42

8) testSetName(Horde_Kolab_Storage_FolderTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/FolderTest.php:42

9) testSave(Horde_Kolab_Storage_FolderTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/FolderTest.php:42

10) testGetImapFailNoServer(Horde_Kolab_Storage_FolderTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/FolderTest.php:42

11) testTrigger(Horde_Kolab_Storage_FolderTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/FolderTest.php:42

12) testConstruct(Horde_Kolab_Storage_ListTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/ListTest.php:39

13) testListFolders(Horde_Kolab_Storage_ListTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/ListTest.php:39

14) testGetFolders(Horde_Kolab_Storage_ListTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/ListTest.php:39

15) testGetByShare(Horde_Kolab_Storage_ListTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/ListTest.php:39

16) testGetByType(Horde_Kolab_Storage_ListTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/ListTest.php:39

17) testGetDefault(Horde_Kolab_Storage_ListTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/ListTest.php:39

18) testGetForeignOwner(Horde_Kolab_Storage_ListTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/ListTest.php:39

19) testGetForeignDefault(Horde_Kolab_Storage_ListTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/ListTest.php:39

20) testCreate(Horde_Kolab_Storage_ListTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/ListTest.php:39

21) testCacheUpdate(Horde_Kolab_Storage_ListTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/ListTest.php:39

22) testRename(Horde_Kolab_Storage_ListTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/ListTest.php:39

23) testRemove(Horde_Kolab_Storage_ListTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/ListTest.php:39

24) testCaching(Horde_Kolab_Storage_ListTest)
include_once(Horde/Notification.php): failed to open stream: No such file or directory
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:299
/kolab/lib/php/Horde/Kolab/Test/Storage.php:140
/kolab/lib/php/test/Kolab_Storage/Horde/Kolab/Storage/ListTest.php:39

FAILURES!
Tests: 33, Assertions: 50, Errors: 24.
PHP Fatal error:  Uncaught exception 'InvalidArgumentException' in /kolab/lib/php/PHPUnit/Framework/TestSuite.php:302
Stack trace:
#0 /kolab/lib/php/test/Kolab_Filter/Horde/Kolab/Filter/AllTests.php(53): PHPUnit_Framework_TestSuite->addTestSuite('Horde_Kolab_Fil...')
#1 [internal function]: Horde_Kolab_Filter_AllTests::suite('Horde_Kolab_Fil...')
#2 /kolab/lib/php/PHPUnit/Runner/BaseTestRunner.php(221): ReflectionMethod->invoke(NULL, 'Horde_Kolab_Fil...')
#3 /kolab/lib/php/PHPUnit/TextUI/Command.php(88): PHPUnit_Runner_BaseTestRunner->getTest('/kolab/lib/php/...', '/kolab/lib/php/...', true)
#4 /kolab/lib/php/PHPUnit/TextUI/Command.php(701): PHPUnit_TextUI_Command::main()
#5 /kolab/bin/phpunit(44): require('/kolab/lib/php/...')
#6 {main}
  thrown in /kolab/lib/php/PHPUnit/Framework/TestSuite.php on line 302
PHP Warning:  require_once(Horde/Kolab/Test.php): failed to open stream: No such file or directory in /kolab/lib/php/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='.:/kolab/lib/php') in /kolab/lib/php/test/Kolab_FreeBusy/Horde/Kolab/FreeBusy/FreeBusyTest.php on line 17
make: *** [test] Error 255

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Neuer Graben 17, 49074 Osnabrueck - AG Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner




More information about the devel mailing list