YUKI Hiroshi
null+****@clear*****
Fri Jan 31 18:12:53 JST 2014
YUKI Hiroshi 2014-01-31 18:12:53 +0900 (Fri, 31 Jan 2014) New Revision: 262b7610fc1549ce4ffed7a58858edb9c6028127 https://github.com/droonga/fluent-plugin-droonga/commit/262b7610fc1549ce4ffed7a58858edb9c6028127 Message: Group tests around sortBy Modified files: test/unit/plugin/distributor/test_search_planner.rb Modified: test/unit/plugin/distributor/test_search_planner.rb (+12 -7) =================================================================== --- test/unit/plugin/distributor/test_search_planner.rb 2014-01-31 18:08:54 +0900 (0bfe756) +++ test/unit/plugin/distributor/test_search_planner.rb 2014-01-31 18:12:53 +0900 (c5ab3c3) @@ -554,8 +554,10 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase gather_message["body"]["users_reduced"]) end end + end - class SimpleSortByTest < self + class SortByTest < self + class SimpleTest < self def setup @output = { "elements" => ["records"], @@ -626,7 +628,7 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase end end - class SimpleSortByHiddenColumnTest < self + class SimpleHiddenColumnTest < self def setup @output = { "elements" => ["records"], @@ -700,7 +702,7 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase end end - class ComplexSortByTest < self + class ComplexTest < self def setup @output = { "elements" => ["records"], @@ -778,7 +780,7 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase end end - class ComplexSortByHiddenColumnTest < self + class ComplexHiddenColumnTest < self def setup @output = { "elements" => ["records"], @@ -859,7 +861,7 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase end end - class ComplexSortWithHashAttributesTest < self + class WithHashAttributesTest < self def setup @output = { "elements" => ["records"], @@ -947,7 +949,7 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase end end - class ComplexSortByMultipleColumnsTest < self + class MultipleColumnsTest < self def setup @output = { "elements" => ["records"], @@ -1030,7 +1032,7 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase end end - class ComplexSortByOffsetLimitTest < self + class OffsetLimitTest < self def max_limit [@sort_by["limit"], @output["limit"]].max end @@ -1389,6 +1391,9 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase end end + class GroupByTest < self + end + -------------- next part -------------- HTML����������������������������...Download