411412413414415416417418419420421
} catch (SQLException e) {} // Run the test. try { new dblook(new String[] { "-d", sourceDBUrl, "-o", dbName + ".sql", "-td", "" } );
509510511512513514515516517518519
printAsHeader("\nDumping DDL w/ invalid url, and " + "writing\nerror to the log:\n"); // Url is intentionally incorrect; it will cause an error. new dblook(new String[] { "-o", dbName + ".sql", "-d", dbName } ); }
568569570571572573574575576577578
fullArgs[1] = sourceDBUrl; for (int i = 2; i < fullArgs.length; i++) fullArgs[i] = args[i-2]; try { new dblook(fullArgs); } catch (Exception e) { System.out.println("FAILED: to run dblook: "); e.printStackTrace(System.out); }
626627628629630631632633634635636
System.out.println( "\n************\n" + "Msg Test 3\n" + "************\n"); try { new dblook(new String[] { "-verbose" }); } catch (Exception e) { System.out.println("FAILED: to run dblook: "); e.printStackTrace(System.out); }
405406407408409410411412413414415
503504505506507508509510511512513
562563564565566567568569570571572
620621622623624625626627628629630