projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added CQL free-form term tests.
[yaz-moved-to-github.git]
/
test
/
cqlsample
diff --git
a/test/cqlsample
b/test/cqlsample
index
f08ff47
..
5b5b469
100644
(file)
--- a/
test/cqlsample
+++ b/
test/cqlsample
@@
-1,4
+1,4
@@
-# $Id: cqlsample,v 1.3 2008-01-06 13:08:09 adam Exp $
+# $Id: cqlsample,v 1.4 2008-01-06 17:37:13 adam Exp $
# CQL queries for testing.
# from http://www.loc.gov/z3950/agency/zing/cql/sample-queries.html
# Simple Term
# CQL queries for testing.
# from http://www.loc.gov/z3950/agency/zing/cql/sample-queries.html
# Simple Term
@@
-101,4
+101,15
@@
missingParen any fish)
title = ("illegal parentheses")
> illegal="urn:missingQuery"
title = ("illegal parentheses")
> illegal="urn:missingQuery"
-
+# free-form term OK)
+a b
+a b c
+a.b c
+and b c
+all a
+a any b
+dc.title a b c and d
+
+# free-form term (Syntax error)
+a b.c
+a and