[Groonga-commit] groonga/groonga [master] Revert "[test] added a test for table_create --default_tokenizer."

Back to archive index

null+****@clear***** null+****@clear*****
2012年 2月 14日 (火) 13:59:25 JST


Kouhei Sutou	2012-02-14 13:59:25 +0900 (Tue, 14 Feb 2012)

  New Revision: 21fbdd9967fb44b1a4daed0cff4d67cdb44c66f2

  Log:
    Revert "[test] added a test for table_create --default_tokenizer."
    
    This reverts commit d4896b9b6be0390aa715a6e8a327da979cafee6f.

  Modified files:
    test/unit/core/test-command-table-create.c

  Modified: test/unit/core/test-command-table-create.c (+0 -14)
===================================================================
--- test/unit/core/test-command-table-create.c    2012-02-14 13:59:10 +0900 (4f1e772)
+++ test/unit/core/test-command-table-create.c    2012-02-14 13:59:25 +0900 (9890f09)
@@ -27,7 +27,6 @@ void test_hash_key(void);
 void test_pat_key(void);
 void test_dat_key(void);
 void test_no_key(void);
-void test_default_tokenizer(void);
 
 void test_invalid_name(void);
 
@@ -124,19 +123,6 @@ test_no_key(void)
 }
 
 void
-test_default_tokenizer(void)
-{
-  grn_obj *tokenizer;
-  assert_send_command("table_create Users TABLE_PAT_KEY ShortText "
-                      "--default_tokenizer TokenBigram");
-  grn_test_assert_users_exist();
-  tokenizer = grn_obj_get_info(context, users, GRN_INFO_DEFAULT_TOKENIZER, NULL);
-  grn_test_assert_equal_id(context,
-                           GRN_DB_BIGRAM,
-                           grn_obj_id(context, tokenizer));
-}
-
-void
 test_invalid_name(void)
 {
   grn_test_assert_send_command_error(




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