use of org.jboss.tools.hibernate.runtime.spi.IType in project jbosstools-hibernate by jbosstools.
the class TypeFactoryFacadeTest method testGetIntegerType.
@SuppressWarnings("deprecation")
@Test
public void testGetIntegerType() {
Type typeTarget = Hibernate.INTEGER;
IType typeFacade = typeFactoryFacade.getIntegerType();
Assert.assertSame(typeTarget, ((IFacade) typeFacade).getTarget());
}
use of org.jboss.tools.hibernate.runtime.spi.IType in project jbosstools-hibernate by jbosstools.
the class TypeFactoryFacadeTest method testGetBasicType.
@SuppressWarnings("deprecation")
@Test
public void testGetBasicType() {
IType typeFacade = typeFactoryFacade.getBasicType(String.class.getName());
Assert.assertSame(Hibernate.STRING, ((IFacade) typeFacade).getTarget());
}
use of org.jboss.tools.hibernate.runtime.spi.IType in project jbosstools-hibernate by jbosstools.
the class TypeFactoryFacadeTest method testGetFloatType.
@SuppressWarnings("deprecation")
@Test
public void testGetFloatType() {
Type typeTarget = Hibernate.FLOAT;
IType typeFacade = typeFactoryFacade.getFloatType();
Assert.assertSame(typeTarget, ((IFacade) typeFacade).getTarget());
}
use of org.jboss.tools.hibernate.runtime.spi.IType in project jbosstools-hibernate by jbosstools.
the class TypeFactoryFacadeTest method testGetCalendarDateType.
@SuppressWarnings("deprecation")
@Test
public void testGetCalendarDateType() {
Type typeTarget = Hibernate.CALENDAR_DATE;
IType typeFacade = typeFactoryFacade.getCalendarDateType();
Assert.assertSame(typeTarget, ((IFacade) typeFacade).getTarget());
}
use of org.jboss.tools.hibernate.runtime.spi.IType in project jbosstools-hibernate by jbosstools.
the class TypeFactoryFacadeTest method testGetBooleanType.
@SuppressWarnings("deprecation")
@Test
public void testGetBooleanType() {
Type typeTarget = Hibernate.BOOLEAN;
IType typeFacade = typeFactoryFacade.getBooleanType();
Assert.assertSame(typeTarget, ((IFacade) typeFacade).getTarget());
}
Aggregations