Building by mvn clean install I get the following error using tag 1.0.0-M32 (using JDK 1.7 or 1.8):

Running org.apache.directory.api.util.GeneralizedTimeTest
Tests run: 48, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.114 sec <<< FAILURE! - in org.apache.directory.api.util.GeneralizedTimeTest testRoundTrip(org.apache.directory.api.util.GeneralizedTimeTest) Time elapsed: 0.013 sec <<< FAILURE! java.lang.AssertionError: expected:<java.util.GregorianCalendar[time=123456789000,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=1,YEAR=1973,MONTH=10,WEEK_OF_YEAR=48,WEEK_OF_MONTH=5,DAY_OF_MONTH=29,DAY_OF_YEAR=333,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=5,AM_PM=1,HOUR=9,HOUR_OF_DAY=21,MINUTE=33,SECOND=9,MILLISECOND=0,ZONE_OFFSET=0,DST_OFFSET=0]> but was:<java.util.GregorianCalendar[time=123456789000,areFieldsSet=true,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=1973,MONTH=10,WEEK_OF_YEAR=48,WEEK_OF_MONTH=5,DAY_OF_MONTH=29,DAY_OF_YEAR=333,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=5,AM_PM=1,HOUR=9,HOUR_OF_DAY=21,MINUTE=33,SECOND=9,MILLISECOND=0,ZONE_OFFSET=0,DST_OFFSET=0]>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:834)
        at org.junit.Assert.assertEquals(Assert.java:118)
        at org.junit.Assert.assertEquals(Assert.java:144)
at org.apache.directory.api.util.GeneralizedTimeTest.testRoundTrip(GeneralizedTimeTest.java:1098)

Running org.apache.directory.api.util.OsgiUtilsTest


I suppose, that I'm using a different setting concerning 'Which is the first week in a year'. I'm sorry to say that I'm not sure to find the time to do some more analysis on this today.

Regards
Felix


Am 14.10.2015 um 19:05 schrieb Emmanuel Lécharny:
Hi,

  This is a vote for the 32th milestone of the 1.0.0 LDAP API/Shared,
1.0.0-M32.


Another bug fix release, with some huge modifications in the way we
handle Values. The SchemaManager
is now propagated down to the Ava and Value classes, which causes many
tests to have been fixed.

We also have added a LdifAnonymizer that can swallow a Ldif File and
replace the values with a
random text.

We have also spent some time fixing many checkstyle violations.

A few other issues have been fixed.

Here is the list of fixed issues and added features :


Bugs :
------

DIRAPI-90      <https://issues.apache.org/jira/browse/DIRAPI-90> -
IllegalArgumentException: factory thrown when creating
LdapNetworkConnection inside OSGi
DIRAPI-114     <https://issues.apache.org/jira/browse/DIRAPI-114> -
Reconsider interfaces and base classes for Registries
DIRAPI-118     <https://issues.apache.org/jira/browse/DIRAPI-118> - Use
JUnit TemporaryFolder Rule
DIRAPI-219     <https://issues.apache.org/jira/browse/DIRAPI-219> -
DateUtils.toGeneralizedTime does not work with some Locales
DIRAPI-241     <https://issues.apache.org/jira/browse/DIRAPI-241> - new
GeneralizedTime(String) fails for fraction close to one
DIRAPI-246     <https://issues.apache.org/jira/browse/DIRAPI-246> -
Error in parsing LDIF file
DIRAPI-252     <https://issues.apache.org/jira/browse/DIRAPI-252> -
Compiling warnings while api-all is in dependencies
DIRAPI-253     <https://issues.apache.org/jira/browse/DIRAPI-253> - The
AVA class is not handling correctly the values wrt the SchemaManager
DIRAPI-254     <https://issues.apache.org/jira/browse/DIRAPI-254> -
Value<?> don't have a apply(AttributeType) method
DIRAPI-255     <https://issues.apache.org/jira/browse/DIRAPI-255> - An
escaped space at the end of a RDN will not be kept due to a bug in the
ComplexDNParser


Task :
------

DIRAPI-251     <https://issues.apache.org/jira/browse/DIRAPI-251> - Fix
violations of coding standards and enable checkstyle check


New Feature    :
-------------

DIRAPI-250     <https://issues.apache.org/jira/browse/DIRAPI-250> - Add
a way to Anonymize a LDIF file


Question :
----------

DIRAPI-191     <https://issues.apache.org/jira/browse/DIRAPI-191> - How
to get attributes list according to objectClass


The revision :

http://svn.apache.org/viewvc?view=revision&revision=1708634<http://svn.apache.org/r1676503>

The SVN tag:
http://svn.apache.org/repos/asf/directory/shared/tags/1.0.0-M32
<http://svn.apache.org/repos/asf/directory/shared/tags/1.0.0-M29>

The source and binary distribution packages:
http://people.apache.org/~elecharny/
<http://people.apache.org/%7Eelecharny/>

The staging repository:
https://repository.apache.org/content/repositories/orgapachedirectory-1044
<https://repository.apache.org/content/repositories/orgapachedirectory-1031>


Please cast your votes:
[ ] +1 Release Shared/LDAP API 1.0.0-M32
[ ] 0 abstain
[ ] -1 Do not release Shared/LDAP API 1.0.0-M32


Emmanuel

--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com <http://www.iktek.com>


Reply via email to