Author: epbernard
Date: 2007-01-25 16:57:37 -0500 (Thu, 25 Jan 2007)
New Revision: 11104
Added:
branches/Branch_3_2/HibernateExt/metadata/src/test/org/hibernate/test/reflection/java/Sex.java
Modified:
branches/Branch_3_2/HibernateExt/metadata/src/test/org/hibernate/test/reflection/java/JavaXClassTest.java
Log:
ANN-545 remove deps in test
Modified:
branches/Branch_3_2/HibernateExt/metadata/src/test/org/hibernate/test/reflection/java/JavaXClassTest.java
===================================================================
---
branches/Branch_3_2/HibernateExt/metadata/src/test/org/hibernate/test/reflection/java/JavaXClassTest.java 2007-01-25
19:20:44 UTC (rev 11103)
+++
branches/Branch_3_2/HibernateExt/metadata/src/test/org/hibernate/test/reflection/java/JavaXClassTest.java 2007-01-25
21:57:37 UTC (rev 11104)
@@ -3,7 +3,6 @@
import java.io.Serializable;
import java.util.List;
-import org.hibernate.annotations.CacheModeType;
import org.hibernate.reflection.ReflectionManager;
import org.hibernate.reflection.XAnnotatedElement;
import org.hibernate.reflection.XClass;
@@ -80,7 +79,7 @@
public void testCanBeAnEnum() {
assertFalse( fatherAsSeenFromSon.isEnum() );
- assertTrue( factory.toXClass( CacheModeType.class ).isEnum() );
+ assertTrue( factory.toXClass( Sex.class ).isEnum() );
}
@Override
Added:
branches/Branch_3_2/HibernateExt/metadata/src/test/org/hibernate/test/reflection/java/Sex.java
===================================================================
---
branches/Branch_3_2/HibernateExt/metadata/src/test/org/hibernate/test/reflection/java/Sex.java
(rev 0)
+++
branches/Branch_3_2/HibernateExt/metadata/src/test/org/hibernate/test/reflection/java/Sex.java 2007-01-25
21:57:37 UTC (rev 11104)
@@ -0,0 +1,10 @@
+//$Id: $
+package org.hibernate.test.reflection.java;
+
+/**
+ * @author Emmanuel Bernard
+ */
+public enum Sex {
+ MALE,
+ FEMALE
+}