[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-dev] Re: [svnant] Test failures on trunk

From: Daniel Rall <dlr_at_collab.net>
Date: 2006-07-25 01:52:04 CEST

On Mon, 24 Jul 2006, Martin Letenay wrote:
...
> > 3) The <info /> command is getting invoked with insufficient
> > arguments, which should be triggering an Ant BuildException (from
> > Info.validateAttributes()).
> >
> > Testcase: testSvnInfo took 0.746 sec
> > FAILED
> > Should throw BuildException because: Dir or file must be set.
> > junit.framework.AssertionFailedError: Should throw BuildException
> > because: Dir or file must be set.
> > at
> > org.tigris.subversion.svnant.SvnTest.testSvnInfo(SvnTest.java:871)
> >
> > Solution: Either we're not triggering the BuildException like we
> > should be, or we're not correctly detecting it. Figure out which is
> > the problem and fix it.
>
> This one was probably my mistake, somehow during recent refactorings the
> call to validateAttributes() was lost.
> It was fixed in r2536 (during addition of "failonerror").

Thanks for fixing those, Martin!

I'm seeing a different test failure now (shown below) using Subversion
trunk on Fedora Core 5. This may be related to #3 above -- it reminds
me of the error I was seeing due to output changes in the 'svn'
command-line binary.

Testcase: testSvnInfo took 1.806 sec
        FAILED
Should throw BuildException because: fakefile.txt: (Not a versioned resource)
junit.framework.AssertionFailedError: Should throw BuildException because: fakefile.txt: (Not a versioned resource)
        at org.tigris.subversion.svnant.SvnTest.testSvnInfo(SvnTest.java:876)

  • application/pgp-signature attachment: stored
Received on Tue Jul 25 01:52:32 2006

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.