commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc DEXET <Marc.De...@dsi.cnrs.fr>
Subject RE : [Betwixt 0.6.1-dev] Unit test errors
Date Mon, 21 Mar 2005 12:35:09 GMT
robert burrell donkin wrote:
> hi marc
> 
> looks like some tests are being thrown out by differences in
> the order of methods. this varies between JVM but i thought
> they'd all been fixed.
> 
> any chance of an idea about the platform you're running on
> and a list of all tests that fail?

Hi Robert.
Thanks.

I'm running unit test on Windows XP pack2
j2sdk1.4.2_06


    [junit] [ERROR] TEST org.apache.commons.betwixt.derived.TestWriteClass
FAILED
    [junit] [ERROR] TEST
org.apache.commons.betwixt.io.read.TestBindTimeTypeMapping FAILED
    [junit] [ERROR] TEST
org.apache.commons.betwixt.recursion.TestSharedIDGeneration FAILED
    [junit] [ERROR] TEST
org.apache.commons.betwixt.schema.TestSchemaGeneration FAILED
    [junit] [ERROR] TEST
org.apache.commons.betwixt.strategy.TestConversionFlavour FAILED

I put test-reports :

Testsuite: org.apache.commons.betwixt.derived.TestWriteClass
Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0,937 sec

Testcase:
testPropertySuppressionStrategy(org.apache.commons.betwixt.derived.TestWrite
Class):	FAILED
Expected secrets to be supressed(Unequal node names) expected:<employer> but
was:<name>
junit.framework.ComparisonFailure: Expected secrets to be supressed(Unequal
node names) expected:<employer> but was:<name>
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:214)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:312)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCa
se.java:175)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:128)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:115)
	at
org.apache.commons.betwixt.derived.TestWriteClass.testPropertySuppressionStr
ategy(TestWriteClass.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)


Testsuite: org.apache.commons.betwixt.io.read.TestBindTimeTypeMapping
Tests run: 10, Failures: 2, Errors: 0, Time elapsed: 0,86 sec

------------- Standard Error -----------------
21 mars 2005 12:03:16 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
21 mars 2005 12:03:16 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
21 mars 2005 12:03:16 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
21 mars 2005 12:03:16 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
21 mars 2005 12:03:16 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
21 mars 2005 12:03:16 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
21 mars 2005 12:03:16 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
21 mars 2005 12:03:16 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
21 mars 2005 12:03:16 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
21 mars 2005 12:03:16 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
------------- ---------------- ---------------
Testcase:
testBindTimeTypeWrite(org.apache.commons.betwixt.io.read.TestBindTimeTypeMap
ping):	FAILED
(Unequal node names) expected:<call> but was:<latinName>
junit.framework.ComparisonFailure: (Unequal node names) expected:<call> but
was:<latinName>
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:214)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:312)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:312)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCa
se.java:175)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:128)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:105)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:96)
	at
org.apache.commons.betwixt.io.read.TestBindTimeTypeMapping.testBindTimeTypeW
rite(TestBindTimeTypeMapping.java:155)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)


Testcase:
testIntrospectionTimeTypeWrite(org.apache.commons.betwixt.io.read.TestBindTi
meTypeMapping):	FAILED
(Unequal node names) expected:<call> but was:<latinName>
junit.framework.ComparisonFailure: (Unequal node names) expected:<call> but
was:<latinName>
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:214)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:312)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:312)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCa
se.java:175)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:128)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:105)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:96)
	at
org.apache.commons.betwixt.io.read.TestBindTimeTypeMapping.testIntrospection
TimeTypeWrite(TestBindTimeTypeMapping.java:232)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

Testsuite: org.apache.commons.betwixt.recursion.TestSharedIDGeneration
Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0,687 sec

Testcase:
testSharedChild(org.apache.commons.betwixt.recursion.TestSharedIDGeneration)
:	FAILED
(Unequal node names) expected:<alie...> but was:<perso...>
junit.framework.ComparisonFailure: (Unequal node names) expected:<alie...>
but was:<perso...>
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:214)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:312)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:312)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCa
se.java:175)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCa
se.java:151)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCa
se.java:141)
	at
org.apache.commons.betwixt.recursion.TestSharedIDGeneration.testSharedChild(
TestSharedIDGeneration.java:47)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

Testsuite: org.apache.commons.betwixt.schema.TestSchemaGeneration
Tests run: 5, Failures: 2, Errors: 0, Time elapsed: 1,063 sec

Testcase:
testOrderLineBean(org.apache.commons.betwixt.schema.TestSchemaGeneration):
FAILED
(Unequal attribute values) expected:<bar...> but was:<...>
junit.framework.ComparisonFailure: (Unequal attribute values)
expected:<bar...> but was:<...>
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:269)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:312)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:312)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCa
se.java:175)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:128)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:105)
	at
org.apache.commons.betwixt.schema.TestSchemaGeneration.testOrderLineBean(Tes
tSchemaGeneration.java:151)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)


Testcase: testOrder(org.apache.commons.betwixt.schema.TestSchemaGeneration):
FAILED
(Unequal attribute values) expected:<town> but was:<name>
junit.framework.ComparisonFailure: (Unequal attribute values)
expected:<town> but was:<name>
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:269)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:312)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:312)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCa
se.java:175)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:128)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:105)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:96)
	at
org.apache.commons.betwixt.schema.TestSchemaGeneration.testOrder(TestSchemaG
eneration.java:209)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

Testsuite: org.apache.commons.betwixt.strategy.TestConversionFlavour
Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0,843 sec

------------- Standard Error -----------------
21 mars 2005 12:03:43 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
21 mars 2005 12:03:43 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
21 mars 2005 12:03:43 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
21 mars 2005 12:03:43 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
------------- ---------------- ---------------
Testcase:
testWrite(org.apache.commons.betwixt.strategy.TestConversionFlavour):
FAILED
(Unequal node names) expected:<betaBea...> but was:<childre...>
junit.framework.ComparisonFailure: (Unequal node names)
expected:<betaBea...> but was:<childre...>
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:214)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.ja
va:312)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCa
se.java:175)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:128)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:105)
	at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(Xm
lTestCase.java:96)
	at
org.apache.commons.betwixt.strategy.TestConversionFlavour.testWrite(TestConv
ersionFlavour.java:108)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message