YUKI Hiroshi
null+****@clear*****
Fri Nov 9 17:21:22 JST 2012
YUKI Hiroshi 2012-11-09 17:21:22 +0900 (Fri, 09 Nov 2012) New Revision: 06ad42789e4ee37a4e8d1cc7fb9f303cff158321 https://github.com/groonga/gcs/commit/06ad42789e4ee37a4e8d1cc7fb9f303cff158321 Log: Add requests for more invalid domain name cases Modified files: test/response/configuration/CreateDomain.json test/response/configuration/DefineIndexField.json test/response/configuration/DeleteDomain.json Modified: test/response/configuration/CreateDomain.json (+8 -0) =================================================================== --- test/response/configuration/CreateDomain.json 2012-11-09 17:36:14 +0900 (63b2432) +++ test/response/configuration/CreateDomain.json 2012-11-09 17:21:22 +0900 (b9b1436) @@ -23,6 +23,14 @@ "params": { "Action": "CreateDomain", "DomainName": "abcdefghijklmnopqrstuvwxyz0123456789" } }, + { "name" : "with invalid character", + "params": { "Action": "CreateDomain", + "DomainName": "@_@" } }, + + { "name" : "with invalid character and too long", + "params": { "Action": "CreateDomain", + "DomainName": "@abcdefghijklmnopqrstuvwxyz0123456789" } }, + { "name" : "without domain name", "params": { "Action": "CreateDomain", "DomainName": "" } } Modified: test/response/configuration/DefineIndexField.json (+12 -0) =================================================================== --- test/response/configuration/DefineIndexField.json 2012-11-09 17:36:14 +0900 (9db7a7e) +++ test/response/configuration/DefineIndexField.json 2012-11-09 17:21:22 +0900 (971f8a9) @@ -83,6 +83,18 @@ "IndexField.IndexFieldName": "never_exist", "IndexField.IndexFieldType": "text" } }, + { "name" : "with domain name including invalid character", + "params": { "Action": "DefineIndexField", + "DomainName": "@_@", + "IndexField.IndexFieldName": "never_exist", + "IndexField.IndexFieldType": "text" } }, + + { "name" : "with too long domain name including invalid character", + "params": { "Action": "DefineIndexField", + "DomainName": "@abcdefghijklmnopqrstuvwxyz0123456789", + "IndexField.IndexFieldName": "never_exist", + "IndexField.IndexFieldType": "text" } }, + { "name" : "without domain domain name", "params": { "Action": "DefineIndexField", "DomainName": "", Modified: test/response/configuration/DeleteDomain.json (+8 -0) =================================================================== --- test/response/configuration/DeleteDomain.json 2012-11-09 17:36:14 +0900 (f308f01) +++ test/response/configuration/DeleteDomain.json 2012-11-09 17:21:22 +0900 (0fe2fe8) @@ -26,6 +26,14 @@ "params": { "Action": "DeleteDomain", "DomainName": "abcdefghijklmnopqrstuvwxyz0123456789" } }, + { "name" : "with invalid character", + "params": { "Action": "DeleteDomain", + "DomainName": "@_@" } }, + + { "name" : "with invalid character and too long", + "params": { "Action": "DeleteDomain", + "DomainName": "@abcdefghijklmnopqrstuvwxyz0123456789" } }, + { "name" : "without domain name", "params": { "Action": "DeleteDomain", "DomainName": "" } } -------------- next part -------------- HTML����������������������������... 다운로드