You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
(7) |
Aug
(37) |
Sep
|
Oct
|
Nov
(1) |
Dec
(22) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(8) |
Feb
(68) |
Mar
(72) |
Apr
(149) |
May
(32) |
Jun
(46) |
Jul
(26) |
Aug
(59) |
Sep
(25) |
Oct
(18) |
Nov
(4) |
Dec
(3) |
| 2004 |
Jan
(90) |
Feb
(19) |
Mar
(38) |
Apr
(41) |
May
(44) |
Jun
(2) |
Jul
(10) |
Aug
|
Sep
(14) |
Oct
|
Nov
(1) |
Dec
|
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(15) |
Jun
(1) |
Jul
|
Aug
(9) |
Sep
|
Oct
(17) |
Nov
|
Dec
|
| 2006 |
Jan
(1) |
Feb
(16) |
Mar
|
Apr
(1) |
May
(48) |
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(29) |
| 2007 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
(23) |
Mar
(31) |
Apr
|
May
(26) |
Jun
(6) |
Jul
(1) |
Aug
|
Sep
(7) |
Oct
(1) |
Nov
(8) |
Dec
(8) |
| 2009 |
Jan
(5) |
Feb
(9) |
Mar
(1) |
Apr
|
May
(23) |
Jun
(3) |
Jul
|
Aug
(1) |
Sep
(9) |
Oct
(28) |
Nov
(18) |
Dec
(8) |
| 2010 |
Jan
(19) |
Feb
(24) |
Mar
(3) |
Apr
|
May
(5) |
Jun
(4) |
Jul
|
Aug
(1) |
Sep
(11) |
Oct
|
Nov
(2) |
Dec
(1) |
| 2011 |
Jan
|
Feb
(7) |
Mar
|
Apr
(6) |
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(32) |
Oct
(6) |
Nov
|
Dec
|
|
From: <fel...@us...> - 2006-12-28 03:42:36
|
Revision: 542
http://svn.sourceforge.net/dbunit/?rev=542&view=rev
Author: felipeal
Date: 2006-12-27 19:42:35 -0800 (Wed, 27 Dec 2006)
Log Message:
-----------
[maven-release-plugin] prepare release release-2-2
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-28 03:38:47 UTC (rev 541)
+++ trunk/pom.xml 2006-12-28 03:42:35 UTC (rev 542)
@@ -4,7 +4,7 @@
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<packaging>jar</packaging>
- <version>2.2-SNAPSHOT</version>
+ <version>2.2</version>
<name>DbUnit Framework</name>
<url>http://dbunit.sourceforge.net</url>
<!-- TODO - stuff below changed on M2; I think it went to Site plugin
@@ -26,9 +26,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection>
- <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection>
- <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url>
+ <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2</connection>
+ <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2</developerConnection>
+ <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2</url>
</scm>
<issueManagement>
<system>SourceForge</system>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-28 03:38:49
|
Revision: 541
http://svn.sourceforge.net/dbunit/?rev=541&view=rev
Author: felipeal
Date: 2006-12-27 19:38:47 -0800 (Wed, 27 Dec 2006)
Log Message:
-----------
added snapshot again...
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-28 03:36:59 UTC (rev 540)
+++ trunk/pom.xml 2006-12-28 03:38:47 UTC (rev 541)
@@ -4,7 +4,7 @@
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<packaging>jar</packaging>
- <version>2.2</version>
+ <version>2.2-SNAPSHOT</version>
<name>DbUnit Framework</name>
<url>http://dbunit.sourceforge.net</url>
<!-- TODO - stuff below changed on M2; I think it went to Site plugin
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-28 03:37:01
|
Revision: 540
http://svn.sourceforge.net/dbunit/?rev=540&view=rev
Author: felipeal
Date: 2006-12-27 19:36:59 -0800 (Wed, 27 Dec 2006)
Log Message:
-----------
changed SVN URLs, as SourceForge changed
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-28 03:32:13 UTC (rev 539)
+++ trunk/pom.xml 2006-12-28 03:36:59 UTC (rev 540)
@@ -26,9 +26,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:https://svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2</connection>
- <developerConnection>scm:svn:https://svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2</developerConnection>
- <url>http://dbunit.cvs.sourceforge.net/dbunit/tags/dbunit-2.2</url>
+ <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection>
+ <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection>
+ <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url>
</scm>
<issueManagement>
<system>SourceForge</system>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-28 03:32:14
|
Revision: 539
http://svn.sourceforge.net/dbunit/?rev=539&view=rev
Author: felipeal
Date: 2006-12-27 19:32:13 -0800 (Wed, 27 Dec 2006)
Log Message:
-----------
testing source forge
Removed Paths:
-------------
tags/TESTING_SF/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-28 03:31:47
|
Revision: 538
http://svn.sourceforge.net/dbunit/?rev=538&view=rev
Author: felipeal
Date: 2006-12-27 19:31:46 -0800 (Wed, 27 Dec 2006)
Log Message:
-----------
testing source forge
Added Paths:
-----------
tags/TESTING_SF/
Copied: tags/TESTING_SF (from rev 537, trunk)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-28 02:41:46
|
Revision: 537
http://svn.sourceforge.net/dbunit/?rev=537&view=rev
Author: felipeal
Date: 2006-12-27 18:41:45 -0800 (Wed, 27 Dec 2006)
Log Message:
-----------
[maven-release-plugin] prepare release dbunit-2.2
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-28 01:52:15 UTC (rev 536)
+++ trunk/pom.xml 2006-12-28 02:41:45 UTC (rev 537)
@@ -4,7 +4,7 @@
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<packaging>jar</packaging>
- <version>2.2-SNAPSHOT</version>
+ <version>2.2</version>
<name>DbUnit Framework</name>
<url>http://dbunit.sourceforge.net</url>
<!-- TODO - stuff below changed on M2; I think it went to Site plugin
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-28 01:52:17
|
Revision: 536
http://svn.sourceforge.net/dbunit/?rev=536&view=rev
Author: felipeal
Date: 2006-12-27 17:52:15 -0800 (Wed, 27 Dec 2006)
Log Message:
-----------
1482990: added TODO and reverted SNAPSHOT
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-27 11:18:04 UTC (rev 535)
+++ trunk/pom.xml 2006-12-28 01:52:15 UTC (rev 536)
@@ -4,7 +4,7 @@
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<packaging>jar</packaging>
- <version>2.2</version>
+ <version>2.2-SNAPSHOT</version>
<name>DbUnit Framework</name>
<url>http://dbunit.sourceforge.net</url>
<!-- TODO - stuff below changed on M2; I think it went to Site plugin
@@ -169,6 +169,8 @@
<!-- TODO: check which dependencies could marked as optional.
For instance, ant is optional because it's only necessary for the dbunit
Ant tasks. -->
+
+<!-- TODO: add exclusion for dependencies that include xerces/xalan -->
<!-- JUnit 3.8.2 fix that annoying 'expected: <....>' bug... -->
<dependency>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-27 11:18:06
|
Revision: 535
http://svn.sourceforge.net/dbunit/?rev=535&view=rev
Author: felipeal
Date: 2006-12-27 03:18:04 -0800 (Wed, 27 Dec 2006)
Log Message:
-----------
1482990: updating instructions
Modified Paths:
--------------
trunk/src/site/apt/building.apt
Modified: trunk/src/site/apt/building.apt
===================================================================
--- trunk/src/site/apt/building.apt 2006-12-27 03:39:43 UTC (rev 534)
+++ trunk/src/site/apt/building.apt 2006-12-27 11:18:04 UTC (rev 535)
@@ -47,7 +47,7 @@
Maintenance tasks
- The tasks described below describes how to maintain DbUnit
+ The tasks described below describes how to maintain DbUnit. Some of these tasks will use <ssh> to upload files to SourceForge, so it is necessary to setup your environment to allow it (typically using <ssh-agent> - see more details on {{{http://sourceforge.net/docman/display_doc.php?docid=761&group_id=1} SourceForge}}).
Updating the repository and site
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-27 03:39:44
|
Revision: 534
http://svn.sourceforge.net/dbunit/?rev=534&view=rev
Author: felipeal
Date: 2006-12-26 19:39:43 -0800 (Tue, 26 Dec 2006)
Log Message:
-----------
1482990: added release.properties
Property Changed:
----------------
trunk/
Property changes on: trunk
___________________________________________________________________
Name: svn:ignore
- *.log
.classpath
target
*.ser
junit*.properties
.project
spy.*
tmp
idea
.settings
+ *.log
.classpath
target
*.ser
junit*.properties
.project
spy.*
tmp
idea
.settings
release.properties
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-27 01:46:14
|
Revision: 533
http://svn.sourceforge.net/dbunit/?rev=533&view=rev
Author: felipeal
Date: 2006-12-26 17:46:12 -0800 (Tue, 26 Dec 2006)
Log Message:
-----------
[maven-release-plugin] prepare release dbunit-2.2
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-27 01:34:50 UTC (rev 532)
+++ trunk/pom.xml 2006-12-27 01:46:12 UTC (rev 533)
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<packaging>jar</packaging>
- <version>2.2-SNAPSHOT</version>
+ <version>2.2</version>
<name>DbUnit Framework</name>
<url>http://dbunit.sourceforge.net</url>
<!-- TODO - stuff below changed on M2; I think it went to Site plugin
@@ -26,9 +26,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:https://svn.sourceforge.net/svnroot/dbunit/trunk/</connection>
- <developerConnection>scm:svn:https://svn.sourceforge.net/svnroot/dbunit/trunk/</developerConnection>
- <url>http://dbunit.cvs.sourceforge.net/dbunit</url>
+ <connection>scm:svn:https://svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2</connection>
+ <developerConnection>scm:svn:https://svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2</developerConnection>
+ <url>http://dbunit.cvs.sourceforge.net/dbunit/tags/dbunit-2.2</url>
</scm>
<issueManagement>
<system>SourceForge</system>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-27 01:34:51
|
Revision: 532
http://svn.sourceforge.net/dbunit/?rev=532&view=rev
Author: felipeal
Date: 2006-12-26 17:34:50 -0800 (Tue, 26 Dec 2006)
Log Message:
-----------
1482990: updating instructions
Modified Paths:
--------------
trunk/pom.xml
trunk/src/site/apt/building.apt
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-27 01:27:46 UTC (rev 531)
+++ trunk/pom.xml 2006-12-27 01:34:50 UTC (rev 532)
@@ -304,7 +304,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
- <goals>source:jar javadoc:jar deploy site:deploy</goals>
+ <goals>source:jar javadoc:jar deploy site:deploy repository:bundle-create</goals>
</configuration>
</plugin>
<!-- TODO: add cobertura and other plugins that would fail the build, like PMD, cobertura and checkstyle-->
Modified: trunk/src/site/apt/building.apt
===================================================================
--- trunk/src/site/apt/building.apt 2006-12-27 01:27:46 UTC (rev 531)
+++ trunk/src/site/apt/building.apt 2006-12-27 01:34:50 UTC (rev 532)
@@ -67,13 +67,13 @@
mvn -Pofficial release:prepare
---
-and then:
+ and then:
---
mvn -Pofficial release:perform
---
- The fourth step must be done manually, logging in SourceForge and uploading the following files:
+ That last command has created all necesary files for the fourth and fifth steps in the XXX/target directory. So, for the fourth step, log in SourceForge and uploading the following files:
* <dbunit-RELEASE.jar>
@@ -83,17 +83,10 @@
[]
- For the ibiblio artifacts, the bundle can be created running:
+ And for the fifth step, create a {{{http://jira.codehaus.org/secure/CreateIssue.jspa?pid=10367&issuetype=3}Jira request}} and upload the <<<XXX/target/dbunit-RELEASE-bundle.jar>>>) file (see {{{http://maven.apache.org/guides/mini/guide-ibiblio-upload.html}Guide to uploading artifacts to The Central Repository}} for detailed instructions).
----
- mvn -Pofficial source:jar javadoc:jar repository:bundle-create
----
+ The final step can also be done by Maven, using the {{{http://maven.apache.org/plugins/maven-changes-plugin/}Maven Changes Plugin}}:
-Once the file is generated (at <<<target/dbunit-RELEASE-bundle.jar>>>), upload it on Maven's {{{http://jira.codehaus.org/secure/CreateIssue.jspa?pid=10367&issuetype=3}Jira} (see {{{http://maven.apache.org/guides/mini/guide-ibiblio-upload.html}Guide to uploading artifacts to The Central Repository}} for detailed instructions).
-
-
- The final step can also be done by maven, using the {{{http://maven.apache.org/plugins/maven-changes-plugin/}Maven Changes Plugin}}:
-
---
mvn changes:announcement-mail
---
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-27 01:27:49
|
Revision: 531
http://svn.sourceforge.net/dbunit/?rev=531&view=rev
Author: felipeal
Date: 2006-12-26 17:27:46 -0800 (Tue, 26 Dec 2006)
Log Message:
-----------
1482990: updating instructions
Modified Paths:
--------------
trunk/src/site/apt/building.apt
Modified: trunk/src/site/apt/building.apt
===================================================================
--- trunk/src/site/apt/building.apt 2006-12-27 01:19:17 UTC (rev 530)
+++ trunk/src/site/apt/building.apt 2006-12-27 01:27:46 UTC (rev 531)
@@ -54,14 +54,14 @@
Once new code is incorporated in the SVN code, it is necessary to update the Maven 2 repository with new snapshots, and also update the site. These 2 tasks can be done with a simple command:
---
-mvn -Pofficial clean site:site source:jar javadoc:jar deploy site:deploy>>>
+mvn -Pofficial clean source:jar javadoc:jar deploy site:deploy>>>
---
Cutting a release
- Cutting a release requires 5 steps: creating a SVN tag, generating the artifacts, updating the site, uploading the artifacts into SourceForge and sending the announcement emails.
+ Cutting a release requires the following steps: creating a SVN tag, generating the artifacts, updating the site, uploading the artifacts into SourceForge, uploading the artifacts on {{{http://ibiblio.net/maven2}ibiblio}}, and sending the announcement emails.
- Fortunatelly, the first 3 steps can be achieve using {{{http://maven.apache.org/plugins/maven-release-plugin/}Maven Release Plugin}}, as follow:
+ Fortunatelly, most of the steps can be automated by Maven. The first 3 steps can be achieve using {{{http://maven.apache.org/plugins/maven-release-plugin/}Maven Release Plugin}}, as follow:
---
mvn -Pofficial release:prepare
@@ -73,8 +73,6 @@
mvn -Pofficial release:perform
---
-
-
The fourth step must be done manually, logging in SourceForge and uploading the following files:
* <dbunit-RELEASE.jar>
@@ -85,6 +83,15 @@
[]
+ For the ibiblio artifacts, the bundle can be created running:
+
+---
+ mvn -Pofficial source:jar javadoc:jar repository:bundle-create
+---
+
+Once the file is generated (at <<<target/dbunit-RELEASE-bundle.jar>>>), upload it on Maven's {{{http://jira.codehaus.org/secure/CreateIssue.jspa?pid=10367&issuetype=3}Jira} (see {{{http://maven.apache.org/guides/mini/guide-ibiblio-upload.html}Guide to uploading artifacts to The Central Repository}} for detailed instructions).
+
+
The final step can also be done by maven, using the {{{http://maven.apache.org/plugins/maven-changes-plugin/}Maven Changes Plugin}}:
---
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-27 01:19:21
|
Revision: 530
http://svn.sourceforge.net/dbunit/?rev=530&view=rev
Author: felipeal
Date: 2006-12-26 17:19:17 -0800 (Tue, 26 Dec 2006)
Log Message:
-----------
1482990: updating instructions
Modified Paths:
--------------
trunk/pom.xml
trunk/src/site/apt/building.apt
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-27 01:16:17 UTC (rev 529)
+++ trunk/pom.xml 2006-12-27 01:19:17 UTC (rev 530)
@@ -300,6 +300,13 @@
<target>1.3</target>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <goals>source:jar javadoc:jar deploy site:deploy</goals>
+ </configuration>
+ </plugin>
<!-- TODO: add cobertura and other plugins that would fail the build, like PMD, cobertura and checkstyle-->
</plugins>
</build>
Modified: trunk/src/site/apt/building.apt
===================================================================
--- trunk/src/site/apt/building.apt 2006-12-27 01:16:17 UTC (rev 529)
+++ trunk/src/site/apt/building.apt 2006-12-27 01:19:17 UTC (rev 530)
@@ -70,7 +70,7 @@
and then:
---
-mvn release:perform
+mvn -Pofficial release:perform
---
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-27 01:16:20
|
Revision: 529
http://svn.sourceforge.net/dbunit/?rev=529&view=rev
Author: felipeal
Date: 2006-12-26 17:16:17 -0800 (Tue, 26 Dec 2006)
Log Message:
-----------
1482990: updating instructions
Modified Paths:
--------------
trunk/src/site/apt/building.apt
Modified: trunk/src/site/apt/building.apt
===================================================================
--- trunk/src/site/apt/building.apt 2006-12-27 00:42:27 UTC (rev 528)
+++ trunk/src/site/apt/building.apt 2006-12-27 01:16:17 UTC (rev 529)
@@ -7,58 +7,92 @@
Overview
- Building DbUnit is quite simple; all you need is JDK 1.4+, Subversion and Maven 2. Once you have them all, you can build DbUnit by just typing mvn! Anyway, the items below describe every step
+ Building DbUnit is quite simple; all you need is JDK 1.4+, Subversion and Maven 2. Once you have them all, you can build DbUnit by just typing <<mvn>>! Anyway, the items below describe every step.
-Preparation
+Generating the JAR
- * 1.Install Java SE SDK version 1.4 (link)or newer (although DbUnit is Java 1.3 compatible, Maven 2 requires 1.4)
- * 2.Install Maven 2 (link)
- * 3.Download DbUnit code, either current (link) or released (link) source
- * 4.On the root directory, simply type <code>mvn</code> in the command line (if you need to clean up the binaries, run <code>mvn clean install</code> instead). The jar file will be generated in the target directory.
+ [[1]] Install {{{http://java.sun.com/javase/}Java SE SDK}} version 1.4 or newer (although DbUnit is Java 1.3 compatible, Maven 2 requires 1.4)
+ [[2]] Install {{{http://maven.apache.org}Maven 2}}
+ [[3]] Download DbUnit code, either current or released source (see <<Quick Links>> on left menu)
+
+ [[4]] On the root directory, simply type <<<mvn>>> in the command line (if you need to clean up the binaries, run <<<mvn clean install>>> instead). The jar file will be generated in the target directory.
+
+
Creating the site
- Run <code>mvn site:site</code> in the command line; the site will be available on <code>target/site/index.html</code>. Note that you might get an OutOfMemoryExceptionError; if that happens, you must increase the heap size through the MAVEN_OPTS variable (for instance, on Unix systems you could run <code>MAVEN_OPTS=-mx512M mvn site:site</code>).
+ Run <<<mvn site:site>>> in the command line; the site will be available on <<<target/site/index.html>>>. Note that you might get an <OutOfMemoryExceptionError>; if that happens, you must increase the heap size through the <MAVEN_OPTS> variable (for instance, on Unix systems, you could run <<<MAVEN_OPTS=-mx512M mvn site:site>>>).
Using an IDE
- As DbUnit uses Maven, it's not necessary to store IDE-specific information in the source repository. Instead, these meta-data can be dynamically generate by Maven. For instance, to create an Eclipse project, it's just a matter of typing <code>mvn eclipse:eclipe</code>. See more details on (link)Maven Eclipse Plugin, Mevenide for NetBeans, Maven IDEA plugin
+ As DbUnit uses Maven, it is not necessary to store IDE-specific information in the source repository. Instead, these meta-data can be dynamically generate by Maven. For instance, to create an Eclipse project, it is just a matter of typing <<<mvn eclipse:eclipe>>>. See more details on {{{http://maven.apache.org/plugins/maven-eclipse-plugin/}Maven Eclipse Plugin}}, {{http://mevenide.codehaus.org/m2-site/index.html}Mevenide for NetBeans}}, and {{{http://maven.apache.org/plugins/maven-idea-plugin/}Maven IDEA plugin}} respectively.
Contributing patches
- If you are building DbUnit in order to contribute a patch, it's necessary to compile it using Java SE 1.3, which takes 3 adittional steps:
+ If you are building DbUnit in order to contribute a patch, it is necessary to compile it using Java SE 1.3, which takes 3 adittional steps:
-1.Create an environment variable called JAVA_1_3_HOME pointing to the root of the Java 1.3 installation
-2.Download JDBC xxx (link)
-3.Run the command <code>mvn install:install-file -DgroupId=javax.sql -DartifactId=jdbc-stdext -Dversion=2.0 -Dpackaging=jar -Dfile=_path_to_the_jdbc_2_0_stdext_jar_</code>
-4.Run Maven using the <code>official</code> profile, i.e., <code>mvn -Pofficial clean install</code>. You should also generate the IDE meta-data using this profiling (for instance, <code>mvn -Pofficial eclipse:eclipse), and configure your IDE to use Java 1.3 for that project
-5.Once you finish your modifications, run <code>svn diff > name_of_the_patch_file</code> (or use your IDE) to generate a patch file and submit it on the web site (link). Don't forget to include test cases!
+ [[1]] Create an environment variable called JAVA_1_3_HOME pointing to the root of the Java 1.3 installation
+ [[2]] Download JDBC {{{http://java.sun.com/products/jdbc/download.html}JDBC 2.0 Optional Package Binary}}
+
+ [[3]] Run the command <<<mvn install:install-file -DgroupId=javax.sql -DartifactId=jdbc-stdext -Dversion=2.0 -Dpackaging=jar -Dfile=_path_to_the_jdbc_2_0_stdext_jar_>>>
+
+ [[4]] Run Maven using the <<official>> profile, i.e., <<<mvn -Pofficial clean install>>>. You should also generate the IDE meta-data using this profiling (for instance, <<<mvn -Pofficial eclipse:eclipse>>>), and configure your IDE to use Java 1.3 for that project
+
+ [[5]] Once you finish your modifications, run <<<svn diff > name_of_the_patch_file>>> (or use your IDE) to generate a patch file and submit it on {{{http://sourceforge.net/tracker/?group_id=47439&atid=449493} DbUnit SourceForge site}}. Do not forget to include test cases!
+
+======
+
Maintenance tasks
The tasks described below describes how to maintain DbUnit
Updating the repository and site
- Once new code is incorporated in the SVN code, it is necessary to update the Maven 2 repository with new snapshots and also update the site. These 2 tasks can be done with a simple command:
+ Once new code is incorporated in the SVN code, it is necessary to update the Maven 2 repository with new snapshots, and also update the site. These 2 tasks can be done with a simple command:
-mvn -Pofficial clean site:site source:jar javadoc:jar deploy site:deploy
+---
+mvn -Pofficial clean site:site source:jar javadoc:jar deploy site:deploy>>>
+---
Cutting a release
- Cutting a release requires 4 steps: create a SVN tag, generate the artifacts, update the site and upload the artifacts into SourceForge.
+ Cutting a release requires 5 steps: creating a SVN tag, generating the artifacts, updating the site, uploading the artifacts into SourceForge and sending the announcement emails.
- Fortunatelly, the first 3 steps can be achieve using Maven Release Plugin, as follow:
+ Fortunatelly, the first 3 steps can be achieve using {{{http://maven.apache.org/plugins/maven-release-plugin/}Maven Release Plugin}}, as follow:
- The final step must be done manually, logging in SourceForge and uploading the following files:
+---
+mvn -Pofficial release:prepare
+---
-XXX
+and then:
-It is also nice to send a message to the mailing lists; ideally that should be done automatically, as the maven-announcement-plugin did for Maven 1.
+---
+mvn release:perform
+---
+
+ The fourth step must be done manually, logging in SourceForge and uploading the following files:
+
+ * <dbunit-RELEASE.jar>
+
+ * <dbunit-RELEASE-sources.jar>
+
+ * <dbunit-RELEASE-javadoc.jar>
+
+ []
+
+ The final step can also be done by maven, using the {{{http://maven.apache.org/plugins/maven-changes-plugin/}Maven Changes Plugin}}:
+
+---
+mvn changes:announcement-mail
+---
+
+ Note that it is nice to change the release's introduction message first - look for the plugin's <<<introduction>>> parameter in the <<<pom.xml>>>; please change such an element before tagging the release.
+
Fixing a bug/request
- Everytinme a bug is fixed (or request is implemented), it is necesary to update the src/site/changes.xml file.
+ Everytinme a bug is fixed (or request is implemented), it is necessary to update the <<<src/changes/changes.xml>>> file.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-27 00:42:28
|
Revision: 528
http://svn.sourceforge.net/dbunit/?rev=528&view=rev
Author: felipeal
Date: 2006-12-26 16:42:27 -0800 (Tue, 26 Dec 2006)
Log Message:
-----------
1482990: set automatic email (changes plugin)
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-25 22:52:04 UTC (rev 527)
+++ trunk/pom.xml 2006-12-27 00:42:27 UTC (rev 528)
@@ -16,10 +16,7 @@
-->
<inceptionYear>2002</inceptionYear>
<description>
- DbUnit is a JUnit extension (also usable from Ant) targeted for database-driven projects that,
- among other things, puts your database into a known state between test runs. This is an
- excellent way to avoid the myriad of problems that can occur when one test case corrupts
- the database and causes subsequent tests to fail or exacerbate the damage.
+ DbUnit is a JUnit extension (also usable from Ant) targeted for database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage.
</description>
<licenses>
<license>
@@ -68,7 +65,19 @@
<!-- who the developers are for the project -->
<developers>
+ <!-- put my name first, so my email is used by the announcements-email
+ plugin -->
<developer>
+ <name>Felipe Leme</name>
+ <id>felipeal</id>
+ <email>db...@fe...</email>
+ <organization>Falcon Informatica</organization>
+ <timezone>-3</timezone>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
<name>Benjamin Cox</name>
<id>bdrum</id>
<roles>
@@ -112,16 +121,6 @@
<!-- <role>Original Ant Task Contributor</role> -->
</roles>
</developer>
- <developer>
- <name>Felipe Leme</name>
- <id>felipeal</id>
- <email>db...@fe...</email>
- <organization>Falcon Informatica</organization>
- <timezone>-3</timezone>
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
</developers>
<contributors>
@@ -320,8 +319,15 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<configuration>
+ <smtpHost>localhost</smtpHost>
+ <smtpPort implementation="java.lang.Integer">25</smtpPort>
+ <introduction>This is a long-awaited new DbUnit official release, generated more than 2 years after DbUnit 2.1!</introduction>
+ <toAddresses>
+ <toAddress implementation="java.lang.String">dbu...@li...</toAddress>
+ <toAddress implementation="java.lang.String">dbu...@li...</toAddress>
+ </toAddresses>
+ <urlDownload>http://sourceforge.net/project/showfiles.php?group_id=47439&release_id=242511</urlDownload>
<issueLinkTemplate>%URL%?func=detail&aid=%ISSUE%&group_id=47439&atid=449494</issueLinkTemplate>
- <xmlPath>${basedir}/src/site/xdoc/changes.xml</xmlPath>
</configuration>
<reportSets>
<reportSet>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-25 22:52:06
|
Revision: 527
http://svn.sourceforge.net/dbunit/?rev=527&view=rev
Author: felipeal
Date: 2006-12-25 14:52:04 -0800 (Mon, 25 Dec 2006)
Log Message:
-----------
1482990, 1622151: removed <code>, as it is not supported
Modified Paths:
--------------
trunk/src/changes/changes.xml
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2006-12-25 22:50:40 UTC (rev 526)
+++ trunk/src/changes/changes.xml 2006-12-25 22:52:04 UTC (rev 527)
@@ -11,9 +11,9 @@
<action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
<action dev="felipeal" type="add">Migrate SCM to Subversion</action>
<action dev="felipeal" type="fix" issue="1494257" due-to="Bas Cancrinus">Support for MySQL 5.0 boolean datatype</action>
- <action dev="felipeal" type="add" issue="1482990">Added <code>pom.xml</code> so it can be built by <code>Maven 2</code>.</action>
- <action dev="felipeal" type="add"><code>XmlDataSetWriter</code> now has a flag to include column's name as comment.</action>
- <action dev="felipeal" type="add" issue="1273949">Added <code>org.dbunit.util.search</code> and <code>org.dbunit.database.search</code> packages, whose classes can be used to search tables depedencies for a given table.</action>
+ <action dev="felipeal" type="add" issue="1482990">Added pom.xml so it can be built by Maven 2.</action>
+ <action dev="felipeal" type="add">XmlDataSetWriter now has a flag to include column's name as comment.</action>
+ <action dev="felipeal" type="add" issue="1273949">Added org.dbunit.util.search and org.dbunit.database.search packages, whose classes can be used to search tables depedencies for a given table.</action>
<action dev="dep4b" due-to="John Lewis" type="add" issue="1264212">Add "transaction" attribute to ant tasks to wrap operations in a single transaction. Can make operations faster.</action>
<action dev="dep4b" due-to="Jeremy Frens" type="fix">Typo in howto example</action>
<action dev="dep4b" due-to="Cris Daniluk" type="add">Properly support writing NCLOBs to Oracle</action>
@@ -110,46 +110,46 @@
Flat XML dataset validation.
</action>
<action dev="" type="add">
- New <code>ITableIterator</code> interface used to iterate thru dataset tables. Allows lazy tables initialization for some dataset implementations. The <code>IDataSet.getTables</code> method have been deprecated and usage should be avoided.
+ New ITableIterator interface used to iterate thru dataset tables. Allows lazy tables initialization for some dataset implementations. The IDataSet.getTables method have been deprecated and usage should be avoided.
</action>
<action dev="" type="update">
- Global System properties are not supported anymore. You must now use the new <code>DatabaseConfig</code> object to alter DbUnit behaviours.
+ Global System properties are not supported anymore. You must now use the new DatabaseConfig object to alter DbUnit behaviours.
</action>
<action dev="" type="add">
Configurable data type factory to easily integrates new data types with the DbUnit core. Factory implementations available for some database vendors. Submit your own!
</action>
<action dev="" type="add">
- Oracle TIMESTAMP data type support via the <code>OracleDataTypeFactory</code>.
+ Oracle TIMESTAMP data type support via the OracleDataTypeFactory.
</action>
<action dev="" type="fix">
- Fix truncated Oracle DATE. Must use the <code>OracleDataTypeFactory</code>.
+ Fix truncated Oracle DATE. Must use the OracleDataTypeFactory.
</action>
<action dev="" type="fix">
- Fix for Oracle CLOB greater than 4000 bytes. Must use the <code>OracleDataTypeFactory</code>.
+ Fix for Oracle CLOB greater than 4000 bytes. Must use the OracleDataTypeFactory.
</action>
<action dev="" type="add">
- MySQL 'longtext' data type support via the <code>MySqlDataTypeFactory</code>.
+ MySQL 'longtext' data type support via the MySqlDataTypeFactory.
</action>
<action dev="" type="add">
- DB2 XML data types support via the <code>Db2DataTypeFactory</code>.
+ DB2 XML data types support via the Db2DataTypeFactory.
</action>
<action dev="" type="add">
Database views support.
</action>
<action dev="" type="add">
- New pluggable filter strategies for <code>DataSetFilter</code>. You can now exclude/include tables using wildcard patterns.
+ New pluggable filter strategies for DataSetFilter. You can now exclude/include tables using wildcard patterns.
</action>
<action dev="" type="add">
- Ability to sort tables by their dependencies with the new <code>DatabaseSequenceFilter</code> strategy.
+ Ability to sort tables by their dependencies with the new DatabaseSequenceFilter strategy.
</action>
<action dev="" type="add">
- New <code>ReplacementDataSet</code> decorator, which can replace decorated dataset values on the fly. Can be used with flat XML dataset as a new way to specify null values.
+ New ReplacementDataSet decorator, which can replace decorated dataset values on the fly. Can be used with flat XML dataset as a new way to specify null values.
</action>
<action dev="" type="add">
- New <code>XlsDataSet</code>. An MS Excel dataset implementation. Uses the Jakarta POI package.
+ New XlsDataSet. An MS Excel dataset implementation. Uses the Jakarta POI package.
</action>
<action dev="" type="update">
- <code>Assertion.assertEquals</code> is now performing typed comparison instead of string representation comparison.
+ Assertion.assertEquals is now performing typed comparison instead of string representation comparison.
</action>
<action dev="" type="update">
INSERT, CLEAN_INSERT and REFRESH operations do not override database default values anymore with null values. Null values are now omitted from insert statements. Operations use multiple prepared statements for the same table, when null values vary from row to row.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-25 22:50:41
|
Revision: 526
http://svn.sourceforge.net/dbunit/?rev=526&view=rev
Author: felipeal
Date: 2006-12-25 14:50:40 -0800 (Mon, 25 Dec 2006)
Log Message:
-----------
1482990: minor fixes
Modified Paths:
--------------
trunk/pom.xml
trunk/src/site/apt/building.apt
trunk/src/site/fml/faq.fml
trunk/src/site/site.xml
trunk/src/site/xdoc/components.xml
trunk/src/site/xdoc/howto.xml
trunk/src/site/xdoc/index.xml
trunk/src/site/xdoc/properties.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-25 22:49:47 UTC (rev 525)
+++ trunk/pom.xml 2006-12-25 22:50:40 UTC (rev 526)
@@ -51,12 +51,20 @@
<archive>http://sourceforge.net/mailarchive/forum.php?forum_id=9162</archive>
</mailingList>
<mailingList>
- <name>DbUnit CVS Commit List</name>
+ <name>DbUnit SVN Commit List</name>
<subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</subscribe>
<unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</unsubscribe>
<archive>http://sourceforge.net/mailarchive/forum.php?forum_id=9771</archive>
</mailingList>
</mailingLists>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>snapshots</id>
+ <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+ </pluginRepository>
+ </pluginRepositories>
+
<!-- who the developers are for the project -->
<developers>
@@ -229,7 +237,7 @@
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
-<!-- TODO: update -->
+<!-- TODO: update or use range-->
<version>1.0.4</version>
</dependency>
@@ -375,20 +383,20 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
+<!-- disabled for now, as reports show 100% coverage - see
+http://www.dbunit.org/cobertura/index.html
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
-<!-- TODO: remove
- <version>2.0-SNAPSHOT</version>
+ </plugin>
-->
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>changelog-maven-plugin</artifactId>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changelog-plugin</artifactId>
</plugin>
</plugins>
</reporting>
Modified: trunk/src/site/apt/building.apt
===================================================================
--- trunk/src/site/apt/building.apt 2006-12-25 22:49:47 UTC (rev 525)
+++ trunk/src/site/apt/building.apt 2006-12-25 22:50:40 UTC (rev 526)
@@ -1 +1,64 @@
-coming soon...
+ ----
+Building DbUnit
+ ----
+Felipe Leme
+ ----
+23 December 2006
+
+Overview
+
+ Building DbUnit is quite simple; all you need is JDK 1.4+, Subversion and Maven 2. Once you have them all, you can build DbUnit by just typing mvn! Anyway, the items below describe every step
+
+Preparation
+
+ * 1.Install Java SE SDK version 1.4 (link)or newer (although DbUnit is Java 1.3 compatible, Maven 2 requires 1.4)
+ * 2.Install Maven 2 (link)
+ * 3.Download DbUnit code, either current (link) or released (link) source
+ * 4.On the root directory, simply type <code>mvn</code> in the command line (if you need to clean up the binaries, run <code>mvn clean install</code> instead). The jar file will be generated in the target directory.
+
+
+Creating the site
+
+ Run <code>mvn site:site</code> in the command line; the site will be available on <code>target/site/index.html</code>. Note that you might get an OutOfMemoryExceptionError; if that happens, you must increase the heap size through the MAVEN_OPTS variable (for instance, on Unix systems you could run <code>MAVEN_OPTS=-mx512M mvn site:site</code>).
+
+Using an IDE
+
+ As DbUnit uses Maven, it's not necessary to store IDE-specific information in the source repository. Instead, these meta-data can be dynamically generate by Maven. For instance, to create an Eclipse project, it's just a matter of typing <code>mvn eclipse:eclipe</code>. See more details on (link)Maven Eclipse Plugin, Mevenide for NetBeans, Maven IDEA plugin
+
+
+Contributing patches
+
+ If you are building DbUnit in order to contribute a patch, it's necessary to compile it using Java SE 1.3, which takes 3 adittional steps:
+
+1.Create an environment variable called JAVA_1_3_HOME pointing to the root of the Java 1.3 installation
+2.Download JDBC xxx (link)
+3.Run the command <code>mvn install:install-file -DgroupId=javax.sql -DartifactId=jdbc-stdext -Dversion=2.0 -Dpackaging=jar -Dfile=_path_to_the_jdbc_2_0_stdext_jar_</code>
+4.Run Maven using the <code>official</code> profile, i.e., <code>mvn -Pofficial clean install</code>. You should also generate the IDE meta-data using this profiling (for instance, <code>mvn -Pofficial eclipse:eclipse), and configure your IDE to use Java 1.3 for that project
+5.Once you finish your modifications, run <code>svn diff > name_of_the_patch_file</code> (or use your IDE) to generate a patch file and submit it on the web site (link). Don't forget to include test cases!
+
+Maintenance tasks
+
+ The tasks described below describes how to maintain DbUnit
+
+Updating the repository and site
+
+ Once new code is incorporated in the SVN code, it is necessary to update the Maven 2 repository with new snapshots and also update the site. These 2 tasks can be done with a simple command:
+
+mvn -Pofficial clean site:site source:jar javadoc:jar deploy site:deploy
+
+Cutting a release
+
+ Cutting a release requires 4 steps: create a SVN tag, generate the artifacts, update the site and upload the artifacts into SourceForge.
+
+ Fortunatelly, the first 3 steps can be achieve using Maven Release Plugin, as follow:
+
+ The final step must be done manually, logging in SourceForge and uploading the following files:
+
+XXX
+
+It is also nice to send a message to the mailing lists; ideally that should be done automatically, as the maven-announcement-plugin did for Maven 1.
+
+
+Fixing a bug/request
+
+ Everytinme a bug is fixed (or request is implemented), it is necesary to update the src/site/changes.xml file.
Modified: trunk/src/site/fml/faq.fml
===================================================================
(Binary files differ)
Modified: trunk/src/site/site.xml
===================================================================
--- trunk/src/site/site.xml 2006-12-25 22:49:47 UTC (rev 525)
+++ trunk/src/site/site.xml 2006-12-25 22:50:40 UTC (rev 526)
@@ -2,20 +2,16 @@
<project name="DbUnit">
<body>
- <links>
- <!--
- Removed until it can be fixed
- item name="Wiki" href="http://www.dbunit.org/wiki/"/-->
- <item name="SF.net Project Page" href="http://www.sf.net/projects/dbunit"/>
- <item name="Maven Plugin" href="http://maven-plugins.sourceforge.net/maven-dbunit-plugin/index.html"/>
- </links>
<menu name="Quick Links">
+ <item name="Maven 1.x Plugin" href="http://maven-plugins.sourceforge.net/maven-dbunit-plugin/index.html"/>
<item name="Download" href="http://sourceforge.net/project/showfiles.php?group_id=47439&release_id=242511"/>
<item name="Changes" href="/changes-report.html"/>
<item name="FAQ" href="/faq.html"/>
+ <item name="Wiki" href="/cgi-bin/wiki.pl"/>
<item name="Get Support" href="http://sourceforge.net/support/getsupport.php?group_id=47439"/>
- <item name="Source" href="/cvs-usage.html"/>
- <item name="JavaDocs" href="apidocs/index.html"/>
+ <item name="Get source" href="/source-repository.html"/>
+ <item name="Browse source" href="/jxr-report.html"/>
+ <item name="JavaDocs" href="/apidocs/index.html"/>
</menu>
<menu name="Overview">
<item name="About DbUnit" href="/index.html"/>
@@ -28,5 +24,6 @@
<item name="Building DbUnit" href="/building.html"/>
<item name="Resources" href="/resources.html"/>
</menu>
+ ${reports}
</body>
</project>
Modified: trunk/src/site/xdoc/components.xml
===================================================================
--- trunk/src/site/xdoc/components.xml 2006-12-25 22:49:47 UTC (rev 525)
+++ trunk/src/site/xdoc/components.xml 2006-12-25 22:50:40 UTC (rev 526)
@@ -91,7 +91,7 @@
<td><a name="xmldataset" href="apidocs/org/dbunit/dataset/xml/XmlDataSet.html">XmlDataSet</a></td>
<td>
Reads and writes original XML dataset document. This format
- is very verbiose and must conform to the following DTD:
+ is very verbose and must conform to the following DTD:
<source><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT dataset (table+)>
@@ -210,7 +210,7 @@
independent and should work with any JDBC driver that implement the
<code>DatabaseMetaData.getExportedKeys()</code> method.
<br/>
- Support simple multilevel dependency like this:
+ Support simple multi-level dependency like this:
<source>
A
/ \
@@ -335,4 +335,4 @@
</tr>
</table>
- </section></body></document>
\ No newline at end of file
+ </section></body></document>
Modified: trunk/src/site/xdoc/howto.xml
===================================================================
--- trunk/src/site/xdoc/howto.xml 2006-12-25 22:49:47 UTC (rev 525)
+++ trunk/src/site/xdoc/howto.xml 2006-12-25 22:50:40 UTC (rev 526)
@@ -283,7 +283,7 @@
document walks you through a suggested format for storing tests.
</p>
<h4>Step 1: Create your dataset file</h4>
- <p>Your first step is to create your dataset file that you wan to load into
+ <p>Your first step is to create your dataset file that you want to load into
your database before running your WebTest script. Use one of the various
methods <a href="#createdataset">described above</a>. Put the various datasets you need in a <code>/data</code>
directory.</p>
Modified: trunk/src/site/xdoc/index.xml
===================================================================
--- trunk/src/site/xdoc/index.xml 2006-12-25 22:49:47 UTC (rev 525)
+++ trunk/src/site/xdoc/index.xml 2006-12-25 22:50:40 UTC (rev 526)
@@ -25,6 +25,10 @@
<section name="News">
<table border="1">
<tr>
+ <td>2006-12-20</td>
+ <td><a href="http://www.dbunit.org/cgi-bin/wiki.pl">Wiki</a> is back!. </td>
+ </tr>
+ <tr>
<td>2006-05-28</td>
<td>Build has been ported to <a href="http://maven.apache.org">Maven 2</a> and snapshots for the 2.2 release are available in the <a href="http://dbunit.sourceforge.net/repo/snapshots/">repository</a>. </td>
</tr>
Modified: trunk/src/site/xdoc/properties.xml
===================================================================
--- trunk/src/site/xdoc/properties.xml 2006-12-25 22:49:47 UTC (rev 525)
+++ trunk/src/site/xdoc/properties.xml 2006-12-25 22:50:40 UTC (rev 526)
@@ -9,7 +9,7 @@
<code>getProperty</code>, and <code>setProperty</code> methods
of <code>DatabaseConfig</code>. </p>
<p>While feature flags are always boolean, property values are arbitrary objects. </p>
- <p>The Following sample displays the <code>batched statement</code> feature status:
+ <p>The following sample displays the <code>batched statement</code> feature status:
<source><![CDATA[ String id = "http://www.dbunit.org/features/batchedStatements";
DatabaseConfig config = connection.getConfig();
if (config.getFeature(id))
@@ -213,4 +213,4 @@
org.dbunit.dataset.filter.IColumnFilter.</td>
</tr>
</table>
-</section></body></document>
\ No newline at end of file
+</section></body></document>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-25 22:49:49
|
Revision: 525
http://svn.sourceforge.net/dbunit/?rev=525&view=rev
Author: felipeal
Date: 2006-12-25 14:49:47 -0800 (Mon, 25 Dec 2006)
Log Message:
-----------
1482990: fixed changes.xml location
Removed Paths:
-------------
trunk/src/site/xdoc/changes.xml
Deleted: trunk/src/site/xdoc/changes.xml
===================================================================
--- trunk/src/site/xdoc/changes.xml 2006-12-25 22:49:24 UTC (rev 524)
+++ trunk/src/site/xdoc/changes.xml 2006-12-25 22:49:47 UTC (rev 525)
@@ -1,385 +0,0 @@
-<?xml version="1.0"?>
-<document>
- <properties>
- <title>Changes</title>
- <author email="ep...@up...">Eric Pugh</author>
- <author email="mla...@us...">Manuel Laflamme</author>
- </properties>
-
- <body>
- <release version="2.2" date="IN CVS" description="">
- <action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
- <action dev="felipeal" type="add">Migrate SCM to Subversion</action>
- <action dev="felipeal" type="fix" issue="1494257" due-to="Bas Cancrinus">Support for MySQL 5.0 boolean datatype</action>
- <action dev="felipeal" type="add" issue="1482990">Added <code>pom.xml</code> so it can be built by <code>Maven 2</code>.</action>
- <action dev="felipeal" type="add"><code>XmlDataSetWriter</code> now has a flag to include column's name as comment.</action>
- <action dev="felipeal" type="add" issue="1273949">Added <code>org.dbunit.util.search</code> and <code>org.dbunit.database.search</code> packages, whose classes can be used to search tables depedencies for a given table.</action>
- <action dev="dep4b" due-to="John Lewis" type="add" issue="1264212">Add "transaction" attribute to ant tasks to wrap operations in a single transaction. Can make operations faster.</action>
- <action dev="dep4b" due-to="Jeremy Frens" type="fix">Typo in howto example</action>
- <action dev="dep4b" due-to="Cris Daniluk" type="add">Properly support writing NCLOBs to Oracle</action>
- <action dev="dep4b" type="add" due-to="Dion Gillard" issue="1114490">Support CSV files from a URL (e.g. jar file) + CSV fixes</action>
- <action dev="dep4b" type="fix">Fix the driver in classpath/driver not in classpath to always work regardless of configured driver.</action>
- <action dev="dep4b" type="fix" due-to="Dion Gillard" issue="1114487">Typo in test class AbstractDataSetTest</action>
- <action dev="dep4b" type="add" due-to="Klas Axell">new HsqldbDataTypeFactory for working with booleans in HsqlDB.</action>
- </release>
- <release version="2.1" date="May 31, 2004" description="Multiple bugfixes and enhancements.">
- <action dev="" type="add">
- 741394 - New database compare Ant tag. See Ant task documentation.
- </action>
- <action dev="fspinazzi" type="add">
- New Comma Separated Values (CSV) dataset implementation.
- </action>
- <action dev="" type="add">
- 824328 & 948479 - Ability to add DOCTYPE declaration when writing a flat Xml dataset. See FAQ.
- </action>
- <action dev="" type="add">
- 884422 - FlatDtdWriter has now the ability to generate DTDs with choice model instead of sequence model.
- </action>
- <action dev="" type="add">
- Ability to import external file for binary data types like BLOB; the value can be either a qualified URL or a file path name.
- </action>
- <action dev="" type="update">
- Do not omit NULL values anymore in INSERT statements. Now only XmlDataSet's <none/> tag are omitted. With FlatXmlDataSet you must use the ReplacementDataSet to achieve the same behavior.
- </action>
- <action dev="" type="fix">
- 937732 - XlsDataSet now use UTF-16 encoding to support Asian characters. Patch submitted by Shuhei Kondo.
- </action>
- <action dev="" type="fix">
- Applied XlsTable empty table detection patch submitted by Deepak Kaimal.
- </action>
- <action dev="" type="fix">
- Added back FlatXmlDataSet constructors taking URL as argument missing in version 2.0.
- </action>
- <action dev="" type="fix">
- 918631 & 925585 - Fixed FlatXmlDataSet constructors taking InputStream/Reader for loading DTD.
- </action>
- <action dev="" type="fix">
- DELETE_ALL operation now deletes tables only *once* in reverse order they are encountered. Before, duplicate tables were resulting in multiple deletes. Patch submitted by John Hurst.
- </action>
- <action dev="" type="update">
- DELETE_ALL operation now compatible with StreamingDataSet.
- </action>
- <action dev="" type="fix">
- 947330 - Now closing ResultSet before Statement to fix exceptions thrown by the Firebird JDBC driver and the OpenBase 8.0 JDBC driver.
- </action>
- <action dev="" type="fix">
- 921869 - Fixed ParameterIndexOutOfBoundsException with InterBase.
- </action>
- <action dev="" type="update">
- 947809 - Moved createMetaData() static method from AbstractResultSet to DatabaseTableMetaData and made it public. Can now be used to create ITable from a ResultSet.
- </action>
- <action dev="" type="fix">
- Support for large Oracle BLOB. Must use OracleDataTypeFactory.
- </action>
- <action dev="" type="add">
- Oracle LONG RAW data type support via OracleDataTypeFactory. Original patch submitted by Markus Muller.
- </action>
- <action dev="" type="fix">
- Added back support for Oracle FLOAT missing in DbUnit 2.0. Must use OracleDataTypeFactory.
- </action>
- <action dev="" type="add">
- Support for Oracle NCHAR2 as proposed by Deepak Kaimal. Must use OracleDataTypeFactory.
- </action>
- <action dev="" type="update">
- Added DataType.isDateTime() method proposed by Ayman Mahfouz.
- </action>
- <action dev="" type="add">
- 726366 & 884422 - Added IColumnFilter interface. Can be used to filter out some table columns. See FAQ.
- </action>
- <action dev="" type="update">
- Renamed ITableFilter.isValidName() method to accept() to be consistent with the new IColumnFilter interface.
- </action>
- <action dev="" type="add">
- 955354 - Ability to determine the primary keys with IColumnFilter interface instead of DatabaseMetaData.getPrimaryKeys(). Primary keys sequence is not predictable when using filter. See FAQ.
- </action>
- <action dev="" type="add">
- Ability to plug custom IDENTITY column detection strategy for InsertIdentityOperation when using user defined types. See FAQ.
- </action>
- <action dev="" type="add">
- Added DefaultTableFilter class, which combines capability of the Include/ExcludeTableFilter classes.
- </action>
- </release>
- <release version="2.0" date="January 22, 2004" description="Major release.">
- <action dev="" type="update">
- Mavenized the build and the website!
- </action>
- <action dev="" type="update">
- Now use SAX2 instead of Electric XML DOM parser. Streamed mode allows importing and exporting very large XML datasets with minimal memory consumption.
- </action>
- <action dev="" type="add">
- Flat XML dataset validation.
- </action>
- <action dev="" type="add">
- New <code>ITableIterator</code> interface used to iterate thru dataset tables. Allows lazy tables initialization for some dataset implementations. The <code>IDataSet.getTables</code> method have been deprecated and usage should be avoided.
- </action>
- <action dev="" type="update">
- Global System properties are not supported anymore. You must now use the new <code>DatabaseConfig</code> object to alter DbUnit behaviours.
- </action>
- <action dev="" type="add">
- Configurable data type factory to easily integrates new data types with the DbUnit core. Factory implementations available for some database vendors. Submit your own!
- </action>
- <action dev="" type="add">
- Oracle TIMESTAMP data type support via the <code>OracleDataTypeFactory</code>.
- </action>
- <action dev="" type="fix">
- Fix truncated Oracle DATE. Must use the <code>OracleDataTypeFactory</code>.
- </action>
- <action dev="" type="fix">
- Fix for Oracle CLOB greater than 4000 bytes. Must use the <code>OracleDataTypeFactory</code>.
- </action>
- <action dev="" type="add">
- MySQL 'longtext' data type support via the <code>MySqlDataTypeFactory</code>.
- </action>
- <action dev="" type="add">
- DB2 XML data types support via the <code>Db2DataTypeFactory</code>.
- </action>
- <action dev="" type="add">
- Database views support.
- </action>
- <action dev="" type="add">
- New pluggable filter strategies for <code>DataSetFilter</code>. You can now exclude/include tables using wildcard patterns.
- </action>
- <action dev="" type="add">
- Ability to sort tables by their dependencies with the new <code>DatabaseSequenceFilter</code> strategy.
- </action>
- <action dev="" type="add">
- New <code>ReplacementDataSet</code> decorator, which can replace decorated dataset values on the fly. Can be used with flat XML dataset as a new way to specify null values.
- </action>
- <action dev="" type="add">
- New <code>XlsDataSet</code>. An MS Excel dataset implementation. Uses the Jakarta POI package.
- </action>
- <action dev="" type="update">
- <code>Assertion.assertEquals</code> is now performing typed comparison instead of string representation comparison.
- </action>
- <action dev="" type="update">
- INSERT, CLEAN_INSERT and REFRESH operations do not override database default values anymore with null values. Null values are now omitted from insert statements. Operations use multiple prepared statements for the same table, when null values vary from row to row.
- </action>
- <action dev="" type="update">
- Moved InsertIdentityOperation to "org.dbunit.ext.mssql" package to be consistent with other vendor extensions. Temporary keep a deprecated copy in "org.dbunit.operation.mssqlserver" to ease transition to DbUnit 2.
- </action>
- </release>
-
- <release version="1.5.6" date="October 5, 2003">
- <action dev="" type="fix">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=786543&group_id=47439&atid=449491">786543</a> - NULL primitive values incorrectly returned as zero (0).
- </action>
- <action dev="" type="fix">
- Fix Oracle CLOB values incorrectly returned as NULL. </action>
- </release>
- <release version="1.5.5" date="July 16, 2003">
- <action dev="" type="update">
- DatabaseDataSet improvements: faster access to metadata cache and keep original database table ordering.
- </action>
- <action dev="" type="update">
- Better handling of the various data types in general. <B>WARNING!</B> New abstract methods have been
- added to the DataType class. This change may break your environment if you have implemented your
- own data types.
- </action>
- <action dev="" type="update">
- More efficient XmlDataSet writing. Now put values in CData block only when necessary.
- </action>
- <action dev="" type="update">
- Do not enable batched statement by default anymore. Many JDBC drivers have problems with this feature.
- </action>
- <action dev="" type="fix">
- Fixed table name issue with case sensitive database.
- </action>
- <action dev="" type="fix">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=615636&group_id=47439&atid=449491">615636</a> & <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=735095&group_id=47439&atid=449491">735095</a>
- - Incorrect XML encoding. Better handling of the XML encoding while writing and reading XML datasets. InputStream and OutputStream methods in XML dataset implementations are no more deprecated.
- </action>
- <action dev="" type="fix">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=736439&group_id=47439&atid=449491">736439</a>
- - Problems with InsertOperation and triggers.
- </action>
- <action dev="" type="fix">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=736967&group_id=47439&atid=449491">736967</a>
- - Wrong scale for numeric value with the jConnect driver for Sybase ASE.
- </action>
- </release>
- <release version="1.5.1" date="April 4, 2003">
- <action dev="" type="fix">
- Fixed DELETE operation that was not deleting tables in reverse order
- as expected.
- </action>
- <action dev="" type="fix">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=712329&group_id=47439&atid=449491">712329</a>
- - setObject fails on BEA JDriver for MS-SQL.
- </action>
-
- <action dev="" type="update">
- DbUnitTask DTD export optimization.
- </action>
- <action dev="" type="update">
- REFRESH operation optimization.
- </action>
- </release>
- <release version="1.5" date="March 1, 2003">
- <action dev="" type="fix">
- Multiple bugfixes.
- </action>
- <action dev="" type="add">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=533321&group_id=47439&atid=449491">533321</a>
- - DbUnit is now case insensitive.
- </action>
- <action dev="" type="add">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=555455&group_id=47439&atid=449491">555455</a>
- - Supports table names escaping (see <a href="properties.html#escapepattern">escapePattern
- property</a>).
- </action>
- <action dev="" type="add">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=551925&group_id=47439&atid=449494">551925</a>
- - Allows duplicate table names in datasets. A new method, <a class="code">getTables()</a>,
- have been added in the <a class="code">IDataSet</a> interface.
- </action>
- <action dev="" type="add">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=684610&group_id=47439&atid=449494">590245</a>
- & <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=590245&group_id=47439&atid=449494">684610</a>
- - New <a class="code">Reader</a> and <a class="code">Writers</a> methods
- to read and write XML datasets. <a class="code">InputStream</a> and
- <a class="code">OutputStream</a> methods are now deprecated.
- </action>
- <action dev="" type="add">
- New <a class="code">SortedTable</a> and <a class="code">SortedDataSet</a>
- decorator classes.
- </action>
- <action dev="" type="add">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=645691&group_id=47439&atid=449491">645691</a>
- - Added the <a class="code"><classpath></a> nested element in
- <a class="code"> DbUnitTask</a> ant task; used to load the JDBC classes.
- </action>
- <action dev="" type="add">
- Added <a class="code"><query></a> nested element in <a class="code">DbUnitTask
- <export></a>. Allows exporting the result of a SELECT as a table
- of a dataset. See <a href="anttask.html">ant task documentation</a>.
- </action>
- <action dev="" type="add">
- New <a href="http://webtest.canoo.com/">Canoo Webtest</a> integration
- <a href="howto.html#canoo">guide</a>.
-
- </action>
-
- </release>
-
- <release version="1.4" date="July 17, 2002">
- <action dev="" type="add">
- <strong><em>DbUnitTask</em></strong> for Ant contributed by Timothy
- Ruppert and Ben Cox.
- </action>
- <action dev="" type="update">
- Moved the Base64 class to the <a class="code">org.dbunit.util</a>
- package because Visual Age for Java is not able to handle classes located
- in the default package.
- </action>
- <action dev="" type="update">
- Added system properties documentation.
- </action>
- <action dev="" type="update">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=542034&group_id=47439&atid=449494">542034</a>
- - Detect ambiguous table names.
- </action>
- <action dev="" type="add">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=542462&group_id=47439&atid=449494">542462</a>
- - Added a system property to disable usage of batch statement even
- if the target database support it..
- </action>
- <action dev="" type="update">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=545238&group_id=47439&atid=449494">545238</a>
- - Sort tables prior to comparing them. DbUnit now generates an ORDER
- BY clause in the select statement used by <a class="code">DatabaseDataSet.getTable()</a>.
- Rows are sorted by primary keys.
- </action>
- <action dev="" type="update">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=554249&group_id=47439&atid=449494">554249</a>
- - None column values.
- </action>
- <action dev="" type="add">
- Added support for BLOB and CLOB data types.
- </action>
- </release>
-
- <release version="1.3" date="April 4, 2002">
- <action dev="" type="add">
- Added support for binary data types: BINARY, VARBINARY and LONGVARBINARY.
- Binary data is persisted in xml datasets using the base64 encoding scheme.
- </action>
- <action dev="" type="update">
- Deprecated the DataSetUtils.assertEquals() methods. You should now
- use Assertion.assertEquals().
- </action>
- <action dev="" type="fix">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=533537&group_id=47439&atid=449491">533537</a>
- - FlatXmlDataSet and null values.
- </action>
- <action dev="" type="fix">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=534757&group_id=47439&atid=449491">533537</a>
- - Problem with single quotes.
- </action>
- <action dev="" type="fix">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=534810&group_id=47439&atid=449491">534810</a>
- - Problem when primary key include all columns
- </action>
- </release>
-
- <release version="1.2.4" date="March 19, 2002">
- <action dev="" type="add">
- Added support for multiple schemas per connection. See <a href="faq.html#multipleschema">FAQ
- </a> document.
- </action>
- <action dev="" type="remove">
- Removed element <none/> from dataset.dtd. This feature was incompatible
- with future support for the binary data types.
- </action>
- <action dev="" type="fix">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=530998&group_id=47439&atid=449491">530998</a>
- - DataSetUtils.AssertEquals(ITable table, ITable table).
- </action>
- <action dev="" type="fix">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=533540&group_id=47439&atid=449491">533540</a>
- - Problem with DATE, TIME and TIMESTAMP.
- </action>
- </release>
-
- <release version="1.2" date="March 15, 2002">
- <action dev="" type="add">
- Added the flat XML dataset format. See the <a href="components.html#FlatXmlDataSet">FlatXmlDataSet</a>
- in Core Components document.
- </action>
- <action dev="" type="add">
- Added database data verification feature. See <a href="howto.html#assertdata">Getting Started</a> document.
- </action>
- <action dev="" type="update">
- Updated Electric XML parser to version 3.2.
- </action>
- </release>
-
- <release version="1.1" date="March 10, 2002">
- <action dev="" type="update">
- Connections are now closed in each setUp() and tearDown(). You
- must override the DatabaseTestCase.closeConnection() and provide
- an empty body to modify this behavior. This is not recommended to bypass connection close if
- you use connection pooling.
- </action>
- <action dev="" type="add">
- Added the IDatabaseConnection interface.
- </action>
- <action dev="" type="add">
- Added the DatabaseDataSourceConnection class. This class provides
- support for accessing JDBC connections from a DataSource. JDBC connections
- are requested on demand from the DataSource.
- </action>
- <action dev="" type="update">
- Multiple performance improvement.
- </action>
- <action dev="" type="fix">
- <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=526235&group_id=47439&atid=449491">526235</a>
- - Cannot export tables with JDBC-ODBC bridge and MS-SQL.
- </action>
- </release>
-
- <release version="1.0" date="Febuary 27, 2002" description="Initial public release.">
- </release>
-
- </body>
-</document>
-
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-25 22:49:27
|
Revision: 524
http://svn.sourceforge.net/dbunit/?rev=524&view=rev
Author: felipeal
Date: 2006-12-25 14:49:24 -0800 (Mon, 25 Dec 2006)
Log Message:
-----------
1482990: fixed changes.xml location
Added Paths:
-----------
trunk/src/changes/
trunk/src/changes/changes.xml
Added: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml (rev 0)
+++ trunk/src/changes/changes.xml 2006-12-25 22:49:24 UTC (rev 524)
@@ -0,0 +1,385 @@
+<?xml version="1.0"?>
+<document>
+ <properties>
+ <title>Changes</title>
+ <author email="ep...@up...">Eric Pugh</author>
+ <author email="mla...@us...">Manuel Laflamme</author>
+ </properties>
+
+ <body>
+ <release version="2.2" date="IN CVS" description="">
+ <action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
+ <action dev="felipeal" type="add">Migrate SCM to Subversion</action>
+ <action dev="felipeal" type="fix" issue="1494257" due-to="Bas Cancrinus">Support for MySQL 5.0 boolean datatype</action>
+ <action dev="felipeal" type="add" issue="1482990">Added <code>pom.xml</code> so it can be built by <code>Maven 2</code>.</action>
+ <action dev="felipeal" type="add"><code>XmlDataSetWriter</code> now has a flag to include column's name as comment.</action>
+ <action dev="felipeal" type="add" issue="1273949">Added <code>org.dbunit.util.search</code> and <code>org.dbunit.database.search</code> packages, whose classes can be used to search tables depedencies for a given table.</action>
+ <action dev="dep4b" due-to="John Lewis" type="add" issue="1264212">Add "transaction" attribute to ant tasks to wrap operations in a single transaction. Can make operations faster.</action>
+ <action dev="dep4b" due-to="Jeremy Frens" type="fix">Typo in howto example</action>
+ <action dev="dep4b" due-to="Cris Daniluk" type="add">Properly support writing NCLOBs to Oracle</action>
+ <action dev="dep4b" type="add" due-to="Dion Gillard" issue="1114490">Support CSV files from a URL (e.g. jar file) + CSV fixes</action>
+ <action dev="dep4b" type="fix">Fix the driver in classpath/driver not in classpath to always work regardless of configured driver.</action>
+ <action dev="dep4b" type="fix" due-to="Dion Gillard" issue="1114487">Typo in test class AbstractDataSetTest</action>
+ <action dev="dep4b" type="add" due-to="Klas Axell">new HsqldbDataTypeFactory for working with booleans in HsqlDB.</action>
+ </release>
+ <release version="2.1" date="May 31, 2004" description="Multiple bugfixes and enhancements.">
+ <action dev="" type="add">
+ 741394 - New database compare Ant tag. See Ant task documentation.
+ </action>
+ <action dev="fspinazzi" type="add">
+ New Comma Separated Values (CSV) dataset implementation.
+ </action>
+ <action dev="" type="add">
+ 824328 & 948479 - Ability to add DOCTYPE declaration when writing a flat Xml dataset. See FAQ.
+ </action>
+ <action dev="" type="add">
+ 884422 - FlatDtdWriter has now the ability to generate DTDs with choice model instead of sequence model.
+ </action>
+ <action dev="" type="add">
+ Ability to import external file for binary data types like BLOB; the value can be either a qualified URL or a file path name.
+ </action>
+ <action dev="" type="update">
+ Do not omit NULL values anymore in INSERT statements. Now only XmlDataSet's <none/> tag are omitted. With FlatXmlDataSet you must use the ReplacementDataSet to achieve the same behavior.
+ </action>
+ <action dev="" type="fix">
+ 937732 - XlsDataSet now use UTF-16 encoding to support Asian characters. Patch submitted by Shuhei Kondo.
+ </action>
+ <action dev="" type="fix">
+ Applied XlsTable empty table detection patch submitted by Deepak Kaimal.
+ </action>
+ <action dev="" type="fix">
+ Added back FlatXmlDataSet constructors taking URL as argument missing in version 2.0.
+ </action>
+ <action dev="" type="fix">
+ 918631 & 925585 - Fixed FlatXmlDataSet constructors taking InputStream/Reader for loading DTD.
+ </action>
+ <action dev="" type="fix">
+ DELETE_ALL operation now deletes tables only *once* in reverse order they are encountered. Before, duplicate tables were resulting in multiple deletes. Patch submitted by John Hurst.
+ </action>
+ <action dev="" type="update">
+ DELETE_ALL operation now compatible with StreamingDataSet.
+ </action>
+ <action dev="" type="fix">
+ 947330 - Now closing ResultSet before Statement to fix exceptions thrown by the Firebird JDBC driver and the OpenBase 8.0 JDBC driver.
+ </action>
+ <action dev="" type="fix">
+ 921869 - Fixed ParameterIndexOutOfBoundsException with InterBase.
+ </action>
+ <action dev="" type="update">
+ 947809 - Moved createMetaData() static method from AbstractResultSet to DatabaseTableMetaData and made it public. Can now be used to create ITable from a ResultSet.
+ </action>
+ <action dev="" type="fix">
+ Support for large Oracle BLOB. Must use OracleDataTypeFactory.
+ </action>
+ <action dev="" type="add">
+ Oracle LONG RAW data type support via OracleDataTypeFactory. Original patch submitted by Markus Muller.
+ </action>
+ <action dev="" type="fix">
+ Added back support for Oracle FLOAT missing in DbUnit 2.0. Must use OracleDataTypeFactory.
+ </action>
+ <action dev="" type="add">
+ Support for Oracle NCHAR2 as proposed by Deepak Kaimal. Must use OracleDataTypeFactory.
+ </action>
+ <action dev="" type="update">
+ Added DataType.isDateTime() method proposed by Ayman Mahfouz.
+ </action>
+ <action dev="" type="add">
+ 726366 & 884422 - Added IColumnFilter interface. Can be used to filter out some table columns. See FAQ.
+ </action>
+ <action dev="" type="update">
+ Renamed ITableFilter.isValidName() method to accept() to be consistent with the new IColumnFilter interface.
+ </action>
+ <action dev="" type="add">
+ 955354 - Ability to determine the primary keys with IColumnFilter interface instead of DatabaseMetaData.getPrimaryKeys(). Primary keys sequence is not predictable when using filter. See FAQ.
+ </action>
+ <action dev="" type="add">
+ Ability to plug custom IDENTITY column detection strategy for InsertIdentityOperation when using user defined types. See FAQ.
+ </action>
+ <action dev="" type="add">
+ Added DefaultTableFilter class, which combines capability of the Include/ExcludeTableFilter classes.
+ </action>
+ </release>
+ <release version="2.0" date="January 22, 2004" description="Major release.">
+ <action dev="" type="update">
+ Mavenized the build and the website!
+ </action>
+ <action dev="" type="update">
+ Now use SAX2 instead of Electric XML DOM parser. Streamed mode allows importing and exporting very large XML datasets with minimal memory consumption.
+ </action>
+ <action dev="" type="add">
+ Flat XML dataset validation.
+ </action>
+ <action dev="" type="add">
+ New <code>ITableIterator</code> interface used to iterate thru dataset tables. Allows lazy tables initialization for some dataset implementations. The <code>IDataSet.getTables</code> method have been deprecated and usage should be avoided.
+ </action>
+ <action dev="" type="update">
+ Global System properties are not supported anymore. You must now use the new <code>DatabaseConfig</code> object to alter DbUnit behaviours.
+ </action>
+ <action dev="" type="add">
+ Configurable data type factory to easily integrates new data types with the DbUnit core. Factory implementations available for some database vendors. Submit your own!
+ </action>
+ <action dev="" type="add">
+ Oracle TIMESTAMP data type support via the <code>OracleDataTypeFactory</code>.
+ </action>
+ <action dev="" type="fix">
+ Fix truncated Oracle DATE. Must use the <code>OracleDataTypeFactory</code>.
+ </action>
+ <action dev="" type="fix">
+ Fix for Oracle CLOB greater than 4000 bytes. Must use the <code>OracleDataTypeFactory</code>.
+ </action>
+ <action dev="" type="add">
+ MySQL 'longtext' data type support via the <code>MySqlDataTypeFactory</code>.
+ </action>
+ <action dev="" type="add">
+ DB2 XML data types support via the <code>Db2DataTypeFactory</code>.
+ </action>
+ <action dev="" type="add">
+ Database views support.
+ </action>
+ <action dev="" type="add">
+ New pluggable filter strategies for <code>DataSetFilter</code>. You can now exclude/include tables using wildcard patterns.
+ </action>
+ <action dev="" type="add">
+ Ability to sort tables by their dependencies with the new <code>DatabaseSequenceFilter</code> strategy.
+ </action>
+ <action dev="" type="add">
+ New <code>ReplacementDataSet</code> decorator, which can replace decorated dataset values on the fly. Can be used with flat XML dataset as a new way to specify null values.
+ </action>
+ <action dev="" type="add">
+ New <code>XlsDataSet</code>. An MS Excel dataset implementation. Uses the Jakarta POI package.
+ </action>
+ <action dev="" type="update">
+ <code>Assertion.assertEquals</code> is now performing typed comparison instead of string representation comparison.
+ </action>
+ <action dev="" type="update">
+ INSERT, CLEAN_INSERT and REFRESH operations do not override database default values anymore with null values. Null values are now omitted from insert statements. Operations use multiple prepared statements for the same table, when null values vary from row to row.
+ </action>
+ <action dev="" type="update">
+ Moved InsertIdentityOperation to "org.dbunit.ext.mssql" package to be consistent with other vendor extensions. Temporary keep a deprecated copy in "org.dbunit.operation.mssqlserver" to ease transition to DbUnit 2.
+ </action>
+ </release>
+
+ <release version="1.5.6" date="October 5, 2003">
+ <action dev="" type="fix">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=786543&group_id=47439&atid=449491">786543</a> - NULL primitive values incorrectly returned as zero (0).
+ </action>
+ <action dev="" type="fix">
+ Fix Oracle CLOB values incorrectly returned as NULL. </action>
+ </release>
+ <release version="1.5.5" date="July 16, 2003">
+ <action dev="" type="update">
+ DatabaseDataSet improvements: faster access to metadata cache and keep original database table ordering.
+ </action>
+ <action dev="" type="update">
+ Better handling of the various data types in general. <B>WARNING!</B> New abstract methods have been
+ added to the DataType class. This change may break your environment if you have implemented your
+ own data types.
+ </action>
+ <action dev="" type="update">
+ More efficient XmlDataSet writing. Now put values in CData block only when necessary.
+ </action>
+ <action dev="" type="update">
+ Do not enable batched statement by default anymore. Many JDBC drivers have problems with this feature.
+ </action>
+ <action dev="" type="fix">
+ Fixed table name issue with case sensitive database.
+ </action>
+ <action dev="" type="fix">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=615636&group_id=47439&atid=449491">615636</a> & <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=735095&group_id=47439&atid=449491">735095</a>
+ - Incorrect XML encoding. Better handling of the XML encoding while writing and reading XML datasets. InputStream and OutputStream methods in XML dataset implementations are no more deprecated.
+ </action>
+ <action dev="" type="fix">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=736439&group_id=47439&atid=449491">736439</a>
+ - Problems with InsertOperation and triggers.
+ </action>
+ <action dev="" type="fix">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=736967&group_id=47439&atid=449491">736967</a>
+ - Wrong scale for numeric value with the jConnect driver for Sybase ASE.
+ </action>
+ </release>
+ <release version="1.5.1" date="April 4, 2003">
+ <action dev="" type="fix">
+ Fixed DELETE operation that was not deleting tables in reverse order
+ as expected.
+ </action>
+ <action dev="" type="fix">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=712329&group_id=47439&atid=449491">712329</a>
+ - setObject fails on BEA JDriver for MS-SQL.
+ </action>
+
+ <action dev="" type="update">
+ DbUnitTask DTD export optimization.
+ </action>
+ <action dev="" type="update">
+ REFRESH operation optimization.
+ </action>
+ </release>
+ <release version="1.5" date="March 1, 2003">
+ <action dev="" type="fix">
+ Multiple bugfixes.
+ </action>
+ <action dev="" type="add">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=533321&group_id=47439&atid=449491">533321</a>
+ - DbUnit is now case insensitive.
+ </action>
+ <action dev="" type="add">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=555455&group_id=47439&atid=449491">555455</a>
+ - Supports table names escaping (see <a href="properties.html#escapepattern">escapePattern
+ property</a>).
+ </action>
+ <action dev="" type="add">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=551925&group_id=47439&atid=449494">551925</a>
+ - Allows duplicate table names in datasets. A new method, <a class="code">getTables()</a>,
+ have been added in the <a class="code">IDataSet</a> interface.
+ </action>
+ <action dev="" type="add">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=684610&group_id=47439&atid=449494">590245</a>
+ & <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=590245&group_id=47439&atid=449494">684610</a>
+ - New <a class="code">Reader</a> and <a class="code">Writers</a> methods
+ to read and write XML datasets. <a class="code">InputStream</a> and
+ <a class="code">OutputStream</a> methods are now deprecated.
+ </action>
+ <action dev="" type="add">
+ New <a class="code">SortedTable</a> and <a class="code">SortedDataSet</a>
+ decorator classes.
+ </action>
+ <action dev="" type="add">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=645691&group_id=47439&atid=449491">645691</a>
+ - Added the <a class="code"><classpath></a> nested element in
+ <a class="code"> DbUnitTask</a> ant task; used to load the JDBC classes.
+ </action>
+ <action dev="" type="add">
+ Added <a class="code"><query></a> nested element in <a class="code">DbUnitTask
+ <export></a>. Allows exporting the result of a SELECT as a table
+ of a dataset. See <a href="anttask.html">ant task documentation</a>.
+ </action>
+ <action dev="" type="add">
+ New <a href="http://webtest.canoo.com/">Canoo Webtest</a> integration
+ <a href="howto.html#canoo">guide</a>.
+
+ </action>
+
+ </release>
+
+ <release version="1.4" date="July 17, 2002">
+ <action dev="" type="add">
+ <strong><em>DbUnitTask</em></strong> for Ant contributed by Timothy
+ Ruppert and Ben Cox.
+ </action>
+ <action dev="" type="update">
+ Moved the Base64 class to the <a class="code">org.dbunit.util</a>
+ package because Visual Age for Java is not able to handle classes located
+ in the default package.
+ </action>
+ <action dev="" type="update">
+ Added system properties documentation.
+ </action>
+ <action dev="" type="update">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=542034&group_id=47439&atid=449494">542034</a>
+ - Detect ambiguous table names.
+ </action>
+ <action dev="" type="add">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=542462&group_id=47439&atid=449494">542462</a>
+ - Added a system property to disable usage of batch statement even
+ if the target database support it..
+ </action>
+ <action dev="" type="update">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=545238&group_id=47439&atid=449494">545238</a>
+ - Sort tables prior to comparing them. DbUnit now generates an ORDER
+ BY clause in the select statement used by <a class="code">DatabaseDataSet.getTable()</a>.
+ Rows are sorted by primary keys.
+ </action>
+ <action dev="" type="update">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=554249&group_id=47439&atid=449494">554249</a>
+ - None column values.
+ </action>
+ <action dev="" type="add">
+ Added support for BLOB and CLOB data types.
+ </action>
+ </release>
+
+ <release version="1.3" date="April 4, 2002">
+ <action dev="" type="add">
+ Added support for binary data types: BINARY, VARBINARY and LONGVARBINARY.
+ Binary data is persisted in xml datasets using the base64 encoding scheme.
+ </action>
+ <action dev="" type="update">
+ Deprecated the DataSetUtils.assertEquals() methods. You should now
+ use Assertion.assertEquals().
+ </action>
+ <action dev="" type="fix">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=533537&group_id=47439&atid=449491">533537</a>
+ - FlatXmlDataSet and null values.
+ </action>
+ <action dev="" type="fix">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=534757&group_id=47439&atid=449491">533537</a>
+ - Problem with single quotes.
+ </action>
+ <action dev="" type="fix">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=534810&group_id=47439&atid=449491">534810</a>
+ - Problem when primary key include all columns
+ </action>
+ </release>
+
+ <release version="1.2.4" date="March 19, 2002">
+ <action dev="" type="add">
+ Added support for multiple schemas per connection. See <a href="faq.html#multipleschema">FAQ
+ </a> document.
+ </action>
+ <action dev="" type="remove">
+ Removed element <none/> from dataset.dtd. This feature was incompatible
+ with future support for the binary data types.
+ </action>
+ <action dev="" type="fix">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=530998&group_id=47439&atid=449491">530998</a>
+ - DataSetUtils.AssertEquals(ITable table, ITable table).
+ </action>
+ <action dev="" type="fix">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=533540&group_id=47439&atid=449491">533540</a>
+ - Problem with DATE, TIME and TIMESTAMP.
+ </action>
+ </release>
+
+ <release version="1.2" date="March 15, 2002">
+ <action dev="" type="add">
+ Added the flat XML dataset format. See the <a href="components.html#FlatXmlDataSet">FlatXmlDataSet</a>
+ in Core Components document.
+ </action>
+ <action dev="" type="add">
+ Added database data verification feature. See <a href="howto.html#assertdata">Getting Started</a> document.
+ </action>
+ <action dev="" type="update">
+ Updated Electric XML parser to version 3.2.
+ </action>
+ </release>
+
+ <release version="1.1" date="March 10, 2002">
+ <action dev="" type="update">
+ Connections are now closed in each setUp() and tearDown(). You
+ must override the DatabaseTestCase.closeConnection() and provide
+ an empty body to modify this behavior. This is not recommended to bypass connection close if
+ you use connection pooling.
+ </action>
+ <action dev="" type="add">
+ Added the IDatabaseConnection interface.
+ </action>
+ <action dev="" type="add">
+ Added the DatabaseDataSourceConnection class. This class provides
+ support for accessing JDBC connections from a DataSource. JDBC connections
+ are requested on demand from the DataSource.
+ </action>
+ <action dev="" type="update">
+ Multiple performance improvement.
+ </action>
+ <action dev="" type="fix">
+ <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=526235&group_id=47439&atid=449491">526235</a>
+ - Cannot export tables with JDBC-ODBC bridge and MS-SQL.
+ </action>
+ </release>
+
+ <release version="1.0" date="Febuary 27, 2002" description="Initial public release.">
+ </release>
+
+ </body>
+</document>
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-25 22:47:56
|
Revision: 523
http://svn.sourceforge.net/dbunit/?rev=523&view=rev
Author: felipeal
Date: 2006-12-25 14:47:55 -0800 (Mon, 25 Dec 2006)
Log Message:
-----------
1482990: fixed changes.xml location
Removed Paths:
-------------
trunk/src/changes/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-20 23:53:20
|
Revision: 522
http://svn.sourceforge.net/dbunit/?rev=522&view=rev
Author: felipeal
Date: 2006-12-20 15:53:18 -0800 (Wed, 20 Dec 2006)
Log Message:
-----------
[1473744] Enable TestCase compositions: added documentation (patch by Andres Almiray)
Modified Paths:
--------------
trunk/src/java/org/dbunit/AbstractDatabaseTester.java
trunk/src/java/org/dbunit/DBTestCase.java
trunk/src/java/org/dbunit/DataSourceBasedDBTestCase.java
trunk/src/java/org/dbunit/DataSourceDatabaseTester.java
trunk/src/java/org/dbunit/DatabaseTestCase.java
trunk/src/java/org/dbunit/DefaultDatabaseTester.java
trunk/src/java/org/dbunit/IDatabaseTester.java
trunk/src/java/org/dbunit/JdbcBasedDBTestCase.java
trunk/src/java/org/dbunit/JdbcDatabaseTester.java
trunk/src/java/org/dbunit/JndiBasedDBTestCase.java
trunk/src/java/org/dbunit/JndiDatabaseTester.java
trunk/src/java/org/dbunit/PropertiesBasedJdbcDatabaseTester.java
trunk/src/site/xdoc/bestpractices.xml
trunk/src/site/xdoc/howto.xml
Modified: trunk/src/java/org/dbunit/AbstractDatabaseTester.java
===================================================================
--- trunk/src/java/org/dbunit/AbstractDatabaseTester.java 2006-12-20 03:02:15 UTC (rev 521)
+++ trunk/src/java/org/dbunit/AbstractDatabaseTester.java 2006-12-20 23:53:18 UTC (rev 522)
@@ -30,7 +30,7 @@
/**
* Basic implementation of IDatabaseTester.<br>
* Implementations of IDatabaseTester may use this class as a starting point.
- *
+ *
* @author Andres Almiray <aal...@us...>
*/
public abstract class AbstractDatabaseTester implements IDatabaseTester
@@ -85,6 +85,10 @@
this.tearDownOperation = tearDownOperation;
}
+ /**
+ * Asserts that propertyName is not a null String and has a length greater
+ * than zero.
+ */
protected void assertNotNullNorEmpty( String propertyName, String property )
{
Assert.assertNotNull( propertyName + " is null", property );
@@ -92,21 +96,34 @@
.length() > 0 );
}
+ /**
+ * Returs the schema value.
+ */
protected String getSchema()
{
return schema;
}
+ /**
+ * Returns the DatabaseOperation to call when starting the test.
+ */
protected DatabaseOperation getSetUpOperation()
{
return setUpOperation;
}
+ /**
+ * Returns the DatabaseOperation to call when ending the test.
+ */
protected DatabaseOperation getTearDownOperation()
{
return tearDownOperation;
}
+ /**
+ * Executes a DatabaseOperation with a IDatabaseConnection supplied by
+ * {@link getConnection()} and the test dataset.
+ */
private void executeOperation( DatabaseOperation operation ) throws Exception
{
if( operation != DatabaseOperation.NONE ){
Modified: trunk/src/java/org/dbunit/DBTestCase.java
===================================================================
--- trunk/src/java/org/dbunit/DBTestCase.java 2006-12-20 03:02:15 UTC (rev 521)
+++ trunk/src/java/org/dbunit/DBTestCase.java 2006-12-20 23:53:18 UTC (rev 522)
@@ -3,7 +3,10 @@
import org.dbunit.database.IDatabaseConnection;
/**
- * TODO: document it, and mention it uses PropertiesBasedJdbcDatabaseTester
+ * Base testCase for database testing.<br>
+ * Subclasses may override {@link newDatabaseTester()} to plug-in a different implementation
+ * of IDatabaseTester.<br> Default implementation uses a {@link PropertiesBasedJdbcDatabaseTester}.
+ *
* @author Felipe Leme <db...@fe...>
*/
public abstract class DBTestCase extends DatabaseTestCase {
@@ -11,7 +14,7 @@
public DBTestCase() {
super();
}
-
+
public DBTestCase(String name) {
super(name);
}
@@ -21,9 +24,13 @@
assertNotNull( "DatabaseTester is not set", databaseTester );
return databaseTester.getConnection();
}
-
+
+ /**
+ * Creates a new IDatabaseTester.
+ * Default implementation returns a {@link PropertiesBasedJdbcDatabaseTester}.
+ */
protected IDatabaseTester newDatabaseTester() throws Exception {
return new PropertiesBasedJdbcDatabaseTester();
}
-
+
}
Modified: trunk/src/java/org/dbunit/DataSourceBasedDBTestCase.java
===================================================================
--- trunk/src/java/org/dbunit/DataSourceBasedDBTestCase.java 2006-12-20 03:02:15 UTC (rev 521)
+++ trunk/src/java/org/dbunit/DataSourceBasedDBTestCase.java 2006-12-20 23:53:18 UTC (rev 522)
@@ -24,7 +24,7 @@
/**
* TestCase that uses a DataSourceDatabaseTester.
- *
+ *
* @author Andres Almiray <aal...@us...>
* @author Felipe Leme <db...@fe...>
*/
@@ -39,10 +39,18 @@
super( name );
}
+ /**
+ * Creates a new IDatabaseTester.<br>
+ * Default implementation returns a {@link DataSourceDatabaseTester}
+ * configured with the value returned from {@link getDataSource()}.
+ */
protected IDatabaseTester newDatabaseTester()
{
return new DataSourceDatabaseTester( getDataSource() );
}
+ /**
+ * Returns the test DataSource.
+ */
protected abstract DataSource getDataSource();
}
Modified: trunk/src/java/org/dbunit/DataSourceDatabaseTester.java
===================================================================
--- trunk/src/java/org/dbunit/DataSourceDatabaseTester.java 2006-12-20 03:02:15 UTC (rev 521)
+++ trunk/src/java/org/dbunit/DataSourceDatabaseTester.java 2006-12-20 23:53:18 UTC (rev 522)
@@ -28,7 +28,7 @@
/**
* DatabaseTester that uses a DataSource to create connections.
- *
+ *
* @author Andres Almiray <aal...@us...>
* @author Felipe Leme <db...@fe...>
*/
@@ -36,6 +36,11 @@
{
private DataSource dataSource;
+ /**
+ * Creates a new DataSourceDatabaseTester with the specified DataSource.
+ *
+ * @param dataSource the DataSource to pull connections from
+ */
public DataSourceDatabaseTester( DataSource dataSource )
{
super();
Modified: trunk/src/java/org/dbunit/DatabaseTestCase.java
===================================================================
--- trunk/src/java/org/dbunit/DatabaseTestCase.java 2006-12-20 03:02:15 UTC (rev 521)
+++ trunk/src/java/org/dbunit/DatabaseTestCase.java 2006-12-20 23:53:18 UTC (rev 522)
@@ -34,9 +34,9 @@
*/
public abstract class DatabaseTestCase extends TestCase
{
-
+
private IDatabaseTester tester;
-
+
public DatabaseTestCase()
{
}
@@ -58,21 +58,21 @@
/**
* Creates a IDatabaseTester for this testCase.<br>
- *
- * PropertiesBasedJdbcDatabaseTester is used by default.
- * @throws Exception
+ *
+ * A {@link DefaultDatabaseTester} is used by default.
+ * @throws Exception
*/
protected IDatabaseTester newDatabaseTester() throws Exception{
final IDatabaseConnection connection = getConnection();
final IDatabaseTester tester = new DefaultDatabaseTester(connection);
return tester;
}
-
+
/**
* Gets the IDatabaseTester for this testCase.<br>
* If the IDatabaseTester is not set yet, this method calls
* newDatabaseTester() to obtain a new instance.
- * @throws Exception
+ * @throws Exception
*/
protected IDatabaseTester getDatabaseTester() throws Exception {
if ( this.tester == null ) {
@@ -80,7 +80,7 @@
}
return this.tester;
}
-
+
/**
* Close the specified connection. Override this method of you want to
* keep your connection alive between tests.
Modified: trunk/src/java/org/dbunit/DefaultDatabaseTester.java
===================================================================
--- trunk/src/java/org/dbunit/DefaultDatabaseTester.java 2006-12-20 03:02:15 UTC (rev 521)
+++ trunk/src/java/org/dbunit/DefaultDatabaseTester.java 2006-12-20 23:53:18 UTC (rev 522)
@@ -4,16 +4,19 @@
/**
* Default implementation of AbstractDatabaseTester, which does not know how
- * to get a connection.
- *
+ * to get a connection by itself.
+ *
* @author Felipe Leme <db...@fe...>
*
*/
public class DefaultDatabaseTester extends AbstractDatabaseTester {
-
+
final IDatabaseConnection connection;
-
+
+ /**
+ * Creates a new DefaultDatabaseTester with the suplied connection.
+ */
public DefaultDatabaseTester( final IDatabaseConnection connection ) {
this.connection = connection;
}
Modified: trunk/src/java/org/dbunit/IDatabaseTester.java
===================================================================
--- trunk/src/java/org/dbunit/IDatabaseTester.java 2006-12-20 03:02:15 UTC (rev 521)
+++ trunk/src/java/org/dbunit/IDatabaseTester.java 2006-12-20 23:53:18 UTC (rev 522)
@@ -28,25 +28,46 @@
* This interface defines the behavior of a DatabaseTester, which is responsible
* for adding DBUnit features as composition on existing test cases (instead of
* extending DBTestCase directly).
- *
+ *
* @author Andres Almiray <aal...@us...>
*/
public interface IDatabaseTester
{
+ /**
+ * Close the specified connection.
+ */
void closeConnection( IDatabaseConnection connection ) throws Exception;
+ /**
+ * Returns the test database connection.
+ */
IDatabaseConnection getConnection() throws Exception;
+ /**
+ * Returns the test dataset.
+ */
IDataSet getDataSet();
+ /**
+ * Sets the test dataset to use.
+ */
void setDataSet( IDataSet dataSet );
+ /**
+ * Sets the schema value.
+ */
void setSchema( String schema );
+ /**
+ * Sets the DatabaseOperation to call when starting the test.
+ */
void setSetUpOperation( DatabaseOperation setUpOperation );
-
+
+ /**
+ * Sets the DatabaseOperation to call when ending the test.
+ */
void setTearDownOperation( DatabaseOperation tearDownOperation );
-
+
/**
* TestCases must call this method inside setUp()
*/
@@ -56,5 +77,4 @@
* TestCases must call this method inside tearDown()
*/
void onTearDown() throws Exception;
-
-}
+}
\ No newline at end of file
Modified: trunk/src/java/org/dbunit/JdbcBasedDBTestCase.java
===================================================================
--- trunk/src/java/org/dbunit/JdbcBasedDBTestCase.java 2006-12-20 03:02:15 UTC (rev 521)
+++ trunk/src/java/org/dbunit/JdbcBasedDBTestCase.java 2006-12-20 23:53:18 UTC (rev 522)
@@ -23,7 +23,7 @@
/**
* TestCase that uses a JdbcDatabaseTester.
- *
+ *
* @author Andres Almiray <aal...@us...>
* @author Felipe Leme <db...@fe...>
*/
@@ -39,22 +39,35 @@
super( name );
}
+ /**
+ * Creates a new IDatabaseTester.<br>
+ * Default implementation returns a {@link JdbcDatabaseTester} configured
+ * with the values returned from {@link getDriverClass},
+ * {@link getConnectionUrl}, {@link getUsername} and {@link getPassword()}.
+ */
protected IDatabaseTester newDatabaseTester()
{
- JdbcDatabaseTester databaseTester = new JdbcDatabaseTester( getDriverClass(), getConnectionUrl() );
+ JdbcDatabaseTester databaseTester = new JdbcDatabaseTester( getDriverClass(),
+ getConnectionUrl() );
databaseTester.setUsername( getUsername() );
databaseTester.setPassword( getPassword() );
return databaseTester;
}
+ /**
+ * Returns the test connection url.
+ */
protected abstract String getConnectionUrl();
+ /**
+ * Returns the JDBC driver classname.
+ */
protected abstract String getDriverClass();
/**
* Returns the password for the connection.<br>
* Subclasses may override this method to provide a custom password.<br>
- * Default implementations returns null;
+ * Default implementations returns null.
*/
protected String getPassword()
{
@@ -64,7 +77,7 @@
/**
* Returns the username for the connection.<br>
* Subclasses may override this method to provide a custom username.<br>
- * Default implementations returns null;
+ * Default implementations returns null.
*/
protected String getUsername()
{
Modified: trunk/src/java/org/dbunit/JdbcDatabaseTester.java
===================================================================
--- trunk/src/java/org/dbunit/JdbcDatabaseTester.java 2006-12-20 03:02:15 UTC (rev 521)
+++ trunk/src/java/org/dbunit/JdbcDatabaseTester.java 2006-12-20 23:53:18 UTC (rev 522)
@@ -28,7 +28,7 @@
/**
* DatabaseTester that uses JDBC's Driver Manager to create connections.<br>
- *
+ *
* @author Andres Almiray <aal...@us...>
* @author Felipe Leme <db...@fe...>
*/
@@ -40,11 +40,26 @@
private String password;
private String username;
+ /**
+ * Creates a new JdbcDatabaseTester with the specified properties.<br>
+ * Username and Password are set to null.
+ *
+ * @param driverClass the classname of the JDBC driver to use
+ * @param connectionUrl the connection url
+ */
public JdbcDatabaseTester( String driverClass, String connectionUrl )
{
this( driverClass, connectionUrl, null, null );
}
+ /**
+ * Creates a new JdbcDatabaseTester with the specified properties.
+ *
+ * @param driverClass the classname of the JDBC driver to use
+ * @param connectionUrl the connection url
+ * @param username a username that can has access to the database
+ * @param password the user's password
+ */
public JdbcDatabaseTester( String driverClass, String connectionUrl, String username,
String password )
{
@@ -73,16 +88,27 @@
return new DatabaseConnection( conn );
}
+ /**
+ * Sets the value of the user's password.
+ */
public void setPassword( String password )
{
this.password = password;
}
+ /**
+ * Sets the value of the username from the connection.
+ */
public void setUsername( String username )
{
this.username = username;
}
+ /**
+ * Verifies the configured properties and initializes the driver.<br>
+ * This method is called by {@link getConnection} if the tester has not been
+ * initialized yet.
+ */
protected void initialize() throws Exception
{
assertNotNullNorEmpty( "driverClass", driverClass );
@@ -90,11 +116,17 @@
initialized = true;
}
+ /**
+ * Sets the value of the connection url.
+ */
protected void setConnectionUrl( String connectionUrl )
{
this.connectionUrl = connectionUrl;
}
+ /**
+ * Sets the value of the JDBC driver classname.
+ */
protected void setDriverClass( String driverClass )
{
this.driverClass = driverClass;
Modified: trunk/src/java/org/dbunit/JndiBasedDBTestCase.java
===================================================================
--- trunk/src/java/org/dbunit/JndiBasedDBTestCase.java 2006-12-20 03:02:15 UTC (rev 521)
+++ trunk/src/java/org/dbunit/JndiBasedDBTestCase.java 2006-12-20 23:53:18 UTC (rev 522)
@@ -20,9 +20,11 @@
*/
package org.dbunit;
+import java.util.Properties;
+
/**
* TestCase that uses a JndiDatabaseTester.
- *
+ *
* @author Andres Almiray <aal...@us...>
*/
public abstract class JndiBasedDBTestCase extends DBTestCase
@@ -36,10 +38,29 @@
super( name );
}
+ /**
+ * Creates a new IDatabaseTester.<br>
+ * Default implementation returns a {@link JndiDatabaseTester} configured
+ * with the values returned from {@link getJNDIProperties()} and
+ * {@link getLookupName()}.
+ */
protected IDatabaseTester newDatabaseTester()
{
- return new JndiDatabaseTester( getLookupName() );
+ return new JndiDatabaseTester( getJNDIProperties(), getLookupName() );
}
+ /**
+ * Returns the JNDI lookup name for the test DataSource.
+ */
protected abstract String getLookupName();
+
+ /**
+ * Returns the JNDI properties to use.<br>
+ * Subclasses must override this method to provide customized JNDI
+ * properties. Default implementation returns an empty Properties object.
+ */
+ protected Properties getJNDIProperties()
+ {
+ return new Properties();
+ }
}
Modified: trunk/src/java/org/dbunit/JndiDatabaseTester.java
===================================================================
--- trunk/src/java/org/dbunit/JndiDatabaseTester.java 2006-12-20 03:02:15 UTC (rev 521)
+++ trunk/src/java/org/dbunit/JndiDatabaseTester.java 2006-12-20 23:53:18 UTC (rev 522)
@@ -27,7 +27,7 @@
/**
* DatabaseTester that pulls a DataSource from a JNDI location.
- *
+ *
* @author Andres Almiray <aal...@us...>
*/
public class JndiDatabaseTester extends AbstractDatabaseTester
@@ -37,6 +37,12 @@
private boolean initialized = false;
private String lookupName;
+ /**
+ * Creates a JndiDatabaseTester with specific JNDI properties.
+ *
+ * @param environment A Properties object with JNDI properties
+ * @param lookupName the name of the resource in the JNDI context
+ */
public JndiDatabaseTester( Properties environment, String lookupName )
{
super();
@@ -44,6 +50,11 @@
this.lookupName = lookupName;
}
+ /**
+ * Creates a JndiDatabaseTester with default JNDI properties.
+ *
+ * @param lookupName the name of the resource in the JNDI context
+ */
public JndiDatabaseTester( String lookupName )
{
this( null, lookupName );
@@ -58,6 +69,12 @@
return new DatabaseConnection( dataSource.getConnection() );
}
+ /**
+ * Verifies the configured properties and locates the Datasource through
+ * JNDI.<br>
+ * This method is called by {@link getConnection} if the tester has not been
+ * initialized yet.
+ */
private void initialize() throws NamingException
{
Context context = new InitialContext( environment );
Modified: trunk/src/java/org/dbunit/PropertiesBasedJdbcDatabaseTester.java
===================================================================
--- trunk/src/java/org/dbunit/PropertiesBasedJdbcDatabaseTester.java 2006-12-20 03:02:15 UTC (rev 521)
+++ trunk/src/java/org/dbunit/PropertiesBasedJdbcDatabaseTester.java 2006-12-20 23:53:18 UTC (rev 522)
@@ -24,24 +24,38 @@
/**
* DatabaseTester that configures a DriverManager from environment properties.<br>
* This class defines a set of keys for system properties that need to be
- * present in the environment before using it. Example: <xmp>
+ * present in the environment before using it. Example:
+ * <xmp>
* System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_DRIVER_CLASS,
- * "com.mycompany.myDriver" ); System.setProperty(
- * PropertiesBasedJdbcDatabaseTester.DBUNIT_CONNECTION_URL, "jdbc:mydb://host/dbname" );
- * System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_USERNAME, "myuser" );
- * System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_PASSWORD, "mypasswd" ); </xmp>
- *
+ * "com.mycompany.myDriver" );
+ * System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_CONNECTION_URL,
+ * "jdbc:mydb://host/dbname" );
+ * System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_USERNAME,
+ * "myuser" );
+ * System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_PASSWORD,
+ * "mypasswd" );
+ * System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_SCHEMA,
+ * "myschema" );
+ * </xmp>
+ *
* @author Andres Almiray <aal...@us...>
* @author Felipe Leme <db...@fe...>
*/
public class PropertiesBasedJdbcDatabaseTester extends JdbcDatabaseTester
{
+ /** A key for property that defines the connection url */
public static final String DBUNIT_CONNECTION_URL = "dbunit.connectionUrl";
+ /** A key for property that defines the driver classname */
public static final String DBUNIT_DRIVER_CLASS = "dbunit.driverClass";
+ /** A key for property that defines the user's password */
public static final String DBUNIT_PASSWORD = "dbunit.password";
+ /** A key for property that defines the username */
public static final String DBUNIT_USERNAME = "dbunit.username";
+ /** A key for property that defines the database schema */
public static final String DBUNIT_SCHEMA = "dbunit.schema";
+ /** A key for property that defines the connection url */
+
public PropertiesBasedJdbcDatabaseTester()
{
super( null, null, null, null );
Modified: trunk/src/site/xdoc/bestpractices.xml
===================================================================
--- trunk/src/site/xdoc/bestpractices.xml 2006-12-20 03:02:15 UTC (rev 521)
+++ trunk/src/site/xdoc/bestpractices.xml 2006-12-20 23:53:18 UTC (rev 522)
@@ -76,7 +76,14 @@
to achieve good performance.
<source>IDatabaseConnection connection = new DatabaseDataSourceConnection(
new InitialContext(), "jdbc/myDataSource");</source>
+ An alternative since version 2.2 is to subclass JndiBasedDBTestCase and specify the JNDI lookup name.
+ <source>public class MyJNDIDatabaseTest extends JndiBasedDBTestCase {
+ protected String getLookupName(){
+ return "jdbc/myDatasource";
+ }
+ ...
+}</source>You may also use JndiDatabaseTester if you can't subclass JndiBasedDBTestCase.
</p>
-</section></body></document>
\ No newline at end of file
+</section></body></document>
Modified: trunk/src/site/xdoc/howto.xml
===================================================================
--- trunk/src/site/xdoc/howto.xml 2006-12-20 03:02:15 UTC (rev 521)
+++ trunk/src/site/xdoc/howto.xml 2006-12-20 23:53:18 UTC (rev 522)
@@ -2,7 +2,7 @@
<document><properties><title>Getting Started</title></properties><body><section>
<h3>Getting Started</h3>
<ol><li><a href="#createtest">
- Database setup with DatabaseTestCase subclass
+ Database setup with DBTestCase subclass
</a></li>
<li><a href="#noextend">
Database setup with your own TestCase subclass
@@ -14,7 +14,7 @@
DbUnit Ant task and Canoo WebTest
</a></li></ol>
<a name="createtest">
- <h3>Database setup with DatabaseTestCase subclass</h3>
+ <h3>Database setup with DBTestCase subclass</h3>
</a>
<a name="createdataset"><h4>Step 1: Create your dataset file</h4></a>
<p>Your test need some data to work with. This means you must
@@ -23,30 +23,40 @@
from scratch or create one by <a href="faq.html#extract">exporting</a>
some data from your database.
</p>
- <h4>Step 2: Extend the DatabaseTestCase class</h4>
+ <h4>Step 2: Extend the DBTestCase class</h4>
<p>Now you need to create a test class. The easiest way to use Dbunit is to
- make your test class extend the DatabaseTestCase class. DatabaseTestCase
+ make your test class extend the DBTestCase class. DBTestCase
extends the JUnit TestCase class. A template method is required to be
implemented: <a class="code">getDataSet()</a> to return the dataset
- you created in step 1. DatabaseTestcase relies on a IDatabaseTester to do
+ you created in step 1. DBTestCase relies on a IDatabaseTester to do
its work, the default configuration uses PropertiesBasedJdbcDatabaseTester, it locates
- configuration for DriverManager within the Sytem properties.
- The easiest way to configure it would be in the constructor of your test class.
- You can modify this behavior by overriding <a class="code">getDatabaseTester()</a>.</p>
- by using one of the other 3 provided IDatabaseTester implementations or your own.
+ configuration for the DriverManager within the Sytem properties.
+ The simplest way to configure it would be in the constructor of your test class.
+ You may modify this behavior by overriding <a class="code">getDatabaseTester()</a>,</p>
+ using one of the other 3 provided IDatabaseTester implementations or your own.
+ You may also use the other subclasses of DBTestCase described in the next table:
+ <table>
+ <tr><td valign="top"><a class="code">JdbcBasedDBTestCase</a></td>
+ <td>uses a DriverManager to create connections (with the aid of a JdbcDatabaseTester).</td></tr>
+ <tr><td valign="top"><a class="code">DataSourceBasedDBTestCase</a></td>
+ <td>uses a javax.sql.DataSource to create connections (with the aid of a DataSourceDatabaseTester).</td></tr>
+ <tr><td valign="top"><a class="code">JndiBasedDBTestCase</a></td>
+ <td>uses a javax.sql.DataSource located through JNDI (with the aid of a JndiDatabaseTester).</td></tr>
+ </table><br/>
<p>
Following is a sample implementation that returns a connection to a Hypersonic
- database and an xml dataset:
+ database and a xml dataset:
<source>
-public class SampleTest extends DatabaseTestCase
+public class SampleTest extends DBTestCase
{
public SampleTest(String name)
{
- super(name);
+ super( name );
System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_DRIVER_CLASS, "org.hsqldb.jdbcDriver" );
System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_CONNECTION_URL, "jdbc:hsqldb:sample" );
System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_USERNAME, "sa" );
System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_PASSWORD, "" );
+ // System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_SCHEMA, "" );
}
protected IDataSet getDataSet() throws Exception
@@ -64,7 +74,7 @@
<p>The following example demonstrates how you can easily override the operation
executed before or after your test.
<source>
-public class SampleTest extends DatabaseTestCase
+public class SampleTest extends DBTestCase
{
...
protected DatabaseOperation getSetUpOperation() throws Exception
@@ -88,7 +98,7 @@
<h3>Database setup with your own TestCase subclass</h3>
</a>
- <p>In order to use Dbunit you are not required to extend the DatabaseTestCase
+ <p>In order to use Dbunit you are not required to extend the DBTestCase
class. You can override the standard JUnit setUp() method and execute the
desired operation on your database. Do something similar in teardown() if
you need to perform clean-up.</p>
@@ -114,7 +124,7 @@
IDataSet dataSet = null;
// ...
- try
+ try1
{
DatabaseOperation.CLEAN_INSERT.execute(connection, dataSet);
}
@@ -125,21 +135,21 @@
}
...
}</source></p>
- <p>Or you can use the new IDatabaseTester. As explained in the previous topic,
- DatabaseTestCase uses a IDatabaseTester internally to do its work; your test class
- can also use this feature to manipulate DataSets. Currently there are 4 convenient implementations:<br/>
+ <p>Since version 2.2 you may use the new IDatabaseTester to accomplish the same feat.
+ As explained in the previous topic, DBTestCase uses a IDatabaseTester internally to do its work; your test class
+ may also use this feature to manipulate DataSets. Currently there are 4 convenient implementations:<br/>
<table>
<tr><td valign="top"><a class="code">JdbcDatabaseTester</a></td>
<td>uses a DriverManager to create connections.</td></tr>
<tr><td valign="top"><a class="code">PropertiesBasedJdbcDatabaseTester</a></td>
<td>also uses DriverManager, but the configuration is taken from system properties.<br/>
- This is the default implementation used by DatabaseTestCase.</td></tr>
+ This is the default implementation used by DBTestCase.</td></tr>
<tr><td valign="top"><a class="code">DataSourceDatabaseTester</a></td>
<td>uses a javax.sql.DataSource to create connections.</td></tr>
<tr><td valign="top"><a class="code">JndiDatabaseTester</a></td>
<td>uses a javax.sql.DataSource located through JNDI.</td></tr>
</table><br/>
- You can also provide your own implementation of IDatabaseTester. It is recommended to
+ You may also provide your own IDatabaseTester implementation. It is recommended to
use AbstractDatabaseTester as a starting point.</p>
<p>
Example:
@@ -155,7 +165,7 @@
protected void setUp() throws Exception
{
- databaseTester = new DMDatabaseTester("org.hsqldb.jdbcDriver",
+ databaseTester = new JdbcDatabaseTester("org.hsqldb.jdbcDriver",
"jdbc:hsqldb:sample", "sa", "");
// initialize your dataset here
@@ -163,11 +173,13 @@
// ...
databaseTester.setDataSet( dataSet );
+ // will call default setUpOperation
databaseTester.onSetUp();
}
protected void tearDown() throws Exception
{
+ // will call default tearDownOperation
databaseTester.onTearDown();
}
...
@@ -187,7 +199,7 @@
<h4>Sample</h4>
<p>The following sample, show how to compare a database table snapshot
against a flat XML table.
- <source>public class SampleTest extends DatabaseTestCase
+ <source>public class SampleTest extends DBTestCase
{
public SampleTest(String name)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
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.
|
|
From: <fel...@us...> - 2006-08-11 01:35:43
|
Revision: 519 Author: felipeal Date: 2006-08-10 18:35:38 -0700 (Thu, 10 Aug 2006) ViewCVS: http://svn.sourceforge.net/dbunit/?rev=519&view=rev Log Message: ----------- testing svn commit messages - should be sent to the list now... Modified Paths: -------------- trunk/todo.txt Modified: trunk/todo.txt =================================================================== --- trunk/todo.txt 2006-08-11 01:33:58 UTC (rev 518) +++ trunk/todo.txt 2006-08-11 01:35:38 UTC (rev 519) @@ -3,7 +3,6 @@ * Add build instructions -* << TESTING SVN COMMITS again (removed dbu...@li...) >> --- Features: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: Felipe L. <fel...@gm...> - 2006-07-20 02:18:36
|
>From an unsubscribed user... |
|
From: Felipe L. <fel...@gm...> - 2006-07-20 02:07:31
|
from a subscribed user... |