use of org.jboss.tools.hibernate.runtime.spi.IType in project jbosstools-hibernate by jbosstools.
the class TypeFactoryFacadeTest method testGetByteType.
@Test
public void testGetByteType() {
Type typeTarget = StandardBasicTypes.BYTE;
IType typeFacade = typeFactoryFacade.getByteType();
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 testGetShortType.
@Test
public void testGetShortType() {
Type typeTarget = StandardBasicTypes.SHORT;
IType typeFacade = typeFactoryFacade.getShortType();
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 testGetTimezoneType.
@Test
public void testGetTimezoneType() {
Type typeTarget = StandardBasicTypes.TIMEZONE;
IType typeFacade = typeFactoryFacade.getTimezoneType();
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 testGetNamedType.
@Test
public void testGetNamedType() {
IType typeFacade = typeFactoryFacade.getNamedType(String.class.getName());
Assert.assertSame(StandardBasicTypes.STRING, ((IFacade) typeFacade).getTarget());
}
use of org.jboss.tools.hibernate.runtime.spi.IType in project jbosstools-hibernate by jbosstools.
the class TypeFactoryFacadeTest method testGetFloatType.
@Test
public void testGetFloatType() {
Type typeTarget = StandardBasicTypes.FLOAT;
IType typeFacade = typeFactoryFacade.getFloatType();
Assert.assertSame(typeTarget, ((IFacade) typeFacade).getTarget());
}
Aggregations