Kouhei Sutou
null+****@clear*****
Thu Oct 24 17:10:59 JST 2013
Kouhei Sutou 2013-10-24 17:10:59 +0900 (Thu, 24 Oct 2013) New Revision: 6f2499480f2ada270846592c8bfe3ea024c18ce9 https://github.com/groonga/groonga-query-log/commit/6f2499480f2ada270846592c8bfe3ea024c18ce9 Message: test: share common code Modified files: test/test-parser.rb Modified: test/test-parser.rb (+3 -2) =================================================================== --- test/test-parser.rb 2013-10-24 17:10:33 +0900 (08cadc4) +++ test/test-parser.rb 2013-10-24 17:10:59 +0900 (281392c) @@ -60,10 +60,11 @@ class ParserTest < Test::Unit::TestCase 2011-06-02 16:27:04.735762|5091e5c0|:000000004077552 drilldown(2) 2011-06-02 16:27:04.735808|5091e5c0|<000000004123726 rc=0 LOG + @statistic =****@stati***** end def test_context - operations =****@stati***** do |operation| + operations =****@stati***** do |operation| [operation[:name], operation[:context]] end expected = [ @@ -79,7 +80,7 @@ class ParserTest < Test::Unit::TestCase end def test_n_records - operations =****@stati***** do |operation| + operations =****@stati***** do |operation| [operation[:name], operation[:n_records]] end expected = [ -------------- next part -------------- HTML����������������������������...Download