summaryrefslogtreecommitdiff
path: root/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
commita13c01c46e0d0c414e425e83261f74ddbd86dde6 (patch)
treef01a1bb1def2739f4b35a83654e37839fc2e4f0c /cpp/src/tests/test.xquery
parent6aa2e3bfcf4cd8354a9d3315b70fd1de0d8767b4 (diff)
downloadqpid-python-a13c01c46e0d0c414e425e83261f74ddbd86dde6.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/qpid@897007 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/test.xquery')
-rw-r--r--cpp/src/tests/test.xquery6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/tests/test.xquery b/cpp/src/tests/test.xquery
new file mode 100644
index 0000000000..4cfe3af02d
--- /dev/null
+++ b/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