mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRMINA-294) Test failure
Date Wed, 25 Oct 2006 21:46:16 GMT
Test failure
------------

                 Key: DIRMINA-294
                 URL: http://issues.apache.org/jira/browse/DIRMINA-294
             Project: Directory MINA
          Issue Type: Bug
            Reporter: Emmanuel Lecharny


mina-core does not compile anymore due to a test failure. The  org.apache.mina.transport.AbstractBindTest.testAnonymousBind()
method check that the port is not 0, when it's always 0.

I didn't wrote the test, and as there are no javadoc, I don't really know which value is expected,
but replacig the line 131 :

...
        Assert.assertTrue( getPort( acceptor.getLocalAddress() ) != 0 );
...

by :
...
        Assert.assertEquals( 0, getPort( acceptor.getLocalAddress() ));
...

make the tests happy.

Trustin ?





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message