Search in sources :

Example 6 with 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());
}
Also used : OverrideRepository(org.hibernate.cfg.reveng.OverrideRepository) IOverrideRepository(org.jboss.tools.hibernate.runtime.spi.IOverrideRepository) IOverrideRepository(org.jboss.tools.hibernate.runtime.spi.IOverrideRepository) Test(org.junit.Test)

Example 7 with 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());
}
Also used : OverrideRepository(org.hibernate.cfg.reveng.OverrideRepository) IOverrideRepository(org.jboss.tools.hibernate.runtime.spi.IOverrideRepository) IOverrideRepository(org.jboss.tools.hibernate.runtime.spi.IOverrideRepository) Test(org.junit.Test)

Example 8 with 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) {
    };
}
Also used : OverrideRepository(org.hibernate.cfg.reveng.OverrideRepository) IOverrideRepository(org.jboss.tools.hibernate.runtime.spi.IOverrideRepository) AbstractOverrideRepositoryFacade(org.jboss.tools.hibernate.runtime.common.AbstractOverrideRepositoryFacade) Before(org.junit.Before)

Example 9 with 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) {
    };
}
Also used : OverrideRepository(org.hibernate.cfg.reveng.OverrideRepository) IOverrideRepository(org.jboss.tools.hibernate.runtime.spi.IOverrideRepository) AbstractOverrideRepositoryFacade(org.jboss.tools.hibernate.runtime.common.AbstractOverrideRepositoryFacade) Before(org.junit.Before)

Example 10 with 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) {
    };
}
Also used : OverrideRepository(org.hibernate.cfg.reveng.OverrideRepository) IOverrideRepository(org.jboss.tools.hibernate.runtime.spi.IOverrideRepository) AbstractOverrideRepositoryFacade(org.jboss.tools.hibernate.runtime.common.AbstractOverrideRepositoryFacade) Before(org.junit.Before)

Aggregations

OverrideRepository (org.hibernate.cfg.reveng.OverrideRepository)20 IOverrideRepository (org.jboss.tools.hibernate.runtime.spi.IOverrideRepository)20 Test (org.junit.Test)12 AbstractOverrideRepositoryFacade (org.jboss.tools.hibernate.runtime.common.AbstractOverrideRepositoryFacade)8 Before (org.junit.Before)8 IFacade (org.jboss.tools.hibernate.runtime.common.IFacade)4