[Groonga-commit] groonga/gcs [master] Add more requests for the scenario for DescribeIndexFields

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Nov 12 15:00:23 JST 2012


YUKI Hiroshi	2012-11-12 15:00:23 +0900 (Mon, 12 Nov 2012)

  New Revision: 1dc21db093f071db5e9c45e32e5fa0f008a3a8e7
  https://github.com/groonga/gcs/commit/1dc21db093f071db5e9c45e32e5fa0f008a3a8e7

  Log:
    Add more requests for the scenario for DescribeIndexFields

  Modified files:
    test/scenarios/configuration/DescribeIndexFields.json

  Modified: test/scenarios/configuration/DescribeIndexFields.json (+43 -0)
===================================================================
--- test/scenarios/configuration/DescribeIndexFields.json    2012-11-12 14:54:32 +0900 (0b932e4)
+++ test/scenarios/configuration/DescribeIndexFields.json    2012-11-12 15:00:23 +0900 (47d43d5)
@@ -75,6 +75,49 @@
                 "DomainName": "" } },
 
 
+  { "name"  : "with too short (one letter) field name",
+    "params": { "Action": "DescribeIndexFields",
+                "DomainName": "companies",
+                "FieldNames.member.1": "a" } },
+
+  { "name"  : "with too short (two letters) field name",
+    "params": { "Action": "DescribeIndexFields",
+                "DomainName": "companies",
+                "FieldNames.member.1": "ab" } },
+
+  { "name"  : "with too long field name",
+    "params": { "Action": "DescribeIndexFields",
+                "DomainName": "companies",
+                "FieldNames.member.1": "abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789" } },
+
+  { "name"  : "with invalid character in the field name",
+    "params": { "Action": "DescribeIndexFields",
+                "DomainName": "companies",
+                "FieldNames.member.1": "@_@" } },
+
+  { "name"  : "with invalid character in the field name and too long",
+    "params": { "Action": "DescribeIndexFields",
+                "DomainName": "companies",
+                "FieldNames.member.1": "@abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789" } },
+
+  { "name"  : "without field name",
+    "params": { "Action": "DescribeIndexFields",
+                "DomainName": "companies",
+                "FieldNames.member.1": "" } },
+
+  { "name"  : "with too short field names",
+    "params": { "Action": "DescribeIndexFields",
+                "DomainName": "companies",
+                "FieldNames.member.1": "a",
+                "FieldNames.member.2": "b" } },
+
+  { "name"  : "with too short field name and valid field name",
+    "params": { "Action": "DescribeIndexFields",
+                "DomainName": "companies",
+                "FieldNames.member.1": "a",
+                "FieldNames.member.2": "name" } },
+
+
   { "name"  : "single index with gap",
     "params": { "Action": "DescribeIndexFields",
                 "DomainName": "companies",
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index