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

Re: Test suite: expected disk tree: how to write it, and making it optional

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-03-11 00:16:24 CET

Philip Martin wrote:
> Julian Foad <julianfoad@btopenworld.com> writes:
>
>>+ expected_disk = svntest.main.greek_state.copy()
>>+ expected_disk.remove('A/B')
>
> expected_disk.remove('A/B', 'A/B/lambda', 'A/B/E', etc.)

Thanks. Perhaps I'll write a "remove_tree" version of it some time.

>>+ svntest.actions.run_and_verify_update(wc_dir,
>>+ expected_output,
>>+ None, #expected_disk
>>+ None, None,
>>+ None, None, None, None, 0,
>>+ wc_dir)
>
> You can drop trailing arguments if you are not changing the defaults.

Thanks. (I copied it from the previous test, but that's no excuse.)

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 11 00:15:37 2004

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.