aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Hughes (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ARIES-936) Test failures running on IBM JDK
Date Fri, 05 Oct 2012 12:44:03 GMT
Jeremy Hughes created ARIES-936:
-----------------------------------

             Summary: Test failures running on IBM JDK
                 Key: ARIES-936
                 URL: https://issues.apache.org/jira/browse/ARIES-936
             Project: Aries
          Issue Type: Bug
            Reporter: Jeremy Hughes


I'm getting three failures in spi-fly-dynamic-bundle when running on an IBM JDK. The test
is expecting an instance of a com.sun.org.apache.xerces.internal class but it's getting an
org.apache.xerces instance instead. Here's the error+stacktrace.

-------------------------------------------------------------------------------
Test set: org.apache.aries.spifly.dynamic.ClientWeavingHookTest
-------------------------------------------------------------------------------
Tests run: 15, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.482 sec <<< FAILURE!
testClientSpecifyingDifferentMethodsLimitedToDifferentProviders(org.apache.aries.spifly.dynamic.ClientWeavingHookTest)
 Time elaps
ed: 0.042 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[com.sun.org.apache.xerces.internal].jaxp.DocumentBuilde...>
but was:<[org.apache.xerces].j
axp.DocumentBuilde...>
    at org.junit.Assert.assertEquals(Assert.java:123)
    at org.junit.Assert.assertEquals(Assert.java:145)
    at org.apache.aries.spifly.dynamic.ClientWeavingHookTest.testConsumerBundleWeaving(ClientWeavingHookTest.java:455)
    at org.apache.aries.spifly.dynamic.ClientWeavingHookTest.testClientSpecifyingDifferentMethodsLimitedToDifferentProviders(Clien
tWeavingHookTest.java:431)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message