summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBin Feng2011-10-11 01:26:21 (EDT)
committer xgu2011-10-25 02:10:13 (EDT)
commitaef2db788f09d55fd154a8ae662c252989730204 (patch)
treed155af6331cefb4f367f1219348e2a8bf95b3940
parenta4e1c1de55a8edc913282cc3ee13bf11d513dc4d (diff)
downloadorg.eclipse.birt-aef2db788f09d55fd154a8ae662c252989730204.zip
org.eclipse.birt-aef2db788f09d55fd154a8ae662c252989730204.tar.gz
org.eclipse.birt-aef2db788f09d55fd154a8ae662c252989730204.tar.bz2
Update testcase consistent with DBConfig policy file config.xml.
-rw-r--r--data/org.eclipse.birt.report.data.oda.jdbc.tests/test/org/eclipse/birt/report/data/oda/jdbc/DBConfigTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/data/org.eclipse.birt.report.data.oda.jdbc.tests/test/org/eclipse/birt/report/data/oda/jdbc/DBConfigTest.java b/data/org.eclipse.birt.report.data.oda.jdbc.tests/test/org/eclipse/birt/report/data/oda/jdbc/DBConfigTest.java
index bb6a170..2088a69 100644
--- a/data/org.eclipse.birt.report.data.oda.jdbc.tests/test/org/eclipse/birt/report/data/oda/jdbc/DBConfigTest.java
+++ b/data/org.eclipse.birt.report.data.oda.jdbc.tests/test/org/eclipse/birt/report/data/oda/jdbc/DBConfigTest.java
@@ -31,7 +31,8 @@ public class DBConfigTest extends TestCase
//Policy 1
String[] policy1Drivers = new String[]{
"Oracle JDBC driver",
- "MySQL-AB JDBC Driver"
+ "MySQL-AB JDBC Driver",
+ "jConnect (TM) for JDBC (TM)"
};
for( int i = 0; i < policy1Drivers.length; i++ )
{
@@ -44,7 +45,7 @@ public class DBConfigTest extends TestCase
};
for( int i = 0; i < policy2Drivers.length; i++ )
{
- assertTrue( DBConfig.getInstance().qualifyPolicy(policy2Drivers[i], 2));
+ assertFalse( DBConfig.getInstance().qualifyPolicy(policy2Drivers[i], 2));
}