HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19484 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
a9ba811baf
commit
2c2717013b
|
@ -226,11 +226,12 @@ public class TypeTest extends TestCase {
|
|||
}
|
||||
}
|
||||
public void testSerializableType() {
|
||||
final Serializable original = new SerializableImpl(1);
|
||||
final Serializable copy = new SerializableImpl(1);
|
||||
final Serializable different = new SerializableImpl(2);
|
||||
final SerializableImpl original = new SerializableImpl(1);
|
||||
final SerializableImpl copy = new SerializableImpl(1);
|
||||
final SerializableImpl different = new SerializableImpl(2);
|
||||
|
||||
runBasicTests( SerializableType.INSTANCE, original, copy, different );
|
||||
runBasicTests( new SerializableType<SerializableImpl>( SerializableImpl.class ), original, copy, different );
|
||||
}
|
||||
|
||||
public void testShortType() {
|
||||
|
|
Loading…
Reference in New Issue