1234567891011121314151617181920212223242526272829303132333435363738 |
- package test.junitTest.sysmodel.DBdll;
- import junit.framework.TestCase;
- import org.apache.log4j.Logger;
- import test.junitTest.JunitInit;
- import com.persistence.DBdll.adapter.OracleAdapter;
- import com.sysmodel.datamodel.xmlmodel.able.MdpDataSource;
- import com.sysmodel.datamodel.xmlmodel.impl.SysModelImpl;
- public class TestOracleAdapter extends TestCase{
- @SuppressWarnings("unused")
- private final static Logger log = Logger.getLogger(TestOracleAdapter.class);
- @SuppressWarnings("unused")
- private JunitInit unit = null;
- protected void setUp() throws Exception {
- unit = new JunitInit();
- super.setUp();
- }
- protected void tearDown() throws Exception {
- super.tearDown();
- }
- @SuppressWarnings("unused")
- public void testGetXmlByTableName() {
- OracleAdapter OracleAdapter = new OracleAdapter();
- SysModelImpl sysmodel = SysModelImpl.getInstance();
- MdpDataSource MdpDataSource = sysmodel.getDataSourceByCode(1);
- String xmlDataModel = OracleAdapter.getXmlByTableName("sss", MdpDataSource, "");
- }
- }
|