[Groonga-commit] droonga/fluent-plugin-droonga at 17958ca [master] Update test for merging more strctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Dec 4 13:59:03 JST 2013


YUKI Hiroshi	2013-12-04 13:59:03 +0900 (Wed, 04 Dec 2013)

  New Revision: 17958ca231b612efc3fc97916cd24e6c964928e3
  https://github.com/droonga/fluent-plugin-droonga/commit/17958ca231b612efc3fc97916cd24e6c964928e3

  Message:
    Update test for merging more strctly

  Modified files:
    test/unit/plugin/collector/test_basic.rb

  Modified: test/unit/plugin/collector/test_basic.rb (+42 -6)
===================================================================
--- test/unit/plugin/collector/test_basic.rb    2013-12-04 12:40:31 +0900 (6259da6)
+++ test/unit/plugin/collector/test_basic.rb    2013-12-04 13:59:03 +0900 (2141251)
@@ -583,6 +583,15 @@ class BasicCollectorTest < Test::Unit::TestCase
                     create_record("e"),
                   ],
                 ],
+                [
+                  "group3",
+                  30,
+                  [
+                    create_record("A"),
+                    create_record("B"),
+                    create_record("C"),
+                  ],
+                ],
               ],
             },
           },
@@ -626,6 +635,15 @@ class BasicCollectorTest < Test::Unit::TestCase
                 create_record("f"),
               ],
             ],
+            [
+              "group4",
+              50,
+              [
+                create_record("D"),
+                create_record("E"),
+                create_record("F"),
+              ],
+            ],
           ],
         },
         "name" => input_name,
@@ -636,27 +654,45 @@ class BasicCollectorTest < Test::Unit::TestCase
                      {
                        "records" => [
                          [
+                           "group3",
+                           30,
+                           [
+                             create_record("A"),
+                             create_record("B"),
+                             create_record("C"),
+                           ],
+                         ],
+                         [
                            "group1",
                            40,
                            [
-                             create_record(1),
-                             create_record(3),
-                             create_record(5),
                              create_record(2),
                              create_record(4),
                              create_record(6),
+                             create_record(1),
+                             create_record(3),
+                             create_record(5),
+                           ],
+                         ],
+                         [
+                           "group4",
+                           50,
+                           [
+                             create_record("D"),
+                             create_record("E"),
+                             create_record("F"),
                            ],
                          ],
                          [
                            "group2",
                            60,
                            [
-                             create_record("a"),
-                             create_record("c"),
-                             create_record("e"),
                              create_record("b"),
                              create_record("d"),
                              create_record("f"),
+                             create_record("a"),
+                             create_record("c"),
+                             create_record("e"),
                            ],
                          ],
                        ],
-------------- next part --------------
HTML����������������������������...
下载 



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