Repository: vxquery Updated Branches: refs/heads/master 32f9fcd61 -> dd11d50bb
http://git-wip-us.apache.org/repos/asf/vxquery/blob/b6f8d454/vxquery-xtest/src/test/resources/VXQuerySingleAlternateCatalog.xml ---------------------------------------------------------------------- diff --git a/vxquery-xtest/src/test/resources/VXQuerySingleAlternateCatalog.xml b/vxquery-xtest/src/test/resources/VXQuerySingleAlternateCatalog.xml index c0fe358..7be226f 100644 --- a/vxquery-xtest/src/test/resources/VXQuerySingleAlternateCatalog.xml +++ b/vxquery-xtest/src/test/resources/VXQuerySingleAlternateCatalog.xml @@ -35,6 +35,7 @@ <!ENTITY GhcndCountPartition4Queries SYSTEM "cat/GhcndCountPartition4Queries.xml"> <!ENTITY SingleQuery SYSTEM "cat/SingleQuery.xml"> +<!ENTITY SingleAlternateQuery SYSTEM "cat/SingleAlternateQuery.xml"> ]> <test-suite xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" @@ -90,7 +91,7 @@ <title>Single Test</title> <description/> </GroupInfo> - &SingleQuery; + &SingleAlternateQuery; </test-group> </test-group> </test-suite> http://git-wip-us.apache.org/repos/asf/vxquery/blob/b6f8d454/vxquery-xtest/src/test/resources/VXQuerySingleCatalog.xml ---------------------------------------------------------------------- diff --git a/vxquery-xtest/src/test/resources/VXQuerySingleCatalog.xml b/vxquery-xtest/src/test/resources/VXQuerySingleCatalog.xml index 7be226f..e88a68d 100644 --- a/vxquery-xtest/src/test/resources/VXQuerySingleCatalog.xml +++ b/vxquery-xtest/src/test/resources/VXQuerySingleCatalog.xml @@ -91,7 +91,7 @@ <title>Single Test</title> <description/> </GroupInfo> - &SingleAlternateQuery; + &SingleQuery; </test-group> </test-group> </test-suite> http://git-wip-us.apache.org/repos/asf/vxquery/blob/b6f8d454/vxquery-xtest/src/test/resources/VXQueryXMarkCatalog.xml ---------------------------------------------------------------------- diff --git a/vxquery-xtest/src/test/resources/VXQueryXMarkCatalog.xml b/vxquery-xtest/src/test/resources/VXQueryXMarkCatalog.xml new file mode 100644 index 0000000..aaf6db9 --- /dev/null +++ b/vxquery-xtest/src/test/resources/VXQueryXMarkCatalog.xml @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<!DOCTYPE test-suite [ + +<!ENTITY XMarkQueries SYSTEM "cat/XMarkQueries.xml"> + +]> +<test-suite xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + CatalogDesignDate="2014-04-01" + version="0.0.1" + SourceOffsetPath="./" + ResultOffsetPath="ExpectedTestResults/" + XQueryQueryOffsetPath="Queries/XQuery/" + XQueryXQueryOffsetPath="Queries/XQueryX/" + XQueryFileExtension=".xq" + XQueryXFileExtension=".xqx" + xsi:schemaLocation="http://www.w3.org/2005/02/query-test-XQTSCatalog XQTSCatalog.xsd"> + <test-suite-info> + <title>VXQuery XMark Test Suite</title> + <description> + Test Suite for VXQuery XMark. + </description> + </test-suite-info> + <source ID="VXQueryXMarkCatalog" FileName="VXQueryXMarkCatalog.xml" Creator="VXQuery team"> + <description last-mod="2015-03-25">VXQuery Test Suite Catalog</description> + </source> + <source ID="catgraph" FileName="TestSources/XMark/SplitFiles/catgraph" Creator="Shivani Mall"> + <description last-mod="2015-03-25">Collection of files</description> + </source> + <source ID="categories" FileName="TestSources/XMark/SplitFiles/categories" Creator="Shivani Mall"> + <description last-mod="2015-03-25">Collection of files</description> + </source> + <source ID="closed_auctions" FileName="TestSources/XMark/SplitFiles/closed_auctions" Creator="Shivani Mall"> + <description last-mod="2015-03-25">Collection of files</description> + </source> + <source ID="open_auctions" FileName="TestSources/XMark/SplitFiles/open_auctions" Creator="Shivani Mall"> + <description last-mod="2015-03-25">Collection of files</description> + </source> + <source ID="people" FileName="TestSources/XMark/SplitFiles/people" Creator="Shivani Mall"> + <description last-mod="2015-03-25">Collection of files</description> + </source> + <source ID="regions" FileName="TestSources/XMark/SplitFiles/regions" Creator="Shivani Mall"> + <description last-mod="2015-03-25">Collection of files</description> + </source> + <source ID="XMarkData" FileName="TestSources/XMark/SplitFiles/" Creator="Shivani Mall"> + <description last-mod="2015-03-25">Collection of files</description> + </source> + <test-group name="XMarkQueries" featureOwner="Shivani Mall"> + <GroupInfo> + <title>XMark Queries</title> + <description/> + </GroupInfo> + <test-group name="XMarkQueriesExecutionTests" featureOwner="Shivani Mall"> + <GroupInfo> + <title>XMark Execution Tests</title> + <description/> + </GroupInfo> + &XMarkQueries; + </test-group> + </test-group> + </test-suite> http://git-wip-us.apache.org/repos/asf/vxquery/blob/b6f8d454/vxquery-xtest/src/test/resources/XMarkCatalog.xml ---------------------------------------------------------------------- diff --git a/vxquery-xtest/src/test/resources/XMarkCatalog.xml b/vxquery-xtest/src/test/resources/XMarkCatalog.xml new file mode 100644 index 0000000..c3829a0 --- /dev/null +++ b/vxquery-xtest/src/test/resources/XMarkCatalog.xml @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<!DOCTYPE test-suite [ + +<!ENTITY SingleQuery SYSTEM "cat/SingleQuery.xml"> + +<!ENTITY XMarkQueries SYSTEM "cat/XMarkOriginalQueries.xml"> + +]> +<test-suite xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + CatalogDesignDate="2014-04-01" + version="0.0.1" + SourceOffsetPath="./" + ResultOffsetPath="ExpectedTestResults/" + XQueryQueryOffsetPath="Queries/XQuery/" + XQueryXQueryOffsetPath="Queries/XQueryX/" + XQueryFileExtension=".xq" + XQueryXFileExtension=".xqx" + xsi:schemaLocation="http://www.w3.org/2005/02/query-test-XQTSCatalog XQTSCatalog.xsd"> + <test-suite-info> + <title>VXQuery XMark Test Suite</title> + <description> + Test Suite for VXQuery XMark. + </description> + </test-suite-info> + <source ID="XMarkCatalog" FileName="XMarkCatalog.xml" Creator="VXQuery team"> + <description last-mod="2015-03-25">VXQuery Test Suite Catalog</description> + </source> + <source ID="auction_data" FileName="TestSources/XMark/SingleFile/auction.xml" Creator="Shivani Mall"> + <description last-mod="2015-03-25">Collection of files</description> + </source> + <test-group name="SingleQuery" featureOwner="Preston Carman"> + <GroupInfo> + <title>Single Query</title> + <description/> + </GroupInfo> + <test-group name="SingleTest" featureOwner="Preston Carman"> + <GroupInfo> + <title>Single Test</title> + <description/> + </GroupInfo> + &SingleQuery; + </test-group> + </test-group> + <test-group name="XMarkQueries" featureOwner="Shivani Mall"> + <GroupInfo> + <title>XMark Queries</title> + <description/> + </GroupInfo> + <test-group name="XMarkQueriesExecutionTests" featureOwner="Shivani Mall"> + <GroupInfo> + <title>XMark Execution Tests</title> + <description/> + </GroupInfo> + &XMarkQueries; + </test-group> + </test-group> +</test-suite> http://git-wip-us.apache.org/repos/asf/vxquery/blob/b6f8d454/vxquery-xtest/src/test/resources/cat/XMarkOriginalQueries.xml ---------------------------------------------------------------------- diff --git a/vxquery-xtest/src/test/resources/cat/XMarkOriginalQueries.xml b/vxquery-xtest/src/test/resources/cat/XMarkOriginalQueries.xml new file mode 100644 index 0000000..3ebe301 --- /dev/null +++ b/vxquery-xtest/src/test/resources/cat/XMarkOriginalQueries.xml @@ -0,0 +1,133 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="XMarkQueries" featureOwner="VXQuery"> + <GroupInfo> + <title>XMark Queries</title> + <description/> + </GroupInfo> + <test-case name="XMark-Queries-01" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 1</description> + <query name="q01" date="2015-03-25"/> + <output-file compare="Text">q01.txt</output-file> + </test-case> + <test-case name="XMark-Queries-02" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 2</description> + <query name="q02" date="2015-03-25"/> + <output-file compare="Text">q02.txt</output-file> + </test-case> + <test-case name="XMark-Queries-03" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 3</description> + <query name="q03" date="2015-03-25"/> + <output-file compare="Text">q03.txt</output-file> + </test-case> + <test-case name="XMark-Queries-04" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 4</description> + <query name="q04" date="2015-03-25"/> + <output-file compare="Text">q04.txt</output-file> + </test-case> + <test-case name="XMark-Queries-05" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 5</description> + <query name="q05" date="2015-03-25"/> + <output-file compare="Text">q05.txt</output-file> + </test-case> + <test-case name="XMark-Queries-06" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 6</description> + <query name="q06" date="2015-03-25"/> + <output-file compare="Text">q06.txt</output-file> + </test-case> + <test-case name="XMark-Queries-07" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 7</description> + <query name="q07" date="2015-03-25"/> + <output-file compare="Text">q07.txt</output-file> + </test-case> + <test-case name="XMark-Queries-08" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 8</description> + <query name="q08" date="2015-03-25"/> + <output-file compare="Text">q08.txt</output-file> + </test-case> + <test-case name="XMark-Queries-09" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 9</description> + <query name="q09" date="2015-03-25"/> + <output-file compare="Text">q09.txt</output-file> + </test-case> + <test-case name="XMark-Queries-10" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 10</description> + <query name="q10" date="2015-03-25"/> + <output-file compare="Text">q10.txt</output-file> + </test-case> + <test-case name="XMark-Queries-11" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 11</description> + <query name="q11" date="2015-03-25"/> + <output-file compare="Text">q11.txt</output-file> + </test-case> + <test-case name="XMark-Queries-12" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 12</description> + <query name="q12" date="2015-03-25"/> + <output-file compare="Text">q12.txt</output-file> + </test-case> + <test-case name="XMark-Queries-13" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 13</description> + <query name="q13" date="2015-03-25"/> + <output-file compare="Text">q13.txt</output-file> + </test-case> + <test-case name="XMark-Queries-14" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 14</description> + <query name="q14" date="2015-03-25"/> + <output-file compare="Text">q14.txt</output-file> + </test-case> + <test-case name="XMark-Queries-15" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 15</description> + <query name="q15" date="2015-03-25"/> + <output-file compare="Text">q15.txt</output-file> + </test-case> + <test-case name="XMark-Queries-16" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 16</description> + <query name="q16" date="2015-03-25"/> + <output-file compare="Text">q16.txt</output-file> + </test-case> + <test-case name="XMark-Queries-17" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 17</description> + <query name="q17" date="2015-03-25"/> + <output-file compare="Text">q17.txt</output-file> + </test-case> + <test-case name="XMark-Queries-18" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 18</description> + <query name="q18" date="2015-03-25"/> + <output-file compare="Text">q18.txt</output-file> + </test-case> + <test-case name="XMark-Queries-19" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 19</description> + <query name="q19" date="2015-03-25"/> + <output-file compare="Text">q19.txt</output-file> + </test-case> + <test-case name="XMark-Queries-20" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>XMark Query 20</description> + <query name="q20" date="2015-03-25"/> + <output-file compare="Text">q20.txt</output-file> + </test-case> + <test-case name="Simple-Query-1" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>Simple Query 1</description> + <query name="simple_query1" date="2015-03-25"/> + <output-file compare="Text">simple_query1.txt</output-file> + </test-case> + <test-case name="Simple-Query-2" FilePath="XMark/Original/" Creator="Shivani Mall"> + <description>Simple Query 2</description> + <query name="simple_query2" date="2015-03-25"/> + <output-file compare="Text">simple_query2.txt</output-file> + </test-case> +</test-group> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/vxquery/blob/b6f8d454/vxquery-xtest/src/test/resources/cat/XMarkQueries.xml ---------------------------------------------------------------------- diff --git a/vxquery-xtest/src/test/resources/cat/XMarkQueries.xml b/vxquery-xtest/src/test/resources/cat/XMarkQueries.xml new file mode 100644 index 0000000..3a79c21 --- /dev/null +++ b/vxquery-xtest/src/test/resources/cat/XMarkQueries.xml @@ -0,0 +1,123 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="XMarkQueries" featureOwner="VXQuery"> + <GroupInfo> + <title>XMark Queries</title> + <description/> + </GroupInfo> + <test-case name="XMark-Queries-01" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 1</description> + <query name="q01" date="2015-03-25"/> + <output-file compare="Text">q01.txt</output-file> + </test-case> + <test-case name="XMark-Queries-02" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 2</description> + <query name="q02" date="2015-03-25"/> + <output-file compare="Text">q02.txt</output-file> + </test-case> + <test-case name="XMark-Queries-03" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 3</description> + <query name="q03" date="2015-03-25"/> + <output-file compare="Text">q03.txt</output-file> + </test-case> + <test-case name="XMark-Queries-04" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 4</description> + <query name="q04" date="2015-03-25"/> + <output-file compare="Text">q04.txt</output-file> + </test-case> + <test-case name="XMark-Queries-05" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 5</description> + <query name="q05" date="2015-03-25"/> + <output-file compare="Text">q05.txt</output-file> + </test-case> + <test-case name="XMark-Queries-06" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 6</description> + <query name="q06" date="2015-03-25"/> + <output-file compare="Text">q06.txt</output-file> + </test-case> + <test-case name="XMark-Queries-07" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 7</description> + <query name="q07" date="2015-03-25"/> + <output-file compare="Text">q07.txt</output-file> + </test-case> + <test-case name="XMark-Queries-08" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 8</description> + <query name="q08" date="2015-03-25"/> + <output-file compare="Text">q08.txt</output-file> + </test-case> + <test-case name="XMark-Queries-09" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 9</description> + <query name="q09" date="2015-03-25"/> + <output-file compare="Text">q09.txt</output-file> + </test-case> + <test-case name="XMark-Queries-10" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 10</description> + <query name="q10" date="2015-03-25"/> + <output-file compare="Text">q10.txt</output-file> + </test-case> + <test-case name="XMark-Queries-11" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 11</description> + <query name="q11" date="2015-03-25"/> + <output-file compare="Text">q11.txt</output-file> + </test-case> + <test-case name="XMark-Queries-12" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 12</description> + <query name="q12" date="2015-03-25"/> + <output-file compare="Text">q12.txt</output-file> + </test-case> + <test-case name="XMark-Queries-13" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 13</description> + <query name="q13" date="2015-03-25"/> + <output-file compare="Text">q13.txt</output-file> + </test-case> + <test-case name="XMark-Queries-14" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 14</description> + <query name="q14" date="2015-03-25"/> + <output-file compare="Text">q14.txt</output-file> + </test-case> + <test-case name="XMark-Queries-15" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 15</description> + <query name="q15" date="2015-03-25"/> + <output-file compare="Text">q15.txt</output-file> + </test-case> + <test-case name="XMark-Queries-16" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 16</description> + <query name="q16" date="2015-03-25"/> + <output-file compare="Text">q16.txt</output-file> + </test-case> + <test-case name="XMark-Queries-17" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 17</description> + <query name="q17" date="2015-03-25"/> + <output-file compare="Text">q17.txt</output-file> + </test-case> + <test-case name="XMark-Queries-18" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 18</description> + <query name="q18" date="2015-03-25"/> + <output-file compare="Text">q18.txt</output-file> + </test-case> + <test-case name="XMark-Queries-19" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 19</description> + <query name="q19" date="2015-03-25"/> + <output-file compare="Text">q19.txt</output-file> + </test-case> + <test-case name="XMark-Queries-20" FilePath="XMark/Modified/" Creator="Shivani Mall"> + <description>XMark Query 20</description> + <query name="q20" date="2015-03-25"/> + <output-file compare="Text">q20.txt</output-file> + </test-case> +</test-group> \ No newline at end of file
