[Bug 7647] New: Tests K-GenCompEq-60 et seq

View: New views
3 Messages — Rating Filter:   Alert me  

[Bug 7647] New: Tests K-GenCompEq-60 et seq

by Bugzilla from bugzilla@wiggum.w3.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

           Summary: Tests K-GenCompEq-60 et seq
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@...
        ReportedBy: mike@...
         QAContact: public-qt-comments@...


The newly committed tests K-GenCompEq-60 to K-GenCompEq-68 are apparently
designed to test resolution of bug 5223. The naming of the tests and their
intended purpose suggests that they should be using the "=" operator rather
than "eq". As currently written, they produce type errors (XPTY0004).

Furthermore, none of the tests (after this change is made) actually tests
whether or not the implementation has fixed bug 5223. An example of a proper
test for this situation would be

xs:untypedAtomic("1") = xs:NCName("Sorin")

where casting the untyped atomic value to the base type of the other operand
(xs:string) would succeed, but casting it to the actual type of the other
operand (xs:NCName) would fail.


--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


[Bug 7647] Tests K-GenCompEq-60 et seq

by Bugzilla from bugzilla@wiggum.w3.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Frans Englich <frans.englich@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |frans.englich@...




--- Comment #1 from Frans Englich <frans.englich@...>  2009-10-13 14:46:06 ---
Another thing: feel free to not prefix tests with K- or K2-, those are tests
originating from KDE(or me, to be specific).


Frans


--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


[Bug 7647] Tests K-GenCompEq-60 et seq

by Bugzilla from bugzilla@wiggum.w3.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Sorin Nasoi <spungi@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spungi@...
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Sorin Nasoi <spungi@...>  2009-10-28 10:21:26 ---
Just made a commit to fix both reported problems (related to the content and
also the name of the tests).


--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.