ReverseEngineeringAccessTest.java
上传用户:cccombo
上传日期:2021-01-31
资源大小:16445k
文件大小:1k
源码类别:
MySQL数据库
开发平台:
SQL
- package com.mysql.grt.modules;
- import junit.framework.TestCase;
- import com.mysql.grt.*;
- public class ReverseEngineeringAccessTest extends TestCase {
- public ReverseEngineeringAccessTest(String name) {
- super(name);
- }
- /**
- * main function so the test can be executed
- */
- public static void main(String[] args) {
- junit.textui.TestRunner.run(ReverseEngineeringAccessTest.class);
- }
- /**
- * Test of the reverseEngineering
- */
- public void testReverseEngineering() {
- GrtStringList schemaList = new GrtStringList();
- schemaList.add("Nordwind");
- /*try {
- ReverseEngineeringAccess
- .reverseEngineer(
- "sun.jdbc.odbc.JdbcOdbcDriver",
- "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};"
- + "DBQ=C:\Dokumente und Einstellungen\Mike\"
- + "Eigene Dateien\Nordwind.mdb;DriverID=22;READONLY=true}",
- schemaList);
- } catch (Exception e) {
- e.printStackTrace();
- }*/
- }
- }