use of org.hibernate.cfg.reveng.OverrideRepository in project jbosstools-hibernate by jbosstools.
the class ServiceImplTest method testNewOverrideRepository.
@Test
public void testNewOverrideRepository() {
IOverrideRepository overrideRepository = service.newOverrideRepository();
Assert.assertNotNull(overrideRepository);
Object target = ((IFacade) overrideRepository).getTarget();
Assert.assertNotNull(target);
Assert.assertTrue(target instanceof OverrideRepository);
}
use of org.hibernate.cfg.reveng.OverrideRepository in project jbosstools-hibernate by jbosstools.
the class OverrideRepositoryFacadeTest method setUp.
@Before
public void setUp() {
overrideRepository = new OverrideRepository();
overrideRepositoryFacade = new AbstractOverrideRepositoryFacade(FACADE_FACTORY, overrideRepository) {
};
}
use of org.hibernate.cfg.reveng.OverrideRepository in project jbosstools-hibernate by jbosstools.
the class FacadeFactoryTest method testCreateOverrideRepository.
@Test
public void testCreateOverrideRepository() {
OverrideRepository overrideRepository = new OverrideRepository();
IOverrideRepository facade = facadeFactory.createOverrideRepository(overrideRepository);
Assert.assertSame(overrideRepository, ((IFacade) facade).getTarget());
}
use of org.hibernate.cfg.reveng.OverrideRepository in project jbosstools-hibernate by jbosstools.
the class OverrideRepositoryFacadeTest method setUp.
@Before
public void setUp() {
overrideRepository = new OverrideRepository();
overrideRepositoryFacade = new AbstractOverrideRepositoryFacade(FACADE_FACTORY, overrideRepository) {
};
}
use of org.hibernate.cfg.reveng.OverrideRepository in project jbosstools-hibernate by jbosstools.
the class ServiceImplTest method testNewOverrideRepository.
@Test
public void testNewOverrideRepository() {
IOverrideRepository overrideRepository = service.newOverrideRepository();
Assert.assertNotNull(overrideRepository);
Object target = ((IFacade) overrideRepository).getTarget();
Assert.assertNotNull(target);
Assert.assertTrue(target instanceof OverrideRepository);
}
Aggregations