YUKI Hiroshi
null+****@clear*****
Thu Dec 26 13:57:39 JST 2013
YUKI Hiroshi 2013-12-26 13:57:39 +0900 (Thu, 26 Dec 2013) New Revision: 3c0f45746ffaaed4dd7ce1313405b8a3c39a5c54 https://github.com/droonga/fluent-plugin-droonga/commit/3c0f45746ffaaed4dd7ce1313405b8a3c39a5c54 Message: Add drntest cases for common error about unknown command type Added files: test/command/suite/common-error/unknown-command.expected test/command/suite/common-error/unknown-command.test Added: test/command/suite/common-error/unknown-command.expected (+13 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/common-error/unknown-command.expected 2013-12-26 13:57:39 +0900 (ea9a72a) @@ -0,0 +1,13 @@ +[ + "droonga.message", + 0, + { + "inReplyTo": null, + "statusCode": 501, + "type": "unknown-command.result", + "body": { + "name": "UnknownType", + "message": "The command type \"unknown-command\" is not available for the dataset \"Droonga\"." + } + } +] Added: test/command/suite/common-error/unknown-command.test (+7 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/common-error/unknown-command.test 2013-12-26 13:57:39 +0900 (b71cbc0) @@ -0,0 +1,7 @@ +#@include fixture/user-table.jsons +{ + "type": "unknown-command", + "dataset": "Droonga", + "body": { + } +} -------------- next part -------------- HTML����������������������������...Download