use of org.jboss.tools.hibernate.runtime.spi.IGenericExporter in project jbosstools-hibernate by jbosstools.
the class FacadeFactoryTest method testCreateGenericExporter.
@Test
public void testCreateGenericExporter() {
GenericExporter genericExporter = new GenericExporter();
IGenericExporter facade = facadeFactory.createGenericExporter(genericExporter);
Assert.assertSame(genericExporter, ((IFacade) facade).getTarget());
}
use of org.jboss.tools.hibernate.runtime.spi.IGenericExporter in project jbosstools-hibernate by jbosstools.
the class FacadeFactoryTest method testCreateGenericExporter.
@Test
public void testCreateGenericExporter() {
GenericExporter genericExporter = new GenericExporter();
IGenericExporter facade = facadeFactory.createGenericExporter(genericExporter);
Assert.assertSame(genericExporter, ((IFacade) facade).getTarget());
}
use of org.jboss.tools.hibernate.runtime.spi.IGenericExporter in project jbosstools-hibernate by jbosstools.
the class ExporterFacadeTest method testGetGenericExporter.
@Test
public void testGetGenericExporter() {
IGenericExporter genericExporter = exporterFacade.getGenericExporter();
Assert.assertNull(genericExporter);
exporter = new GenericExporter();
exporterFacade = new AbstractExporterFacade(FACADE_FACTORY, exporter) {
};
genericExporter = exporterFacade.getGenericExporter();
Assert.assertNotNull(genericExporter);
Assert.assertSame(exporter, ((IFacade) genericExporter).getTarget());
}
use of org.jboss.tools.hibernate.runtime.spi.IGenericExporter in project jbosstools-hibernate by jbosstools.
the class ExporterFacadeTest method testGetGenericExporter.
@Test
public void testGetGenericExporter() {
IGenericExporter genericExporter = exporterFacade.getGenericExporter();
Assert.assertNull(genericExporter);
exporter = new GenericExporter();
exporterFacade = new AbstractExporterFacade(FACADE_FACTORY, exporter) {
};
genericExporter = exporterFacade.getGenericExporter();
Assert.assertNotNull(genericExporter);
Assert.assertSame(exporter, ((IFacade) genericExporter).getTarget());
}
use of org.jboss.tools.hibernate.runtime.spi.IGenericExporter in project jbosstools-hibernate by jbosstools.
the class FacadeFactoryTest method testCreateGenericExporter.
@Test
public void testCreateGenericExporter() {
GenericExporter genericExporter = new GenericExporter();
IGenericExporter facade = facadeFactory.createGenericExporter(genericExporter);
Assert.assertSame(genericExporter, ((IFacade) facade).getTarget());
}
Aggregations