[Groonga-commit] groonga/gcs [master] Set domain id manually for testing

Back to archive index

null+****@clear***** null+****@clear*****
2012年 8月 2日 (木) 12:34:18 JST


SHIMODA Hiroshi	2012-08-02 12:34:18 +0900 (Thu, 02 Aug 2012)

  New Revision: 4fd821a085512269a09f2bfaad5702c042f5b254
  https://github.com/groonga/gcs/commit/4fd821a085512269a09f2bfaad5702c042f5b254

  Log:
    Set domain id manually for testing

  Modified files:
    test/database-index-field.test.js

  Modified: test/database-index-field.test.js (+2 -0)
===================================================================
--- test/database-index-field.test.js    2012-08-02 12:33:02 +0900 (c739656)
+++ test/database-index-field.test.js    2012-08-02 12:34:18 +0900 (ccb8da7)
@@ -11,6 +11,7 @@ suite('database', function() {
 
     setup(function() {
       domain = new Domain('testdomain');
+      domain.id = Domain.DEFAULT_ID;
     });
 
     teardown(function() {
@@ -146,6 +147,7 @@ suite('database', function() {
         context = temporaryDatabase.get();
         utils.loadDumpFile(context, __dirname + '/fixture/companies/ddl.grn');
         domain = new Domain('companies', context);
+        domain.id = Domain.DEFAULT_ID;
       });
 
       teardown(function() {
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index