[Groonga-commit] groonga/gcs [master] Add scenarios for invalid index of collections

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 21 19:51:57 JST 2012


YUKI Hiroshi	2012-11-21 19:51:57 +0900 (Wed, 21 Nov 2012)

  New Revision: 0ef0462792a5c1f5c8737426ec5289f9a04fa7e1
  https://github.com/groonga/gcs/commit/0ef0462792a5c1f5c8737426ec5289f9a04fa7e1

  Log:
    Add scenarios for invalid index of collections

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

  Modified: test/scenarios/configuration/DescribeDomains.json (+5 -1)
===================================================================
--- test/scenarios/configuration/DescribeDomains.json    2012-11-21 19:42:51 +0900 (b46df42)
+++ test/scenarios/configuration/DescribeDomains.json    2012-11-21 19:51:57 +0900 (22dc8cc)
@@ -81,5 +81,9 @@
 
   { "name"  : "negative index",
     "params": { "Action": "DescribeDomains",
-                "DomainNames.member.-1": "domain1" } }
+                "DomainNames.member.-1": "domain1" } },
+
+  { "name"  : "not a number index",
+    "params": { "Action": "DescribeDomains",
+                "DomainNames.member.foo": "domain1" } }
 ] }

  Modified: test/scenarios/configuration/DescribeIndexFields.json (+6 -1)
===================================================================
--- test/scenarios/configuration/DescribeIndexFields.json    2012-11-21 19:42:51 +0900 (9fe7f0b)
+++ test/scenarios/configuration/DescribeIndexFields.json    2012-11-21 19:51:57 +0900 (cda49f2)
@@ -126,5 +126,10 @@
   { "name"  : "negative index",
     "params": { "Action": "DescribeIndexFields",
                 "DomainName": "companies",
-                "FieldNames.member.-1": "name" } }
+                "FieldNames.member.-1": "name" } },
+
+  { "name"  : "not a number index",
+    "params": { "Action": "DescribeIndexFields",
+                "DomainName": "companies",
+                "FieldNames.member.foo": "name" } }
 ] }
-------------- next part --------------
HTML����������������������������...
下載 



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