openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Web developer <webautomat...@gmail.com>
Subject Tests are ignored
Date Mon, 17 May 2010 16:57:05 GMT
Here is the end of trace output:

5957  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLPropertySub".  Ignoring.
5958  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLFieldSub".  Ignoring.
5959  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLPropertySub2".  Ignoring.
5960  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLFieldSub2".  Ignoring.
5961  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLMixedFieldSub".  Ignoring.
5962  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLSuperPropertyEntity".
Ignoring.
5993  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLFieldSub3".  Ignoring.
5994  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLSuperFieldEntity".  Ignoring.
5994  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLPropertySub3".  Ignoring.
5995  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLPropEmbedEntity".  Ignoring.
5996  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLFieldEmbedEntity".  Ignoring.
5997  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLPropMixedEntity".  Ignoring.
5997  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLEmbedFieldAccess".  Ignoring.
5998  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLEmbedPropAccess".  Ignoring.
5999  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLEmbedMixedAccess".  Ignoring.
6017  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class org.apache.openjpa.persistence.Security1".
Ignoring.
6018  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class org.apache.openjpa.persistence.Country1".
Ignoring.
6018  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class org.apache.openjpa.persistence.Embed".
Ignoring.
6037  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.jdbc.order.BaseTestElement2".  Ignoring.
6038  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.jdbc.order.BaseTestEntity2".  Ignoring.
6098  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.enhance.identity.Employee1Xml".  Ignoring.
6098  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.enhance.identity.Dependent1Xml".  Ignoring.
6099  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.enhance.identity.DependentId1Xml".  Ignoring.
6134  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLDefPropMixedFieldAccess2".
Ignoring.
6135  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLPropAccess2".  Ignoring.
6160  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLFieldAccess2".  Ignoring.
6161  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLDefFieldMixedPropAccess2".
Ignoring.
6188  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.jpql.entities.XMLOrderedManyToManyEntity".
Ignoring.
6188  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.jpql.entities.XMLOrderedOneToManyEntity".
Ignoring.
6189  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.jpql.entities.XMLOrderedElementEntity".
Ignoring.
6189  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.jpql.entities.XMLUnorderedNameEntity".
Ignoring.
6193  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.jpql.entities.XMLOrderedNameEntity".
Ignoring.
6216  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.jdbc.order.BaseTestElement3".  Ignoring.
6217  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.jdbc.order.BaseTestEntity3".  Ignoring.
6238  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLFieldAccess2".  Ignoring.
6239  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLDefFieldMixedPropAccess2".
Ignoring.
6257  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.xml.SimpleXmlEntity".  Ignoring.
6258  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.xml.XmlOverrideEntity".  Ignoring.
6259  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.simple.AllFieldTypes".  Ignoring.
6342  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.jdbc.order.BaseTestElement1".  Ignoring.
6344  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.jdbc.order.BaseTestEntity1".  Ignoring.
6402  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.detach.xml.Automobile".  Ignoring.
6418  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.detach.xml.Driver".  Ignoring.
6419  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.detach.xml.Passenger".  Ignoring.
6420  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.detach.xml.Owner".  Ignoring.
6468  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.attrOverrides.XMLAssocOverEntityA".
Ignoring.
6469  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.attrOverrides.XMLAssocOverEntityB".
Ignoring.
6489  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.attrOverrides.XMLAssocOverEmbed".
Ignoring.
6491  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.attrOverrides.XMLAssocOverEmbedB".
Ignoring.
6548  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.EntityA_Coll_StringXml".  Ignoring.
6549  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.EntityA_Coll_Embed_EmbedXml".
Ignoring.
6550  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.DepartmentXml".  Ignoring.
6551  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.EmployeeXml".  Ignoring.
6551  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.ItemXml".  Ignoring.
6552  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.DivisionXml".  Ignoring.
6553  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.VicePresidentXml".  Ignoring.
6553  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.CompanyXml".  Ignoring.
6554  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.CustomerXml".  Ignoring.
6555  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.OrderXml".  Ignoring.
6555  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.attrOverrides.CustomerXml".  Ignoring.
6556  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.attrOverrides.BasicEntityXML".
Ignoring.
6557  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.attrOverrides.XMLOverEntity".
Ignoring.
6566  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.attrOverrides.AddressXml".  Ignoring.
6567  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.attrOverrides.ZipcodeXml".  Ignoring.
6568  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.Embed_EmbedXml".  Ignoring.
6569  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.EmbedXml".  Ignoring.
6569  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.embed.attrOverrides.BasicEmbedXML".
Ignoring.
6643  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLDefPropMixedFieldAccess2".
Ignoring.
6644  xml-persistence-unit  WARN   [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLPropAccess2".  Ignoring.
3  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.loglevel" was not recognized and will be ignored, although the name
closely matches a valid property called "openjpa.Log".
[INFO] Executed tasks
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
/root/openjpa/openjpa-integration/validation/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] OpenJPA Parent POM .................................... SUCCESS
[12.491s]
[INFO] OpenJPA Utilities Library ............................. SUCCESS
[2:37.916s]
[INFO] OpenJPA Kernel ........................................ SUCCESS
[5:06.648s]
[INFO] OpenJPA JDBC .......................................... SUCCESS
[2:15.165s]
[INFO] OpenJPA Persistence ................................... SUCCESS
[1:02.926s]
[INFO] OpenJPA Persistence JDBC .............................. SUCCESS
[18:41.375s]
[INFO] OpenJPA Persistence Locking Tests ..................... SUCCESS
[8:21.789s]
[INFO] OpenJPA XML Store ..................................... SUCCESS
[2:39.756s]
[INFO] OpenJPA Slice ......................................... SUCCESS
[27.167s]
[INFO] OpenJPA Aggregate Jar ................................. SUCCESS
[13.436s]
[INFO] OpenJPA Aggregate Jar with Dependencies ............... SUCCESS
[1:37.557s]
[INFO] OpenJPA Project Docs and Assemblies ................... SUCCESS
[17.748s]
[INFO] OpenJPA Examples ...................................... SUCCESS
[7.545s]
[INFO] OpenJPA Integration Tests ............................. SUCCESS
[0.132s]
[INFO] OpenJPA Integration Tests - Daytrader ................. SUCCESS
[35.845s]
[INFO] OpenJPA Integration Tests - Examples .................. SUCCESS
[0.646s]
[INFO] OpenJPA Integration Tests - JPA TCK ................... SUCCESS
[0.163s]
[INFO] OpenJPA Integration Tests - Bean Validation ........... SUCCESS
[1:00.259s]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 45 minutes 28 seconds
[INFO] Finished at: Mon May 17 19:53:09 EEST 2010
[INFO] Final Memory: 126M/488M
[INFO]
------------------------------------------------------------------------

According to output some tests are ignored. How can I force a test runner to
interpret warnings as exceptions? Otherwise test are useless in case of
deployment. John

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