cvs problem>Testcase:
>testBackslash(org.apache.tools.ant.taskdefs.optional.perforce.P4Change
>Test):   Caused an ERROR
[...]
>... digging more, I see that the backslash method is protected, so the test
>case can't call it.  How did this ever work?  Or did it?  So I made

Yes it works. :-)
http://jakarta.apache.org/builds/gump/2001-12-24/test-ant.html

>backslash 'public static final' (since its really a helper method and
>doesn't need any member access), and now that test case passes.  I now get
>this:

A protected method can be called from subclasses or from classes belonging
to the same package.
This is much of the interest of having testcases in the same package of
tested classes.

>I'll go ahead and commit my 'backslash' change - and I'm sure someone will
>let me know if that change is inappropriate.

It is not inappropriate but it is not necessary. :)

Stephane



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to