~paul-lucas/zorba/bug-928340

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/versioning/import2.xq

  • Committer: Tarmac
  • Author(s): chillery+launchpad at lambda
  • Date: 2012-02-05 17:23:06 UTC
  • mfrom: (10643.1.1 fix-website-failures)
  • Revision ID: tarmac-20120205172306-qwqpdoh2eg8fq86n
Several fixes related to test breakages caused by zorba-xquery.com changes:
1. Don't attempt HTTP resolution w/ HttpStream if Zorba compiled without CURL.
2. store/example_3 test: load content from zorbatest site like other tests.
3. fetch_bogus2 and impot5 test: change "ver" test module to be identified with a flworfound.org URI, so we'll get a 404 when loading it wrong.  (Both example.com and zorba-xquery.com don't return 404 for unknown URLs.)
 Approved: Matthias Brantner, Chris Hillery

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
(: Test that importing a versioned module gets the right version. :)
2
 
import module namespace vm = "http://www.zorba-xquery.com/modules/ver#1.3";
 
2
import module namespace vm = "http://www.flworfound.org/modules/ver#1.3";
3
3
 
4
4
vm:version()