Update test case for long terms
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 31 May 2012 13:08:38 +0000 (15:08 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 31 May 2012 13:08:38 +0000 (15:08 +0200)
test/api/test_search.c

index 51b405e..2b1119f 100644 (file)
@@ -66,7 +66,13 @@ const char *myrec[] = {
         "1234567890" "1234567890""1234567890""1234567890""1234567890"
         "1234567890" "1234567890""1234567890""1234567890""1234567890"
         "1234567890" "1234567890""1234567890""1234567890""1234567890"
-        "12345"
+        "1234567890" "1234567890""1234567890""1234567890""1234567890"
+        "1234567890" "1234567890""1234567890""1234567890""1234567890"
+        "1234567890" "1234567890""1234567890""1234567890""1234567890"
+        "1234567890" "1234567890""1234567890""1234567890""1234567890"
+        "1234567890" "1234567890""1234567890""1234567890""1234567890"
+        "1234567890" "1"
+
         "</title>"
         "</gils>"
         ,
@@ -184,7 +190,14 @@ static void tst(int argc, char **argv)
                  "1234567890" "1234567890""1234567890""1234567890""1234567890"
                  "1234567890" "1234567890""1234567890""1234567890""1234567890"
                  "1234567890" "1234567890""1234567890""1234567890""1234567890"
-                 "12345"
+
+
+                 "1234567890" "1234567890""1234567890""1234567890""1234567890"
+                 "1234567890" "1234567890""1234567890""1234567890""1234567890"
+                 "1234567890" "1234567890""1234567890""1234567890""1234567890"
+                 "1234567890" "1234567890""1234567890""1234567890""1234567890"
+                 "1234567890" "1234567890""1234567890""1234567890""1234567890"
+                 "1234567890" "1"
                  , 1));
     
     YAZ_CHECK(
@@ -195,7 +208,13 @@ static void tst(int argc, char **argv)
                    "1234567890" "1234567890""1234567890""1234567890""1234567890"
                    "1234567890" "1234567890""1234567890""1234567890""1234567890"
                    "1234567890" "1234567890""1234567890""1234567890""1234567890"
-                   "123456"
+    
+                   "1234567890" "1234567890""1234567890""1234567890""1234567890"
+                   "1234567890" "1234567890""1234567890""1234567890""1234567890"
+                   "1234567890" "1234567890""1234567890""1234567890""1234567890"
+                   "1234567890" "1234567890""1234567890""1234567890""1234567890"
+                   "1234567890" "1234567890""1234567890""1234567890""1234567890"
+                   "1234567890" "12"
                    , 0, 11));