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

Writing testcase for enable_translation in trans_tests.py: found inconsistency

From: <e.huelsmann_at_gmx.net>
Date: 2003-06-27 20:18:59 CEST

Hi,

I am trying to learn something about test-writing and am using the
Subversion project to do so. I decided to take one of the tasks with the bite-sized
keyword for starters. Since one of the translation tests seemed simple enough
that's where I started.

Now I found an inconsistency in Subversion. I tested my actions before
writing the test to see if it works. This is what the test does (amongst other
things):

create file 'translate' (without the quotes)
add the file to subversion
set the svn:eol-style to 'native'
status

when looking at the status output, it says:

A translate

Now the test goes on:

commit
<end of relevant part of test>

When I do this by hand, not supplying a log message with -m, the contents of
the svn-commit.tmp file shows:

---- everything .. etc

AM translate

---end of file

The output of status was different from svn-commit.tmp; which is the correct
one to check for in my test?

bye,

Erik.

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 28 10:02:12 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.