[Groonga-commit] ranguba/rroonga at f188098 [master] test: remove duplicated information from test names

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jan 10 18:48:08 JST 2014


Kouhei Sutou	2014-01-10 18:48:08 +0900 (Fri, 10 Jan 2014)

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

  Message:
    test: remove duplicated information from test names

  Modified files:
    test/test-record.rb

  Modified: test/test-record.rb (+7 -7)
===================================================================
--- test/test-record.rb    2014-01-10 18:46:48 +0900 (1bd8816)
+++ test/test-record.rb    2014-01-10 18:48:08 +0900 (e719917)
@@ -310,7 +310,7 @@ class RecordTest < Test::Unit::TestCase
   end
 
   class AttributesTest < self
-    def test_attributes
+    def test_basic
       values = {
         "uri" => "http://groonga.org/",
         "rate" => 5,
@@ -323,7 +323,7 @@ class RecordTest < Test::Unit::TestCase
                    groonga.attributes)
     end
 
-    def test_recursive_attributes
+    def test_recursive
       need_self_recursive_equal
 
       @bookmarks.define_column("next", @bookmarks)
@@ -355,7 +355,7 @@ class RecordTest < Test::Unit::TestCase
       assert_equal(expected, top_page_record.attributes)
     end
 
-    def test_duplicate_records_attributes
+    def test_duplicate_records
       need_self_recursive_equal
 
       @bookmarks.define_column("next1", @bookmarks)
@@ -395,7 +395,7 @@ class RecordTest < Test::Unit::TestCase
                    actual_records["next2"].object_id)
     end
 
-    def test_select_result_attributes
+    def test_select_result
       @bookmarks.add(top_page)
       select_result =****@bookm*****
       select_result_result = select_result.first
@@ -416,7 +416,7 @@ class RecordTest < Test::Unit::TestCase
       assert_equal(expected_attributes, select_result_result.attributes)
     end
 
-    def test_self_referencing_attributes
+    def test_self_referencing
       need_self_recursive_equal
 
       @bookmarks.define_column("next", @bookmarks)
@@ -437,7 +437,7 @@ class RecordTest < Test::Unit::TestCase
       assert_equal(expected, top_page_record.attributes)
     end
 
-    def test_vector_attributes
+    def test_vector
       @bookmarks.define_column("related_bookmarks", @bookmarks, :type => :vector)
 
       top_page_record =****@bookm*****(top_page)
@@ -467,7 +467,7 @@ class RecordTest < Test::Unit::TestCase
       assert_equal(expected, top_page_record.attributes)
     end
 
-    def test_self_referencing_vector_attributes
+    def test_self_referencing_vector
       need_self_recursive_equal
 
       @bookmarks.define_column("related_bookmarks", @bookmarks, :type => :vector)
-------------- next part --------------
HTML����������������������������...
Download 



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