[Groonga-commit] groonga/gcs [master] Update expected dump for automatically created tables

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Nov 16 19:09:11 JST 2012


YUKI Hiroshi	2012-11-16 19:09:11 +0900 (Fri, 16 Nov 2012)

  New Revision: 90e388e8f5a0d2c18eb73601c4169d863ac8049f
  https://github.com/groonga/gcs/commit/90e388e8f5a0d2c18eb73601c4169d863ac8049f

  Log:
    Update expected dump for automatically created tables

  Modified files:
    test/database-domain.test.js

  Modified: test/database-domain.test.js (+18 -0)
===================================================================
--- test/database-domain.test.js    2012-11-16 19:06:05 +0900 (6717566)
+++ test/database-domain.test.js    2012-11-16 19:09:11 +0900 (0c03e57)
@@ -591,6 +591,15 @@ suite('database', function() {
         assert.isTrue(domain.hasSynonymsTableSync());
 
         var dumpExpected =
+             'table_create ' + domain.tableName +  ' ' +
+               'TABLE_PAT_KEY ShortText\n' +
+             'table_create ' + domain.configurationsTableName +  ' ' +
+               'TABLE_HASH_KEY ShortText\n' +
+             'column_create ' + domain.configurationsTableName + ' ' +
+               'value COLUMN_SCALAR ShortText\n' +
+             'table_create ' + domain.termsTableName +  ' ' +
+               'TABLE_PAT_KEY|KEY_NORMALIZE ShortText ' +
+               '--default_tokenizer TokenBigram\n' +
              'table_create ' + domain.synonymsTableName +  ' ' +
                'TABLE_HASH_KEY|KEY_NORMALIZE ShortText\n' +
              'column_create ' + domain.synonymsTableName + ' ' +
@@ -618,6 +627,15 @@ suite('database', function() {
         });
 
         var dumpExpected =
+             'table_create ' + domain.tableName +  ' ' +
+               'TABLE_PAT_KEY ShortText\n' +
+             'table_create ' + domain.configurationsTableName +  ' ' +
+               'TABLE_HASH_KEY ShortText\n' +
+             'column_create ' + domain.configurationsTableName + ' ' +
+               'value COLUMN_SCALAR ShortText\n' +
+             'table_create ' + domain.termsTableName +  ' ' +
+               'TABLE_PAT_KEY|KEY_NORMALIZE ShortText ' +
+               '--default_tokenizer TokenBigram\n' +
              'table_create ' + domain.synonymsTableName +  ' ' +
                'TABLE_HASH_KEY|KEY_NORMALIZE ShortText\n' +
              'column_create ' + domain.synonymsTableName + ' ' +
-------------- next part --------------
HTML����������������������������...
Download 



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