zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #17231
[Merge] lp:~zorba-coders/zorba/fix_failing_tests_in_core into lp:zorba
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/fix_failing_tests_in_core into lp:zorba.
Commit message:
Fixed some tests in the Zorba Core that depend on external modules.
Requested reviews:
Zorba Coders (zorba-coders)
Sorin Marian Nasoi (sorin.marian.nasoi)
For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/fix_failing_tests_in_core/+merge/144071
Fixed some tests in the Zorba Core that depend on external modules.
--
https://code.launchpad.net/~zorba-coders/zorba/fix_failing_tests_in_core/+merge/144071
Your team Zorba Coders is requested to review the proposed merge of lp:~zorba-coders/zorba/fix_failing_tests_in_core into lp:zorba.
=== modified file 'bin/CMakeLists.txt'
--- bin/CMakeLists.txt 2012-12-05 03:03:36 +0000
+++ bin/CMakeLists.txt 2013-01-21 09:04:27 +0000
@@ -135,4 +135,7 @@
PASS_REGULAR_EXPRESSION "hello, v2")
# test compilation of the perf script
-ZORBA_ADD_TEST(bin/zorba_compilechk4 zorbacmd -q "${CMAKE_CURRENT_SOURCE_DIR}/../test/zperf/src/start.xq" -f --compile-only)
+ZORBA_ADD_TEST(bin/zorba_compilechk4 zorbacmd
+ -q "${CMAKE_CURRENT_SOURCE_DIR}/../test/zperf/src/start.xq" -f --compile-only)
+ZORBA_SET_TEST_PROPERTY(bin/zorba_compilechk4
+ PASS_REGULAR_EXPRESSION "[]|[XQST0059]")
\ No newline at end of file
=== added file 'test/rbkt/Queries/zorba/file/dirname_basename.spec'
--- test/rbkt/Queries/zorba/file/dirname_basename.spec 1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/file/dirname_basename.spec 2013-01-21 09:04:27 +0000
@@ -0,0 +1,2 @@
+Args:
+Error: http://www.w3.org/2005/xqt-errors:XQST0059
=== modified file 'test/rbkt/Queries/zorba/spec/xquery_spec.xqi'
--- test/rbkt/Queries/zorba/spec/xquery_spec.xqi 2012-09-19 21:16:15 +0000
+++ test/rbkt/Queries/zorba/spec/xquery_spec.xqi 2013-01-21 09:04:27 +0000
@@ -2,7 +2,7 @@
import module namespace http = "http://www.zorba-xquery.com/modules/http-client";
import module namespace sctx = "http://www.zorba-xquery.com/modules/introspection/sctx";
-import module namespace html = "http://www.zorba-xquery.com/modules/converters/html";
+(: import module namespace html = "http://www.zorba-xquery.com/modules/converters/html"; :)
(: this should be uncommented only when one wants to retrieve a fresh copy of the F&O Spec from the W3C site :)
import module namespace file = "http://expath.org/ns/file";
@@ -19,7 +19,7 @@
opened bug #3152386
:)
(: this should be uncommented only when one wants to retrieve a fresh copy of the F&O Spec from the W3C site :)
-
+(:
declare %ann:sequential function util:download-and-write-spec($specVersion as xs:string, $docPath as xs:string)
{
let $serParams :=
@@ -37,7 +37,7 @@
html:parse(http:get("http://www.w3.org/TR/xpath-functions-30/")[2]),
$serParams)
};
-
+:)
declare function util:create-spec-function-arity-sequence(
=== modified file 'test/update/Queries/zorba/store/sc2_ex.spec'
--- test/update/Queries/zorba/store/sc2_ex.spec 2012-09-19 21:16:15 +0000
+++ test/update/Queries/zorba/store/sc2_ex.spec 2013-01-21 09:04:27 +0000
@@ -1,5 +1,6 @@
State: sc2_ex1
Compare: sc2_ex1.xml.res Fragment
State: sc2_ex2
+Error: http://www.w3.org/2005/xqt-errors:XQST0059
State: sc2_ex3
Compare: sc2_ex3.xml.res Fragment
=== modified file 'test/update/Queries/zorba/store/sc3.spec'
--- test/update/Queries/zorba/store/sc3.spec 2012-09-19 21:16:15 +0000
+++ test/update/Queries/zorba/store/sc3.spec 2013-01-21 09:04:27 +0000
@@ -1,5 +1,6 @@
State: sc3_ex1
Args: -x input-context:=$UPDATE_SRC_DIR/Queries/zorba/store/meat_poultry.csv
+Error: http://www.w3.org/2005/xqt-errors:XQST0059
State: sc3_ex2
State: sc3_ex3
Compare sc3_ex3.xml.res Text
Follow ups