use of org.jboss.tools.hibernate.runtime.spi.IHQLCodeAssist in project jbosstools-hibernate by jbosstools.
the class ServiceImplTest method testNewHQLCodeAssist.
@Test
public void testNewHQLCodeAssist() {
IConfiguration configuration = service.newDefaultConfiguration();
configuration.setProperty(AvailableSettings.DIALECT, TestDialect.class.getName());
IHQLCodeAssist hqlCodeAssist = service.newHQLCodeAssist(configuration);
assertNotNull(hqlCodeAssist);
}
use of org.jboss.tools.hibernate.runtime.spi.IHQLCodeAssist in project jbosstools-hibernate by jbosstools.
the class ServiceImplTest method testNewHQLCodeAssist.
@Test
public void testNewHQLCodeAssist() {
IConfiguration configuration = service.newDefaultConfiguration();
configuration.setProperty(AvailableSettings.DIALECT, MockDialect.class.getName());
configuration.setProperty(AvailableSettings.CONNECTION_PROVIDER, MockConnectionProvider.class.getName());
IHQLCodeAssist hqlCodeAssist = service.newHQLCodeAssist(configuration);
assertNotNull(hqlCodeAssist);
}
use of org.jboss.tools.hibernate.runtime.spi.IHQLCodeAssist in project jbosstools-hibernate by jbosstools.
the class FacadeFactoryTest method testCreateHQLCodeAssist.
@Test
public void testCreateHQLCodeAssist() {
Configuration configuration = new Configuration();
HQLCodeAssist hqlCodeAssist = new HQLCodeAssist(configuration);
IHQLCodeAssist facade = facadeFactory.createHQLCodeAssist(hqlCodeAssist);
assertSame(hqlCodeAssist, ((IFacade) facade).getTarget());
}
use of org.jboss.tools.hibernate.runtime.spi.IHQLCodeAssist in project jbosstools-hibernate by jbosstools.
the class FacadeFactoryTest method testCreateHQLCodeAssist.
@Test
public void testCreateHQLCodeAssist() {
Configuration configuration = new Configuration();
configuration.setProperty(AvailableSettings.DIALECT, TestDialect.class.getName());
HQLCodeAssist hqlCodeAssist = new HQLCodeAssist(configuration);
IHQLCodeAssist facade = facadeFactory.createHQLCodeAssist(hqlCodeAssist);
assertSame(hqlCodeAssist, ((IFacade) facade).getTarget());
}
use of org.jboss.tools.hibernate.runtime.spi.IHQLCodeAssist in project jbosstools-hibernate by jbosstools.
the class ServiceImplTest method testNewHQLCodeAssist.
@Test
public void testNewHQLCodeAssist() {
IConfiguration configuration = service.newDefaultConfiguration();
configuration.setProperty(AvailableSettings.DIALECT, TestDialect.class.getName());
IHQLCodeAssist hqlCodeAssist = service.newHQLCodeAssist(configuration);
assertNotNull(hqlCodeAssist);
}
Aggregations