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-05-14 20:15:15
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/oracle In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/ext/oracle Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/oracle/AllTests.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AllTests.java 22 Jan 2004 02:54:27 -0000 1.2 --- AllTests.java 14 May 2006 20:15:06 -0000 1.3 *************** *** 29,33 **** * @version $Revision$ */ ! public class AllTests { public static Test suite() --- 29,33 ---- * @version $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() |
From: <fel...@us...> - 2006-05-14 20:15:15
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/util/search In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/util/search Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/util/search/AllTests.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AllTests.java 18 Oct 2005 14:43:30 -0000 1.1 --- AllTests.java 14 May 2006 20:15:06 -0000 1.2 *************** *** 29,33 **** * @since Aug 25, 2005 */ ! public class AllTests { public static Test suite() --- 29,33 ---- * @since Aug 25, 2005 */ ! public class AllTests extends TestSuite { public static Test suite() |
From: <fel...@us...> - 2006-05-14 20:15:15
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/mysql In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/ext/mysql Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/mysql/AllTests.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AllTests.java 22 Jan 2004 02:54:25 -0000 1.2 --- AllTests.java 14 May 2006 20:15:06 -0000 1.3 *************** *** 29,33 **** * @version $Revision$ */ ! public class AllTests { public static Test suite() --- 29,33 ---- * @version $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() |
From: <fel...@us...> - 2006-05-14 20:15:15
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/operation In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/operation Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/operation/AllTests.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** AllTests.java 15 Mar 2004 16:44:21 -0000 1.12 --- AllTests.java 14 May 2006 20:15:06 -0000 1.13 *************** *** 32,36 **** * @since Feb 19, 2002 */ ! public class AllTests { public static Test suite() throws Exception --- 32,36 ---- * @since Feb 19, 2002 */ ! public class AllTests extends TestSuite { public static Test suite() throws Exception |
From: <fel...@us...> - 2006-05-14 20:15:14
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/dataset/xml In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/dataset/xml Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/dataset/xml/AllTests.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** AllTests.java 17 Feb 2006 20:22:52 -0000 1.12 --- AllTests.java 14 May 2006 20:15:06 -0000 1.13 *************** *** 29,33 **** * @version $Revision$ */ ! public class AllTests { public static Test suite() --- 29,33 ---- * @version $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() |
From: <fel...@us...> - 2006-05-14 20:15:14
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/ext Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/AllTests.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** AllTests.java 30 Jul 2004 15:52:51 -0000 1.5 --- AllTests.java 14 May 2006 20:15:06 -0000 1.6 *************** *** 29,33 **** * @version $Revision$ */ ! public class AllTests { public static Test suite() throws Exception --- 29,33 ---- * @version $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() throws Exception |
From: <fel...@us...> - 2006-05-14 20:15:14
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/database/statement In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/database/statement Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/database/statement/AllTests.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AllTests.java 22 Jan 2004 02:54:21 -0000 1.4 --- AllTests.java 14 May 2006 20:15:05 -0000 1.5 *************** *** 29,33 **** * @version $Revision$ */ ! public class AllTests { public static Test suite() --- 29,33 ---- * @version $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() |
From: <fel...@us...> - 2006-05-14 20:15:13
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/dataset/datatype In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/dataset/datatype Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/dataset/datatype/AllTests.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** AllTests.java 22 Jan 2004 02:54:21 -0000 1.8 --- AllTests.java 14 May 2006 20:15:06 -0000 1.9 *************** *** 29,33 **** * @version $Revision$ */ ! public class AllTests { public static Test suite() --- 29,33 ---- * @version $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() |
From: <fel...@us...> - 2006-05-14 20:15:13
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/dataset/csv In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/dataset/csv Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/dataset/csv/AllTests.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AllTests.java 6 May 2005 21:04:05 -0000 1.4 --- AllTests.java 14 May 2006 20:15:06 -0000 1.5 *************** *** 34,38 **** * Revision: $Revision$ */ ! public class AllTests { public static Test suite() --- 34,38 ---- * Revision: $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() |
From: <fel...@us...> - 2006-05-14 20:15:13
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/mssql In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/ext/mssql Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/mssql/AllTests.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AllTests.java 8 Sep 2004 13:21:54 -0000 1.4 --- AllTests.java 14 May 2006 20:15:06 -0000 1.5 *************** *** 31,35 **** * @version $Revision$ */ ! public class AllTests { public static Test suite() throws Exception --- 31,35 ---- * @version $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() throws Exception |
From: <fel...@us...> - 2006-05-14 20:15:12
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/hsqldb In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/ext/hsqldb Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/hsqldb/AllTests.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AllTests.java 30 Jul 2004 15:52:50 -0000 1.1 --- AllTests.java 14 May 2006 20:15:06 -0000 1.2 *************** *** 27,31 **** * @author Klas Axell */ ! public class AllTests { public static Test suite() --- 27,31 ---- * @author Klas Axell */ ! public class AllTests extends TestSuite { public static Test suite() |
From: <fel...@us...> - 2006-05-14 20:15:12
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/dataset/excel In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/dataset/excel Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/dataset/excel/AllTests.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AllTests.java 22 Jan 2004 02:54:22 -0000 1.2 --- AllTests.java 14 May 2006 20:15:06 -0000 1.3 *************** *** 29,33 **** * @version $Revision$ */ ! public class AllTests { public static Test suite() --- 29,33 ---- * @version $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() |
From: <fel...@us...> - 2006-05-14 20:15:12
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/dataset/stream In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/dataset/stream Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/dataset/stream/AllTests.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AllTests.java 22 Jan 2004 02:54:22 -0000 1.2 --- AllTests.java 14 May 2006 20:15:06 -0000 1.3 *************** *** 29,33 **** * @version $Revision$ */ ! public class AllTests { public static Test suite() --- 29,33 ---- * @version $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() |
From: <fel...@us...> - 2006-05-14 20:15:12
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/dataset/filter In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/dataset/filter Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/dataset/filter/AllTests.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AllTests.java 22 Jan 2004 02:54:22 -0000 1.4 --- AllTests.java 14 May 2006 20:15:06 -0000 1.5 *************** *** 29,33 **** * @version $Revision$ */ ! public class AllTests { public static Test suite() --- 29,33 ---- * @version $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() |
From: <fel...@us...> - 2006-05-14 20:15:12
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/db2 In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/ext/db2 Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/db2/AllTests.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AllTests.java 22 Jan 2004 02:54:23 -0000 1.4 --- AllTests.java 14 May 2006 20:15:06 -0000 1.5 *************** *** 29,33 **** * @version $Revision$ */ ! public class AllTests { public static Test suite() --- 29,33 ---- * @version $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() |
From: <fel...@us...> - 2006-05-14 20:15:12
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/dataset In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/dataset Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/dataset/AllTests.java,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** AllTests.java 12 May 2004 00:21:52 -0000 1.23 --- AllTests.java 14 May 2006 20:15:05 -0000 1.24 *************** *** 29,33 **** * @version $Revision$ */ ! public class AllTests { public static Test suite() --- 29,33 ---- * @version $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() |
From: <fel...@us...> - 2006-05-14 20:15:11
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/ant In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/ant Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/ant/AllTests.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AllTests.java 6 Apr 2004 06:28:52 -0000 1.4 --- AllTests.java 14 May 2006 20:15:05 -0000 1.5 *************** *** 29,33 **** * @version $Revision$ */ ! public class AllTests { public static Test suite() --- 29,33 ---- * @version $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() |
From: <fel...@us...> - 2006-05-14 20:15:11
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/database/search In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/database/search Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/database/search/AllTests.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AllTests.java 18 Feb 2006 04:23:02 -0000 1.2 --- AllTests.java 14 May 2006 20:15:05 -0000 1.3 *************** *** 30,34 **** * @since Aug 28, 2005 */ ! public class AllTests { public static Test suite() throws Exception --- 30,34 ---- * @since Aug 28, 2005 */ ! public class AllTests extends TestSuite { public static Test suite() throws Exception |
From: <fel...@us...> - 2006-05-14 20:15:11
|
Update of /cvsroot/dbunit/dbunit In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295 Modified Files: pom.xml Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: pom.xml =================================================================== RCS file: /cvsroot/dbunit/dbunit/pom.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** pom.xml 6 May 2006 13:05:14 -0000 1.1 --- pom.xml 14 May 2006 20:15:05 -0000 1.2 *************** *** 254,257 **** --- 254,258 ---- <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> + <!-- we should include all tests, but some are failing <configuration> <excludes> *************** *** 262,266 **** </includes> </configuration> ! <!-- TODO: surefire fails if we define this instead: <configuration> <includes> --- 263,267 ---- </includes> </configuration> ! --> <configuration> <includes> *************** *** 268,272 **** </includes> </configuration> - --> </plugin> <!-- TODO: add java compiler and set it to jdk 1.3 --> --- 269,272 ---- |
From: <fel...@us...> - 2006-05-14 20:15:11
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/AllTests.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** AllTests.java 18 Feb 2006 04:23:05 -0000 1.15 --- AllTests.java 14 May 2006 20:15:05 -0000 1.16 *************** *** 29,33 **** * @version $Revision$ */ ! public class AllTests { public static Test suite() throws Exception --- 29,33 ---- * @version $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() throws Exception |
From: <fel...@us...> - 2006-05-14 20:15:11
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/database In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9295/src/test/org/dbunit/database Modified Files: AllTests.java Log Message: fixed AllTests classes and POM, so now M2 test run the same tets as maven test. But for some reason it has 1 failure and 2 errors - I will check that later, once I add the surefire report Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/database/AllTests.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** AllTests.java 18 Feb 2006 04:23:04 -0000 1.16 --- AllTests.java 14 May 2006 20:15:05 -0000 1.17 *************** *** 32,36 **** * @version $Revision$ */ ! public class AllTests { public static Test suite() throws Exception --- 32,36 ---- * @version $Revision$ */ ! public class AllTests extends TestSuite { public static Test suite() throws Exception |
From: <fel...@us...> - 2006-05-06 13:05:20
|
Update of /cvsroot/dbunit/dbunit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32747 Added Files: pom.xml Log Message: 1482990: initial pom.xml for M2 build --- NEW FILE: pom.xml --- <?xml version="1.0" encoding="ISO-8859-1"?> <project> <modelVersion>4.0.0</modelVersion> <groupId>org.dbunit</groupId> <artifactId>dbunit</artifactId> <packaging>jar</packaging> <version>2.2-SNAPSHOT</version> <name>DbUnit Framework</name> <url>http://dbunit.sf.net</url> <!-- TODO - stuff below changed on M2 <logo>http://dbunit.sourceforge.net/images/dbunit-logo.jpg</logo> <package>org.dbunit</package> <shortDescription> DbUnit is a JUnit extension targeted for database-driven projects </shortDescription> --> <!-- TODO: add SCM info so it can be built by Maven Continuum --> <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. </description> <licenses> <license> <name>GNU Lesser General Public License, Version 2.1</name> <url>http://www.gnu.org/copyleft/lesser.html</url> <distribution>repo</distribution> </license> </licenses> <mailingLists> <mailingList> <name>DbUnit User List</name> <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</subscribe> <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</unsubscribe> <archive>http://sourceforge.net/mailarchive/forum.php?forum_id=8154</archive> </mailingList> <mailingList> <name>DbUnit Developer List</name> <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</subscribe> <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</unsubscribe> <archive>http://sourceforge.net/mailarchive/forum.php?forum_id=9162</archive> </mailingList> <mailingList> <name>DbUnit CVS 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> <!-- who the developers are for the project --> <developers> <developer> <name>Benjamin Cox</name> <id>bdrum</id> <roles> <role>Java Developer</role> <!-- <role>Original Ant Task Contributor</role> --> </roles> </developer> <developer> <name>David Eric Pugh</name> <id>dep4b</id> <email>ep...@op...</email> <organization>OpenSource Connections</organization> <roles> <role>Java Developer</role> </roles> </developer> <developer> <name>Federico Spinazzi</name> <id>fspinazzi</id> <email>f.s...@ma...</email> <organization>Master House S.r.l</organization> <roles> <role>Java Developer</role> <!-- <role>DB2 Contributor</role> --> </roles> </developer> <developer> <name>Manuel Laflamme</name> <id>mlaflamm</id> <organization>Oz Communication</organization> <roles> <role>Project Founder</role> <!-- <role>Java Developer</role> --> </roles> </developer> <developer> <name>Timothy J. Ruppert</name> <id>zieggy</id> <roles> <role>Java Developer</role> <!-- <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> <contributor> <name>Klas Axel</name> <!-- <roles> <role>HsqldbDataTypeFactory</role> </roles> --> </contributor> <contributor> <name>Erik Price</name> <!-- <roles> <role>DatabaseSequenceOperation</role> </roles> --> </contributor> <contributor> <name>Jeremy Stein</name> <!-- <roles> <role>InsertIndentityOperation</role> </roles> --> </contributor> <contributor> <name>Keven Kizer</name> <!-- <roles> <role>Early guinea pig</role> </roles> --> </contributor> <contributor> <name>Mike Bresnahan</name> <!-- <roles> <role>DbUnit evangelist</role> </roles> --> </contributor> </contributors> <dependencies> <dependency> <groupId>junit-addons</groupId> <artifactId>junit-addons</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>poi</groupId> <artifactId>poi</artifactId> <version>2.5.1-final-20040804</version> </dependency> <dependency> <groupId>ant</groupId> <artifactId>ant</artifactId> <!-- TODO: range-> 1.5.3-1 + <version>1.6.5</version> --> <version>1.5.4</version> </dependency> <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> <version>3.1</version> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.1</version> </dependency> <dependency> <groupId>mockobjects</groupId> <artifactId>mockobjects-core</artifactId> <version>0.07</version> <scope>test</scope> </dependency> <dependency> <groupId>mockmaker</groupId> <artifactId>mmmockobjects</artifactId> <version>1.12.0</version> <scope>test</scope> </dependency> <!-- TODO: check why follow dependency is necessary --> <dependency> <groupId>mockobjects</groupId> <artifactId>mockobjects-jdk1.3</artifactId> <version>0.07</version> <scope>test</scope> </dependency> <!-- TODO: update to 1.8 --> <dependency> <groupId>hsqldb</groupId> <artifactId>hsqldb</artifactId> <!-- <version>1.7.3.0</version> --> <version>1.8.0.1</version> <scope>test</scope> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <!-- TODO: update --> <version>1.0.4</version> </dependency> </dependencies> <build> <defaultGoal>install</defaultGoal> <sourceDirectory>src/java</sourceDirectory> <testSourceDirectory>src/test</testSourceDirectory> <!-- TODO: move to M2's expected path and separate java from test--> <resources> <resource> <directory>src/java</directory> <includes> <include>**/dataset.dtd</include> </includes> </resource> <resource> <directory>src/csv</directory> <includes> <include>**/cvs-tests.properties</include> </includes> </resource> </resources> <!-- <testResources> <testResource> </testResource> </testResources> --> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes> <exclude>**/Abstract*.java</exclude> </excludes> <includes> <include>**/*Test.java</include> </includes> </configuration> <!-- TODO: surefire fails if we define this instead: <configuration> <includes> <include>org/dbunit/AllTests.java</include> </includes> </configuration> --> </plugin> <!-- TODO: add java compiler and set it to jdk 1.3 --> </plugins> </build> <!-- TODO: add reports --> <profiles> <profile> <id>official</id> <activation> <jdk>1.3</jdk> </activation> <dependencies> <dependency> <groupId>javax.sql</groupId> <artifactId>jdbc-stdext</artifactId> <version>2.0</version> <optional>true</optional> </dependency> </dependencies> </profile> </profiles> </project> |
From: <fel...@us...> - 2006-05-06 13:05:19
|
Update of /cvsroot/dbunit/dbunit/xdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32747/xdocs Modified Files: changes.xml Log Message: 1482990: initial pom.xml for M2 build Index: changes.xml =================================================================== RCS file: /cvsroot/dbunit/dbunit/xdocs/changes.xml,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** changes.xml 29 Apr 2006 01:40:37 -0000 1.24 --- changes.xml 6 May 2006 13:05:14 -0000 1.25 *************** *** 9,12 **** --- 9,13 ---- <body> <release version="2.2" date="IN CVS" description=""> + <action dev="felipeal" type="add" issue="1482990">Added <code>pom.xml</code> so it can be build 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> |
From: <fel...@us...> - 2006-04-29 01:40:43
|
Update of /cvsroot/dbunit/dbunit/xdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13599/xdocs Modified Files: changes.xml Log Message: added entry for 1273949 Index: changes.xml =================================================================== RCS file: /cvsroot/dbunit/dbunit/xdocs/changes.xml,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** changes.xml 17 Feb 2006 20:22:52 -0000 1.23 --- changes.xml 29 Apr 2006 01:40:37 -0000 1.24 *************** *** 10,13 **** --- 10,14 ---- <release version="2.2" date="IN CVS" description=""> <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> |
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/database/search In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6160/src/test/org/dbunit/database/search Modified Files: AllTests.java AbstractMetaDataBasedSearchCallbackTestCase.java Added Files: ImportedKeysFilteredByPKsTest.java ImportedAndExportedKeysFilteredByPKsTest.java ImportedAndExportedKeysFilteredByPKsSingleInputTest.java ImportedKeysFilteredByPKsSingleTest.java ImportedAndExportedKeysFilteredByPKsCyclicTest.java ImportedAndExportedKeysFilteredByPKsSingleTest.java ImportedKeysFilteredByPKsCyclicTest.java Log Message: 1273949: addde filtering by PK feature --- NEW FILE: ImportedKeysFilteredByPKsTest.java --- package org.dbunit.database.search; import java.sql.SQLException; import org.dbunit.database.AbstractImportedKeysFilteredByPKsTestCase; import org.dbunit.dataset.DataSetException; import org.dbunit.util.search.SearchException; public class ImportedKeysFilteredByPKsTest extends AbstractImportedKeysFilteredByPKsTestCase { public ImportedKeysFilteredByPKsTest(String testName) { super(testName, "hypersonic_dataset.sql"); } protected int[] setupTablesSizeFixture() { int[] sizes = new int[] { 2, 8, 4, 2, 4, 2, 2, 2 }; return sizes; } public void testAWithOne() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1 } ); addOutput( A, new String[] { A1 } ); addOutput( D, new String[] { D1 } ); doIt(); } public void testHWithOne() throws DataSetException, SQLException, SearchException { addInput( H, new String[] { H1 } ); addOutput( H, new String[] { H1 } ); doIt(); } public void testBWithOne() throws DataSetException, SQLException, SearchException { addInput( B, new String[] { B1 } ); addOutput( B, new String[] { B1 } ); addOutput( C, new String[] { C1 } ); addOutput( E, new String[] { E1 } ); addOutput( G, new String[] { G1 } ); addOutput( A, new String[] { A1 } ); addOutput( F, new String[] { F1 } ); addOutput( D, new String[] { D1 } ); addOutput( H, new String[] { H1 } ); doIt(); } } --- NEW FILE: ImportedAndExportedKeysFilteredByPKsTest.java --- package org.dbunit.database.search; import java.sql.SQLException; import org.dbunit.database.AbstractImportedAndExportedKeysFilteredByPKsTestCase; import org.dbunit.dataset.DataSetException; import org.dbunit.util.search.SearchException; public class ImportedAndExportedKeysFilteredByPKsTest extends AbstractImportedAndExportedKeysFilteredByPKsTestCase { public ImportedAndExportedKeysFilteredByPKsTest(String testName) { super(testName, "hypersonic_dataset.sql"); } protected int[] setupTablesSizeFixture() { int[] sizes = new int[] { 2, 8, 4, 2, 4, 2, 2, 2 }; return sizes; } private void addAllOutput() { addOutput( A, new String[] { A1, A2 } ); addOutput( B, new String[] { B1, B2, B3, B4, B5, B6, B7, B8 } ); addOutput( C, new String[] { C1, C2, C3, C4 } ); addOutput( D, new String[] { D1, D2 } ); addOutput( E, new String[] { E1, E2, E3, E4 } ); addOutput( F, new String[] { F1, F2 } ); addOutput( G, new String[] { G1, G2 } ); addOutput( H, new String[] { H1, H2 } ); } public void testBWithOne() throws DataSetException, SQLException, SearchException { addInput( B, new String[] { B1 } ); addOutput( A, new String[] { A1, A2 } ); addOutput( B, new String[] { B1 } ); addOutput( C, new String[] { C1, C2, C3, C4 } ); addOutput( D, new String[] { D1, D2 } ); addOutput( E, new String[] { E1, E2, E3, E4 } ); addOutput( F, new String[] { F1, F2 } ); addOutput( G, new String[] { G1, G2 } ); addOutput( H, new String[] { H1, H2 } ); doIt(); } public void testBWithRepeated() throws DataSetException, SQLException, SearchException { addInput( B, new String[] { B1, B4, B3, B2, B1, B1, B8, B7 } ); addOutput( A, new String[] { A1, A2 } ); addOutput( B, new String[] { B1, B2, B3, B4, B7, B8 } ); addOutput( C, new String[] { C1, C2, C3, C4 } ); addOutput( D, new String[] { D1, D2 } ); addOutput( E, new String[] { E1, E2, E3, E4 } ); addOutput( F, new String[] { F1, F2 } ); addOutput( G, new String[] { G1, G2 } ); addOutput( H, new String[] { H1, H2 } ); doIt(); } public void testBWithAllRepeated() throws DataSetException, SQLException, SearchException { addInput( B, new String[] { B1, B4, B3, B2, B1, B1, B1, B6, B6, B1, B5, B8, B7 } ); addAllOutput(); doIt(); } public void testDWithOne() throws DataSetException, SQLException, SearchException { addInput( D, new String[] { D1 } ); addInput( B, new String[] { B1 } ); addOutput( A, new String[] { A1, A2 } ); addOutput( B, new String[] { B1 } ); addOutput( C, new String[] { C1, C2, C3, C4 } ); addOutput( D, new String[] { D1 } ); addOutput( E, new String[] { E1, E2, E3, E4 } ); addOutput( F, new String[] { F1, F2 } ); addOutput( G, new String[] { G1, G2 } ); addOutput( H, new String[] { H1, H2 } ); doIt(); } public void testDWithTwo() throws DataSetException, SQLException, SearchException { addInput( D, new String[] { D1, D2 } ); addAllOutput(); doIt(); } public void testDWithRepeated() throws DataSetException, SQLException, SearchException { addInput( D, new String[] { D1, D2, D2, D1, D1, D1, D2, D2 } ); addAllOutput(); doIt(); } } --- NEW FILE: ImportedAndExportedKeysFilteredByPKsSingleInputTest.java --- package org.dbunit.database.search; import java.sql.SQLException; import org.dbunit.database.AbstractImportedAndExportedKeysFilteredByPKsTestCase; import org.dbunit.dataset.DataSetException; import org.dbunit.util.search.SearchException; public class ImportedAndExportedKeysFilteredByPKsSingleInputTest extends AbstractImportedAndExportedKeysFilteredByPKsTestCase { public ImportedAndExportedKeysFilteredByPKsSingleInputTest(String testName) { this(testName, "hypersonic_simple_input_dataset.sql"); } public ImportedAndExportedKeysFilteredByPKsSingleInputTest(String testName, String sqlFile) { super( testName, sqlFile ); } protected int[] setupTablesSizeFixture() { int[] sizes = new int[] { 2, 1 }; return sizes; } public void testAWithOne() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1 } ); doIt(); } public void testAWithOneRepeated() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1, A1, A1, A1, A1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1 } ); doIt(); } public void testAWithTwo() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1, A2 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1, A2 } ); doIt(); } public void testAWithTwoRepeated() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1, A2 , A1, A2, A2, A1, A1, A1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1, A2 } ); doIt(); } public void testAWithTwoInvertedInput() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A2, A1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1, A2 } ); doIt(); } public void testAWithTwoInvertedOutput() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1, A2 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A2, A1 } ); doIt(); } public void testB() throws DataSetException, SQLException, SearchException { addInput( B, new String[] { B1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A2, A1 } ); doIt(); } } --- NEW FILE: ImportedKeysFilteredByPKsSingleTest.java --- package org.dbunit.database.search; import java.sql.SQLException; import org.dbunit.database.AbstractImportedKeysFilteredByPKsTestCase; import org.dbunit.dataset.DataSetException; import org.dbunit.util.search.SearchException; public class ImportedKeysFilteredByPKsSingleTest extends AbstractImportedKeysFilteredByPKsTestCase { public ImportedKeysFilteredByPKsSingleTest(String testName) { this(testName, "hypersonic_simple_dataset.sql"); } public ImportedKeysFilteredByPKsSingleTest(String testName, String sqlFile) { super( testName, sqlFile ); } protected int[] setupTablesSizeFixture() { int[] sizes = new int[] { 1, 1, 2 }; return sizes; } public void testCWithOne() throws DataSetException, SQLException, SearchException { addInput( C, new String[] { C1 } ); addOutput( C, new String[] { C1 } ); doIt(); } public void testCWithTwo() throws DataSetException, SQLException, SearchException { addInput( C, new String[] { C1, C2 } ); addOutput( C, new String[] { C1, C2 } ); doIt(); } public void testCWithTwoInvertedInput() throws DataSetException, SQLException, SearchException { addInput( C, new String[] { C2, C1 } ); addOutput( C, new String[] { C1, C2 } ); doIt(); } public void testCWithTwoInvertedOutput() throws DataSetException, SQLException, SearchException { addInput( C, new String[] { C1, C2 } ); addOutput( C, new String[] { C2, C1 } ); doIt(); } public void testCWithRepeated() throws DataSetException, SQLException, SearchException { addInput( C, new String[] { C1, C2, C1, C1, C2, C2, C2, C1, C1, C2 } ); addOutput( C, new String[] { C2, C1 } ); doIt(); } public void testB() throws DataSetException, SQLException, SearchException { addInput( B, new String[] { B1 } ); addOutput( C, new String[] { C2 } ); addOutput( B, new String[] { B1 } ); doIt(); } public void testBWithRepeated() throws DataSetException, SQLException, SearchException { addInput( B, new String[] { B1, B1, B1, B1 } ); addOutput( C, new String[] { C2 } ); addOutput( B, new String[] { B1 } ); doIt(); } public void testA() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1 } ); addOutput( C, new String[] { C1, C2 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1 } ); doIt(); } public void testAWithRepeated() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1, A1, A1 } ); addOutput( C, new String[] { C1, C2 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1 } ); doIt(); } } --- NEW FILE: ImportedAndExportedKeysFilteredByPKsCyclicTest.java --- package org.dbunit.database.search; import java.sql.SQLException; import org.dbunit.database.AbstractImportedAndExportedKeysFilteredByPKsTestCase; import org.dbunit.dataset.DataSetException; import org.dbunit.util.search.SearchException; public class ImportedAndExportedKeysFilteredByPKsCyclicTest extends AbstractImportedAndExportedKeysFilteredByPKsTestCase { public ImportedAndExportedKeysFilteredByPKsCyclicTest(String testName) { super(testName, "hypersonic_cyclic_dataset.sql"); } protected int[] setupTablesSizeFixture() { int[] sizes = new int[] { 2, 1, 1 }; return sizes; } public void testAWithOne() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1 } ); addOutput( C, new String[] { C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1 } ); doIt(); } public void testAWithTwo() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1, A2 } ); addOutput( C, new String[] { C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1, A2 } ); doIt(); } public void testAWithTwoInvertedInput() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A2, A1 } ); addOutput( C, new String[] { C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1, A2 } ); doIt(); } public void testAWithTwoInvertedOutput() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1, A2 } ); addOutput( C, new String[] { C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A2, A1 } ); doIt(); } public void testAWithRepeated() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1, A2, A2, A1, A1, A1, A2, A2 } ); addOutput( C, new String[] { C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A2, A1 } ); doIt(); } public void testBWithOne() throws DataSetException, SQLException, SearchException { addInput( B, new String[] { B1 } ); addOutput( C, new String[] { C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A2, A1 } ); doIt(); } public void testCWithOne() throws DataSetException, SQLException, SearchException { addInput( C, new String[] { C1 } ); addOutput( C, new String[] { C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A2, A1 } ); doIt(); } } --- NEW FILE: ImportedAndExportedKeysFilteredByPKsSingleTest.java --- package org.dbunit.database.search; import java.sql.SQLException; import org.dbunit.database.AbstractImportedAndExportedKeysFilteredByPKsTestCase; import org.dbunit.dataset.DataSetException; import org.dbunit.util.search.SearchException; public class ImportedAndExportedKeysFilteredByPKsSingleTest extends AbstractImportedAndExportedKeysFilteredByPKsTestCase { public ImportedAndExportedKeysFilteredByPKsSingleTest(String testName) { this(testName, "hypersonic_simple_dataset.sql"); } public ImportedAndExportedKeysFilteredByPKsSingleTest(String testName, String sqlFile) { super( testName, sqlFile ); } protected int[] setupTablesSizeFixture() { int[] sizes = new int[] { 1, 1, 2 }; return sizes; } public void testCWithOne() throws DataSetException, SQLException, SearchException { addInput( C, new String[] { C1 } ); addOutput( C, new String[] { C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1 } ); doIt(); } public void testCWithTwo() throws DataSetException, SQLException, SearchException { addInput( C, new String[] { C1, C2 } ); addOutput( C, new String[] { C1, C2 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1 } ); doIt(); } public void testCWithTwoInvertedInput() throws DataSetException, SQLException, SearchException { addInput( C, new String[] { C2, C1 } ); addOutput( C, new String[] { C1, C2 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1 } ); doIt(); } public void testCWithTwoInvertedOutput() throws DataSetException, SQLException, SearchException { addInput( C, new String[] { C1, C2 } ); addOutput( C, new String[] { C2, C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1 } ); doIt(); } public void testCWithRepeated() throws DataSetException, SQLException, SearchException { addInput( C, new String[] { C1, C2, C2, C1, C1, C1, C2, C2 } ); addOutput( C, new String[] { C2, C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1 } ); doIt(); } public void testB() throws DataSetException, SQLException, SearchException { addInput( B, new String[] { B1 } ); addOutput( C, new String[] { C1, C2 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1 } ); doIt(); } public void testA() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1 } ); addOutput( C, new String[] { C1, C2 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1 } ); doIt(); } } --- NEW FILE: ImportedKeysFilteredByPKsCyclicTest.java --- package org.dbunit.database.search; import java.sql.SQLException; import org.dbunit.database.AbstractImportedKeysFilteredByPKsTestCase; import org.dbunit.dataset.DataSetException; import org.dbunit.util.search.SearchException; public class ImportedKeysFilteredByPKsCyclicTest extends AbstractImportedKeysFilteredByPKsTestCase { public ImportedKeysFilteredByPKsCyclicTest(String testName) { super(testName, "hypersonic_cyclic_dataset.sql"); } protected int[] setupTablesSizeFixture() { int[] sizes = new int[] { 2, 1, 1 }; return sizes; } public void testAWithOne() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1 } ); addOutput( C, new String[] { C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1 } ); doIt(); } public void testAWithTwo() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1, A2 } ); addOutput( C, new String[] { C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1, A2 } ); doIt(); } public void testAWithTwoInvertedInput() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A2, A1 } ); addOutput( C, new String[] { C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A1, A2 } ); doIt(); } public void testAWithTwoInvertedOutput() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1, A2 } ); addOutput( C, new String[] { C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A2, A1 } ); doIt(); } public void testAWithRepatead() throws DataSetException, SQLException, SearchException { addInput( A, new String[] { A1, A2, A1, A2, A1, A1, A2, A2, A2, A1 } ); addOutput( C, new String[] { C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A2, A1 } ); doIt(); } public void testBWithOne() throws DataSetException, SQLException, SearchException { addInput( B, new String[] { B1 } ); addOutput( C, new String[] { C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A2 } ); doIt(); } public void testCWithOne() throws DataSetException, SQLException, SearchException { addInput( C, new String[] { C1 } ); addOutput( C, new String[] { C1 } ); addOutput( B, new String[] { B1 } ); addOutput( A, new String[] { A2 } ); doIt(); } } Index: AllTests.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/database/search/AllTests.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AllTests.java 18 Oct 2005 14:43:30 -0000 1.1 --- AllTests.java 18 Feb 2006 04:23:02 -0000 1.2 *************** *** 37,41 **** suite.addTest(new TestSuite(ImportAndExportNodesFilterSearchCallbackTest.class)); suite.addTest(new TestSuite(ImportNodesFilterSearchCallbackTest.class)); ! suite.addTest(new TestSuite(ImportAndExportKeysSearchCallbackOwnFileTest.class)); suite.addTest(new TestSuite(TablesDependencyHelperTest.class)); return suite; --- 37,47 ---- suite.addTest(new TestSuite(ImportAndExportNodesFilterSearchCallbackTest.class)); suite.addTest(new TestSuite(ImportNodesFilterSearchCallbackTest.class)); ! suite.addTest(new TestSuite(ImportAndExportKeysSearchCallbackOwnFileTest.class)); ! suite.addTest(new TestSuite(ImportedKeysFilteredByPKsCyclicTest.class)); ! suite.addTest(new TestSuite(ImportedKeysFilteredByPKsSingleTest.class)); ! suite.addTest(new TestSuite(ImportedKeysFilteredByPKsTest.class)); ! suite.addTest(new TestSuite(ImportedAndExportedKeysFilteredByPKsCyclicTest.class)); ! suite.addTest(new TestSuite(ImportedAndExportedKeysFilteredByPKsSingleTest.class)); ! suite.addTest(new TestSuite(ImportedAndExportedKeysFilteredByPKsTest.class)); suite.addTest(new TestSuite(TablesDependencyHelperTest.class)); return suite; Index: AbstractMetaDataBasedSearchCallbackTestCase.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/database/search/AbstractMetaDataBasedSearchCallbackTestCase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AbstractMetaDataBasedSearchCallbackTestCase.java 18 Oct 2005 14:43:30 -0000 1.1 --- AbstractMetaDataBasedSearchCallbackTestCase.java 18 Feb 2006 04:23:02 -0000 1.2 *************** *** 32,35 **** --- 32,36 ---- import org.dbunit.HypersonicEnvironment; + import org.dbunit.util.CollectionsHelper; import org.dbunit.util.search.DepthFirstSearch; import org.dbunit.util.search.ISearchCallback; *************** *** 87,91 **** DepthFirstSearch search = new DepthFirstSearch(); Set result = search.search( input, callback ); ! String[] actualOutput = DepthFirstSearch.setToStrings( result ); ArrayAssert.assertEquals( "output didn't match for i=" + i, expectedOutput, actualOutput ); } --- 88,92 ---- DepthFirstSearch search = new DepthFirstSearch(); Set result = search.search( input, callback ); ! String[] actualOutput = CollectionsHelper.setToStrings( result ); ArrayAssert.assertEquals( "output didn't match for i=" + i, expectedOutput, actualOutput ); } |