[Groonga-commit] ranguba/rroonga at ed33f98 [master] test: remove a test for a deprecated method

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Feb 24 17:42:15 JST 2014


Kouhei Sutou	2014-02-24 17:42:15 +0900 (Mon, 24 Feb 2014)

  New Revision: ed33f987aa733b0eef6bb1e1962bc86042540ca5
  https://github.com/ranguba/rroonga/commit/ed33f987aa733b0eef6bb1e1962bc86042540ca5

  Message:
    test: remove a test for a deprecated method

  Modified files:
    test/test-index-column.rb

  Modified: test/test-index-column.rb (+0 -25)
===================================================================
--- test/test-index-column.rb    2014-02-24 17:39:46 +0900 (6aa693a)
+++ test/test-index-column.rb    2014-02-24 17:42:15 +0900 (3937550)
@@ -66,31 +66,6 @@ class IndexColumnTest < Test::Unit::TestCase
                                          :with_section => true)
     end
 
-    def test_array_set_with_record
-      content = <<-EOC
-      groonga は組み込み型の全文検索エンジンライブラリです。
-      DBMSやスクリプト言語処理系等に組み込むことによって、その
-      全文検索機能を強化することができます。また、リレーショナ
-      ルモデルに基づくデータストア機能を内包しており、groonga
-      単体でも高速なデータストアサーバとして使用することができ
-      ます。
-
-      ■全文検索方式
-      転置索引型の全文検索エンジンです。転置索引は圧縮されてファ
-      イルに格納され、検索時のディスク読み出し量を小さく、かつ
-      局所的に抑えるように設計されています。用途に応じて以下の
-      索引タイプを選択できます。
-      EOC
-
-      groonga =****@artic*****(:content => content)
-
-      content.split(/\n{2,}/).each_with_index do |sentence, i|
-        @index[groonga] = {:value => sentence, :section => i + 1}
-      end
-      assert_equal([groonga],
-                   @index.search("エンジン").collect {|record| record.key})
-    end
-
     def test_add
       content = <<-CONTENT
       Groonga is a fast and accurate full text search engine based on
-------------- next part --------------
HTML����������������������������...
Download 



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