[Groonga-commit] groonga/express-kotoumi [master] test: Remove obsolete utility

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Feb 15 15:54:18 JST 2013


YUKI Hiroshi	2013-02-15 15:54:18 +0900 (Fri, 15 Feb 2013)

  New Revision: 14e9bf44404f4c6cbceea2b92534d8d42298ea88
  https://github.com/groonga/express-kotoumi/commit/14e9bf44404f4c6cbceea2b92534d8d42298ea88

  Log:
    test: Remove obsolete utility

  Modified files:
    test/test-utils.js

  Modified: test/test-utils.js (+0 -10)
===================================================================
--- test/test-utils.js    2013-02-15 15:32:48 +0900 (e892dd0)
+++ test/test-utils.js    2013-02-15 15:54:18 +0900 (cc42647)
@@ -227,16 +227,6 @@ function teardownApplication(params) {
 exports.teardownApplication = teardownApplication;
 Deferred.register('teardownApplication', teardownApplication);
 
-function readyToDestroyMockedConnection(connection, clientCount) {
-  connection = connection
-    .mock('removeListener')
-      .takes('error', function() {});
-  if (clientCount)
-    connection = connection.times(clientCount);
-  return connection;
-}
-exports.readyToDestroyMockedConnection = readyToDestroyMockedConnection;
-
 function createBackend() {
   var deferred = new Deferred();
   var backend = new FluentReceiver(testSendPort);
-------------- next part --------------
HTML����������������������������...
Download 



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