<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>4490</bug_id>
          
          <creation_ts>2007-04-25 02:56:06 +0000</creation_ts>
          <short_desc>Round4 negative tests</short_desc>
          <delta_ts>2007-04-25 03:00:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WS-Policy</product>
          <component>Test Suite</component>
          <version>FPWD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/public-ws-policy/2007Apr/0034.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Asir V Selvasingh">asirveda</reporter>
          <assigned_to name="Felix Sasaki">fsasaki</assigned_to>
          
          
          <qa_contact name="Web Services Policy WG QA List">public-ws-policy-qa</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14877</commentid>
    <comment_count>0</comment_count>
    <who name="Asir V Selvasingh">asirveda</who>
    <bug_when>2007-04-25 02:56:06 +0000</bug_when>
    <thetext>The round4 doc [1] mentions negative tests but doesn&apos;t actually says 
what&apos;s involved.  We can assume that we&apos;re supposed to try to Normalize 
the xml files and that the engine MUST (should?) fail in some way - but it 
would be nice if the doc stated this so that everyone knows what &quot;success&quot; 
means.

[1] 
http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/interop/WS-Policy-Scenarios-Round4.doc?only_with_tag=Release-1-20070322

thanks
-Doug
______________________________________________________
STSM  |  Web Services Architect  |  IBM Software Group
(919) 254-6905  |  IBM T/L 444-6905  |  dug@us.ibm.com</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14878</commentid>
    <comment_count>1</comment_count>
    <who name="Asir V Selvasingh">asirveda</who>
    <bug_when>2007-04-25 02:57:13 +0000</bug_when>
    <thetext>I decided to draft up a possible solution for this issue - add a new 
section 7 as follows:
- - - - - - - - - - - - -
7. Negative Testcases
As part of this round of testing a set of WS-Policy expressions will be 
provided. Each one will be invalid in some way. Implementations will be 
expected to attempt to Normalize each expression and detect that there is 
an error.  It is beyond the scope of this document to define what action 
each implementation needs to take, however, a successful result will be 
considered to be achieved if some kind of corrective action is taken. Some 
possible actions might include: generation of a fault or attempting to fix 
the expression so it is no longer invalid.
- - - - - - - - - - - - -

thanks
-Doug
______________________________________________________
STSM  |  Web Services Architect  |  IBM Software Group
(919) 254-6905  |  IBM T/L 444-6905  |  dug@us.ibm.com

Reference - http://lists.w3.org/Archives/Public/public-ws-policy/2007Apr/0037.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14879</commentid>
    <comment_count>2</comment_count>
    <who name="Asir V Selvasingh">asirveda</who>
    <bug_when>2007-04-25 02:58:10 +0000</bug_when>
    <thetext>&gt;ACTION-276 Asir to respond to Doug and propose scenarios
&gt;paragraph to clarify negative test scenarios.

Thank you for a concrete proposal.

We are wondering if the test description could be simpler by dropping phrases or words such as error, action, corrective action, generation of fault, attempting to fix, invalid, etc. Here is a suggested editorial revision (no changes to content):

&quot;7. Negative Testcases

The Round 4 Negative Test directory contains a set of non-conformant policy expressions. These are WS-Policy unit test cases. Implementations are expected to attempt to normalize these expressions and detect non-conformance. A detected non-conformance is considered to be a successful outcome.&quot;

Regards,

Asir S Vedamuthu
Microsoft Corporation

Reference - http://lists.w3.org/Archives/Public/public-ws-policy/2007Apr/0060.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14880</commentid>
    <comment_count>3</comment_count>
    <who name="Asir V Selvasingh">asirveda</who>
    <bug_when>2007-04-25 03:00:27 +0000</bug_when>
    <thetext>Reference: http://www.w3.org/2007/04/18-ws-policy-minutes.html#item05

cferris: relates to the negative cases; how they are detected
... no objections to closing this issue with the following resolution

&lt;cferris&gt; ACTION: Asir to open and close new issue on test scenarios related to negative testing and the proposal here http://lists.w3.org/Archives/Public/public-ws-policy/2007Apr/0060.html [recorded in http://www.w3.org/2007/04/18-ws-policy-minutes.html#action02]

&lt;trackbot&gt; Created ACTION-282 - Open and close new issue on test scenarios related to negative testing and the proposal here http://lists.w3.org/Archives/Public/public-ws-policy/2007Apr/0060.html [on Asir Vedamuthu - due 2007-04-25].

&lt;cferris&gt; RESOLUTION: Issue XXXX closed with resolution in http://lists.w3.org/Archives/Public/public-ws-policy/2007Apr/0060.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>