summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/test.xquery
diff options
context:
space:
mode:
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