use of org.hibernate.cfg.reveng.ReverseEngineeringSettings 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.hibernate.cfg.reveng.ReverseEngineeringSettings 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.hibernate.cfg.reveng.ReverseEngineeringSettings 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.hibernate.cfg.reveng.ReverseEngineeringSettings 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.hibernate.cfg.reveng.ReverseEngineeringSettings 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