From 8523b42d4cc246312d4c75dd82dbfe1063241933 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Mon, 21 Dec 2015 21:35:51 +1300 Subject: [PATCH] Add test coverage for boolean filter combining --- xapian-applications/omega/omegatest | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xapian-applications/omega/omegatest b/xapian-applications/omega/omegatest index 2b6d986dd..dbb86189f 100755 --- a/xapian-applications/omega/omegatest +++ b/xapian-applications/omega/omegatest @@ -143,6 +143,11 @@ testcase 'VALUE_RANGE 0 20141104 20151103~' DATEVALUE=0 END=20151103 SPAN=365 # Check that if START, END and SPAN are all passed, START is ignored: testcase 'VALUE_RANGE 0 20151104 20151106~' DATEVALUE=0 START=19700101 END=20151106 SPAN=3 +# Check combining of filter terms: +testcase '(Horg AND Len)' B=Len B=Horg +testcase '(Len OR Lde)' B=Len B=Lde +testcase '((Horg OR Hcom) AND (Len OR Lfr))' B=Len B=Lfr B=Horg B=Hcom + # If faketime is available, test a range back from now. if faketime --version > /dev/null 2>&1; then TZ=UTC -- 2.11.4.GIT