Merge lp:~zorba-coders/zorba/add-item-module into lp:zorba

Proposed by Sorin Marian Nasoi
Status: Merged
Merged at revision: 11618
Proposed branch: lp:~zorba-coders/zorba/add-item-module
Merge into: lp:zorba
Diff against target: 38 lines (+24/-0)
3 files modified
modules/item/CMakeLists.txt (+16/-0)
test/rbkt/ExpQueryResults/zorba/misc/item-size.xml.res (+1/-0)
test/rbkt/Queries/zorba/misc/item-size.xq (+7/-0)
To merge this branch: bzr merge lp:~zorba-coders/zorba/add-item-module
Reviewer Review Type Date Requested Status
Chris Hillery Approve
Sorin Marian Nasoi Approve
Review via email: mp+185194@code.launchpad.net

Commit message

Add CMakeLists and trivial test for item module.

To post a comment you must log in.
Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) :
review: Approve
Revision history for this message
Chris Hillery (ceejatec) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue starting for the following merge proposals:
https://code.launchpad.net/~zorba-coders/zorba/add-item-module/+merge/185194

Progress dashboard at http://jenkins.lambda.nu/view/ValidationQueue

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue succeeded - proposal merged!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'modules/item/CMakeLists.txt'
2--- modules/item/CMakeLists.txt 1970-01-01 00:00:00 +0000
3+++ modules/item/CMakeLists.txt 2013-09-12 04:14:43 +0000
4@@ -0,0 +1,16 @@
5+# Copyright 2006-2013 The FLWOR Foundation.
6+#
7+# Licensed under the Apache License, Version 2.0 (the "License");
8+# you may not use this file except in compliance with the License.
9+# You may obtain a copy of the License at
10+#
11+# http://www.apache.org/licenses/LICENSE-2.0
12+#
13+# Unless required by applicable law or agreed to in writing, software
14+# distributed under the License is distributed on an "AS IS" BASIS,
15+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+# See the License for the specific language governing permissions and
17+# limitations under the License.
18+
19+DECLARE_ZORBA_MODULE(FILE item.xq VERSION 1.0
20+ URI "http://zorba.io/modules/item")
21
22=== added file 'test/rbkt/ExpQueryResults/zorba/misc/item-size.xml.res'
23--- test/rbkt/ExpQueryResults/zorba/misc/item-size.xml.res 1970-01-01 00:00:00 +0000
24+++ test/rbkt/ExpQueryResults/zorba/misc/item-size.xml.res 2013-09-12 04:14:43 +0000
25@@ -0,0 +1,1 @@
26+true
27
28=== added file 'test/rbkt/Queries/zorba/misc/item-size.xq'
29--- test/rbkt/Queries/zorba/misc/item-size.xq 1970-01-01 00:00:00 +0000
30+++ test/rbkt/Queries/zorba/misc/item-size.xq 2013-09-12 04:14:43 +0000
31@@ -0,0 +1,7 @@
32+(: We can't test the exact output of item:size() as it is platform-dependent.
33+ However we can at least check that we can call it without error. :)
34+
35+import module namespace item = "http://zorba.io/modules/item";
36+
37+item:size(1) gt 1
38+

Subscribers

People subscribed via source and target branches