From a6bb23507e11277d07b06914fc9a5590401e22f7 Mon Sep 17 00:00:00 2001 From: Sandro Cirulli Date: Fri, 13 Jan 2017 22:06:25 +0000 Subject: [PATCH] remove old references to xspec.googlecode.com #56 --- build.xml | 1 - find-examples.xml | 6 - find-examples.xsl | 1 - src/compiler/generate-common-tests.xsl | 1 - src/compiler/generate-query-helper.xsl | 1 - src/compiler/generate-query-tests.xsl | 1 - src/compiler/generate-query-utils.xql | 1 - src/compiler/generate-tests-helper.xsl | 1 - src/compiler/generate-tests-utils.xsl | 1 - src/compiler/generate-xspec-tests.xsl | 1 - .../basex/basex-server-xquery-harness.xproc | 174 +++----- .../basex-standalone-xquery-harness.xproc | 165 +++---- .../exist/exist-xquery-harness.xproc | 139 +++--- src/harnesses/harness-lib.xpl | 418 ++++++++---------- .../marklogic/ml-xquery-harness.xproc | 143 +++--- .../saxon/saxon-xquery-harness.xproc | 111 ++--- src/harnesses/saxon/saxon-xslt-harness.xproc | 74 ++-- .../zorba/zorba-xquery-harness.xproc | 159 +++---- src/reporter/coverage-report.xsl | 1 - src/reporter/format-utils.xsl | 1 - src/reporter/format-xspec-report-folding.xsl | 1 - src/reporter/format-xspec-report.xsl | 1 - src/reporter/test-report.css | 1 - src/schemas/find-examples.rnc | 1 - test/Makefile | 1 - test/generate-tests-utils.xspec | 2 - test/generate-xspec-tests.xspec | 1 - test/unit-expect-xsl.xspec | 5 +- test/xspec-focus-1.xspec | 1 - test/xspec-focus-2.xspec | 2 - test/xspec-function.xspec | 2 - test/xspec-import.xspec | 2 - test/xspec-imported.xspec | 2 - test/xspec-pending.xspec | 2 - test/xspec-rule.xspec | 2 - test/xspec-tested.xql | 1 - test/xspec-tested.xsl | 1 - test/xspec-variable.xspec | 2 - 38 files changed, 556 insertions(+), 874 deletions(-) diff --git a/build.xml b/build.xml index 63cda7c13..059b81c46 100644 --- a/build.xml +++ b/build.xml @@ -2,7 +2,6 @@ - diff --git a/find-examples.xml b/find-examples.xml index 08e6d22aa..2b9c75eec 100644 --- a/find-examples.xml +++ b/find-examples.xml @@ -2,18 +2,12 @@ - - - - ?select=*.xml&recurse=yes&strip-space=yes - - diff --git a/find-examples.xsl b/find-examples.xsl index 6487cf9b0..706ad83f8 100644 --- a/find-examples.xsl +++ b/find-examples.xsl @@ -2,7 +2,6 @@ - diff --git a/src/compiler/generate-common-tests.xsl b/src/compiler/generate-common-tests.xsl index 9b95cf844..a471bd947 100644 --- a/src/compiler/generate-common-tests.xsl +++ b/src/compiler/generate-common-tests.xsl @@ -2,7 +2,6 @@ - diff --git a/src/compiler/generate-query-helper.xsl b/src/compiler/generate-query-helper.xsl index 3851a09d2..bd2a05a73 100644 --- a/src/compiler/generate-query-helper.xsl +++ b/src/compiler/generate-query-helper.xsl @@ -2,7 +2,6 @@ - diff --git a/src/compiler/generate-query-tests.xsl b/src/compiler/generate-query-tests.xsl index 58088e175..00681009a 100644 --- a/src/compiler/generate-query-tests.xsl +++ b/src/compiler/generate-query-tests.xsl @@ -2,7 +2,6 @@ - diff --git a/src/compiler/generate-query-utils.xql b/src/compiler/generate-query-utils.xql index 9dbf69a8d..e920976ba 100644 --- a/src/compiler/generate-query-utils.xql +++ b/src/compiler/generate-query-utils.xql @@ -3,7 +3,6 @@ module namespace test = "http://www.jenitennison.com/xslt/unit-test"; (::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::) (: File: generate-query-utils.xql :) (: Author: Jeni Tennsion :) -(: URI: http://xspec.googlecode.com/ :) (: Tags: :) (: Copyright (c) 2008, 2010 Jeni Tennsion (see end of file.) :) (: ------------------------------------------------------------------------ :) diff --git a/src/compiler/generate-tests-helper.xsl b/src/compiler/generate-tests-helper.xsl index c315b594e..6562357a8 100644 --- a/src/compiler/generate-tests-helper.xsl +++ b/src/compiler/generate-tests-helper.xsl @@ -2,7 +2,6 @@ - diff --git a/src/compiler/generate-tests-utils.xsl b/src/compiler/generate-tests-utils.xsl index cbe69dfa6..973053ef2 100644 --- a/src/compiler/generate-tests-utils.xsl +++ b/src/compiler/generate-tests-utils.xsl @@ -2,7 +2,6 @@ - diff --git a/src/compiler/generate-xspec-tests.xsl b/src/compiler/generate-xspec-tests.xsl index 2d31e4bc4..64bb40700 100644 --- a/src/compiler/generate-xspec-tests.xsl +++ b/src/compiler/generate-xspec-tests.xsl @@ -2,7 +2,6 @@ - diff --git a/src/harnesses/basex/basex-server-xquery-harness.xproc b/src/harnesses/basex/basex-server-xquery-harness.xproc index d038cfb59..18714612d 100644 --- a/src/harnesses/basex/basex-server-xquery-harness.xproc +++ b/src/harnesses/basex/basex-server-xquery-harness.xproc @@ -3,29 +3,15 @@ - - - - - - -

This pipeline executes an XSpec test suite on a BaseX server instance.

-

Primary input: A XSpec test suite document.

-

Primary output: A formatted HTML XSpec report.

-

The XQuery library module to test must already be on the BaseX instance + + +

This pipeline executes an XSpec test suite on a BaseX server instance.

+

Primary input: A XSpec test suite document.

+

Primary output: A formatted HTML XSpec report.

+

The XQuery library module to test must already be on the BaseX instance (its URI is passed through the option 'query-at'). The instance endpoint is passed in the option 'endpoint'. The runtime utils library (also known as generate-query-utils.xql) must also be on the instance (its location @@ -33,88 +19,74 @@ The dir where you unzipped the XSpec archive on your filesystem is passed in the option 'xspec-home'. User credentials are passed through options 'username' and 'password'.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- - diff --git a/src/harnesses/basex/basex-standalone-xquery-harness.xproc b/src/harnesses/basex/basex-standalone-xquery-harness.xproc index 663a5556c..3963f5b15 100644 --- a/src/harnesses/basex/basex-standalone-xquery-harness.xproc +++ b/src/harnesses/basex/basex-standalone-xquery-harness.xproc @@ -3,117 +3,76 @@ - - - - - - -

This pipeline executes an XSpec test suite with BaseX standalone.

-

Primary input: A XSpec test suite document.

-

Primary output: A formatted HTML XSpec report.

-

The dir where you unzipped the XSpec archive on your filesystem is passed + + +

This pipeline executes an XSpec test suite with BaseX standalone.

+

Primary input: A XSpec test suite document.

+

Primary output: A formatted HTML XSpec report.

+

The dir where you unzipped the XSpec archive on your filesystem is passed in the option 'xspec-home'. The compiled test suite (the XQuery file to be actually evaluated) is saved on the filesystem to be passed to BaseX. The name of this file is passed in the option 'compiled-file' (it defaults to a file in /tmp). The BaseX JAR file is passed through 'basex-jar'.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- - diff --git a/src/harnesses/exist/exist-xquery-harness.xproc b/src/harnesses/exist/exist-xquery-harness.xproc index c5b98d35a..828226077 100644 --- a/src/harnesses/exist/exist-xquery-harness.xproc +++ b/src/harnesses/exist/exist-xquery-harness.xproc @@ -3,104 +3,67 @@ - - - - - - -

This pipeline executes an XSpec test suite on an eXist instance.

-

Primary input: A XSpec test suite document.

-

Primary output: A formatted HTML XSpec report.

-

The XQuery library module to test must already be on the eXist instance + + +

This pipeline executes an XSpec test suite on an eXist instance.

+

Primary input: A XSpec test suite document.

+

Primary output: A formatted HTML XSpec report.

+

The XQuery library module to test must already be on the eXist instance (its URI is passed through the option 'query-at'). The instance endpoint is passed in the option 'endpoint'. The runtime utils library (also known as generate-query-utils.xql) must also be on the instance (its location hint, that is the 'at' clause to use) is passed in the option 'utils-lib'. The dir where you unzipped the XSpec archive on your filesystem is passed in the option 'xspec-home'.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- - diff --git a/src/harnesses/harness-lib.xpl b/src/harnesses/harness-lib.xpl index 4e7f87cce..c0ad613d0 100644 --- a/src/harnesses/harness-lib.xpl +++ b/src/harnesses/harness-lib.xpl @@ -3,28 +3,18 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - diff --git a/src/harnesses/marklogic/ml-xquery-harness.xproc b/src/harnesses/marklogic/ml-xquery-harness.xproc index b71e9e1fa..069c1d72e 100644 --- a/src/harnesses/marklogic/ml-xquery-harness.xproc +++ b/src/harnesses/marklogic/ml-xquery-harness.xproc @@ -3,104 +3,69 @@ - - - - - - -

This pipeline executes an XSpec test suite on a MarkLogic instance.

-

Primary input: A XSpec test suite document.

-

Primary output: A formatted HTML XSpec report.

-

The XQuery library module to test must already be on the MarkLogic + + +

This pipeline executes an XSpec test suite on a MarkLogic instance.

+

Primary input: A XSpec test suite document.

+

Primary output: A formatted HTML XSpec report.

+

The XQuery library module to test must already be on the MarkLogic instance. The instance endpoint is passed in the option 'endpoint'. The runtime utils library (also known as generate-query-utils.xql) must also be on the instance (its location hint, that is the 'at' clause to use) is passed in the option 'utils-lib'. The dir where you unzipped the XSpec archive on your filesystem is passed in the option 'xspec-home'.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- - diff --git a/src/harnesses/saxon/saxon-xquery-harness.xproc b/src/harnesses/saxon/saxon-xquery-harness.xproc index 23424eb32..7597efd5a 100644 --- a/src/harnesses/saxon/saxon-xquery-harness.xproc +++ b/src/harnesses/saxon/saxon-xquery-harness.xproc @@ -3,82 +3,51 @@ - - - - - - -

This pipeline executes an XSpec test suite with the Saxon embedded in Calabash.

-

Primary input: A XSpec test suite document.

-

Primary output: A formatted HTML XSpec report.

-

The dir where you unzipped the XSpec archive on your filesystem is passed + + +

This pipeline executes an XSpec test suite with the Saxon embedded in Calabash.

+

Primary input: A XSpec test suite document.

+

Primary output: A formatted HTML XSpec report.

+

The dir where you unzipped the XSpec archive on your filesystem is passed in the option 'xspec-home'.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- - diff --git a/src/harnesses/saxon/saxon-xslt-harness.xproc b/src/harnesses/saxon/saxon-xslt-harness.xproc index c63a56efa..d93a4f2f4 100644 --- a/src/harnesses/saxon/saxon-xslt-harness.xproc +++ b/src/harnesses/saxon/saxon-xslt-harness.xproc @@ -3,58 +3,36 @@ - - - - - - -

This pipeline executes an XSpec test suite with the Saxon embedded in Calabash.

-

Primary input: A XSpec test suite document.

-

Primary output: A formatted HTML XSpec report.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - + + +

This pipeline executes an XSpec test suite with the Saxon embedded in Calabash.

+

Primary input: A XSpec test suite document.

+

Primary output: A formatted HTML XSpec report.

+
+ + + + + + + + + + + + + + + + + + + +
- - diff --git a/src/harnesses/zorba/zorba-xquery-harness.xproc b/src/harnesses/zorba/zorba-xquery-harness.xproc index 81ed7e0f3..685b0a67c 100644 --- a/src/harnesses/zorba/zorba-xquery-harness.xproc +++ b/src/harnesses/zorba/zorba-xquery-harness.xproc @@ -3,119 +3,76 @@ - - - - - - -

This pipeline executes an XSpec test suite with Zorba.

-

Primary input: A XSpec test suite document.

-

Primary output: A formatted HTML XSpec report.

-

The dir where you unzipped the XSpec archive on your filesystem is passed + + +

This pipeline executes an XSpec test suite with Zorba.

+

Primary input: A XSpec test suite document.

+

Primary output: A formatted HTML XSpec report.

+

The dir where you unzipped the XSpec archive on your filesystem is passed in the option 'xspec-home'. The compiled test suite (the XQuery file to be actually evaluated) is saved on the filesystem to be passed to Zorba. The name of this file is passed in the option 'compiled-file' (it defaults to a file in /tmp). It relies on a script called 'zorba' being available in the system's $PATH.

-
- - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + +
- - diff --git a/src/reporter/coverage-report.xsl b/src/reporter/coverage-report.xsl index be46dab8d..cf0841034 100644 --- a/src/reporter/coverage-report.xsl +++ b/src/reporter/coverage-report.xsl @@ -2,7 +2,6 @@ - diff --git a/src/reporter/format-utils.xsl b/src/reporter/format-utils.xsl index 2a08a6e4e..078509dc7 100644 --- a/src/reporter/format-utils.xsl +++ b/src/reporter/format-utils.xsl @@ -2,7 +2,6 @@ - diff --git a/src/reporter/format-xspec-report-folding.xsl b/src/reporter/format-xspec-report-folding.xsl index 228ce6574..fa54e600c 100755 --- a/src/reporter/format-xspec-report-folding.xsl +++ b/src/reporter/format-xspec-report-folding.xsl @@ -2,7 +2,6 @@ - diff --git a/src/reporter/format-xspec-report.xsl b/src/reporter/format-xspec-report.xsl index 290c0f20b..190edb7a1 100644 --- a/src/reporter/format-xspec-report.xsl +++ b/src/reporter/format-xspec-report.xsl @@ -2,7 +2,6 @@ - diff --git a/src/reporter/test-report.css b/src/reporter/test-report.css index d91e3b91b..2cb2cffde 100644 --- a/src/reporter/test-report.css +++ b/src/reporter/test-report.css @@ -1,7 +1,6 @@ /****************************************************************************/ /* File: test-report.css */ /* Author: Jeni Tennsion */ -/* URI: http://xspec.googlecode.com/ */ /* Tags: */ /* Copyright (c) 2008, 2010 Jeni Tennsion (see end of file.) */ /* ------------------------------------------------------------------------ */ diff --git a/src/schemas/find-examples.rnc b/src/schemas/find-examples.rnc index 671d5ac15..96339abc0 100644 --- a/src/schemas/find-examples.rnc +++ b/src/schemas/find-examples.rnc @@ -1,7 +1,6 @@ # ========================================================================== # # File: find-examples.rnc # # Author: Jeni Tennsion # -# URI: http://xspec.googlecode.com/ # # Tags: # # Copyright (c) 2008, 2010 Jeni Tennsion (see end of file.) # # -------------------------------------------------------------------------- # diff --git a/test/Makefile b/test/Makefile index c08db7c28..865bcf375 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,7 +1,6 @@ # ========================================================================== # # File: test/Makefile # # Author: Jeni Tennsion # -# URI: http://xspec.googlecode.com/ # # Tags: # # Copyright (c) 2010 Jeni Tennsion (see end of file.) # # -------------------------------------------------------------------------- # diff --git a/test/generate-tests-utils.xspec b/test/generate-tests-utils.xspec index ecf04c617..f9b19c64d 100644 --- a/test/generate-tests-utils.xspec +++ b/test/generate-tests-utils.xspec @@ -2,11 +2,9 @@ - - - diff --git a/test/unit-expect-xsl.xspec b/test/unit-expect-xsl.xspec index 6c2c3d5d7..1b7223858 100644 --- a/test/unit-expect-xsl.xspec +++ b/test/unit-expect-xsl.xspec @@ -2,7 +2,6 @@ - @@ -22,8 +21,8 @@ - + - + diff --git a/test/xspec-focus-1.xspec b/test/xspec-focus-1.xspec index 6b9a5ea85..4c4b7b170 100644 --- a/test/xspec-focus-1.xspec +++ b/test/xspec-focus-1.xspec @@ -2,7 +2,6 @@ - diff --git a/test/xspec-focus-2.xspec b/test/xspec-focus-2.xspec index 38441234d..963acd3a6 100644 --- a/test/xspec-focus-2.xspec +++ b/test/xspec-focus-2.xspec @@ -2,11 +2,9 @@ - - - - diff --git a/test/xspec-import.xspec b/test/xspec-import.xspec index a8e693bb3..cd07c9f89 100644 --- a/test/xspec-import.xspec +++ b/test/xspec-import.xspec @@ -2,11 +2,9 @@ - - diff --git a/test/xspec-imported.xspec b/test/xspec-imported.xspec index f62c9612d..af9cdb081 100644 --- a/test/xspec-imported.xspec +++ b/test/xspec-imported.xspec @@ -2,11 +2,9 @@ - - diff --git a/test/xspec-pending.xspec b/test/xspec-pending.xspec index b441a45e8..a1d5d90da 100644 --- a/test/xspec-pending.xspec +++ b/test/xspec-pending.xspec @@ -2,11 +2,9 @@ - - - - diff --git a/test/xspec-tested.xql b/test/xspec-tested.xql index c9855990e..9b5538ebf 100644 --- a/test/xspec-tested.xql +++ b/test/xspec-tested.xql @@ -1,7 +1,6 @@ (::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::) (: File: test/xspec-tested.xql :) (: Author: Jeni Tennsion :) -(: URI: http://xspec.googlecode.com/ :) (: Tags: :) (: Copyright (c) 2010 Jeni Tennsion (see end of file.) :) (: ------------------------------------------------------------------------ :) diff --git a/test/xspec-tested.xsl b/test/xspec-tested.xsl index 299457969..fdf92bff9 100644 --- a/test/xspec-tested.xsl +++ b/test/xspec-tested.xsl @@ -2,7 +2,6 @@ - diff --git a/test/xspec-variable.xspec b/test/xspec-variable.xspec index 37687a4b6..49f2f64a2 100644 --- a/test/xspec-variable.xspec +++ b/test/xspec-variable.xspec @@ -2,11 +2,9 @@ - -