Search in sources :

Example 31 with SqlServiceMock

use of org.eclipse.scout.rt.server.jdbc.fixture.SqlServiceMock in project scout.rt by eclipse.

the class SelectIntoTest method before.

@Before
public void before() throws Exception {
    SqlServiceMock sqlService = new SqlServiceMock();
    m_beans = TestingUtility.registerBeans(new BeanMetaData(ISqlService.class).withInitialInstance(sqlService).withApplicationScoped(true));
}
Also used : BeanMetaData(org.eclipse.scout.rt.platform.BeanMetaData) SqlServiceMock(org.eclipse.scout.rt.server.jdbc.fixture.SqlServiceMock) Before(org.junit.Before)

Aggregations

SqlServiceMock (org.eclipse.scout.rt.server.jdbc.fixture.SqlServiceMock)31 Test (org.junit.Test)28 NVPair (org.eclipse.scout.rt.platform.holders.NVPair)12 TableFieldBeanData (org.eclipse.scout.rt.server.jdbc.fixture.TableFieldBeanData)12 TableBeanHolderFilter (org.eclipse.scout.rt.platform.holders.TableBeanHolderFilter)4 FormDataWithSet (org.eclipse.scout.rt.server.jdbc.fixture.FormDataWithSet)4 BeanArrayHolder (org.eclipse.scout.rt.platform.holders.BeanArrayHolder)3 ContainerBean (org.eclipse.scout.rt.server.jdbc.fixture.ContainerBean)3 HashSet (java.util.HashSet)2 List (java.util.List)2 Holder (org.eclipse.scout.rt.platform.holders.Holder)2 ITableBeanHolder (org.eclipse.scout.rt.platform.holders.ITableBeanHolder)2 FormDataWithArray (org.eclipse.scout.rt.server.jdbc.fixture.FormDataWithArray)2 BeanMetaData (org.eclipse.scout.rt.platform.BeanMetaData)1 ITableBeanRowHolder (org.eclipse.scout.rt.platform.holders.ITableBeanRowHolder)1 Before (org.junit.Before)1