[Groonga-commit] groonga/groonga at 3038138 [master] test: add missing column values

Back to archive index

Susumu Yata null+****@clear*****
Thu Mar 3 18:41:44 JST 2016


Susumu Yata	2016-03-03 18:41:44 +0900 (Thu, 03 Mar 2016)

  New Revision: 30381385914a248bb9f0b16add48beff13744f08
  https://github.com/groonga/groonga/commit/30381385914a248bb9f0b16add48beff13744f08

  Message:
    test: add missing column values
    
    GitHub: #495

  Modified files:
    test/command/suite/select/index/nested/by_column/double_array_trie.expected
    test/command/suite/select/index/nested/by_column/double_array_trie.test
    test/command/suite/select/index/nested/by_column/hash.expected
    test/command/suite/select/index/nested/by_column/hash.test
    test/command/suite/select/index/nested/by_column/patricia_trie.expected
    test/command/suite/select/index/nested/by_column/patricia_trie.test

  Modified: test/command/suite/select/index/nested/by_column/double_array_trie.expected (+14 -8)
===================================================================
--- test/command/suite/select/index/nested/by_column/double_array_trie.expected    2016-03-03 18:17:32 +0900 (2d4741f)
+++ test/command/suite/select/index/nested/by_column/double_array_trie.expected    2016-03-03 18:41:44 +0900 (82819b7)
@@ -26,13 +26,13 @@ load --table Comments
 [[0,0.0,0.0],4]
 load --table Articles
 [
-["_key",              "content",          "comment"],
-["groonga-is-fast",   "Groonga is fast!", "1-1"],
-["groonga-is-useful", "Groonga is useful!"],
-["mroonga-is-fast",   "Mroonga is fast!", "3-1"],
-["rroonga-is-fast",   "Rroonga is fast!", "4-1"]
+["_key",              "content",            "comment"],
+["groonga-is-fast",   "Groonga is fast!",   "1-1"],
+["groonga-is-useful", "Groonga is useful!", "2-1"],
+["mroonga-is-fast",   "Mroonga is fast!",   "3-1"],
+["rroonga-is-fast",   "Rroonga is fast!",   "4-1"]
 ]
-[[0,0.0,0.0],3]
+[[0,0.0,0.0],4]
 select Articles --match_columns comment.content --query groonga   --output_columns "_id, _score, *"
 [
   [
@@ -43,7 +43,7 @@ select Articles --match_columns comment.content --query groonga   --output_colum
   [
     [
       [
-        2
+        3
       ],
       [
         [
@@ -70,7 +70,13 @@ select Articles --match_columns comment.content --query groonga   --output_colum
         "Groonga is fast!"
       ],
       [
-        3,
+        2,
+        1,
+        "2-1",
+        "Groonga is useful!"
+      ],
+      [
+        4,
         1,
         "4-1",
         "Rroonga is fast!"

  Modified: test/command/suite/select/index/nested/by_column/double_array_trie.test (+5 -5)
===================================================================
--- test/command/suite/select/index/nested/by_column/double_array_trie.test    2016-03-03 18:17:32 +0900 (9d20250)
+++ test/command/suite/select/index/nested/by_column/double_array_trie.test    2016-03-03 18:41:44 +0900 (d2de787)
@@ -24,11 +24,11 @@ load --table Comments
 
 load --table Articles
 [
-["_key",              "content",          "comment"],
-["groonga-is-fast",   "Groonga is fast!", "1-1"],
-["groonga-is-useful", "Groonga is useful!"],
-["mroonga-is-fast",   "Mroonga is fast!", "3-1"],
-["rroonga-is-fast",   "Rroonga is fast!", "4-1"]
+["_key",              "content",            "comment"],
+["groonga-is-fast",   "Groonga is fast!",   "1-1"],
+["groonga-is-useful", "Groonga is useful!", "2-1"],
+["mroonga-is-fast",   "Mroonga is fast!",   "3-1"],
+["rroonga-is-fast",   "Rroonga is fast!",   "4-1"]
 ]
 
 select Articles --match_columns comment.content --query groonga \

  Modified: test/command/suite/select/index/nested/by_column/hash.expected (+14 -8)
===================================================================
--- test/command/suite/select/index/nested/by_column/hash.expected    2016-03-03 18:17:32 +0900 (4d7b800)
+++ test/command/suite/select/index/nested/by_column/hash.expected    2016-03-03 18:41:44 +0900 (f980316)
@@ -26,13 +26,13 @@ load --table Comments
 [[0,0.0,0.0],4]
 load --table Articles
 [
-["_key",              "content",          "comment"],
-["groonga-is-fast",   "Groonga is fast!", "1-1"],
-["groonga-is-useful", "Groonga is useful!"],
-["mroonga-is-fast",   "Mroonga is fast!", "3-1"],
-["rroonga-is-fast",   "Rroonga is fast!", "4-1"]
+["_key",              "content",            "comment"],
+["groonga-is-fast",   "Groonga is fast!",   "1-1"],
+["groonga-is-useful", "Groonga is useful!", "2-1"],
+["mroonga-is-fast",   "Mroonga is fast!",   "3-1"],
+["rroonga-is-fast",   "Rroonga is fast!",   "4-1"]
 ]
-[[0,0.0,0.0],3]
+[[0,0.0,0.0],4]
 select Articles --match_columns comment.content --query groonga   --output_columns "_id, _score, *"
 [
   [
@@ -43,7 +43,7 @@ select Articles --match_columns comment.content --query groonga   --output_colum
   [
     [
       [
-        2
+        3
       ],
       [
         [
@@ -70,7 +70,13 @@ select Articles --match_columns comment.content --query groonga   --output_colum
         "Groonga is fast!"
       ],
       [
-        3,
+        2,
+        1,
+        "2-1",
+        "Groonga is useful!"
+      ],
+      [
+        4,
         1,
         "4-1",
         "Rroonga is fast!"

  Modified: test/command/suite/select/index/nested/by_column/hash.test (+5 -5)
===================================================================
--- test/command/suite/select/index/nested/by_column/hash.test    2016-03-03 18:17:32 +0900 (63a671a)
+++ test/command/suite/select/index/nested/by_column/hash.test    2016-03-03 18:41:44 +0900 (9c2ad1f)
@@ -24,11 +24,11 @@ load --table Comments
 
 load --table Articles
 [
-["_key",              "content",          "comment"],
-["groonga-is-fast",   "Groonga is fast!", "1-1"],
-["groonga-is-useful", "Groonga is useful!"],
-["mroonga-is-fast",   "Mroonga is fast!", "3-1"],
-["rroonga-is-fast",   "Rroonga is fast!", "4-1"]
+["_key",              "content",            "comment"],
+["groonga-is-fast",   "Groonga is fast!",   "1-1"],
+["groonga-is-useful", "Groonga is useful!", "2-1"],
+["mroonga-is-fast",   "Mroonga is fast!",   "3-1"],
+["rroonga-is-fast",   "Rroonga is fast!",   "4-1"]
 ]
 
 select Articles --match_columns comment.content --query groonga \

  Modified: test/command/suite/select/index/nested/by_column/patricia_trie.expected (+14 -8)
===================================================================
--- test/command/suite/select/index/nested/by_column/patricia_trie.expected    2016-03-03 18:17:32 +0900 (9b557bf)
+++ test/command/suite/select/index/nested/by_column/patricia_trie.expected    2016-03-03 18:41:44 +0900 (cfc4aa5)
@@ -26,13 +26,13 @@ load --table Comments
 [[0,0.0,0.0],4]
 load --table Articles
 [
-["_key",              "content",          "comment"],
-["groonga-is-fast",   "Groonga is fast!", "1-1"],
-["groonga-is-useful", "Groonga is useful!"],
-["mroonga-is-fast",   "Mroonga is fast!", "3-1"],
-["rroonga-is-fast",   "Rroonga is fast!", "4-1"]
+["_key",              "content",            "comment"],
+["groonga-is-fast",   "Groonga is fast!",   "1-1"],
+["groonga-is-useful", "Groonga is useful!", "2-1"],
+["mroonga-is-fast",   "Mroonga is fast!",   "3-1"],
+["rroonga-is-fast",   "Rroonga is fast!",   "4-1"]
 ]
-[[0,0.0,0.0],3]
+[[0,0.0,0.0],4]
 select Articles --match_columns comment.content --query groonga   --output_columns "_id, _score, *"
 [
   [
@@ -43,7 +43,7 @@ select Articles --match_columns comment.content --query groonga   --output_colum
   [
     [
       [
-        2
+        3
       ],
       [
         [
@@ -70,7 +70,13 @@ select Articles --match_columns comment.content --query groonga   --output_colum
         "Groonga is fast!"
       ],
       [
-        3,
+        2,
+        1,
+        "2-1",
+        "Groonga is useful!"
+      ],
+      [
+        4,
         1,
         "4-1",
         "Rroonga is fast!"

  Modified: test/command/suite/select/index/nested/by_column/patricia_trie.test (+5 -5)
===================================================================
--- test/command/suite/select/index/nested/by_column/patricia_trie.test    2016-03-03 18:17:32 +0900 (cc307d4)
+++ test/command/suite/select/index/nested/by_column/patricia_trie.test    2016-03-03 18:41:44 +0900 (2e2a813)
@@ -24,11 +24,11 @@ load --table Comments
 
 load --table Articles
 [
-["_key",              "content",          "comment"],
-["groonga-is-fast",   "Groonga is fast!", "1-1"],
-["groonga-is-useful", "Groonga is useful!"],
-["mroonga-is-fast",   "Mroonga is fast!", "3-1"],
-["rroonga-is-fast",   "Rroonga is fast!", "4-1"]
+["_key",              "content",            "comment"],
+["groonga-is-fast",   "Groonga is fast!",   "1-1"],
+["groonga-is-useful", "Groonga is useful!", "2-1"],
+["mroonga-is-fast",   "Mroonga is fast!",   "3-1"],
+["rroonga-is-fast",   "Rroonga is fast!",   "4-1"]
 ]
 
 select Articles --match_columns comment.content --query groonga \
-------------- next part --------------
HTML����������������������������...
下载 



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