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

ID: 16471
Updated by: sebastian@nohn.net
Reported By: daniel dot oconnor at gmail dot com
Summary: Unit tests fail
Status: Open
Type: Bug
Package: Net_DNSBL
Package Version: CVS
PHP Version: 5.2.5
Roadmap Versions:
New Comment:

Cant reproduce that:

sebastian@bnibws02:/home/project/Net_DNSBL/trunk$ ant
test_unit
Buildfile: build.xml

test_unit:
[exec] PHPUnit 3.3.16 by Sebastian Bergmann.
[exec]
[exec] .....................
[exec]
[exec] Time: 17 seconds
[exec]
[exec] OK (21 tests, 99 assertions)
[exec]
[exec] Writing code coverage data to XML file, this may
take a moment.
[exec]
[exec] Generating code coverage report, this may take a
moment.

BUILD SUCCESSFUL
Total time: 22 seconds


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

[2009-07-25 08:04:57] doconnor

Description:
------------
Mind if I fix 'em?

Test script:
---------------
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/AllTests.php

Expected result:
----------------
Tests pass

Actual result:
--------------
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/AllTests.php

PHPUnit 3.3.17 by Sebastian Bergmann.

.....E..E.E....E...E.

Time: 40 seconds

There were 5 errors:

1) testGetListingBl(TestNetDNSBL)
Undefined index: www.google.de
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/Net/DNSBL.php:138
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/TestNetDNSBL.php:154
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/AllTests.php:68
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/AllTests.php:87

2) testMultipleBlacklists(TestNetDNSBL)
Undefined index: 212.112.226.205
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/Net/DNSBL.php:138
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/TestNetDNSBL.php:207
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/AllTests.php:68
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/AllTests.php:87

3) testGetListingBls(TestNetDNSBL)
Undefined index: smtp1.google.com
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/Net/DNSBL.php:161
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/TestNetDNSBL.php:246
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/AllTests.php:68
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/AllTests.php:87

4) testGetListingBlDoesNotBreakSilentlyIfHostIsNotListed(TestNetDNSBL)
Undefined index: 127.0.0.1
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/Net/DNSBL.php:138
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/TestNetDNSBL.php:361
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/AllTests.php:68
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/AllTests.php:87

5) testInvalidArguments(TestNetDNSBLSURBL)
Undefined index: host
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/Net/DNSBL/SURBL.php:150
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/Net/DNSBL.php:229
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/TestNetDNSBLSURBL.php:158
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/AllTests.php:68
/home/clockwerx/pear-svn/packages/Net_DNSBL/trunk/tests/AllTests.php:87

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJul 25, '09 at 7:44a
activeJul 25, '09 at 7:44a
posts1
users1
websitepear.php.net

1 user in discussion

Sebastian: 1 post

People

Translate

site design / logo © 2022 Grokbase