use of org.jboss.tools.hibernate.runtime.spi.IReverseEngineeringSettings in project jbosstools-hibernate by jbosstools.
the class FacadeFactoryTest method testCreateReverseEngineeringSettings.
@Test
public void testCreateReverseEngineeringSettings() {
ReverseEngineeringSettings res = new ReverseEngineeringSettings(null);
IReverseEngineeringSettings facade = facadeFactory.createReverseEngineeringSettings(res);
Assert.assertSame(res, ((IFacade) facade).getTarget());
}
use of org.jboss.tools.hibernate.runtime.spi.IReverseEngineeringSettings in project jbosstools-hibernate by jbosstools.
the class ServiceImplTest method testNewReverseEngineeringSettings.
@Test
public void testNewReverseEngineeringSettings() {
IReverseEngineeringStrategy strategy = service.newDefaultReverseEngineeringStrategy();
IReverseEngineeringSettings reverseEngineeringSettings = service.newReverseEngineeringSettings(strategy);
Assert.assertNotNull(reverseEngineeringSettings);
Object target = ((IFacade) reverseEngineeringSettings).getTarget();
Assert.assertNotNull(target);
Assert.assertTrue(target instanceof ReverseEngineeringSettings);
}
use of org.jboss.tools.hibernate.runtime.spi.IReverseEngineeringSettings in project jbosstools-hibernate by jbosstools.
the class FacadeFactoryTest method testCreateReverseEngineeringSettings.
@Test
public void testCreateReverseEngineeringSettings() {
ReverseEngineeringSettings res = new ReverseEngineeringSettings(null);
IReverseEngineeringSettings facade = facadeFactory.createReverseEngineeringSettings(res);
Assert.assertSame(res, ((IFacade) facade).getTarget());
}
use of org.jboss.tools.hibernate.runtime.spi.IReverseEngineeringSettings in project jbosstools-hibernate by jbosstools.
the class ServiceImplTest method testNewReverseEngineeringSettings.
@Test
public void testNewReverseEngineeringSettings() {
IReverseEngineeringStrategy strategy = service.newDefaultReverseEngineeringStrategy();
IReverseEngineeringSettings reverseEngineeringSettings = service.newReverseEngineeringSettings(strategy);
Assert.assertNotNull(reverseEngineeringSettings);
Object target = ((IFacade) reverseEngineeringSettings).getTarget();
Assert.assertNotNull(target);
Assert.assertTrue(target instanceof ReverseEngineeringSettings);
}
Aggregations