You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vxquery.apache.org by pr...@apache.org on 2016/07/27 04:30:48 UTC

[2/2] vxquery git commit: Merging Riyafa's change with master.

Merging Riyafa's change with master.


Project: http://git-wip-us.apache.org/repos/asf/vxquery/repo
Commit: http://git-wip-us.apache.org/repos/asf/vxquery/commit/b6f0f7d7
Tree: http://git-wip-us.apache.org/repos/asf/vxquery/tree/b6f0f7d7
Diff: http://git-wip-us.apache.org/repos/asf/vxquery/diff/b6f0f7d7

Branch: refs/heads/master
Commit: b6f0f7d7459ab868a61896ea0ec95c31628cc942
Parents: 7d4e8b1 7c6e756
Author: Preston Carman <pr...@apache.org>
Authored: Tue Jul 26 21:28:58 2016 -0700
Committer: Preston Carman <pr...@apache.org>
Committed: Tue Jul 26 21:28:58 2016 -0700

----------------------------------------------------------------------
 .../AbstractDisjunctiveComparisonOperation.java |  7 +++
 .../AbstractNegatingComparisonOperation.java    |  7 +++
 .../AbstractValueComparisonOperation.java       |  4 ++
 .../comparison/ValueEqComparisonOperation.java  |  8 ++++
 .../comparison/ValueLtComparisonOperation.java  | 14 ++++++
 .../runtime/functions/util/FunctionHelper.java  |  5 ++
 .../Json/Functions/general_comparison.txt       | 31 +++++++++++++
 .../Json/Functions/value_comparison.txt         | 18 +++++++
 .../XQuery/Json/Functions/general_comparison.xq | 49 ++++++++++++++++++++
 .../XQuery/Json/Functions/value_comparison.xq   | 36 ++++++++++++++
 .../test/resources/cat/FunctionsInJSONiq.xml    | 10 ++++
 11 files changed, 189 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/vxquery/blob/b6f0f7d7/vxquery-xtest/src/test/resources/cat/FunctionsInJSONiq.xml
----------------------------------------------------------------------
diff --cc vxquery-xtest/src/test/resources/cat/FunctionsInJSONiq.xml
index 7f59dc4,3a145ed..0713ce2
--- a/vxquery-xtest/src/test/resources/cat/FunctionsInJSONiq.xml
+++ b/vxquery-xtest/src/test/resources/cat/FunctionsInJSONiq.xml
@@@ -86,44 -86,14 +86,54 @@@
          <query name="jn_members3" date="2016-07-05"/>
          <output-file compare="Text">jn_members3.txt</output-file>
      </test-case>
+     <test-case name="changes-to-value-comparison-semantics" FilePath="Json/Functions/" Creator="Riyafa Abdul Hameed">
+         <description>Changes to value comparison semantics</description>
+         <query name="value_comparison" date="2016-07-19"/>
+         <output-file compare="Text">value_comparison.txt</output-file>
+     </test-case>
+     <test-case name="changes-to-value-comparison-semantics" FilePath="Json/Functions/" Creator="Riyafa Abdul Hameed">
+         <description>Changes to value comparison semantics</description>
+         <query name="general_comparison" date="2016-07-19"/>
+         <output-file compare="Text">general_comparison.txt</output-file>
+     </test-case>
 +    <test-case name="changes-to-arithmetic-operation-semantics" FilePath="Json/Functions/" Creator="Riyafa Abdul Hameed">
 +        <description>Changes to arithmetic operation semantics</description>
 +        <query name="arithmetic1" date="2016-07-19"/>
 +        <expected-error>XPTY0004</expected-error>
 +    </test-case>
 +    <test-case name="changes-to-arithmetic-operation-semantics" FilePath="Json/Functions/" Creator="Riyafa Abdul Hameed">
 +        <description>Changes to arithmetic operation semantics</description>
 +        <query name="arithmetic2" date="2016-07-26"/>
 +        <expected-error>XPTY0004</expected-error>
 +    </test-case>
 +    <test-case name="changes-to-arithmetic-operation-semantics" FilePath="Json/Functions/" Creator="Riyafa Abdul Hameed">
 +        <description>Changes to arithmetic operation semantics</description>
 +        <query name="arithmetic3" date="2016-07-26"/>
 +        <expected-error>XPTY0004</expected-error>
 +    </test-case>
 +    <test-case name="changes-to-arithmetic-operation-semantics" FilePath="Json/Functions/" Creator="Riyafa Abdul Hameed">
 +        <description>Changes to arithmetic operation semantics</description>
 +        <query name="arithmetic4" date="2016-07-26"/>
 +        <expected-error>XPTY0004</expected-error>
 +    </test-case>
 +    <test-case name="changes-to-arithmetic-operation-semantics" FilePath="Json/Functions/" Creator="Riyafa Abdul Hameed">
 +        <description>Changes to arithmetic operation semantics</description>
 +        <query name="arithmetic5" date="2016-07-19"/>
 +        <expected-error>XPTY0004</expected-error>
 +    </test-case>
 +    <test-case name="changes-to-arithmetic-operation-semantics" FilePath="Json/Functions/" Creator="Riyafa Abdul Hameed">
 +        <description>Changes to arithmetic operation semantics</description>
 +        <query name="arithmetic6" date="2016-07-26"/>
 +        <expected-error>XPTY0004</expected-error>
 +    </test-case>
 +    <test-case name="changes-to-arithmetic-operation-semantics" FilePath="Json/Functions/" Creator="Riyafa Abdul Hameed">
 +        <description>Changes to arithmetic operation semantics</description>
 +        <query name="arithmetic7" date="2016-07-26"/>
 +        <expected-error>XPTY0004</expected-error>
 +    </test-case>
 +    <test-case name="changes-to-arithmetic-operation-semantics" FilePath="Json/Functions/" Creator="Riyafa Abdul Hameed">
 +        <description>Changes to arithmetic operation semantics</description>
 +        <query name="arithmetic8" date="2016-07-26"/>
 +        <expected-error>XPTY0004</expected-error>
 +    </test-case>
  </test-group>