This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6362 - put-001.xq uses different approach than other put test cases
Summary: put-001.xq uses different approach than other put test cases
Status: CLOSED FIXED
Alias: None
Product: XQuery Update Facility Test Suite
Classification: Unclassified
Component: XQuery Update Facility Test Suite (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-06 10:11 UTC by Peter M. Fischer
Modified: 2009-02-04 09:16 UTC (History)
0 users

See Also:


Attachments

Description Peter M. Fischer 2009-01-06 10:11:22 UTC
put-001.xq uses a "sandpit" approach with hardcoded paths instead of the approach proposed and implemented by Andrew in his mail "tests for fn:put in XQUTS" (November 6th 2008)

Since the "new" test cases provide sufficient coverage of fn:put, I propose to drop this query
Comment 1 Michael Kay 2009-01-27 15:18:25 UTC
I think the put-001 test does one thing that the newer tests fail to do: it writes a file whose contents will be different on different days of the month, which means that if your "put" implementation is replaced by a no-op, or starts writing the file to the wrong place, you will notice. (This does have the slight drawback that the test will fail if the two steps are run different sides of midnight, but I think the chance of that is sufficiently small to not worry about.)

So I intend to keep the test, but will replace it to use a URI defined by the catalog rather than a fixed URI as is done by the other tests.