use of org.hibernate.type.AnyType in project jbosstools-hibernate by jbosstools.
the class TypeFacadeTest method testIsAnyType.
@Test
public void testIsAnyType() {
IType typeFacade = null;
ClassType classType = new ClassType();
typeFacade = FACADE_FACTORY.createType(classType);
Assert.assertFalse(typeFacade.isAnyType());
AnyType anyType = new AnyType();
typeFacade = FACADE_FACTORY.createType(anyType);
Assert.assertTrue(typeFacade.isAnyType());
}
use of org.hibernate.type.AnyType in project jbosstools-hibernate by jbosstools.
the class TypeFacadeTest method testIsAnyType.
@Test
public void testIsAnyType() {
IType typeFacade = null;
ClassType classType = new ClassType();
typeFacade = FACADE_FACTORY.createType(classType);
Assert.assertFalse(typeFacade.isAnyType());
AnyType anyType = new AnyType(null, null);
typeFacade = FACADE_FACTORY.createType(anyType);
Assert.assertTrue(typeFacade.isAnyType());
}
use of org.hibernate.type.AnyType in project jbosstools-hibernate by jbosstools.
the class TypeFacadeTest method testIsAnyType.
@Test
public void testIsAnyType() {
IType typeFacade = null;
ClassType classType = new ClassType();
typeFacade = FACADE_FACTORY.createType(classType);
Assert.assertFalse(typeFacade.isAnyType());
AnyType anyType = new AnyType(null, null);
typeFacade = FACADE_FACTORY.createType(anyType);
Assert.assertTrue(typeFacade.isAnyType());
}
use of org.hibernate.type.AnyType in project jbosstools-hibernate by jbosstools.
the class TypeFacadeTest method testIsAnyType.
@Test
public void testIsAnyType() {
IType typeFacade = null;
ClassType classType = new ClassType();
typeFacade = FACADE_FACTORY.createType(classType);
Assert.assertFalse(typeFacade.isAnyType());
AnyType anyType = new AnyType(null, null, null);
typeFacade = FACADE_FACTORY.createType(anyType);
Assert.assertTrue(typeFacade.isAnyType());
}
use of org.hibernate.type.AnyType in project jbosstools-hibernate by jbosstools.
the class TypeFacadeTest method testIsAnyType.
@Test
public void testIsAnyType() {
IType typeFacade = null;
ClassType classType = new ClassType();
typeFacade = FACADE_FACTORY.createType(classType);
Assert.assertFalse(typeFacade.isAnyType());
AnyType anyType = new AnyType(null, null, null);
typeFacade = FACADE_FACTORY.createType(anyType);
Assert.assertTrue(typeFacade.isAnyType());
}
Aggregations