Search in sources :

Example 1 with POJOExporter

use of org.hibernate.tool.hbm2x.POJOExporter in project jbosstools-hibernate by jbosstools.

the class ServiceImplTest method testCreateExporter.

@Test
public void testCreateExporter() {
    IExporter exporter = service.createExporter("org.hibernate.tool.hbm2x.POJOExporter");
    Assert.assertNotNull(exporter);
    Object target = ((IFacade) exporter).getTarget();
    Assert.assertNotNull(target);
    Assert.assertTrue(target instanceof POJOExporter);
}
Also used : POJOExporter(org.hibernate.tool.hbm2x.POJOExporter) IExporter(org.jboss.tools.hibernate.runtime.spi.IExporter) IFacade(org.jboss.tools.hibernate.runtime.common.IFacade) Test(org.junit.Test)

Example 2 with POJOExporter

use of org.hibernate.tool.hbm2x.POJOExporter in project jbosstools-hibernate by jbosstools.

the class ServiceImplTest method testCreateExporter.

@Test
public void testCreateExporter() {
    IExporter exporter = service.createExporter("org.hibernate.tool.hbm2x.POJOExporter");
    Assert.assertNotNull(exporter);
    Object target = ((IFacade) exporter).getTarget();
    Assert.assertNotNull(target);
    Assert.assertTrue(target instanceof POJOExporter);
}
Also used : POJOExporter(org.hibernate.tool.hbm2x.POJOExporter) IExporter(org.jboss.tools.hibernate.runtime.spi.IExporter) IFacade(org.jboss.tools.hibernate.runtime.common.IFacade) Test(org.junit.Test)

Example 3 with POJOExporter

use of org.hibernate.tool.hbm2x.POJOExporter in project jbosstools-hibernate by jbosstools.

the class ServiceImplTest method testCreateExporter.

@Test
public void testCreateExporter() {
    IExporter exporter = service.createExporter("org.hibernate.tool.hbm2x.POJOExporter");
    Assert.assertNotNull(exporter);
    Object target = ((IFacade) exporter).getTarget();
    Assert.assertNotNull(target);
    Assert.assertTrue(target instanceof POJOExporter);
}
Also used : POJOExporter(org.hibernate.tool.hbm2x.POJOExporter) IExporter(org.jboss.tools.hibernate.runtime.spi.IExporter) IFacade(org.jboss.tools.hibernate.runtime.common.IFacade) Test(org.junit.Test)

Example 4 with POJOExporter

use of org.hibernate.tool.hbm2x.POJOExporter in project jbosstools-hibernate by jbosstools.

the class ServiceImplTest method testCreateExporter.

@Test
public void testCreateExporter() {
    IExporter exporter = service.createExporter("org.hibernate.tool.hbm2x.POJOExporter");
    Assert.assertNotNull(exporter);
    Object target = ((IFacade) exporter).getTarget();
    Assert.assertNotNull(target);
    Assert.assertTrue(target instanceof POJOExporter);
}
Also used : POJOExporter(org.hibernate.tool.hbm2x.POJOExporter) IExporter(org.jboss.tools.hibernate.runtime.spi.IExporter) IFacade(org.jboss.tools.hibernate.runtime.common.IFacade) Test(org.junit.Test)

Aggregations

POJOExporter (org.hibernate.tool.hbm2x.POJOExporter)4 IFacade (org.jboss.tools.hibernate.runtime.common.IFacade)4 IExporter (org.jboss.tools.hibernate.runtime.spi.IExporter)4 Test (org.junit.Test)4