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

Re: svn commit: r21621 - in trunk/subversion: libsvn_subr tests/cmdline tests/cmdline/svntest tests/libsvn_subr

From: Daniel Rall <dlr_at_collab.net>
Date: 2006-09-25 18:43:06 CEST

On Sun, 24 Sep 2006, Lieven Govaerts wrote:

> Philip Martin wrote:
> >Lieven Govaerts <lgo@mobsol.be> writes:
> >
> >>I welcome a proposal to better fix the relation between input and
> >>output for these two test.
> >
> > struct {
> > const char *path;
> > svn_boolean_t result;
> > } tests[] = {
> > { "some_string", TRUE },
> > { "another_string", FALSE }
> > };
> >
>
> Clean and simple. I applied this to four of the path tests, committed in
> r21625.

I like this approach. It might be worth defining a data type and
using it in the three (of four) places in that test code that we're
now defining anonymous data types.

  • application/pgp-signature attachment: stored
Received on Mon Sep 25 18:44:56 2006

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.