01: /*
02: * DbSettingsTest.java
03: *
04: * This file is part of SQL Workbench/J, http://www.sql-workbench.net
05: *
06: * Copyright 2002-2007, Thomas Kellerer
07: * No part of this code maybe reused without the permission of the author
08: *
09: * To contact the author please send an email to: support@sql-workbench.net
10: *
11: */
12: package workbench.db;
13:
14: import junit.framework.TestCase;
15:
16: /**
17: * @author support@sql-workbench.net
18: */
19: public class DbSettingsTest extends TestCase {
20: public DbSettingsTest(String testName) {
21: super (testName);
22: }
23:
24: public void testOraDefaults() {
25: DbSettings pg = new DbSettings("postgresql", "Postgres Test");
26: assertFalse(pg.getConvertDateInExport());
27: }
28:
29: public void testPgDefaults() {
30: DbSettings pg = new DbSettings("postgresql", "Postgres Test");
31: assertFalse(pg.getConvertDateInExport());
32: }
33:
34: }
|