YUKI Hiroshi
null+****@clear*****
Tue Sep 10 17:30:52 JST 2013
YUKI Hiroshi 2013-09-10 17:30:52 +0900 (Tue, 10 Sep 2013) New Revision: 9b49473240d1b3ef3385b401bce0c62e9ac83f70 https://github.com/droonga/express-droonga/commit/9b49473240d1b3ef3385b401bce0c62e9ac83f70 Message: Message envelope should have "dataset" information Modified files: application.js test/droonga-protocol/connection.test.js test/test-utils.js Modified: application.js (+1 -0) =================================================================== --- application.js 2013-09-05 14:33:56 +0900 (6036fa8) +++ application.js 2013-09-10 17:30:52 +0900 (572b70d) @@ -8,6 +8,7 @@ var application = express(); var server = http.createServer(application); application.droonga({ prefix: '', + dataset: 'example', server: server }); Modified: test/droonga-protocol/connection.test.js (+1 -0) =================================================================== --- test/droonga-protocol/connection.test.js 2013-09-05 14:33:56 +0900 (f5b0b3e) +++ test/droonga-protocol/connection.test.js 2013-09-10 17:30:52 +0900 (29c6773) @@ -64,6 +64,7 @@ suite('Connection', function() { backend = newBackend; connection = new Connection({ tag: 'test', + dataset: 'test-dataset', hostName: 'localhost', port: utils.testSendPort, receivePort: utils.testReceivePort, Modified: test/test-utils.js (+2 -0) =================================================================== --- test/test-utils.js 2013-09-05 14:33:56 +0900 (1d1e8e7) +++ test/test-utils.js 2013-09-10 17:30:52 +0900 (f7b8174) @@ -194,6 +194,7 @@ function setupApplication() { backend = newBackend; var connection = new Connection({ tag: testTag, + dataset: 'test-dataset', hostName: 'localhost', port: testSendPort, receivePort: testReceivePort, @@ -303,6 +304,7 @@ function createEnvelope(type, body) { date: now.toISOString(), replyTo: 'localhost:' + testReceivePort + '/' + testTag, statusCode: 200, + dataset: 'test-dataset', type: type, body: body }; -------------- next part -------------- HTML����������������������������...Download