axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Suriarachchi <amilasuriarach...@gmail.com>
Subject ADB test failure
Date Fri, 21 Aug 2009 08:01:15 GMT
when I run the axis2-adb module with the tests I get it fail.

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.axis2.databinding.ADBSOAPModelBuilderTest
Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.095 sec
<<< FAILURE!
Running org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest
org.apache.commons.logging.LogConfigurationException: User-specified log
class 'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is
not useable.
    at
org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:874)
    at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
    at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
    at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)
    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
    at
org.apache.axiom.om.impl.serialize.StreamingOMSerializer.<init>(StreamingOMSerializer.java:43)
    at
org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest.getStringXML(ADBXMLStreamReaderTest.java:838)
    at
org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest.testElementText(ADBXMLStreamReaderTest.java:668)
    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:168)
    at junit.framework.TestCase.runBare(TestCase.java:134)
    at junit.framework.TestResult$1.protect(TestResult.java:110)
    at junit.framework.TestResult.runProtected(TestResult.java:128)
    at junit.framework.TestResult.run(TestResult.java:113)
    at junit.framework.TestCase.run(TestCase.java:124)
    at junit.framework.TestSuite.runTest(TestSuite.java:232)
    at junit.framework.TestSuite.run(TestSuite.java:227)
    at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
    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: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:338)
    at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Tests run: 15, Failures: 8, Errors: 7, Skipped: 0, Time elapsed: 0.092 sec
<<< FAILURE!
Running org.apache.axis2.databinding.utils.MultirefHelperTest
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.024 sec
<<< FAILURE!
Running org.apache.axis2.databinding.utils.SimpleArrayReaderStateMachineTest
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.022 sec
<<< FAILURE!
Running org.apache.axis2.databinding.types.xsd.ArrayTest
OMElement ==> <ns1:Array xmlns:ns1="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:s1="
http://www.w3.org/2001/XMLSchema"
           ns1:arrayType="s1:ur-type[5]">
    <s1:int>1</s1:int>
    <s1:int>2</s1:int>
    <s1:int>3</s1:int>
    <s1:int>4</s1:int>
    <s1:int>5</s1:int>
</ns1:Array>
Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.023 sec
<<< FAILURE!
Running org.apache.axis2.databinding.utils.NamedStaxOMBuilderTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.006 sec
<<< FAILURE!
Running
org.apache.axis2.databinding.utils.SimpleElementReaderStateMachineTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.007 sec
<<< FAILURE!
Running org.apache.axis2.databinding.utils.writer.MTOMAwareOMBuilderTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.007 sec
<<< FAILURE!
Running org.apache.axis2.databinding.types.soapencoding.ArrayTest
OMElement ==> <ns1:Array xmlns:ns1="
http://schemas.xmlsoap.org/soap/encoding/"
           xmlns:s1="http://www.w3.org/2001/XMLSchema"
           ns1:arrayType="s1:ur-type[5]">
    <ns1:int>1</ns1:int>
    <ns1:int>2</ns1:int>
    <ns1:int>3</ns1:int>
    <ns1:int>4</ns1:int>
    <ns1:int>5</ns1:int>
</ns1:Array>
Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.018 sec
<<< FAILURE!
Running org.apache.axis2.databinding.utils.BeanUtilTest
Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.025 sec
<<< FAILURE!
Running org.apache.axis2.databinding.utils.ConverterUtilTest
Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.03 sec <<<
FAILURE!

Results :

Failed tests:

testComplexObjectArrayScenario(org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest)

testComplexObjectArrayScenarioWithNulls(org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest)

testComplexObjectArrayScenarioEmptyArray(org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest)

testComplexStringArrayScenarioWithMixedContent(org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest)

testElementText(org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest)

testUnQualifiedAttributes(org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest)

testBase64EncodedText(org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest)

testQualifiedElement(org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest)

Tests in error:
  testSimpleArrayList(org.apache.axis2.databinding.ADBSOAPModelBuilderTest)
  testPrintEvents(org.apache.axis2.databinding.ADBSOAPModelBuilderTest)
  testPrintEvents2(org.apache.axis2.databinding.ADBSOAPModelBuilderTest)
  testConvertToDOOM(org.apache.axis2.databinding.ADBSOAPModelBuilderTest)
  testConvertToDOOM2(org.apache.axis2.databinding.ADBSOAPModelBuilderTest)

testComplexArrayList(org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest)

testWithOMElements(org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest)

testNullableAttribute(org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest)

testSimpleStringArrayScenario(org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest)

testSimpleStringArrayScenarioWithNulls(org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest)

testComplexStringArrayScenarioWithNull(org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest)

testAttributes(org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderTest)

testProcessHrefAttributes1(org.apache.axis2.databinding.utils.MultirefHelperTest)

testProcessHrefAttribute2(org.apache.axis2.databinding.utils.MultirefHelperTest)

testProcessHrefAttribute3(org.apache.axis2.databinding.utils.MultirefHelperTest)

testProcessHrefAttribute4(org.apache.axis2.databinding.utils.MultirefHelperTest)

testStateMachine(org.apache.axis2.databinding.utils.SimpleArrayReaderStateMachineTest)

testStateMachine3(org.apache.axis2.databinding.utils.SimpleArrayReaderStateMachineTest)

testStateMachine2(org.apache.axis2.databinding.utils.SimpleArrayReaderStateMachineTest)

testStateMachineEmptyArray(org.apache.axis2.databinding.utils.SimpleArrayReaderStateMachineTest)
  testArray1(org.apache.axis2.databinding.types.xsd.ArrayTest)
  testArray2(org.apache.axis2.databinding.types.xsd.ArrayTest)
  testArray3(org.apache.axis2.databinding.types.xsd.ArrayTest)
  testArray4(org.apache.axis2.databinding.types.xsd.ArrayTest)
  testArray5(org.apache.axis2.databinding.types.xsd.ArrayTest)

testNamedOMBuilder(org.apache.axis2.databinding.utils.NamedStaxOMBuilderTest)

testNamedOMBuilder1(org.apache.axis2.databinding.utils.NamedStaxOMBuilderTest)

testStateMachine(org.apache.axis2.databinding.utils.SimpleElementReaderStateMachineTest)

testStateMachine3(org.apache.axis2.databinding.utils.SimpleElementReaderStateMachineTest)

testStateMachine2(org.apache.axis2.databinding.utils.SimpleElementReaderStateMachineTest)

testGetOMElement(org.apache.axis2.databinding.utils.writer.MTOMAwareOMBuilderTest)
  testArray1(org.apache.axis2.databinding.types.soapencoding.ArrayTest)
  testArray2(org.apache.axis2.databinding.types.soapencoding.ArrayTest)
  testArray3(org.apache.axis2.databinding.types.soapencoding.ArrayTest)
  testArray4(org.apache.axis2.databinding.types.soapencoding.ArrayTest)
  testArray5(org.apache.axis2.databinding.types.soapencoding.ArrayTest)
  testArray6(org.apache.axis2.databinding.types.soapencoding.ArrayTest)

testProcessObjectAsSimpleType(org.apache.axis2.databinding.utils.BeanUtilTest)

testProcessObjectAsOmElement(org.apache.axis2.databinding.utils.BeanUtilTest)
  testProcessObjectAsNull(org.apache.axis2.databinding.utils.BeanUtilTest)

testProcessObjectAsByteArray(org.apache.axis2.databinding.utils.BeanUtilTest)
  testProcessObjectAsList(org.apache.axis2.databinding.utils.BeanUtilTest)

testProcessObjectAsDataHandler(org.apache.axis2.databinding.utils.BeanUtilTest)

testProcessObjectAsComplexType(org.apache.axis2.databinding.utils.BeanUtilTest)
  testProcessObjectAsObject(org.apache.axis2.databinding.utils.BeanUtilTest)
  testInt(org.apache.axis2.databinding.utils.ConverterUtilTest)
  testBigInteger(org.apache.axis2.databinding.utils.ConverterUtilTest)
  testBool(org.apache.axis2.databinding.utils.ConverterUtilTest)

testConvertToDateTime(org.apache.axis2.databinding.utils.ConverterUtilTest)

testConvertToDateString(org.apache.axis2.databinding.utils.ConverterUtilTest)
  testConvertToDate(org.apache.axis2.databinding.utils.ConverterUtilTest)

testConvertCalendarToString(org.apache.axis2.databinding.utils.ConverterUtilTest)

Tests run: 60, Failures: 8, Errors: 52, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.

Has anyone got it working?

thanks,
Amila.

-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Mime
View raw message