|
From: Jeff J. <jj...@ap...> - 2016-06-15 22:52:33
|
On Wed, Jun 15, 2016 at 2:54 PM, Holger Schimanski <ho...@sc... > wrote: > When I check out code/dbunit from http://git.code.sf.net/p/dbunit/code.git and > run mvn I get some test errors (see below). Those tests fail under Java 8, so please use Java 7 or make a merge request for this existing issue: https://sourceforge.net/p/dbunit/feature-requests/195/ :-) pom.xml says 2.5.3-SNAPSHOT. Am I using the wrong branch? Would > tag dbunit-2.5.2 be a better start for my development? Thanks for verifying. Provide a merge request off of master, which is currently 2.5.3-SNAPSHOT. Rebase master as needed so your final merge request or patch applies clean. Also, please ensure no formatting changes occur with functional change commits. Commit format-only changes separately to make change reviews clearer and easier. On Wed, Jun 15, 2016 at 2:54 PM, Holger Schimanski <ho...@sc... > wrote: > Yes, I will take care to not to duplicate code. :-) > > I would like to use XMLJUnitResultFormatter > from package org.apache.tools.ant.taskdefs.optional.junit. > > I would need to change DbUnitTask.execute() method in > package org.dbunit.ant at line 385 to catch Error thrown by > step.execute(connection). The Error is created by FailureHandler in > DbUnitAssert.assertEquals and should be of type DbComparisonFailure. > This DbComparisonFailure can easily be used to provide corresponding > information to XMLJUnitResultFormatter. > > One question regarding building dbunit. When I check out code/dbunit from > http://git.code.sf.net/p/dbunit/code.git and run mvn I get some test > errors (see below). pom.xml says 2.5.3-SNAPSHOT. Am I using the wrong > branch? Would tag dbunit-2.5.2 be a better start for my development? > > Failed tests: > DatabaseSequenceFilterTest.testGetTableNamesCyclic:112 expected:<Table: > [D ([A, C], E])> but was:<Table: [A ([C, D], E])> > BiDirectionalEdgesDepthFirstSearchTest.testDisconnectedCycles:193->AbstractSearchTestCase.doIt:72 > mismatched element at position 0 expected:<D> but was:<A> > DepthFirstSearchTest.testDisconnectedCycles:147->AbstractSearchTestCase.doIt:72 > mismatched element at position 0 expected:<F> but was:<C> > > > > Best regards > Holger > > > P.S. Dependency to org.apache.tools.ant.taskdefs.optional.junit would be I > guess > <dependency> > <groupId>ant</groupId> > <artifactId>ant-junit</artifactId> > <version>1.6.5</version> > </dependency> > > > > Am 15.06.2016 um 14:28 schrieb Jeff Jensen <jj...@ap...>: > > If you add this feature, please delegate to dependencies as much as > possible instead of copying code to dbUnit. > > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports. > http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381 > _______________________________________________ > dbunit-developer mailing list > dbu...@li... > https://lists.sourceforge.net/lists/listinfo/dbunit-developer > > |