[Groonga-commit] groonga/gcs [master] Set default configurations for the fixture database

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Aug 22 17:08:56 JST 2012


YUKI Hiroshi	2012-08-22 17:08:56 +0900 (Wed, 22 Aug 2012)

  New Revision: 5a2bf5b79b625c52aa73728f943895941f98dce9
  https://github.com/groonga/gcs/commit/5a2bf5b79b625c52aa73728f943895941f98dce9

  Log:
    Set default configurations for the fixture database

  Added files:
    test/fixture/companies/configurations.grn
  Modified files:
    test/api-search.test.js

  Modified: test/api-search.test.js (+1 -0)
===================================================================
--- test/api-search.test.js    2012-08-22 17:03:44 +0900 (e5313b0)
+++ test/api-search.test.js    2012-08-22 17:08:56 +0900 (e02c6f8)
@@ -68,6 +68,7 @@ suite('Search API', function() {
   suite('with fixture loaded', function() {
     setup(function() {
       utils.loadDumpFile(context, __dirname + '/fixture/companies/ddl.grn');
+      utils.loadDumpFile(context, __dirname + '/fixture/companies/configurations.grn');
       utils.loadDumpFile(context, __dirname + '/fixture/companies/data.grn');
     });
 

  Added: test/fixture/companies/configurations.grn (+22 -0) 100644
===================================================================
--- /dev/null
+++ test/fixture/companies/configurations.grn    2012-08-22 17:08:56 +0900 (a5554cc)
@@ -0,0 +1,22 @@
+load --table companies_00000000000000000000000000_configurations
+[
+["_key","value"],
+["column_age_option_facet_enabled","true"],
+["column_address_option_facet_enabled","true"],
+["column_email_address_option_facet_enabled","true"],
+["column_description_option_facet_enabled","true"],
+["column_name_option_facet_enabled","true"],
+["column_product_option_facet_enabled","true"],
+["column_age_option_result_enabled","true"],
+["column_address_option_result_enabled","true"],
+["column_email_address_option_result_enabled","true"],
+["column_description_option_result_enabled","true"],
+["column_name_option_result_enabled","true"],
+["column_product_option_result_enabled","true"],
+["column_age_option_search_enabled","true"],
+["column_address_option_search_enabled","true"],
+["column_email_address_option_search_enabled","true"],
+["column_description_option_search_enabled","true"],
+["column_name_option_search_enabled","true"],
+["column_product_option_search_enabled","true"]
+]
-------------- next part --------------
HTML����������������������������...
Descargar 



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