Author: adamw
Date: 2008-10-13 06:49:54 -0400 (Mon, 13 Oct 2008)
New Revision: 174
Added:
trunk/lib/db/postgresql.jar
trunk/src/test/org/jboss/envers/test/AbstractEntityTest.java
trunk/src/test/org/jboss/envers/test/entities/UnversionedStrTestEntity.java
trunk/src/test/org/jboss/envers/test/performance/
trunk/src/test/org/jboss/envers/test/performance/AbstractPerformanceTest.java
trunk/src/test/org/jboss/envers/test/performance/InsertsPerformance.java
trunk/src/test/org/jboss/envers/test/performance/UpdatesPerformance.java
Removed:
trunk/src/test/org/jboss/envers/test/integration/AbstractEntityTest.java
Modified:
trunk/envers.iml
trunk/lib/hibernate-3.3.0/hibernate3.jar
trunk/resources/test/hibernate.test.cfg.xml
trunk/src/main/org/jboss/envers/configuration/metadata/MetadataTools.java
trunk/src/test/org/jboss/envers/test/integration/basic/Delete.java
trunk/src/test/org/jboss/envers/test/integration/basic/GlobalVersioned.java
trunk/src/test/org/jboss/envers/test/integration/basic/ManyOperationsInTransaction.java
trunk/src/test/org/jboss/envers/test/integration/basic/NotVersioned.java
trunk/src/test/org/jboss/envers/test/integration/basic/NullProperties.java
trunk/src/test/org/jboss/envers/test/integration/basic/Simple.java
trunk/src/test/org/jboss/envers/test/integration/basic/SingleOperationInTransaction.java
trunk/src/test/org/jboss/envers/test/integration/basic/UnversionedPropertiesChange.java
trunk/src/test/org/jboss/envers/test/integration/basic/UnversionedProperty.java
trunk/src/test/org/jboss/envers/test/integration/cache/OneToManyCache.java
trunk/src/test/org/jboss/envers/test/integration/cache/OneToOneCache.java
trunk/src/test/org/jboss/envers/test/integration/cache/QueryCache.java
trunk/src/test/org/jboss/envers/test/integration/collection/EnumSet.java
trunk/src/test/org/jboss/envers/test/integration/collection/StringList.java
trunk/src/test/org/jboss/envers/test/integration/collection/StringMap.java
trunk/src/test/org/jboss/envers/test/integration/collection/StringSet.java
trunk/src/test/org/jboss/envers/test/integration/collection/mapkey/ComponentMapKey.java
trunk/src/test/org/jboss/envers/test/integration/collection/mapkey/IdMapKey.java
trunk/src/test/org/jboss/envers/test/integration/components/Components.java
trunk/src/test/org/jboss/envers/test/integration/customtype/CompositeCustom.java
trunk/src/test/org/jboss/envers/test/integration/customtype/ParametrizedCustom.java
trunk/src/test/org/jboss/envers/test/integration/data/Dates.java
trunk/src/test/org/jboss/envers/test/integration/data/Enums.java
trunk/src/test/org/jboss/envers/test/integration/data/Lobs.java
trunk/src/test/org/jboss/envers/test/integration/data/Serializables.java
trunk/src/test/org/jboss/envers/test/integration/flush/AbstractFlushTest.java
trunk/src/test/org/jboss/envers/test/integration/ids/CompositeIds.java
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/ChildVersioning.java
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/ParentVersioning.java
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/childrelation/ChildReferencing.java
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/relation/PolymorphicCollection.java
trunk/src/test/org/jboss/envers/test/integration/manytomany/BasicList.java
trunk/src/test/org/jboss/envers/test/integration/manytomany/BasicMap.java
trunk/src/test/org/jboss/envers/test/integration/manytomany/BasicSet.java
trunk/src/test/org/jboss/envers/test/integration/manytomany/ternary/TernaryMap.java
trunk/src/test/org/jboss/envers/test/integration/manytomany/unidirectional/BasicUniList.java
trunk/src/test/org/jboss/envers/test/integration/manytomany/unidirectional/BasicUniMap.java
trunk/src/test/org/jboss/envers/test/integration/manytomany/unidirectional/BasicUniSet.java
trunk/src/test/org/jboss/envers/test/integration/naming/BasicNaming.java
trunk/src/test/org/jboss/envers/test/integration/naming/JoinNaming.java
trunk/src/test/org/jboss/envers/test/integration/naming/OneToManyUnidirectionalNaming.java
trunk/src/test/org/jboss/envers/test/integration/naming/VersionsJoinTableNaming.java
trunk/src/test/org/jboss/envers/test/integration/naming/ids/JoinEmbIdNaming.java
trunk/src/test/org/jboss/envers/test/integration/naming/ids/JoinMulIdNaming.java
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicCollection.java
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicList.java
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSet.java
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSetWithEmbId.java
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSetWithMulId.java
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSetWithNullsDelete.java
trunk/src/test/org/jboss/envers/test/integration/onetomany/BidirectionalMapKey.java
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedList.java
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedSet.java
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedSetWithEmbId.java
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedSetWithMulId.java
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicJoinColumnSet.java
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/DataChangesDetachedSet.java
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/DoubleDetachedSet.java
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/Bidirectional.java
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/Bidirectional2.java
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/BidirectionalNoNulls.java
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/ids/EmbIdBidirectional.java
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/ids/MulIdBidirectional.java
trunk/src/test/org/jboss/envers/test/integration/onetoone/unidirectional/Unidirectional.java
trunk/src/test/org/jboss/envers/test/integration/onetoone/unidirectional/UnidirectionalWithNulls.java
trunk/src/test/org/jboss/envers/test/integration/properties/UnversionedOptimisticLockingField.java
trunk/src/test/org/jboss/envers/test/integration/properties/VersionsProperties.java
trunk/src/test/org/jboss/envers/test/integration/query/AggregateQuery.java
trunk/src/test/org/jboss/envers/test/integration/query/CustomRevEntityQuery.java
trunk/src/test/org/jboss/envers/test/integration/query/DeletedEntities.java
trunk/src/test/org/jboss/envers/test/integration/query/MaximalizePropertyQuery.java
trunk/src/test/org/jboss/envers/test/integration/query/OrderByLimitQuery.java
trunk/src/test/org/jboss/envers/test/integration/query/RevisionConstraintQuery.java
trunk/src/test/org/jboss/envers/test/integration/query/SimpleQuery.java
trunk/src/test/org/jboss/envers/test/integration/query/ids/EmbIdOneToManyQuery.java
trunk/src/test/org/jboss/envers/test/integration/query/ids/MulIdOneToManyQuery.java
trunk/src/test/org/jboss/envers/test/integration/reventity/Custom.java
trunk/src/test/org/jboss/envers/test/integration/reventity/CustomBoxed.java
trunk/src/test/org/jboss/envers/test/integration/reventity/Inherited.java
trunk/src/test/org/jboss/envers/test/integration/reventity/Listener.java
trunk/src/test/org/jboss/envers/test/integration/reventity/LongRevNumber.java
trunk/src/test/org/jboss/envers/test/integration/revfordate/RevisionForDate.java
trunk/src/test/org/jboss/envers/test/integration/sameids/SameIds.java
trunk/src/test/org/jboss/envers/test/integration/secondary/BasicSecondary.java
trunk/src/test/org/jboss/envers/test/integration/secondary/NamingSecondary.java
trunk/src/test/org/jboss/envers/test/integration/secondary/ids/EmbIdSecondary.java
trunk/src/test/org/jboss/envers/test/integration/secondary/ids/MulIdSecondary.java
trunk/src/test/org/jboss/envers/test/integration/superclass/MappedSubclassing.java
Log:
Simple performance tests
Modified: trunk/envers.iml
===================================================================
--- trunk/envers.iml 2008-10-01 10:26:59 UTC (rev 173)
+++ trunk/envers.iml 2008-10-13 10:49:54 UTC (rev 174)
@@ -53,6 +53,15 @@
<orderEntry type="library" name="hibernate-common"
level="project" />
<orderEntry type="library" name="hibernate-3.2.6"
level="project" />
<orderEntry type="library" name="Clover IDEA Plugin"
level="application" />
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/lib/db/postgresql.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
<orderEntryProperties />
</component>
</module>
Added: trunk/lib/db/postgresql.jar
===================================================================
(Binary files differ)
Property changes on: trunk/lib/db/postgresql.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/lib/hibernate-3.3.0/hibernate3.jar
===================================================================
(Binary files differ)
Modified: trunk/resources/test/hibernate.test.cfg.xml
===================================================================
--- trunk/resources/test/hibernate.test.cfg.xml 2008-10-01 10:26:59 UTC (rev 173)
+++ trunk/resources/test/hibernate.test.cfg.xml 2008-10-13 10:49:54 UTC (rev 174)
@@ -6,12 +6,20 @@
<!--suppress HibernateConfigDomInspection -->
<hibernate-configuration>
<session-factory>
+ <property name="hbm2ddl.auto">create-drop</property>
+
<property
name="dialect">org.hibernate.dialect.MySQLDialect</property>
- <property name="hbm2ddl.auto">create-drop</property>
<property
name="connection.url">jdbc:mysql:///hibernate_tests?useUnicode=true&characterEncoding=UTF-8</property>
<property
name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="connection.username">root</property>
<property name="connection.password"></property>
+
+ <!--<property
name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
+ <property
name="connection.url">jdbc:postgresql://localhost/hibernate_tests</property>
+ <property
name="connection.driver_class">org.postgresql.Driver</property>
+ <property name="connection.username">postgres</property>
+ <property name="connection.password"></property>-->
+
<property name="show_sql">false</property>
<property name="format_sql">true</property>
Modified: trunk/src/main/org/jboss/envers/configuration/metadata/MetadataTools.java
===================================================================
--- trunk/src/main/org/jboss/envers/configuration/metadata/MetadataTools.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/main/org/jboss/envers/configuration/metadata/MetadataTools.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -40,6 +40,8 @@
Element generator_mapping = id_mapping.addElement("generator");
generator_mapping.addAttribute("class", "native");
+ /*generator_mapping.addAttribute("class", "sequence");
+ generator_mapping.addElement("param").addAttribute("name",
"sequence").setText("custom");*/
return id_mapping;
}
Copied: trunk/src/test/org/jboss/envers/test/AbstractEntityTest.java (from rev 148,
trunk/src/test/org/jboss/envers/test/integration/AbstractEntityTest.java)
===================================================================
--- trunk/src/test/org/jboss/envers/test/AbstractEntityTest.java
(rev 0)
+++ trunk/src/test/org/jboss/envers/test/AbstractEntityTest.java 2008-10-13 10:49:54 UTC
(rev 174)
@@ -0,0 +1,55 @@
+package org.jboss.envers.test;
+
+import org.hibernate.ejb.Ejb3Configuration;
+import org.testng.annotations.BeforeClass;
+import org.testng.annotations.BeforeMethod;
+import org.jboss.envers.VersionsReader;
+import org.jboss.envers.VersionsReaderFactory;
+
+import javax.persistence.EntityManager;
+import javax.persistence.EntityManagerFactory;
+import java.io.IOException;
+
+/**
+ * @author Adam Warski (adam at warski dot org)
+ */
+public abstract class AbstractEntityTest {
+ private EntityManagerFactory emf;
+ private EntityManager entityManager;
+ private VersionsReader versionsReader;
+ private Ejb3Configuration cfg;
+
+ public abstract void configure(Ejb3Configuration cfg);
+
+ @BeforeMethod
+ public void newEntityManager() {
+ if (entityManager != null) {
+ entityManager.close();
+ }
+
+ entityManager = emf.createEntityManager();
+ versionsReader = VersionsReaderFactory.get(entityManager);
+ }
+
+ @BeforeClass
+ public void init() throws IOException {
+ cfg = new Ejb3Configuration();
+ cfg.configure("hibernate.test.cfg.xml");
+ configure(cfg);
+ emf = cfg.buildEntityManagerFactory();
+
+ newEntityManager();
+ }
+
+ public EntityManager getEntityManager() {
+ return entityManager;
+ }
+
+ public VersionsReader getVersionsReader() {
+ return versionsReader;
+ }
+
+ public Ejb3Configuration getCfg() {
+ return cfg;
+ }
+}
Copied: trunk/src/test/org/jboss/envers/test/entities/UnversionedStrTestEntity.java (from
rev 148, trunk/src/test/org/jboss/envers/test/entities/StrTestEntity.java)
===================================================================
--- trunk/src/test/org/jboss/envers/test/entities/UnversionedStrTestEntity.java
(rev 0)
+++ trunk/src/test/org/jboss/envers/test/entities/UnversionedStrTestEntity.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -0,0 +1,70 @@
+package org.jboss.envers.test.entities;
+
+import org.jboss.envers.Versioned;
+
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.GeneratedValue;
+
+/**
+ * @author Adam Warski (adam at warski dot org)
+ */
+@Entity
+public class UnversionedStrTestEntity {
+ @Id
+ @GeneratedValue
+ private Integer id;
+
+ private String str;
+
+ public UnversionedStrTestEntity() {
+ }
+
+ public UnversionedStrTestEntity(String str, Integer id) {
+ this.str = str;
+ this.id = id;
+ }
+
+ public UnversionedStrTestEntity(String str) {
+ this.str = str;
+ }
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getStr() {
+ return str;
+ }
+
+ public void setStr(String str) {
+ this.str = str;
+ }
+
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (!(o instanceof UnversionedStrTestEntity)) return false;
+
+ UnversionedStrTestEntity that = (UnversionedStrTestEntity) o;
+
+ if (id != null ? !id.equals(that.id) : that.id != null) return false;
+ if (str != null ? !str.equals(that.str) : that.str != null) return false;
+
+ return true;
+ }
+
+ public int hashCode() {
+ int result;
+ result = (id != null ? id.hashCode() : 0);
+ result = 31 * result + (str != null ? str.hashCode() : 0);
+ return result;
+ }
+
+ public String toString() {
+ return "USTE(id = " + id + ", str = " + str + ")";
+ }
+}
\ No newline at end of file
Property changes on:
trunk/src/test/org/jboss/envers/test/entities/UnversionedStrTestEntity.java
___________________________________________________________________
Name: svn:mergeinfo
+
Deleted: trunk/src/test/org/jboss/envers/test/integration/AbstractEntityTest.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/AbstractEntityTest.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/AbstractEntityTest.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,55 +0,0 @@
-package org.jboss.envers.test.integration;
-
-import org.hibernate.ejb.Ejb3Configuration;
-import org.testng.annotations.BeforeClass;
-import org.testng.annotations.BeforeMethod;
-import org.jboss.envers.VersionsReader;
-import org.jboss.envers.VersionsReaderFactory;
-
-import javax.persistence.EntityManager;
-import javax.persistence.EntityManagerFactory;
-import java.io.IOException;
-
-/**
- * @author Adam Warski (adam at warski dot org)
- */
-public abstract class AbstractEntityTest {
- private EntityManagerFactory emf;
- private EntityManager entityManager;
- private VersionsReader versionsReader;
- private Ejb3Configuration cfg;
-
- public abstract void configure(Ejb3Configuration cfg);
-
- @BeforeMethod
- public void newEntityManager() {
- if (entityManager != null) {
- entityManager.close();
- }
-
- entityManager = emf.createEntityManager();
- versionsReader = VersionsReaderFactory.get(entityManager);
- }
-
- @BeforeClass
- public void init() throws IOException {
- cfg = new Ejb3Configuration();
- cfg.configure("hibernate.test.cfg.xml");
- configure(cfg);
- emf = cfg.buildEntityManagerFactory();
-
- newEntityManager();
- }
-
- public EntityManager getEntityManager() {
- return entityManager;
- }
-
- public VersionsReader getVersionsReader() {
- return versionsReader;
- }
-
- public Ejb3Configuration getCfg() {
- return cfg;
- }
-}
Modified: trunk/src/test/org/jboss/envers/test/integration/basic/Delete.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/basic/Delete.java 2008-10-01 10:26:59
UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/basic/Delete.java 2008-10-13 10:49:54
UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.basic;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
Modified: trunk/src/test/org/jboss/envers/test/integration/basic/GlobalVersioned.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/basic/GlobalVersioned.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/basic/GlobalVersioned.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.basic;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
Modified:
trunk/src/test/org/jboss/envers/test/integration/basic/ManyOperationsInTransaction.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/basic/ManyOperationsInTransaction.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/basic/ManyOperationsInTransaction.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.basic;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
Modified: trunk/src/test/org/jboss/envers/test/integration/basic/NotVersioned.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/basic/NotVersioned.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/basic/NotVersioned.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.basic;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.exception.NotVersionedException;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.Test;
Modified: trunk/src/test/org/jboss/envers/test/integration/basic/NullProperties.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/basic/NullProperties.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/basic/NullProperties.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.basic;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
Modified: trunk/src/test/org/jboss/envers/test/integration/basic/Simple.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/basic/Simple.java 2008-10-01 10:26:59
UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/basic/Simple.java 2008-10-13 10:49:54
UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.basic;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.IntTestEntity;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.Test;
Modified:
trunk/src/test/org/jboss/envers/test/integration/basic/SingleOperationInTransaction.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/basic/SingleOperationInTransaction.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/basic/SingleOperationInTransaction.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.basic;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.exception.RevisionDoesNotExistException;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.Test;
Modified:
trunk/src/test/org/jboss/envers/test/integration/basic/UnversionedPropertiesChange.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/basic/UnversionedPropertiesChange.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/basic/UnversionedPropertiesChange.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.basic;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
Modified: trunk/src/test/org/jboss/envers/test/integration/basic/UnversionedProperty.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/basic/UnversionedProperty.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/basic/UnversionedProperty.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -4,7 +4,7 @@
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import org.jboss.envers.test.entities.UnversionedEntity;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import javax.persistence.EntityManager;
import java.util.Arrays;
Modified: trunk/src/test/org/jboss/envers/test/integration/cache/OneToManyCache.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/cache/OneToManyCache.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/cache/OneToManyCache.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.cache;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.onetomany.SetRefEdEntity;
import org.jboss.envers.test.entities.onetomany.SetRefIngEntity;
import org.testng.annotations.BeforeClass;
Modified: trunk/src/test/org/jboss/envers/test/integration/cache/OneToOneCache.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/cache/OneToOneCache.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/cache/OneToOneCache.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.cache;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.integration.onetoone.bidirectional.BiRefEdEntity;
import org.jboss.envers.test.integration.onetoone.bidirectional.BiRefIngEntity;
import org.hibernate.ejb.Ejb3Configuration;
Modified: trunk/src/test/org/jboss/envers/test/integration/cache/QueryCache.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/cache/QueryCache.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/cache/QueryCache.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.cache;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.IntTestEntity;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.Test;
Modified: trunk/src/test/org/jboss/envers/test/integration/collection/EnumSet.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/collection/EnumSet.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/collection/EnumSet.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.collection;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.tools.TestTools;
import org.jboss.envers.test.entities.collection.EnumSetEntity;
import org.testng.annotations.BeforeClass;
@@ -9,7 +9,6 @@
import javax.persistence.EntityManager;
import java.util.Arrays;
-import java.util.Collections;
import static org.jboss.envers.test.entities.collection.EnumSetEntity.*;
Modified: trunk/src/test/org/jboss/envers/test/integration/collection/StringList.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/collection/StringList.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/collection/StringList.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.collection;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.tools.TestTools;
import org.jboss.envers.test.entities.collection.StringListEntity;
import org.testng.annotations.BeforeClass;
Modified: trunk/src/test/org/jboss/envers/test/integration/collection/StringMap.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/collection/StringMap.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/collection/StringMap.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.collection;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.tools.TestTools;
import org.jboss.envers.test.entities.collection.StringMapEntity;
import org.testng.annotations.BeforeClass;
Modified: trunk/src/test/org/jboss/envers/test/integration/collection/StringSet.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/collection/StringSet.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/collection/StringSet.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.collection;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.tools.TestTools;
import org.jboss.envers.test.entities.collection.StringSetEntity;
import org.testng.annotations.BeforeClass;
Modified:
trunk/src/test/org/jboss/envers/test/integration/collection/mapkey/ComponentMapKey.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/collection/mapkey/ComponentMapKey.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/collection/mapkey/ComponentMapKey.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.collection.mapkey;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.tools.TestTools;
import org.jboss.envers.test.entities.components.ComponentTestEntity;
import org.jboss.envers.test.entities.components.Component1;
Modified:
trunk/src/test/org/jboss/envers/test/integration/collection/mapkey/IdMapKey.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/collection/mapkey/IdMapKey.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/collection/mapkey/IdMapKey.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.collection.mapkey;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.tools.TestTools;
import org.jboss.envers.test.entities.StrTestEntity;
import org.testng.annotations.BeforeClass;
Modified: trunk/src/test/org/jboss/envers/test/integration/components/Components.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/components/Components.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/components/Components.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.components;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.components.Component1;
import org.jboss.envers.test.entities.components.Component2;
import org.jboss.envers.test.entities.components.ComponentTestEntity;
Modified:
trunk/src/test/org/jboss/envers/test/integration/customtype/CompositeCustom.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/customtype/CompositeCustom.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/customtype/CompositeCustom.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.customtype;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.customtype.CompositeCustomTypeEntity;
import org.jboss.envers.test.entities.customtype.Component;
import org.testng.annotations.BeforeClass;
Modified:
trunk/src/test/org/jboss/envers/test/integration/customtype/ParametrizedCustom.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/customtype/ParametrizedCustom.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/customtype/ParametrizedCustom.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.customtype;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.customtype.ParametrizedCustomTypeEntity;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
Modified: trunk/src/test/org/jboss/envers/test/integration/data/Dates.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/data/Dates.java 2008-10-01 10:26:59
UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/data/Dates.java 2008-10-13 10:49:54
UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.data;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
Modified: trunk/src/test/org/jboss/envers/test/integration/data/Enums.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/data/Enums.java 2008-10-01 10:26:59
UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/data/Enums.java 2008-10-13 10:49:54
UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.data;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
Modified: trunk/src/test/org/jboss/envers/test/integration/data/Lobs.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/data/Lobs.java 2008-10-01 10:26:59
UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/data/Lobs.java 2008-10-13 10:49:54
UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.data;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
Modified: trunk/src/test/org/jboss/envers/test/integration/data/Serializables.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/data/Serializables.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/data/Serializables.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,13 +1,12 @@
package org.jboss.envers.test.integration.data;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
import javax.persistence.EntityManager;
import java.util.Arrays;
-import java.util.Date;
/**
* @author Adam Warski (adam at warski dot org)
Modified: trunk/src/test/org/jboss/envers/test/integration/flush/AbstractFlushTest.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/flush/AbstractFlushTest.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/flush/AbstractFlushTest.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.flush;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrTestEntity;
import org.hibernate.FlushMode;
import org.hibernate.Session;
Modified: trunk/src/test/org/jboss/envers/test/integration/ids/CompositeIds.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/ids/CompositeIds.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/ids/CompositeIds.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.ids;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.ids.EmbId;
import org.jboss.envers.test.entities.ids.MulId;
import org.jboss.envers.test.entities.ids.EmbIdTestEntity;
Modified:
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/ChildVersioning.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/ChildVersioning.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/ChildVersioning.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -3,7 +3,7 @@
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import javax.persistence.EntityManager;
import java.util.Arrays;
Modified:
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/ParentVersioning.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/ParentVersioning.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/ParentVersioning.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -3,7 +3,7 @@
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import javax.persistence.EntityManager;
import java.util.Arrays;
Modified:
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/childrelation/ChildReferencing.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/childrelation/ChildReferencing.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/childrelation/ChildReferencing.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -3,7 +3,7 @@
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.tools.TestTools;
import javax.persistence.EntityManager;
Modified:
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/relation/PolymorphicCollection.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/relation/PolymorphicCollection.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/inheritance/single/relation/PolymorphicCollection.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -3,7 +3,7 @@
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.tools.TestTools;
import javax.persistence.EntityManager;
Modified: trunk/src/test/org/jboss/envers/test/integration/manytomany/BasicList.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/manytomany/BasicList.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/manytomany/BasicList.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.manytomany;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.manytomany.ListOwningEntity;
import org.jboss.envers.test.entities.manytomany.ListOwnedEntity;
import org.jboss.envers.test.tools.TestTools;
Modified: trunk/src/test/org/jboss/envers/test/integration/manytomany/BasicMap.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/manytomany/BasicMap.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/manytomany/BasicMap.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.manytomany;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.manytomany.MapOwningEntity;
import org.jboss.envers.test.entities.manytomany.MapOwnedEntity;
import org.jboss.envers.test.tools.TestTools;
Modified: trunk/src/test/org/jboss/envers/test/integration/manytomany/BasicSet.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/manytomany/BasicSet.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/manytomany/BasicSet.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.manytomany;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.manytomany.SetOwningEntity;
import org.jboss.envers.test.entities.manytomany.SetOwnedEntity;
import org.jboss.envers.test.tools.TestTools;
Modified:
trunk/src/test/org/jboss/envers/test/integration/manytomany/ternary/TernaryMap.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/manytomany/ternary/TernaryMap.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/manytomany/ternary/TernaryMap.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.manytomany.ternary;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.test.entities.IntTestEntity;
import org.jboss.envers.test.tools.TestTools;
Modified:
trunk/src/test/org/jboss/envers/test/integration/manytomany/unidirectional/BasicUniList.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/manytomany/unidirectional/BasicUniList.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/manytomany/unidirectional/BasicUniList.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.manytomany.unidirectional;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.manytomany.unidirectional.ListUniEntity;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.test.tools.TestTools;
Modified:
trunk/src/test/org/jboss/envers/test/integration/manytomany/unidirectional/BasicUniMap.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/manytomany/unidirectional/BasicUniMap.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/manytomany/unidirectional/BasicUniMap.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.manytomany.unidirectional;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.manytomany.unidirectional.MapUniEntity;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.test.tools.TestTools;
Modified:
trunk/src/test/org/jboss/envers/test/integration/manytomany/unidirectional/BasicUniSet.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/manytomany/unidirectional/BasicUniSet.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/manytomany/unidirectional/BasicUniSet.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.manytomany.unidirectional;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.manytomany.unidirectional.SetUniEntity;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.test.tools.TestTools;
Modified: trunk/src/test/org/jboss/envers/test/integration/naming/BasicNaming.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/naming/BasicNaming.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/naming/BasicNaming.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.naming;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
Modified: trunk/src/test/org/jboss/envers/test/integration/naming/JoinNaming.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/naming/JoinNaming.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/naming/JoinNaming.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.naming;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.hibernate.mapping.Column;
import org.testng.annotations.BeforeClass;
Modified:
trunk/src/test/org/jboss/envers/test/integration/naming/OneToManyUnidirectionalNaming.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/naming/OneToManyUnidirectionalNaming.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/naming/OneToManyUnidirectionalNaming.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.naming;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.test.tools.TestTools;
import org.hibernate.ejb.Ejb3Configuration;
Modified:
trunk/src/test/org/jboss/envers/test/integration/naming/VersionsJoinTableNaming.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/naming/VersionsJoinTableNaming.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/naming/VersionsJoinTableNaming.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.naming;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.test.tools.TestTools;
import org.hibernate.ejb.Ejb3Configuration;
Modified:
trunk/src/test/org/jboss/envers/test/integration/naming/ids/JoinEmbIdNaming.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/naming/ids/JoinEmbIdNaming.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/naming/ids/JoinEmbIdNaming.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.naming.ids;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.hibernate.mapping.Column;
import org.testng.annotations.BeforeClass;
Modified:
trunk/src/test/org/jboss/envers/test/integration/naming/ids/JoinMulIdNaming.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/naming/ids/JoinMulIdNaming.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/naming/ids/JoinMulIdNaming.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.naming.ids;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.hibernate.mapping.Column;
import org.testng.annotations.BeforeClass;
Modified: trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicCollection.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicCollection.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicCollection.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetomany;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.onetomany.CollectionRefEdEntity;
import org.jboss.envers.test.entities.onetomany.CollectionRefIngEntity;
import org.testng.annotations.BeforeClass;
Modified: trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicList.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicList.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicList.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetomany;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.onetomany.ListRefEdEntity;
import org.jboss.envers.test.entities.onetomany.ListRefIngEntity;
import org.jboss.envers.test.tools.TestTools;
Modified: trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSet.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSet.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSet.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetomany;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.onetomany.SetRefEdEntity;
import org.jboss.envers.test.entities.onetomany.SetRefIngEntity;
import org.jboss.envers.test.tools.TestTools;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSetWithEmbId.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSetWithEmbId.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSetWithEmbId.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetomany;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.ids.EmbId;
import org.jboss.envers.test.entities.onetomany.ids.SetRefEdEmbIdEntity;
import org.jboss.envers.test.entities.onetomany.ids.SetRefIngEmbIdEntity;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSetWithMulId.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSetWithMulId.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSetWithMulId.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetomany;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.ids.MulId;
import org.jboss.envers.test.entities.onetomany.ids.SetRefEdMulIdEntity;
import org.jboss.envers.test.entities.onetomany.ids.SetRefIngMulIdEntity;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSetWithNullsDelete.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSetWithNullsDelete.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetomany/BasicSetWithNullsDelete.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetomany;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.onetomany.SetRefEdEntity;
import org.jboss.envers.test.entities.onetomany.SetRefIngEntity;
import org.testng.annotations.BeforeClass;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetomany/BidirectionalMapKey.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetomany/BidirectionalMapKey.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetomany/BidirectionalMapKey.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetomany;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.tools.TestTools;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedList.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedList.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedList.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetomany.detached;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.onetomany.detached.ListRefCollEntity;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.test.tools.TestTools;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedSet.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedSet.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedSet.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetomany.detached;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.onetomany.detached.SetRefCollEntity;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.test.tools.TestTools;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedSetWithEmbId.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedSetWithEmbId.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedSetWithEmbId.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetomany.detached;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.onetomany.detached.ids.SetRefCollEntityEmbId;
import org.jboss.envers.test.entities.ids.EmbIdTestEntity;
import org.jboss.envers.test.entities.ids.EmbId;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedSetWithMulId.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedSetWithMulId.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicDetachedSetWithMulId.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetomany.detached;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.onetomany.detached.ids.SetRefCollEntityMulId;
import org.jboss.envers.test.entities.ids.MulIdTestEntity;
import org.jboss.envers.test.entities.ids.MulId;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicJoinColumnSet.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicJoinColumnSet.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/BasicJoinColumnSet.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetomany.detached;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.test.entities.onetomany.detached.SetJoinColumnRefCollEntity;
import org.jboss.envers.test.tools.TestTools;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/DataChangesDetachedSet.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/DataChangesDetachedSet.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/DataChangesDetachedSet.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetomany.detached;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.onetomany.detached.SetRefCollEntity;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.test.tools.TestTools;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/DoubleDetachedSet.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/DoubleDetachedSet.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetomany/detached/DoubleDetachedSet.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetomany.detached;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.onetomany.detached.DoubleSetRefCollEntity;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.test.tools.TestTools;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/Bidirectional.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/Bidirectional.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/Bidirectional.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetoone.bidirectional;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/Bidirectional2.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/Bidirectional2.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/Bidirectional2.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetoone.bidirectional;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/BidirectionalNoNulls.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/BidirectionalNoNulls.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/BidirectionalNoNulls.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetoone.bidirectional;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/ids/EmbIdBidirectional.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/ids/EmbIdBidirectional.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/ids/EmbIdBidirectional.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetoone.bidirectional.ids;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.ids.EmbId;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/ids/MulIdBidirectional.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/ids/MulIdBidirectional.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetoone/bidirectional/ids/MulIdBidirectional.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetoone.bidirectional.ids;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.ids.MulId;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetoone/unidirectional/Unidirectional.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetoone/unidirectional/Unidirectional.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetoone/unidirectional/Unidirectional.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetoone.unidirectional;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
Modified:
trunk/src/test/org/jboss/envers/test/integration/onetoone/unidirectional/UnidirectionalWithNulls.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/onetoone/unidirectional/UnidirectionalWithNulls.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/onetoone/unidirectional/UnidirectionalWithNulls.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.onetoone.unidirectional;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
Modified:
trunk/src/test/org/jboss/envers/test/integration/properties/UnversionedOptimisticLockingField.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/properties/UnversionedOptimisticLockingField.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/properties/UnversionedOptimisticLockingField.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -2,14 +2,13 @@
import java.util.Arrays;
import java.util.Iterator;
-import java.util.Map;
import javax.persistence.EntityManager;
import org.hibernate.ejb.Ejb3Configuration;
import org.hibernate.mapping.PersistentClass;
import org.hibernate.mapping.Property;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
Modified:
trunk/src/test/org/jboss/envers/test/integration/properties/VersionsProperties.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/properties/VersionsProperties.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/properties/VersionsProperties.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.properties;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
Modified: trunk/src/test/org/jboss/envers/test/integration/query/AggregateQuery.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/query/AggregateQuery.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/query/AggregateQuery.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.query;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.IntTestEntity;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
Modified:
trunk/src/test/org/jboss/envers/test/integration/query/CustomRevEntityQuery.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/query/CustomRevEntityQuery.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/query/CustomRevEntityQuery.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.query;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrIntTestEntity;
import org.jboss.envers.test.entities.reventity.CustomRevEntity;
import org.jboss.envers.query.VersionsRestrictions;
Modified: trunk/src/test/org/jboss/envers/test/integration/query/DeletedEntities.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/query/DeletedEntities.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/query/DeletedEntities.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.query;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrIntTestEntity;
import org.jboss.envers.query.VersionsRestrictions;
import org.jboss.envers.RevisionType;
Modified:
trunk/src/test/org/jboss/envers/test/integration/query/MaximalizePropertyQuery.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/query/MaximalizePropertyQuery.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/query/MaximalizePropertyQuery.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.query;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrIntTestEntity;
import org.jboss.envers.query.VersionsRestrictions;
import org.jboss.envers.query.RevisionProperty;
Modified: trunk/src/test/org/jboss/envers/test/integration/query/OrderByLimitQuery.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/query/OrderByLimitQuery.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/query/OrderByLimitQuery.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.query;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.IntTestEntity;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
Modified:
trunk/src/test/org/jboss/envers/test/integration/query/RevisionConstraintQuery.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/query/RevisionConstraintQuery.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/query/RevisionConstraintQuery.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.query;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrIntTestEntity;
import org.jboss.envers.query.VersionsRestrictions;
import org.jboss.envers.query.RevisionProperty;
Modified: trunk/src/test/org/jboss/envers/test/integration/query/SimpleQuery.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/query/SimpleQuery.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/query/SimpleQuery.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.query;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrIntTestEntity;
import org.jboss.envers.test.tools.TestTools;
import org.jboss.envers.query.VersionsRestrictions;
Modified:
trunk/src/test/org/jboss/envers/test/integration/query/ids/EmbIdOneToManyQuery.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/query/ids/EmbIdOneToManyQuery.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/query/ids/EmbIdOneToManyQuery.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,7 +1,7 @@
package org.jboss.envers.test.integration.query.ids;
import org.hibernate.ejb.Ejb3Configuration;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.onetomany.ids.SetRefEdEmbIdEntity;
import org.jboss.envers.test.entities.onetomany.ids.SetRefIngEmbIdEntity;
import org.jboss.envers.test.entities.ids.EmbId;
Modified:
trunk/src/test/org/jboss/envers/test/integration/query/ids/MulIdOneToManyQuery.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/query/ids/MulIdOneToManyQuery.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/query/ids/MulIdOneToManyQuery.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,7 +1,7 @@
package org.jboss.envers.test.integration.query.ids;
import org.hibernate.ejb.Ejb3Configuration;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.tools.TestTools;
import org.jboss.envers.test.entities.ids.MulId;
import org.jboss.envers.test.entities.onetomany.ids.SetRefEdMulIdEntity;
Modified: trunk/src/test/org/jboss/envers/test/integration/reventity/Custom.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/reventity/Custom.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/reventity/Custom.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.reventity;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.test.entities.reventity.CustomRevEntity;
import org.jboss.envers.exception.RevisionDoesNotExistException;
Modified: trunk/src/test/org/jboss/envers/test/integration/reventity/CustomBoxed.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/reventity/CustomBoxed.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/reventity/CustomBoxed.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.reventity;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.exception.RevisionDoesNotExistException;
import org.jboss.envers.VersionsReader;
Modified: trunk/src/test/org/jboss/envers/test/integration/reventity/Inherited.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/reventity/Inherited.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/reventity/Inherited.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.reventity;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.exception.RevisionDoesNotExistException;
import org.jboss.envers.VersionsReader;
Modified: trunk/src/test/org/jboss/envers/test/integration/reventity/Listener.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/reventity/Listener.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/reventity/Listener.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.reventity;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.exception.RevisionDoesNotExistException;
import org.jboss.envers.VersionsReader;
Modified: trunk/src/test/org/jboss/envers/test/integration/reventity/LongRevNumber.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/reventity/LongRevNumber.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/reventity/LongRevNumber.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,15 +1,13 @@
package org.jboss.envers.test.integration.reventity;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrTestEntity;
-import org.jboss.envers.exception.RevisionDoesNotExistException;
import org.jboss.envers.VersionsReader;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import javax.persistence.EntityManager;
-import java.util.Date;
import java.util.Arrays;
/**
Modified:
trunk/src/test/org/jboss/envers/test/integration/revfordate/RevisionForDate.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/revfordate/RevisionForDate.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/revfordate/RevisionForDate.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.revfordate;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.StrTestEntity;
import org.jboss.envers.exception.RevisionDoesNotExistException;
import org.jboss.envers.VersionsReader;
Modified: trunk/src/test/org/jboss/envers/test/integration/sameids/SameIds.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/integration/sameids/SameIds.java 2008-10-01
10:26:59 UTC (rev 173)
+++ trunk/src/test/org/jboss/envers/test/integration/sameids/SameIds.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.sameids;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
Modified: trunk/src/test/org/jboss/envers/test/integration/secondary/BasicSecondary.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/secondary/BasicSecondary.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/secondary/BasicSecondary.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.secondary;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.hibernate.mapping.Join;
import org.testng.annotations.BeforeClass;
Modified: trunk/src/test/org/jboss/envers/test/integration/secondary/NamingSecondary.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/secondary/NamingSecondary.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/secondary/NamingSecondary.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.secondary;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.hibernate.mapping.Join;
import org.testng.annotations.BeforeClass;
Modified:
trunk/src/test/org/jboss/envers/test/integration/secondary/ids/EmbIdSecondary.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/secondary/ids/EmbIdSecondary.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/secondary/ids/EmbIdSecondary.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.secondary.ids;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.ids.EmbId;
import org.hibernate.ejb.Ejb3Configuration;
import org.hibernate.mapping.Join;
Modified:
trunk/src/test/org/jboss/envers/test/integration/secondary/ids/MulIdSecondary.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/secondary/ids/MulIdSecondary.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/secondary/ids/MulIdSecondary.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.secondary.ids;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.jboss.envers.test.entities.ids.MulId;
import org.hibernate.ejb.Ejb3Configuration;
import org.hibernate.mapping.Join;
Modified:
trunk/src/test/org/jboss/envers/test/integration/superclass/MappedSubclassing.java
===================================================================
---
trunk/src/test/org/jboss/envers/test/integration/superclass/MappedSubclassing.java 2008-10-01
10:26:59 UTC (rev 173)
+++
trunk/src/test/org/jboss/envers/test/integration/superclass/MappedSubclassing.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -1,6 +1,6 @@
package org.jboss.envers.test.integration.superclass;
-import org.jboss.envers.test.integration.AbstractEntityTest;
+import org.jboss.envers.test.AbstractEntityTest;
import org.hibernate.ejb.Ejb3Configuration;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
Added: trunk/src/test/org/jboss/envers/test/performance/AbstractPerformanceTest.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/performance/AbstractPerformanceTest.java
(rev 0)
+++
trunk/src/test/org/jboss/envers/test/performance/AbstractPerformanceTest.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -0,0 +1,59 @@
+package org.jboss.envers.test.performance;
+
+import org.jboss.envers.test.AbstractEntityTest;
+import org.jboss.envers.tools.Pair;
+
+/**
+ * @author Adam Warski (adam at warski dot org)
+ */
+public abstract class AbstractPerformanceTest extends AbstractEntityTest {
+ protected String getSecondsString(long milliseconds) {
+ return (milliseconds/1000) + "." + (milliseconds%1000);
+ }
+
+ protected long measureTime(Runnable r) {
+ long start = System.currentTimeMillis();
+ r.run();
+ return System.currentTimeMillis() - start;
+ }
+
+ protected abstract Pair<Long, Long> doTest();
+
+ protected abstract String getName();
+
+ private long totalUnversioned;
+ private long totalVersioned;
+
+ private void printResults(long unversioned, long versioned) {
+ System.out.println("Unversioned: " + getSecondsString(unversioned));
+ System.out.println(" Versioned: " + getSecondsString(versioned));
+ System.out.println(" Delta: " +
getSecondsString(versioned-unversioned));
+ System.out.println(" Factor: " + (double)versioned/unversioned);
+ }
+
+ private void test(boolean count) {
+ Pair<Long, Long> result = doTest();
+ long unversioned = result.getFirst();
+ long versioned = result.getSecond();
+
+ totalUnversioned += unversioned;
+ totalVersioned += versioned;
+
+ printResults(unversioned, versioned);
+ }
+
+ public void run(int numberOfRuns) {
+ for (int i=0; i<=numberOfRuns; i++) {
+ System.out.println("");
+ System.out.println(getName() + " TEST, RUN " + i);
+ test(i != 0);
+ }
+
+ totalUnversioned /= numberOfRuns;
+ totalVersioned /= numberOfRuns;
+
+ System.out.println("");
+ System.out.println(getName() + " TEST, AVERAGE");
+ printResults(totalUnversioned, totalVersioned);
+ }
+}
Added: trunk/src/test/org/jboss/envers/test/performance/InsertsPerformance.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/performance/InsertsPerformance.java
(rev 0)
+++ trunk/src/test/org/jboss/envers/test/performance/InsertsPerformance.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -0,0 +1,56 @@
+package org.jboss.envers.test.performance;
+
+import org.jboss.envers.test.entities.StrTestEntity;
+import org.jboss.envers.test.entities.UnversionedStrTestEntity;
+import org.jboss.envers.tools.Pair;
+import org.hibernate.ejb.Ejb3Configuration;
+
+import javax.persistence.EntityManager;
+import java.io.IOException;
+
+/**
+ * @author Adam Warski (adam at warski dot org)
+ */
+public class InsertsPerformance extends AbstractPerformanceTest {
+ public void configure(Ejb3Configuration cfg) {
+ cfg.addAnnotatedClass(StrTestEntity.class);
+ cfg.addAnnotatedClass(UnversionedStrTestEntity.class);
+ }
+
+ private final static int NUMBER_INSERTS = 1000;
+
+ private void insertUnversioned() {
+ EntityManager entityManager = getEntityManager();
+ for (int i=0; i<NUMBER_INSERTS; i++) {
+ entityManager.getTransaction().begin();
+ entityManager.persist(new UnversionedStrTestEntity("x" + i));
+ entityManager.getTransaction().commit();
+ }
+ }
+
+ private void insertVersioned() {
+ EntityManager entityManager = getEntityManager();
+ for (int i=0; i<NUMBER_INSERTS; i++) {
+ entityManager.getTransaction().begin();
+ entityManager.persist(new StrTestEntity("x" + i));
+ entityManager.getTransaction().commit();
+ }
+ }
+
+ protected Pair<Long, Long> doTest() {
+ long unversioned = measureTime(new Runnable() { public void run() {
insertUnversioned(); } });
+ long versioned = measureTime(new Runnable() { public void run() {
insertVersioned(); } });
+
+ return Pair.make(unversioned, versioned);
+ }
+
+ protected String getName() {
+ return "INSERTS";
+ }
+
+ public static void main(String[] args) throws IOException {
+ InsertsPerformance insertsPerformance = new InsertsPerformance();
+ insertsPerformance.init();
+ insertsPerformance.run(10);
+ }
+}
Added: trunk/src/test/org/jboss/envers/test/performance/UpdatesPerformance.java
===================================================================
--- trunk/src/test/org/jboss/envers/test/performance/UpdatesPerformance.java
(rev 0)
+++ trunk/src/test/org/jboss/envers/test/performance/UpdatesPerformance.java 2008-10-13
10:49:54 UTC (rev 174)
@@ -0,0 +1,87 @@
+package org.jboss.envers.test.performance;
+
+import org.jboss.envers.test.entities.StrTestEntity;
+import org.jboss.envers.test.entities.UnversionedStrTestEntity;
+import org.jboss.envers.tools.Pair;
+import org.hibernate.ejb.Ejb3Configuration;
+
+import javax.persistence.EntityManager;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Random;
+
+/**
+ * @author Adam Warski (adam at warski dot org)
+ */
+public class UpdatesPerformance extends AbstractPerformanceTest {
+ public void configure(Ejb3Configuration cfg) {
+ cfg.addAnnotatedClass(StrTestEntity.class);
+ cfg.addAnnotatedClass(UnversionedStrTestEntity.class);
+ }
+
+ private final static int NUMBER_UPDATES = 1000;
+ private final static int NUMBER_ENTITIES = 10;
+
+ private Random random = new Random();
+
+ private List<Integer> unversioned_ids = new ArrayList<Integer>();
+ private List<Integer> versioned_ids = new ArrayList<Integer>();
+
+ public void setup() {
+ EntityManager entityManager = getEntityManager();
+ entityManager.getTransaction().begin();
+ for (int i=0; i<NUMBER_ENTITIES; i++) {
+ UnversionedStrTestEntity testEntity = new
UnversionedStrTestEntity("x" + i);
+ entityManager.persist(testEntity);
+ unversioned_ids.add(testEntity.getId());
+ }
+
+ for (int i=0; i<NUMBER_ENTITIES; i++) {
+ StrTestEntity testEntity = new StrTestEntity("x" + i);
+ entityManager.persist(testEntity);
+ versioned_ids.add(testEntity.getId());
+ }
+ entityManager.getTransaction().commit();
+ }
+
+ private void updateUnversioned() {
+ EntityManager entityManager = getEntityManager();
+ for (int i=0; i<NUMBER_UPDATES; i++) {
+ entityManager.getTransaction().begin();
+ Integer id = unversioned_ids.get(random.nextInt(NUMBER_ENTITIES));
+ UnversionedStrTestEntity testEntity =
entityManager.find(UnversionedStrTestEntity.class, id);
+ testEntity.setStr("z" + i);
+ entityManager.getTransaction().commit();
+ }
+ }
+
+ private void updateVersioned() {
+ EntityManager entityManager = getEntityManager();
+ for (int i=0; i<NUMBER_UPDATES; i++) {
+ entityManager.getTransaction().begin();
+ Integer id = versioned_ids.get(random.nextInt(NUMBER_ENTITIES));
+ StrTestEntity testEntity = entityManager.find(StrTestEntity.class, id);
+ testEntity.setStr("z" + i);
+ entityManager.getTransaction().commit();
+ }
+ }
+
+ protected Pair<Long, Long> doTest() {
+ long unversioned = measureTime(new Runnable() { public void run() {
updateUnversioned(); } });
+ long versioned = measureTime(new Runnable() { public void run() {
updateVersioned(); } });
+
+ return Pair.make(unversioned, versioned);
+ }
+
+ protected String getName() {
+ return "UPDATES";
+ }
+
+ public static void main(String[] args) throws IOException {
+ UpdatesPerformance updatesPerformance = new UpdatesPerformance();
+ updatesPerformance.init();
+ updatesPerformance.setup();
+ updatesPerformance.run(10);
+ }
+}
\ No newline at end of file