roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r549134 - /roller/trunk/apps/weblogger/test/java/org/apache/roller/weblogger/business/SQLScriptRunnerTest.java
Date Wed, 20 Jun 2007 15:28:12 GMT
Author: agilliland
Date: Wed Jun 20 08:28:09 2007
New Revision: 549134

URL: http://svn.apache.org/viewvc?view=rev&rev=549134
Log:
update to sql script runner test missing from last commit.


Modified:
    roller/trunk/apps/weblogger/test/java/org/apache/roller/weblogger/business/SQLScriptRunnerTest.java

Modified: roller/trunk/apps/weblogger/test/java/org/apache/roller/weblogger/business/SQLScriptRunnerTest.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/test/java/org/apache/roller/weblogger/business/SQLScriptRunnerTest.java?view=diff&rev=549134&r1=549133&r2=549134
==============================================================================
--- roller/trunk/apps/weblogger/test/java/org/apache/roller/weblogger/business/SQLScriptRunnerTest.java
(original)
+++ roller/trunk/apps/weblogger/test/java/org/apache/roller/weblogger/business/SQLScriptRunnerTest.java
Wed Jun 20 08:28:09 2007
@@ -22,6 +22,7 @@
 import java.sql.ResultSet;
 import java.sql.SQLException;
 import junit.framework.TestCase;
+import org.apache.roller.weblogger.business.startup.WebloggerStartup;
 import org.apache.roller.weblogger.business.utils.SQLScriptRunner;
 
 /**
@@ -30,7 +31,7 @@
 public class SQLScriptRunnerTest extends TestCase {
 
     public void testParseOnly() throws Exception {        
-        DatabaseProvider dbp = DatabaseProvider.getDatabaseProvider();
+        DatabaseProvider dbp = WebloggerStartup.getDatabaseProvider();
         Connection con = dbp.getConnection(); 
         
         // normaly tests run against Derby
@@ -48,7 +49,7 @@
     }    
     
     public void testSimpleRun() throws Exception {
-        DatabaseProvider dbp = DatabaseProvider.getDatabaseProvider();
+        DatabaseProvider dbp = WebloggerStartup.getDatabaseProvider();
         Connection con = dbp.getConnection(); 
 
         // normaly tests run against Derby



Mime
View raw message