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

Re: 1233 - Properties in the client unit tests

From: Matthew Hambley <matthew_at_aether.demon.co.uk>
Date: 2003-04-28 22:18:18 CEST

In message <m31xzmwuz5.fsf@localhost.localdomain>
          cmpilato@collab.net wrote:

> Matthew Hambley <matthew@aether.demon.co.uk> writes:
>
> > In message <86k7dgatst.fsf@kepler.ch.collab.net>
> > Ben Collins-Sussman <sussman@collab.net> wrote:
> >
> > > Matthew Hambley <matthew@aether.demon.co.uk> writes:
> > >
> > > > So where have the properties gone? Well the walk-back at the end
> > > > suggests that it's a problem in the repository. (Ignoring for the
> > > > moment that the property was there previously) So I cd into
> > > > working_copies/basic_tests-14 and do a 'svn propget svn:mime-type
> > > > new_file' which returns 'text/plain' as expected.
> > >
> > > Let me give you a clue: look at the last argument to
> > > svntest.actions.run_and_verify_update(). It's a boolean that
> > > indicates whether props should be scanned from the working copy.
> > > It's off by default, because most of the time we don't care about
> > > them, and having it turned on drastically slows down our tests.
> >
> > Thanks for the suggestion but if you check basic_test.py,
> > basic_import(..) you will see that that parameter is already set to
> > '1'.
>
> Right. Because in that test, we actually want to verify properties.
> In order for this test to pass for you, you'll need to tell the test
> suite what mime-type properties to expect for every file in the
> working copy. See other tests which deal with props for examples.

And as explained in my original posting if I update main.greek_state to
hold the new properties the tests pass only to fail later on complaining
that they are expecting the property but it isn't there.

-- 
(\/)atthew )-(ambley ---------------\ If something's worth doing it's worth
E-mail : matthew@aether.demon.co.uk  \ doing badly until you can learn to
Public key : C991137B                 \ do it well.
Web : http://www.aether.demon.co.uk/   \-----------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 28 22:19:55 2003

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

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