FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=12209&edit=1

ID: 12209
Updated by: danielc@analysisandsolutions.com
Reported By: beni at php dot net
Summary: Unit tests missing
Status: Open
Type: Feature/Change Request
Package: Net_LDAP2
PHP Version: 5.2.4
Roadmap Versions:
New Comment:

The unit tests are now running fine for me. I just committed a fix to
AllTests.php to specify the paths for the test files. I also committed
a fix to the tests themselves to use PHPUnit's latest test method names
since assertType() no longer exists.


Previous Comments:
------------------------------------------------------------------------

[2011-07-18 14:57:15] beni

-Status: Assigned
+Status: Open


------------------------------------------------------------------------

[2009-07-18 14:27:13] doconnor

Running them from SVN (and the same way the unit test runner does)
results in errors.

It's easy to fix the SVN directory structure now we're on SVN :)

clockwerx@clockwerx-desktop:~/pear-svn/packages/Net_LDAP2/trunk$ php
tests/AllTests.php

Warning: require_once(Net/LDAP2/Filter.php): failed to open stream: No
such file or directory in
/home/clockwerx/pear-svn/packages/Net_LDAP2/trunk/tests/Net_LDAP2_FilterTest.php
on line 10

Call Stack:
0.0011 72860 1. {main}()
/home/clockwerx/pear-svn/packages/Net_LDAP2/trunk/tests/AllTests.php:0
0.3386 4017136 2.
require_once('/home/clockwerx/pear-svn/packages/Net_LDAP2/trunk/tests/Net_LDAP2_FilterTest.php')
/home/clockwerx/pear-svn/packages/Net_LDAP2/trunk/tests/AllTests.php:12


Fatal error: require_once(): Failed opening required
'Net/LDAP2/Filter.php' (include_path='.:/usr/share/php:/usr/share/pear')
in
/home/clockwerx/pear-svn/packages/Net_LDAP2/trunk/tests/Net_LDAP2_FilterTest.php
on line 10

Call Stack:
0.0011 72860 1. {main}()
/home/clockwerx/pear-svn/packages/Net_LDAP2/trunk/tests/AllTests.php:0
0.3386 4017136 2.
require_once('/home/clockwerx/pear-svn/packages/Net_LDAP2/trunk/tests/Net_LDAP2_FilterTest.php')
/home/clockwerx/pear-svn/packages/Net_LDAP2/trunk/tests/AllTests.php:12

------------------------------------------------------------------------

[2008-02-27 02:45:26] beni

Net_LDAP tests nearly done

------------------------------------------------------------------------

[2008-01-21 03:22:13] beni

Tests for important Net_LDAP functions are still missing.

------------------------------------------------------------------------

[2007-10-18 04:37:48] beni

1.0 Release can go out :)

Other tests will be introduced by time.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=12209

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJan 6, '12 at 11:17p
activeJan 6, '12 at 11:17p
posts1
users1
websitepear.php.net

1 user in discussion

Danielc: 1 post

People

Translate

site design / logo © 2022 Grokbase