Kouhei Sutou
null+****@clear*****
Mon May 19 15:10:29 JST 2014
Kouhei Sutou 2014-05-19 15:10:29 +0900 (Mon, 19 May 2014) New Revision: 1811854bd72fe8d7d2f715b0ada00c591bdecded https://github.com/droonga/droonga-engine/commit/1811854bd72fe8d7d2f715b0ada00c591bdecded Message: test dump: add a test for array Added files: test/command/suite/dump/table/array.catalog.json test/command/suite/dump/table/array.expected test/command/suite/dump/table/array.test Added: test/command/suite/dump/table/array.catalog.json (+13 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/dump/table/array.catalog.json 2014-05-19 15:10:29 +0900 (37960ab) @@ -0,0 +1,13 @@ +{ + "datasets": { + "Droonga": { + "schema": { + "Logs": { + "type": "Array", + "columns": {} + } + }, + "fact": "Logs" + } + } +} Added: test/command/suite/dump/table/array.expected (+63 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/dump/table/array.expected 2014-05-19 15:10:29 +0900 (14e0909) @@ -0,0 +1,63 @@ +{ + "inReplyTo": "request-id", + "dataset": "Droonga", + "type": "dump.start" +} +{ + "inReplyTo": "request-id", + "dataset": "Droonga", + "type": "dump.start" +} +{ + "inReplyTo": "request-id", + "dataset": "Droonga", + "type": "dump.start" +} +{ + "inReplyTo": "request-id", + "statusCode": 200, + "type": "dump.result", + "body": true +} +{ + "inReplyTo": "request-id", + "dataset": "Droonga", + "body": { + "type": "Array", + "name": "Logs" + }, + "type": "dump.table" +} +{ + "inReplyTo": "request-id", + "dataset": "Droonga", + "type": "dump.end" +} +{ + "inReplyTo": "request-id", + "dataset": "Droonga", + "body": { + "type": "Array", + "name": "Logs" + }, + "type": "dump.table" +} +{ + "inReplyTo": "request-id", + "dataset": "Droonga", + "type": "dump.end" +} +{ + "inReplyTo": "request-id", + "dataset": "Droonga", + "body": { + "type": "Array", + "name": "Logs" + }, + "type": "dump.table" +} +{ + "inReplyTo": "request-id", + "dataset": "Droonga", + "type": "dump.end" +} Added: test/command/suite/dump/table/array.test (+5 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/dump/table/array.test 2014-05-19 15:10:29 +0900 (6f787ba) @@ -0,0 +1,5 @@ +#@require-catalog-version 2 +{ + "type": "dump", + "dataset": "Droonga" +} -------------- next part -------------- HTML����������������������������...下載