|
From: <fel...@us...> - 2006-12-20 03:02:21
|
Revision: 521
http://svn.sourceforge.net/dbunit/?rev=521&view=rev
Author: felipeal
Date: 2006-12-19 19:02:15 -0800 (Tue, 19 Dec 2006)
Log Message:
-----------
1482990: fixed classes that used JDK 1.4 and configured compiler to use JDK 1.3
Modified Paths:
--------------
trunk/pom.xml
trunk/src/test/org/dbunit/AbstractDatabaseTest.java
trunk/src/test/org/dbunit/AbstractDatabaseTesterTest.java
trunk/src/test/org/dbunit/util/search/AbstractSearchTestCase.java
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-20 01:54:58 UTC (rev 520)
+++ trunk/pom.xml 2006-12-20 03:02:15 UTC (rev 521)
@@ -341,9 +341,6 @@
<profiles>
<profile>
<id>official</id>
- <activation>
- <jdk>1.3</jdk>
- </activation>
<dependencies>
<dependency>
<groupId>javax.sql</groupId>
@@ -352,6 +349,22 @@
<optional>true</optional>
</dependency>
</dependencies>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <fork>true</fork>
+ <compilerVersion>1.3</compilerVersion>
+ <executable>${JAVA_1_3_HOME}/bin/javac</executable>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
<reporting>
<plugins>
<plugin>
Modified: trunk/src/test/org/dbunit/AbstractDatabaseTest.java
===================================================================
--- trunk/src/test/org/dbunit/AbstractDatabaseTest.java 2006-12-20 01:54:58 UTC (rev 520)
+++ trunk/src/test/org/dbunit/AbstractDatabaseTest.java 2006-12-20 03:02:15 UTC (rev 521)
@@ -143,7 +143,7 @@
final boolean runIt = environment.support(feature);
return runIt;
} catch ( Exception e ) {
- throw new RuntimeException(e);
+ throw new DatabaseUnitRuntimeException(e);
}
}
Modified: trunk/src/test/org/dbunit/AbstractDatabaseTesterTest.java
===================================================================
--- trunk/src/test/org/dbunit/AbstractDatabaseTesterTest.java 2006-12-20 01:54:58 UTC (rev 520)
+++ trunk/src/test/org/dbunit/AbstractDatabaseTesterTest.java 2006-12-20 03:02:15 UTC (rev 521)
@@ -136,7 +136,7 @@
return runIt;
}
catch( Exception e ){
- throw new RuntimeException( e );
+ throw new DatabaseUnitRuntimeException( e );
}
}
}
Modified: trunk/src/test/org/dbunit/util/search/AbstractSearchTestCase.java
===================================================================
--- trunk/src/test/org/dbunit/util/search/AbstractSearchTestCase.java 2006-12-20 01:54:58 UTC (rev 520)
+++ trunk/src/test/org/dbunit/util/search/AbstractSearchTestCase.java 2006-12-20 03:02:15 UTC (rev 521)
@@ -24,12 +24,13 @@
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
-import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
import java.util.SortedSet;
import java.util.TreeSet;
+import org.apache.commons.collections.set.ListOrderedSet;
+
import junit.framework.TestCase;
/**
@@ -52,7 +53,7 @@
protected final Set fAllEdgesSet = new HashSet();
- protected final Set fExpectedOutput = new LinkedHashSet();
+ protected final Set fExpectedOutput = new ListOrderedSet();
protected final Set fInput = new HashSet();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|