New
authormike <mike>
Tue, 3 Jul 2007 16:41:04 +0000 (16:41 +0000)
committermike <mike>
Tue, 3 Jul 2007 16:41:04 +0000 (16:41 +0000)
19 files changed:
test/regression/sections/09/05.xcql [new file with mode: 0644]
test/regression/sections/09/06.xcql [new file with mode: 0644]
test/regression/sections/10/.cvsignore [new file with mode: 0644]
test/regression/sections/10/01.xcql [new file with mode: 0644]
test/regression/sections/10/02.xcql [new file with mode: 0644]
test/regression/sections/10/03.xcql [new file with mode: 0644]
test/regression/sections/10/04.xcql [new file with mode: 0644]
test/regression/sections/10/05.xcql [new file with mode: 0644]
test/regression/sections/10/06.xcql [new file with mode: 0644]
test/regression/sections/10/07.xcql [new file with mode: 0644]
test/regression/sections/10/08.xcql [new file with mode: 0644]
test/regression/sections/10/09.xcql [new file with mode: 0644]
test/regression/sections/10/10.xcql [new file with mode: 0644]
test/regression/sections/10/11.xcql [new file with mode: 0644]
test/regression/sections/10/12.xcql [new file with mode: 0644]
test/regression/sections/10/13.xcql [new file with mode: 0644]
test/regression/sections/10/14.xcql [new file with mode: 0644]
test/regression/sections/10/15.xcql [new file with mode: 0644]
test/regression/sections/10/16.xcql [new file with mode: 0644]

diff --git a/test/regression/sections/09/05.xcql b/test/regression/sections/09/05.xcql
new file mode 100644 (file)
index 0000000..578af0f
--- /dev/null
@@ -0,0 +1,12 @@
+<searchClause>
+  <index>cql.serverChoice</index>
+  <relation>
+    <value>=</value>
+  </relation>
+  <term>sortby</term>
+  <sortKeys>
+    <key>
+      <index>sortby</index>
+    </key>
+  </sortKeys>
+</searchClause>
diff --git a/test/regression/sections/09/06.xcql b/test/regression/sections/09/06.xcql
new file mode 100644 (file)
index 0000000..2e136b5
--- /dev/null
@@ -0,0 +1,18 @@
+<searchClause>
+  <index>cql.serverChoice</index>
+  <relation>
+    <value>=</value>
+  </relation>
+  <term>sortby</term>
+  <sortKeys>
+    <key>
+      <index>sortby</index>
+    </key>
+    <key>
+      <index>sortby</index>
+    </key>
+    <key>
+      <index>sortby</index>
+    </key>
+  </sortKeys>
+</searchClause>
diff --git a/test/regression/sections/10/.cvsignore b/test/regression/sections/10/.cvsignore
new file mode 100644 (file)
index 0000000..b03b3d1
--- /dev/null
@@ -0,0 +1,2 @@
+name
+*.cql
diff --git a/test/regression/sections/10/01.xcql b/test/regression/sections/10/01.xcql
new file mode 100644 (file)
index 0000000..0c8cc74
--- /dev/null
@@ -0,0 +1,12 @@
+<searchClause>
+  <index>cql.serverChoice</index>
+  <relation>
+    <value>=</value>
+  </relation>
+  <term>kernighan</term>
+  <sortKeys>
+    <key>
+      <index>title</index>
+    </key>
+  </sortKeys>
+</searchClause>
diff --git a/test/regression/sections/10/02.xcql b/test/regression/sections/10/02.xcql
new file mode 100644 (file)
index 0000000..dbd6407
--- /dev/null
@@ -0,0 +1,28 @@
+<triple>
+  <boolean>
+    <value>and</value>
+  </boolean>
+  <leftOperand>
+    <searchClause>
+      <index>cql.serverChoice</index>
+      <relation>
+        <value>=</value>
+      </relation>
+      <term>kernighan</term>
+    </searchClause>
+  </leftOperand>
+  <rightOperand>
+    <searchClause>
+      <index>cql.serverChoice</index>
+      <relation>
+        <value>=</value>
+      </relation>
+      <term>ritchie</term>
+    </searchClause>
+  </rightOperand>
+  <sortKeys>
+    <key>
+      <index>title</index>
+    </key>
+  </sortKeys>
+</triple>
diff --git a/test/regression/sections/10/03.xcql b/test/regression/sections/10/03.xcql
new file mode 100644 (file)
index 0000000..eaef782
--- /dev/null
@@ -0,0 +1,12 @@
+<searchClause>
+  <index>dc.creator</index>
+  <relation>
+    <value>=</value>
+  </relation>
+  <term>kernighan</term>
+  <sortKeys>
+    <key>
+      <index>dc.title</index>
+    </key>
+  </sortKeys>
+</searchClause>
diff --git a/test/regression/sections/10/04.xcql b/test/regression/sections/10/04.xcql
new file mode 100644 (file)
index 0000000..3a32884
--- /dev/null
@@ -0,0 +1,17 @@
+<searchClause>
+  <index>dc.creator</index>
+  <relation>
+    <value>=</value>
+  </relation>
+  <term>kernighan</term>
+  <sortKeys>
+    <key>
+      <index>numberOfLegs</index>
+      <modifiers>
+        <modifier>
+          <type>cql.number</type>
+        </modifier>
+      </modifiers>
+    </key>
+  </sortKeys>
+</searchClause>
diff --git a/test/regression/sections/10/05.xcql b/test/regression/sections/10/05.xcql
new file mode 100644 (file)
index 0000000..5821b04
--- /dev/null
@@ -0,0 +1,17 @@
+<searchClause>
+  <index>dc.creator</index>
+  <relation>
+    <value>=</value>
+  </relation>
+  <term>kernighan</term>
+  <sortKeys>
+    <key>
+      <index>dc.title</index>
+      <modifiers>
+        <modifier>
+          <type>sort.respectcase</type>
+        </modifier>
+      </modifiers>
+    </key>
+  </sortKeys>
+</searchClause>
diff --git a/test/regression/sections/10/06.xcql b/test/regression/sections/10/06.xcql
new file mode 100644 (file)
index 0000000..8d232b2
--- /dev/null
@@ -0,0 +1,20 @@
+<searchClause>
+  <index>dc.creator</index>
+  <relation>
+    <value>=</value>
+  </relation>
+  <term>kernighan</term>
+  <sortKeys>
+    <key>
+      <index>dc.title</index>
+      <modifiers>
+        <modifier>
+          <type>sort.respectcase</type>
+        </modifier>
+        <modifier>
+          <type>sort.descending</type>
+        </modifier>
+      </modifiers>
+    </key>
+  </sortKeys>
+</searchClause>
diff --git a/test/regression/sections/10/07.xcql b/test/regression/sections/10/07.xcql
new file mode 100644 (file)
index 0000000..13737ee
--- /dev/null
@@ -0,0 +1,15 @@
+<searchClause>
+  <index>dc.creator</index>
+  <relation>
+    <value>=</value>
+  </relation>
+  <term>kernighan</term>
+  <sortKeys>
+    <key>
+      <index>dc.date</index>
+    </key>
+    <key>
+      <index>dc.title</index>
+    </key>
+  </sortKeys>
+</searchClause>
diff --git a/test/regression/sections/10/08.xcql b/test/regression/sections/10/08.xcql
new file mode 100644 (file)
index 0000000..bcf2a8f
--- /dev/null
@@ -0,0 +1,17 @@
+<searchClause>
+  <index>dc.creator</index>
+  <relation>
+    <value>=</value>
+  </relation>
+  <term>kernighan</term>
+  <sortKeys>
+    <key>
+      <index>dc.date</index>
+      <modifiers>
+        <modifier>
+          <type>sort.missingomit</type>
+        </modifier>
+      </modifiers>
+    </key>
+  </sortKeys>
+</searchClause>
diff --git a/test/regression/sections/10/09.xcql b/test/regression/sections/10/09.xcql
new file mode 100644 (file)
index 0000000..8a60d51
--- /dev/null
@@ -0,0 +1,19 @@
+<searchClause>
+  <index>dc.creator</index>
+  <relation>
+    <value>=</value>
+  </relation>
+  <term>kernighan</term>
+  <sortKeys>
+    <key>
+      <index>dc.date</index>
+      <modifiers>
+        <modifier>
+          <type>sort.missingvalue</type>
+          <comparison>=</comparison>
+          <value>1970</value>
+        </modifier>
+      </modifiers>
+    </key>
+  </sortKeys>
+</searchClause>
diff --git a/test/regression/sections/10/10.xcql b/test/regression/sections/10/10.xcql
new file mode 100644 (file)
index 0000000..cb97df6
--- /dev/null
@@ -0,0 +1,18 @@
+<searchClause>
+  <prefixes>
+    <prefix>
+      <name>dc</name>
+      <identifier>http://deepcustard.org/1.0</identifier>
+    </prefix>
+  </prefixes>
+  <index>cql.serverChoice</index>
+  <relation>
+    <value>=</value>
+  </relation>
+  <term>blah</term>
+  <sortKeys>
+    <key>
+      <index>dc.custardDepth</index>
+    </key>
+  </sortKeys>
+</searchClause>
diff --git a/test/regression/sections/10/11.xcql b/test/regression/sections/10/11.xcql
new file mode 100644 (file)
index 0000000..ba2abe7
--- /dev/null
@@ -0,0 +1,38 @@
+<searchClause>
+  <prefixes>
+    <prefix>
+      <name>ns1</name>
+      <identifier>http://uri1</identifier>
+    </prefix>
+    <prefix>
+      <name>ns2</name>
+      <identifier>http://uri2</identifier>
+    </prefix>
+  </prefixes>
+  <index>cql.serverChoice</index>
+  <relation>
+    <value>=</value>
+  </relation>
+  <term>whatever</term>
+  <sortKeys>
+    <key>
+      <index>ns1.key</index>
+      <modifiers>
+        <modifier>
+          <type>a</type>
+        </modifier>
+        <modifier>
+          <type>b</type>
+        </modifier>
+        <modifier>
+          <type>c</type>
+          <comparison>=</comparison>
+          <value>1</value>
+        </modifier>
+      </modifiers>
+    </key>
+    <key>
+      <index>ns2.key2</index>
+    </key>
+  </sortKeys>
+</searchClause>
diff --git a/test/regression/sections/10/12.xcql b/test/regression/sections/10/12.xcql
new file mode 100644 (file)
index 0000000..06b0ac2
--- /dev/null
@@ -0,0 +1,18 @@
+<searchClause>
+  <prefixes>
+    <prefix>
+      <name>dc</name>
+      <identifier>x</identifier>
+    </prefix>
+  </prefixes>
+  <index>b</index>
+  <relation>
+    <value>=</value>
+  </relation>
+  <term>c</term>
+  <sortKeys>
+    <key>
+      <index>d</index>
+    </key>
+  </sortKeys>
+</searchClause>
diff --git a/test/regression/sections/10/13.xcql b/test/regression/sections/10/13.xcql
new file mode 100644 (file)
index 0000000..06b0ac2
--- /dev/null
@@ -0,0 +1,18 @@
+<searchClause>
+  <prefixes>
+    <prefix>
+      <name>dc</name>
+      <identifier>x</identifier>
+    </prefix>
+  </prefixes>
+  <index>b</index>
+  <relation>
+    <value>=</value>
+  </relation>
+  <term>c</term>
+  <sortKeys>
+    <key>
+      <index>d</index>
+    </key>
+  </sortKeys>
+</searchClause>
diff --git a/test/regression/sections/10/14.xcql b/test/regression/sections/10/14.xcql
new file mode 100644 (file)
index 0000000..4f9f6d2
--- /dev/null
@@ -0,0 +1,34 @@
+<triple>
+  <prefixes>
+    <prefix>
+      <name>dc</name>
+      <identifier>x</identifier>
+    </prefix>
+  </prefixes>
+  <boolean>
+    <value>and</value>
+  </boolean>
+  <leftOperand>
+    <searchClause>
+      <index>cql.serverChoice</index>
+      <relation>
+        <value>=</value>
+      </relation>
+      <term>c1</term>
+    </searchClause>
+  </leftOperand>
+  <rightOperand>
+    <searchClause>
+      <index>cql.serverChoice</index>
+      <relation>
+        <value>=</value>
+      </relation>
+      <term>c2</term>
+    </searchClause>
+  </rightOperand>
+  <sortKeys>
+    <key>
+      <index>d</index>
+    </key>
+  </sortKeys>
+</triple>
diff --git a/test/regression/sections/10/15.xcql b/test/regression/sections/10/15.xcql
new file mode 100644 (file)
index 0000000..fb278bc
--- /dev/null
@@ -0,0 +1,22 @@
+<searchClause>
+  <prefixes>
+    <prefix>
+      <name>dc</name>
+      <identifier>http://deepcustard.org</identifier>
+    </prefix>
+    <prefix>
+      <name>dc</name>
+      <identifier>http://dublincore.org</identifier>
+    </prefix>
+  </prefixes>
+  <index>dc.title</index>
+  <relation>
+    <value>=</value>
+  </relation>
+  <term>jaws</term>
+  <sortKeys>
+    <key>
+      <index>dc.custardDepth</index>
+    </key>
+  </sortKeys>
+</searchClause>
diff --git a/test/regression/sections/10/16.xcql b/test/regression/sections/10/16.xcql
new file mode 100644 (file)
index 0000000..42b01d6
--- /dev/null
@@ -0,0 +1,40 @@
+<triple>
+  <prefixes>
+    <prefix>
+      <name>dc</name>
+      <identifier>http://deepcustard.org</identifier>
+    </prefix>
+  </prefixes>
+  <boolean>
+    <value>or</value>
+  </boolean>
+  <leftOperand>
+    <searchClause>
+      <index>cql.serverChoice</index>
+      <relation>
+        <value>=</value>
+      </relation>
+      <term>fish</term>
+    </searchClause>
+  </leftOperand>
+  <rightOperand>
+    <searchClause>
+      <prefixes>
+        <prefix>
+          <name>dc</name>
+          <identifier>http://dublincore.org</identifier>
+        </prefix>
+      </prefixes>
+      <index>dc.title</index>
+      <relation>
+        <value>=</value>
+      </relation>
+      <term>jaws</term>
+    </searchClause>
+  </rightOperand>
+  <sortKeys>
+    <key>
+      <index>dc.custardDepth</index>
+    </key>
+  </sortKeys>
+</triple>