use of org.jboss.tools.hibernate.runtime.v_6_0.internal.legacy.StringType in project jbosstools-hibernate by jbosstools.
the class TypeFacadeTest method testIsInstanceOfPrimitiveType.
// TODO JBIDE-28154: Investigate failure
@Disabled
@Test
public void testIsInstanceOfPrimitiveType() {
IType typeFacade = null;
ClassType classType = new ClassType();
typeFacade = new TypeFacadeImpl(FACADE_FACTORY, classType) {
};
assertFalse(typeFacade.isInstanceOfPrimitiveType());
StringType stringType = new StringType();
typeFacade = new TypeFacadeImpl(FACADE_FACTORY, stringType) {
};
assertFalse(typeFacade.isInstanceOfPrimitiveType());
IntegerType integerType = new IntegerType();
typeFacade = new TypeFacadeImpl(FACADE_FACTORY, integerType) {
};
assertTrue(typeFacade.isInstanceOfPrimitiveType());
}
Aggregations