directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: [Studio] Mavenization status - Remaning issues
Date Fri, 08 Feb 2008 08:29:26 GMT
Felix Knecht schrieb:
> Hi Pierre-Arnaud
>
> I still do have a testcase failing. As far as I can see it's only 
> failing under Java 1.6 (java version "1.6.0_04"). With Java 1.5 (java 
> version "1.5.0_14") the test is passing correctly.

Also noticed that with java 1.6 I get a lot of deprecation messages like
[WARNING] 
/home/felix/svn/apache/directory/studio/branches/studio-maven/studio-dsml-parser/src/test/java/org/apache/directory/studio/dsmlv2/extendedResponse/ExtendedResponseTest.java:[38,24]

com.sun.jndi.ldap.LdapURL is Sun proprietary API and may be removed in a 
future release

[WARNING] 
/home/felix/svn/apache/directory/studio/branches/studio-maven/studio-dsml-parser/src/test/java/org/apache/directory/studio/dsmlv2/modDNResponse/ModifyDNResponseTest.java:[36,24]

com.sun.jndi.ldap.LdapURL is Sun proprietary API and may be removed in a 
future release

... more
>
> Regards
> Felix
>
>
> ------------------------------------------------------------------------------- 
>
> Test set: 
> org.apache.directory.studio.dsmlv2.searchResponse.searchResultEntry.SearchResultEntryTest

>
> ------------------------------------------------------------------------------- 
>
> Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.019 
> sec <<< FAILURE!
> testResponseWith2Attr1Value(org.apache.directory.studio.dsmlv2.searchResponse.searchResultEntry.SearchResultEntryTest)
 
> Time elapsed: 0.003 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: expected:<[objectclass]> but 
> was:<[dc]>
>    at junit.framework.Assert.assertEquals(Assert.java:81)
>    at junit.framework.Assert.assertEquals(Assert.java:87)
>    at 
> org.apache.directory.studio.dsmlv2.searchResponse.searchResultEntry.SearchResultEntryTest.testResponseWith2Attr1Value(SearchResultEntryTest.java:563)

>
>    at 
> org.apache.directory.studio.dsmlv2.searchResponse.searchResultEntry.SearchResultEntryTest.testResponseWith2Attr1Value(SearchResultEntryTest.java:563)

>
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>
>    at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

>
>    at java.lang.reflect.Method.invoke(Method.java:597)
>    at junit.framework.TestCase.runTest(TestCase.java:164)
>    at junit.framework.TestCase.runBare(TestCase.java:130)
>    at junit.framework.TestResult$1.protect(TestResult.java:106)
>    at junit.framework.TestResult.runProtected(TestResult.java:124)
>    at junit.framework.TestResult.run(TestResult.java:109)
>    at junit.framework.TestCase.run(TestCase.java:120)
>    at junit.framework.TestSuite.runTest(TestSuite.java:230)
>    at junit.framework.TestSuite.run(TestSuite.java:225)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>
>    at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

>
>    at java.lang.reflect.Method.invoke(Method.java:597)
>    at 
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) 
>
>    at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)

>
>    at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)

>
>    at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>
>    at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

>
>    at java.lang.reflect.Method.invoke(Method.java:597)
>    at 
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)

>
>    at 
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) 
>
>
>


Mime
View raw message