[Groonga-commit] droonga/droonga-engine at 7d5a489 [master] Add more cases for detection of EngineNode#live?

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Apr 30 12:36:22 JST 2015


YUKI Hiroshi	2015-04-30 12:36:22 +0900 (Thu, 30 Apr 2015)

  New Revision: 7d5a489b01a5a164dedadabe591a3081cef3efa1
  https://github.com/droonga/droonga-engine/commit/7d5a489b01a5a164dedadabe591a3081cef3efa1

  Message:
    Add more cases for detection of EngineNode#live?

  Modified files:
    test/unit/test_engine_node.rb

  Modified: test/unit/test_engine_node.rb (+4 -2)
===================================================================
--- test/unit/test_engine_node.rb    2015-04-30 12:36:01 +0900 (13c7d37)
+++ test/unit/test_engine_node.rb    2015-04-30 12:36:22 +0900 (ca9b4ec)
@@ -44,7 +44,7 @@ class EngineNodeTest < Test::Unit::TestCase
   end
 
   data(:no_state => nil,
-       :valid => {
+       :live_info => {
          "live" => true,
        })
   def test_live(state)
@@ -52,7 +52,9 @@ class EngineNodeTest < Test::Unit::TestCase
                      :state => state).live?)
   end
 
-  data(:valid => {
+  data(:no_live_info => {
+       },
+       :live_info => {
          "live" => false,
        })
   def test_not_live(state)
-------------- next part --------------
HTML����������������������������...
下載 



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