W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2006

[Bug 3727] insufficient testing of deep-equal

From: <bugzilla@wiggum.w3.org>
Date: Thu, 14 Sep 2006 17:59:26 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GNvUk-0000Gw-W8@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3727

           Summary: insufficient testing of deep-equal
           Product: XML Query Test Suite
           Version: 1.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: per@bothner.com
         QAContact: public-qt-comments@w3.org


The deep-equal function is fairly complex, but there is pretty minimal test
coverave.  Most of the tests compare atomic items, and those are useful.  There
are a few tests for non-singleton atomic sequences, but not many.  Worst, the
few tests for comparing nodes and nodes sequences are pretty useless.  They
seesm to fit this pattern:
  deep-equal($input-context1/PATH, $input-context1/PATH)
I.e. the same expression yielding the same *identical* nodes for both
arguments.  An implementation that just tests node identity would pass.
Received on Thursday, 14 September 2006 17:59:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:30 UTC