On Fri, Mar 13, 2009 at 09:58, Daniel Rall <dlr_at_finemaltcoding.com> wrote:
> On Fri, Mar 13, 2009 at 1:53 AM, Daniel Rall <dlr_at_finemaltcoding.com> wrote:
> ...
>> --- trunk/subversion/tests/libsvn_wc/db-test.c  Fri Mar 13 00:43:51 2009     (r36523)
>> +++ trunk/subversion/tests/libsvn_wc/db-test.c  Fri Mar 13 01:53:34 2009     (r36524)
> ...
>> Â SVN_ERR(svn_wc__db_base_get_props(&props, db, path,
>> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â scratch_pool, scratch_pool));
>> + Â switch (status)
>> + Â Â {
>> + Â Â case svn_wc__db_status_absent:
>> + Â Â case svn_wc__db_status_excluded:
>> + Â Â case svn_wc__db_status_incomplete:
>> + Â Â case svn_wc__db_status_not_present:
>> + Â Â Â /* Our tests aren't setting properties on these node types, so
>> + Â Â Â Â short-circuit examination of name/value pairs. */
>> + Â Â Â return SVN_NO_ERROR;
>> +
>> + Â Â default:
>> + Â Â Â SVN_ERR_ASSERT(props != NULL);
>> + Â Â }
> ...
>
> Will all of these states always be absent of properties? If not, we
> should alter the data seeded by test_inserting_nodes(). It currently
> does not seed any property values for these cases because the
> corresponding APIs used to inject the data lack a "props" parameter.
Those states will never have properties. They're different ways to say
"the node isn't present, and <this> is why."
Thanks for the test update!!
Cheers,
-g
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1316711
Received on 2009-03-13 10:18:35 CET