ChinchuAjith opened a new issue, #2210:
URL: https://github.com/apache/incubator-kie-issues/issues/2210

   DMN TCK Tests - Test case id : 005 from 
1157-unarytests-decisiontable-test-01.xml Fails.
   
   
[1157-unarytests-decisiontable-test-01.xml](https://github.com/user-attachments/files/23162107/1157-unarytests-decisiontable-test-01.xml)
   
   
[1157-unarytests-decisiontable.txt](https://github.com/user-attachments/files/23162121/1157-unarytests-decisiontable.txt)
   
   This ticket focuses on identifying the root cause of errors introduced by PR 
https://github.com/dmn-tck/tck/pull/672. Below are the failing tests case 
introduced by this PR.
   
   <testCase id="005">
           <description>input values: input expression is not valid against 
input values and will become null</description>
           <resultNode name="decision005" type="decision">
               <expected>
                   <value xsi:type="xsd:string">success</value>
               </expected>
           </resultNode>
       </testCase>
   
       <testCase id="006">
           <description>input values: input expression is valid against input 
values - '?' symbol with built-in function</description>
           <!-- also shows input values unary tests can call built-in functions 
-->
           <resultNode name="decision006" type="decision">
               <expected>
                   <value xsi:type="xsd:string">success</value>
               </expected>
           </resultNode>
       </testCase>
   
       <testCase id="006_a">
           <description>input values: input expression is valid against input 
values - '?' inside literal string</description>
           <resultNode name="decision006_a" type="decision">
               <expected>
                   <value xsi:type="xsd:string">success</value>
               </expected>
           </resultNode>
       </testCase>
   
       <testCase id="006_b">
           <description>input values: "?" symbol alone is not 
satisfied</description>
           <resultNode name="decision006_b" type="decision">
               <expected>
                   <value xsi:type="xsd:string">success</value>
               </expected>
           </resultNode>
       </testCase>
   
       <testCase id="006_c">
           <description>input values: "?" symbol alone will be satisfied a true 
value</description>
           <resultNode name="decision006_c" type="decision">
               <expected>
                   <value xsi:type="xsd:string">success</value>
               </expected>
           </resultNode>
       </testCase>
   
     <testCase id="008">
           <!-- "One of the expressions in the UnaryTests evaluates to true 
when the implicit value
           is applied to it." -->
           <!-- this test is to exercise the vagueness of 'applied to'.  One of 
the expressions is simply
           "true".  Which, as an expression always evaluates to true.  So ... 
should satisfy.  But, in practice,
           the value of "false" applied against unary tests "("123", true)" 
should not satisfy any of them.  My
           interpretation is that "applied to" is meant for unary comparisons. 
-->
           <description>input values: boolean expression is weird</description>
           <resultNode name="decision008" type="decision">
               <expected>
                   <value xsi:type="xsd:string">success</value>
               </expected>
           </resultNode>
     </testCase>
   
   <testCase id="008_b">
           <!-- further to 008, an input expression of boolean "false" will not 
be satisfied against a rule
            unary test of that evaluates to true -->
           <description>input values: boolean expression is weird</description>
           <resultNode name="decision008_b" type="decision">
               <expected>
                   <value xsi:type="xsd:string">success</value>
               </expected>
           </resultNode>
       </testCase>
   
    <testCase id="014">
           <description>output values: multiple columns - column not 
satisfied</description>
           <resultNode name="decision014" type="decision">
               <expected>
                   <component name="col1">
                       <value xsi:type="xsd:string">foo</value>
                   </component>
                   <component name="col2">
                       <value xsi:nil="true"/>
                   </component>
               </expected>
           </resultNode>
       </testCase>
   
       <testCase id="015">
           <description>output values: ? used in tests - satisfied</description>
           <resultNode name="decision015" type="decision">
               <expected>
                   <value xsi:type="xsd:string">foo</value>
               </expected>
           </resultNode>
       </testCase>
   
   <testCase id="017">
           <description>input values: ? used in expression outside of unary 
tests expressions</description>
           <resultNode name="decision017" type="decision">
               <expected>
                   <value xsi:type="xsd:string">success</value>
               </expected>
           </resultNode>
       </testCase>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to