juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Faath" <jfa...@apache.org>
Subject authinfo test fails
Date Mon, 15 Dec 2008 18:16:29 GMT
The AuthInfoTest always fails for me with the error below.  I can't get to
any of the other tests because of it.  Any ideas?

 

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

Test set: org.uddi.api_v3.AuthInfoTest

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

Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 1.516 sec
<<< FAILURE!

marshall(org.uddi.api_v3.AuthInfoTest)  Time elapsed: 0.656 sec  <<<
FAILURE!

junit.framework.ComparisonFailure: null expected:<<fragment
xmlns:ns[3="urn:uddi-org:api_v3"
xmlns:ns2="http://www.w3.org/2000/09/xmldsig#]">

    <ns3:authInfo...> but was:<<fragment
xmlns:ns[2="http://www.w3.org/2000/09/xmldsig#"
xmlns:ns3="urn:uddi-org:api_v3]">

    <ns3:authInfo...>

      at junit.framework.Assert.assertEquals(Assert.java:81)

      at junit.framework.Assert.assertEquals(Assert.java:87)

      at org.uddi.api_v3.AuthInfoTest.marshall(AuthInfoTest.java:50)

      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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.
java:44)

      at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.j
ava:15)

      at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.ja
va:41)

      at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.jav
a: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.jav
a:73)

      at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.jav
a:46)

      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)

      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)

      at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)

      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.ParentRunner.run(ParentRunner.java:220)

      at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62
)

      at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(Ab
stractDirectoryTestSuite.java:140)

      at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractD
irectoryTestSuite.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: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(SurefireB
ooter.java:334)

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

 

marshallUTF8(org.uddi.api_v3.AuthInfoTest)  Time elapsed: 0.25 sec  <<<
FAILURE!

junit.framework.ComparisonFailure: null expected:<<fragment
xmlns:ns[3="urn:uddi-org:api_v3"
xmlns:ns2="http://www.w3.org/2000/09/xmldsig#]">

    <ns3:authInfo...> but was:<<fragment
xmlns:ns[2="http://www.w3.org/2000/09/xmldsig#"
xmlns:ns3="urn:uddi-org:api_v3]">

    <ns3:authInfo...>

      at junit.framework.Assert.assertEquals(Assert.java:81)

      at junit.framework.Assert.assertEquals(Assert.java:87)

      at org.uddi.api_v3.AuthInfoTest.marshallUTF8(AuthInfoTest.java:91)

      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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.
java:44)

      at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.j
ava:15)

      at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.ja
va:41)

      at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.jav
a: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.jav
a:73)

      at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.jav
a:46)

      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)

      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)

      at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)

      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.ParentRunner.run(ParentRunner.java:220)

      at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62
)

      at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(Ab
stractDirectoryTestSuite.java:140)

      at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractD
irectoryTestSuite.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: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(SurefireB
ooter.java:334)

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

 

 


Mime
View raw message