Re: Updated delete tests

Hi,

I added the delete-using tests to the manifest and added a test 
(dawg-delete-07) for the unbound variable wildcard behavior in DELETE.

Thanks,
Matt

Andy Seaborne wrote:
> ARQ now passes the suite in delete (I took the liberty of making the 
> test names in mf:name unique - having multiple "Simple DELETE 1" 
> confused me.
>
> == delete
> Tests = 12 : Successes = 12 : Errors = 0 : Failures = 0
>
> I do see  :dawg-delete-using-NN for 01 to 06 which are not linked into 
> the manifest lists.
>
> ARQ would not pass these - I haven't implemented USING yet.
>
>     Andy
>
> On 01/11/10 14:17, Matt Perry wrote:
>> Hi Andy,
>>
>> I corrected and updated the tests in CVS. Please let me know if there
>> are any problems with the new tests.
>>
>> Thanks,
>> Matt
>>
>> Andy Seaborne wrote:
>>>
>>>
>>> On 27/10/10 19:04, Matt Perry wrote:
>>>> Hi,
>>>>
>>>> I have updated the tests in the delete, delete-data and delete-where
>>>> directories to use the new ut vocabulary.
>>>>
>>>> Thanks,
>>>> Matt
>>>>
>>>
>>> Matt,
>>>
>>> I can parse the manifests successfully. The tests themselves caused
>>> some issues:
>>>
>>> ==== delete/
>>> Tests = 12 : Successes = 4 : Errors = 0 : Failures = 8
>>>
>>> For example:
>>> == Test :dawg-delete-01
>>>
>>> == delete-01.ru
>>> PREFIX : <http://example.org/>
>>> PREFIX foaf: <http://xmlns.com/foaf/0.1/>
>>>
>>> DELETE
>>> {
>>> ?s ?p ?o .
>>> }
>>> WHERE
>>> {
>>> :a foaf:knows ?s .
>>> }
>>> so regardless of the data, ?p and ?o do not get bound and no triples
>>> will be deleted.
>>>
>>> Was the assumption that variables in DELETE template act as wildcards?
>>>
>>> Example 1, of section "3.1.4 DELETE", places variables in the WHERE
>>> clause to get them bound for the template.
>>>
>>>
>>>
>>> ==== delete-data/
>>> Tests = 6 : Successes = 6 : Errors = 0 : Failures = 0
>>>
>>> ==== delete-where/
>>> Tests = 6 : Successes = 3 : Errors = 3 : Failures = 0
>>>
>>> 3 tests involve DELETE DATA, not DELETE WHERE:
>>> delete-where-02.ru
>>> delete-where-05.ru
>>> delete-where-06.ru
>>>
>>>
>>> Andy
>>
>

Received on Friday, 5 November 2010 22:23:09 UTC