A lot :)

test.run:
    [junit] Running com.ibatis.common.beans.JavaBeanProbeTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.264 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 6 ms}
    [junit] Running com.ibatis.common.beans.PropertyAccessPlanTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.313 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 6 ms}
    [junit] Running com.ibatis.common.resources.ResourcesTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 17, Failures: 0, Errors: 0, Time elapsed: 0.267 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 5 ms}
    [junit] Running com.ibatis.common.util.PaginatedArrayListTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.294 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 7 ms}
    [junit] Running com.ibatis.dao.JdbcDaoTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.343 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 12 ms}
    [junit] Running com.ibatis.dao.SqlMapDaoTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.788 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 30 ms}
    [junit] Running com.ibatis.sqlmap.BindingTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 10, Failures: 0, Errors: 10, Time elapsed: 1.41 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 17 ms}
    [junit] TEST com.ibatis.sqlmap.BindingTest FAILED
[junit] Running com.ibatis.sqlmap.builder.xml.SqlMapClasspathEntityResolverTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.252 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 8 ms}
    [junit] Running com.ibatis.sqlmap.CacheStatementTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 10, Failures: 0, Errors: 10, Time elapsed: 1.418 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 18 ms}
    [junit] TEST com.ibatis.sqlmap.CacheStatementTest FAILED
    [junit] Running com.ibatis.sqlmap.ComplexTypeTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.948 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 32 ms}
    [junit] TEST com.ibatis.sqlmap.ComplexTypeTest FAILED
    [junit] Running com.ibatis.sqlmap.DiscriminatorTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.935 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 35 ms}
    [junit] TEST com.ibatis.sqlmap.DiscriminatorTest FAILED
    [junit] Running com.ibatis.sqlmap.DomStatementTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 1.135 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 20 ms}
    [junit] TEST com.ibatis.sqlmap.DomStatementTest FAILED
    [junit] Running com.ibatis.sqlmap.DynamicPrependTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 15, Failures: 0, Errors: 15, Time elapsed: 1.926 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 15 ms}
    [junit] TEST com.ibatis.sqlmap.DynamicPrependTest FAILED
    [junit] Running com.ibatis.sqlmap.DynamicTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 24, Failures: 0, Errors: 24, Time elapsed: 2.007 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 52 ms}
    [junit] TEST com.ibatis.sqlmap.DynamicTest FAILED
[junit] Running com.ibatis.sqlmap.engine.cache.fifo.FifoCacheControllerTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.241 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 12 ms} [junit] Running com.ibatis.sqlmap.engine.cache.lru.LruCacheControllerTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.249 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 7 ms} [junit] Running com.ibatis.sqlmap.engine.cache.memory.MemoryCacheControllerTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.247 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 3 ms}
    [junit] Running com.ibatis.sqlmap.IterateTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 14, Failures: 0, Errors: 14, Time elapsed: 1.567 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 16 ms}
    [junit] TEST com.ibatis.sqlmap.IterateTest FAILED
    [junit] Running com.ibatis.sqlmap.mapper.CanonicalizerTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.251 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 5 ms}
    [junit] Running com.ibatis.sqlmap.mapper.DatabaseMetadataTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.498 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 18 ms}
    [junit] TEST com.ibatis.sqlmap.mapper.DatabaseMetadataTest FAILED
    [junit] Running com.ibatis.sqlmap.mapper.MatchCalculatorTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.688 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 4 ms}
    [junit] Running com.ibatis.sqlmap.mapper.NameMatcherTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.947 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 23 ms}
    [junit] Running com.ibatis.sqlmap.ParameterMapTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 7, Failures: 0, Errors: 7, Time elapsed: 4.493 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 21 ms}
    [junit] TEST com.ibatis.sqlmap.ParameterMapTest FAILED
    [junit] Running com.ibatis.sqlmap.RepeatingGroupMappingTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 3.48 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 28 ms}
    [junit] TEST com.ibatis.sqlmap.RepeatingGroupMappingTest FAILED
    [junit] Running com.ibatis.sqlmap.ResultMapTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 18, Failures: 0, Errors: 18, Time elapsed: 4.217 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 19 ms}
    [junit] TEST com.ibatis.sqlmap.ResultMapTest FAILED
    [junit] Running com.ibatis.sqlmap.StatementTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 36, Failures: 0, Errors: 36, Time elapsed: 4.826 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 16 ms}
    [junit] TEST com.ibatis.sqlmap.StatementTest FAILED
    [junit] Running com.ibatis.sqlmap.TransactionTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 8, Failures: 0, Errors: 8, Time elapsed: 2.073 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 15 ms}
    [junit] TEST com.ibatis.sqlmap.TransactionTest FAILED
    [junit] Running com.ibatis.sqlmap.XmlStatementTest
    [junit] EMMA: collecting runtime coverage data ...
[junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 1.365 sec [junit] EMMA: runtime coverage data merged into [/Users/nmaves/ Projects/iBatis/trunk/java/mapper/mapper2/build/coverage.ec] {in 29 ms}
    [junit] TEST com.ibatis.sqlmap.XmlStatementTest FAILED


On Feb 20, 2006, at 12:04 AM, Sven.Boden wrote:


Specifically which tests failed? I did change the DOCTYPE in the tests to ibatis.apache.org but on my side all testcases still work, it could be you have a more restrictive XML parser installed.

Regards,
Sven

----- Oorspronkelijk bericht -----
Van: Nathan Maves [mailto:[EMAIL PROTECTED]
Verzonden: maandag, februari 20, 2006 07:34 AM
Aan: dev@ibatis.apache.org
Onderwerp: Tests Failed

I was working on a few things last night and got stuck with the tests...

A bunch of tests all failed with this error.... not easy to debug :)

Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error
parsing XML. Cause:
com.ibatis.common.exception.NestedRuntimeException: Error parsing
XPath '/sqlMapConfig/sqlMap'. Cause:
com.ibatis.common.xml.NodeletException: Error parsing XML. Cause:
org.xml.sax.SAXParseException: Element "resultMap" does not allow
"resultMap" here. Caused by: org.xml.sax.SAXParseException: Element
"resultMap" does not allow "resultMap" here. Caused by:
com.ibatis.common.xml.NodeletException: Error parsing XML. Cause:
org.xml.sax.SAXParseException: Element "resultMap" does not allow
"resultMap" here. Caused by: org.xml.sax.SAXParseException: Element
"resultMap" does not allow "resultMap" here. Caused by:
com.ibatis.common.exception.NestedRuntimeException: Error parsing
XPath '/sqlMapConfig/sqlMap'. Cause:
com.ibatis.common.xml.NodeletException: Error parsing XML. Cause:
org.xml.sax.SAXParseException: Element "resultMap" does not allow
"resultMap" here. Caused by: org.xml.sax.SAXParseException: Element
"resultMap" does not allow "resultMap" here. Caused by:
com.ibatis.common.xml.NodeletException: Error parsing XML. Cause:
org.xml.sax.SAXParseException: Element "resultMap" does not allow
"resultMap" here. Caused by: org.xml.sax.SAXParseException: Element
"resultMap" does not allow "resultMap" here.

com.ibatis.common.exception.NestedRuntimeException: Error occurred.
Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.
Cause: com.ibatis.common.exception.NestedRuntimeException: Error
parsing XPath '/sqlMapConfig/sqlMap'. Cause:
com.ibatis.common.xml.NodeletException: Error parsing XML. Cause:
org.xml.sax.SAXParseException: Element "resultMap" does not allow
"resultMap" here.
Caused by: org.xml.sax.SAXParseException: Element "resultMap" does
not allow "resultMap" here.
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.
Cause: org.xml.sax.SAXParseException: Element "resultMap" does not
allow "resultMap" here.
Caused by: org.xml.sax.SAXParseException: Element "resultMap" does
not allow "resultMap" here.
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error
parsing XPath '/sqlMapConfig/sqlMap'. Cause:
com.ibatis.common.xml.NodeletException: Error parsing XML. Cause:
org.xml.sax.SAXParseException: Element "resultMap" does not allow
"resultMap" here.
Caused by: org.xml.sax.SAXParseException: Element "resultMap" does
not allow "resultMap" here.
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.
Cause: org.xml.sax.SAXParseException: Element "resultMap" does not
allow "resultMap" here.
Caused by: org.xml.sax.SAXParseException: Element "resultMap" does
not allow "resultMap" here.
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.
Cause: com.ibatis.common.exception.NestedRuntimeException: Error
parsing XPath '/sqlMapConfig/sqlMap'. Cause:
com.ibatis.common.xml.NodeletException: Error parsing XML. Cause:
org.xml.sax.SAXParseException: Element "resultMap" does not allow
"resultMap" here.
Caused by: org.xml.sax.SAXParseException: Element "resultMap" does
not allow "resultMap" here.
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.
Cause: org.xml.sax.SAXParseException: Element "resultMap" does not
allow "resultMap" here.
Caused by: org.xml.sax.SAXParseException: Element "resultMap" does
not allow "resultMap" here.
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error
parsing XPath '/sqlMapConfig/sqlMap'. Cause:
com.ibatis.common.xml.NodeletException: Error parsing XML. Cause:
org.xml.sax.SAXParseException: Element "resultMap" does not allow
"resultMap" here.
Caused by: org.xml.sax.SAXParseException: Element "resultMap" does
not allow "resultMap" here.
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.
Cause: org.xml.sax.SAXParseException: Element "resultMap" does not
allow "resultMap" here.
Caused by: org.xml.sax.SAXParseException: Element "resultMap" does
not allow "resultMap" here.
at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse
(SqlMapConfigParser.java:82)
at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse
(SqlMapConfigParser.java:70)
at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient
(SqlMapClientBuilder.java:78)
at com.ibatis.sqlmap.BaseSqlMapTest.initSqlMap(BaseSqlMapTest.java: 22)
at com.ibatis.sqlmap.XmlStatementTest.setUp(XmlStatementTest.java:13)
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.
Cause: com.ibatis.common.exception.NestedRuntimeException: Error
parsing XPath '/sqlMapConfig/sqlMap'. Cause:
com.ibatis.common.xml.NodeletException: Error parsing XML. Cause:
org.xml.sax.SAXParseException: Element "resultMap" does not allow
"resultMap" here.
Caused by: org.xml.sax.SAXParseException: Element "resultMap" does
not allow "resultMap" here.
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.
Cause: org.xml.sax.SAXParseException: Element "resultMap" does not
allow "resultMap" here.
Caused by: org.xml.sax.SAXParseException: Element "resultMap" does
not allow "resultMap" here.
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error
parsing XPath '/sqlMapConfig/sqlMap'. Cause:
com.ibatis.common.xml.NodeletException: Error parsing XML. Cause:
org.xml.sax.SAXParseException: Element "resultMap" does not allow
"resultMap" here.
Caused by: org.xml.sax.SAXParseException: Element "resultMap" does
not allow "resultMap" here.
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.
Cause: org.xml.sax.SAXParseException: Element "resultMap" does not
allow "resultMap" here.
Caused by: org.xml.sax.SAXParseException: Element "resultMap" does
not allow "resultMap" here.
at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:53)
at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse
(SqlMapConfigParser.java:79)
... 13 more





Reply via email to