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 [Betwixt 0.6.1-dev] Unit test errors
Date Wed, 16 Mar 2005 18:22:25 GMT
Hi guys.
I don't undestand I get some unit test failures with last trunk betwixt 
that aren't showned in home project unit test reports.

Are they synchronized ?

My classpath meets project info requirements and tests are runned by maven.
Any idea ?



- list of (some) failures - 
org.apache.commons.betwixt.derived.TestWriteClass

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>


org.apache.commons.betwixt.io.read.TestBindTimeTypeMapping

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>

org.apache.commons.betwixt.io.read.TestMaps

------------- Standard Error -----------------
16 mars 2005 19:03:00 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
16 mars 2005 19:03:00 org.apache.commons.betwixt.expression.Context
popOptions
INFO: Cannot pop options off empty stack
------------- ---------------- ---------------
Testcase: testMapWithArray(org.apache.commons.betwixt.io.read.TestMaps):
FAILED
expected:<...ity>Chicago</city>
            <code>1234</code>
            <country>USA</country>
            <street>12 here</street>
          </AddressBean>
          <AddressBean id="5">
            <city>Los Angeles</city>
            <code>99999</code>
            <country>USA</countr...> but was:<...ode>1234</code>
            <country>USA</country>
            <city>Chicago</city>
            <street>12 here</street>
          </AddressBean>
          <AddressBean id="5">
            <code>99999</code>
            <country>USA</country>
            <city>Los Angeles</cit...>
junit.framework.ComparisonFailure: expected:<...ity>Chicago</city>
            <code>1234</code>
            <country>USA</country>
            <street>12 here</street>
          </AddressBean>
          <AddressBean id="5">
            <city>Los Angeles</city>
            <code>99999</code>
            <country>USA</countr...> but was:<...ode>1234</code>
            <country>USA</country>
            <city>Chicago</city>
            <street>12 here</street>
          </AddressBean>
          <AddressBean id="5">
            <code>99999</code>
            <country>USA</country>
            <city>Los Angeles</cit...>
	at
org.apache.commons.betwixt.io.read.TestMaps.testMapWithArray(TestMaps.java:1
43)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
-- 
Marc DeXeT
CNRS/DSI/BEST
<http://www.dsi.cnrs.fr>

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