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

Re: delete tests cases for basic_tests.py

From: <cmpilato_at_collab.net>
Date: 2001-12-12 15:36:47 CET

Mo DeJong <supermo@bayarea.net> writes:

> Here is a patch to add test cases for file delete and directory delete.
> The first demonstrates a well known bug with the file access method
> and the second checks for a bug that has already been patched.
>
> cheers
> Mo
>
> 2001-12-09 Mo DeJong <supermo@bayarea.net>
>
> * subversion/tests/clients/cmdline/basic_tests.py
> (basic_delete, basic_delete_dir): Add tests for
> file delete and directory delete. The file delete
> test currently fails when using the file: protocol.

I started to apply this patch, and then it rang a bell of familiarity
to me. Aha! Now I remember.

Mo, if you'll check out schedule_tests.py, you'll see the following:

- a bunch of helper functions that schedule working copy changes
  (FUNX, we'll call them) and verify that those changes took.

- a bunch of tests that call FUNX (and therefore, only test the
  scheduling of things)

- a bunch of tests that call FUNX, then call `svn revert` and test the
  revert functionality.

- a bunch of tests that call FUNX, then call `svn commit` -- oh, but
  those aren't written yet.

So, when I created schedule_tests, I wanted to make it so that anybody
can, without repeating too much code, check the scheduling, revert,
and commit, all in one place.

It would rock if, instead of my application of your patch, you would
simply fill in those 5 currently-commented-out commit functions (two
of which test file and dir deletions like your patch does).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:52 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.