use of org.jboss.tools.hibernate.runtime.spi.ITableFilter in project jbosstools-hibernate by jbosstools.
the class TableFilterFacadeTest method testGetMatchCatalog.
@Test
public void testGetMatchCatalog() {
TableFilter tableFilter = new TableFilter();
ITableFilter tableFilterFacade = FACADE_FACTORY.createTableFilter(tableFilter);
Assert.assertNotEquals("foo", tableFilterFacade.getMatchCatalog());
tableFilter.setMatchCatalog("foo");
Assert.assertEquals("foo", tableFilterFacade.getMatchCatalog());
}
use of org.jboss.tools.hibernate.runtime.spi.ITableFilter in project jbosstools-hibernate by jbosstools.
the class TableFilterFacadeTest method testGetMatchName.
@Test
public void testGetMatchName() {
TableFilter tableFilter = new TableFilter();
ITableFilter tableFilterFacade = FACADE_FACTORY.createTableFilter(tableFilter);
Assert.assertNotEquals("foo", tableFilterFacade.getMatchName());
tableFilter.setMatchName("foo");
Assert.assertEquals("foo", tableFilterFacade.getMatchName());
}
use of org.jboss.tools.hibernate.runtime.spi.ITableFilter in project jbosstools-hibernate by jbosstools.
the class TableFilterFacadeTest method testGetExclude.
@Test
public void testGetExclude() {
TableFilter tableFilter = new TableFilter();
ITableFilter tableFilterFacade = FACADE_FACTORY.createTableFilter(tableFilter);
Assert.assertNull(tableFilterFacade.getExclude());
tableFilter.setExclude(true);
Assert.assertTrue(tableFilterFacade.getExclude());
}
use of org.jboss.tools.hibernate.runtime.spi.ITableFilter in project jbosstools-hibernate by jbosstools.
the class TableFilterFacadeTest method testGetMatchCatalog.
@Test
public void testGetMatchCatalog() {
TableFilter tableFilter = new TableFilter();
ITableFilter tableFilterFacade = FACADE_FACTORY.createTableFilter(tableFilter);
Assert.assertNotEquals("foo", tableFilterFacade.getMatchCatalog());
tableFilter.setMatchCatalog("foo");
Assert.assertEquals("foo", tableFilterFacade.getMatchCatalog());
}
use of org.jboss.tools.hibernate.runtime.spi.ITableFilter in project jbosstools-hibernate by jbosstools.
the class TableFilterFacadeTest method testSetExclude.
@Test
public void testSetExclude() {
TableFilter tableFilter = new TableFilter();
ITableFilter tableFilterFacade = FACADE_FACTORY.createTableFilter(tableFilter);
Assert.assertNull(tableFilter.getExclude());
tableFilterFacade.setExclude(true);
Assert.assertTrue(tableFilter.getExclude());
}
Aggregations