summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/test.xquery
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-01-07 20:32:09 +0000
committerTed Ross <tross@apache.org>2010-01-07 20:32:09 +0000
commitb29c80a3cdb99fc84fad8348eb298ac16d5b177f (patch)
treefc479208a56b46b87d743fe2e2e4496069e6b4a7 /qpid/cpp/src/tests/test.xquery
parentba099abbd256ad5a491c0529f85cb95ecd59a15e (diff)
downloadqpid-python-b29c80a3cdb99fc84fad8348eb298ac16d5b177f.tar.gz
QPID-2327 - Enhance qpid-config to deal with xml and headers brokers
Committed patch from John Dunning git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@897007 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/test.xquery')
-rw-r--r--qpid/cpp/src/tests/test.xquery6
1 files changed, 6 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/test.xquery b/qpid/cpp/src/tests/test.xquery
new file mode 100644
index 0000000000..4cfe3af02d
--- /dev/null
+++ b/qpid/cpp/src/tests/test.xquery
@@ -0,0 +1,6 @@
+ let $w := ./weather
+ return $w/station = 'Raleigh-Durham International Airport (KRDU)'
+ and $w/temperature_f > 50
+ and $w/temperature_f - $w/dewpoint > 5
+ and $w/wind_speed_mph > 7
+ and $w/wind_speed_mph < 20