[Groonga-commit] groonga/groonga at f04950a [master] test: use true/false for boolean value

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Aug 10 12:29:50 JST 2014


Kouhei Sutou	2014-08-10 12:29:50 +0900 (Sun, 10 Aug 2014)

  New Revision: f04950a219948f4a713ae4de82af91e23b532cec
  https://github.com/groonga/groonga/commit/f04950a219948f4a713ae4de82af91e23b532cec

  Message:
    test: use true/false for boolean value

  Modified files:
    test/command/suite/select/function/highlight_full/invalid_arguments.expected
    test/command/suite/select/function/highlight_full/invalid_arguments.test
    test/command/suite/select/function/highlight_full/no_normalize.expected
    test/command/suite/select/function/highlight_full/no_normalize.test
    test/command/suite/select/function/highlight_full/normalizer_failure.expected
    test/command/suite/select/function/highlight_full/normalizer_failure.test
    test/command/suite/select/function/highlight_full/not_enough_arguments.expected
    test/command/suite/select/function/highlight_full/not_enough_arguments.test
    test/command/suite/select/function/highlight_full/not_escaped.expected
    test/command/suite/select/function/highlight_full/not_escaped.test
    test/command/suite/select/function/highlight_full/one_keyword.expected
    test/command/suite/select/function/highlight_full/one_keyword.test
    test/command/suite/select/function/highlight_full/two_keywords.expected
    test/command/suite/select/function/highlight_full/two_keywords.test

  Modified: test/command/suite/select/function/highlight_full/invalid_arguments.expected (+1 -1)
===================================================================
--- test/command/suite/select/function/highlight_full/invalid_arguments.expected    2014-08-10 12:25:22 +0900 (aa18b74)
+++ test/command/suite/select/function/highlight_full/invalid_arguments.expected    2014-08-10 12:29:50 +0900 (eb9a373)
@@ -7,5 +7,5 @@ load --table Entries
 {"body": "Mroonga is a MySQL storage engine based on Groonga. <b>Rroonga</b> is a Ruby binding of Groonga."}
 ]
 [[0,0.0,0.0],1]
-select Entries --output_columns   'highlight_full(body, "NormalizerAuto", 1,   "Groonga", "<span class=\\"keyword1\\">", "</span>",   "mysql", "<span class=\\"keyword2\\">")' --command_version 2
+select Entries --output_columns   'highlight_full(body, "NormalizerAuto", true,   "Groonga", "<span class=\\"keyword1\\">", "</span>",   "mysql", "<span class=\\"keyword2\\">")' --command_version 2
 [[0,0.0,0.0],[[[1],[["highlight_full","null"]],[null]]]]

  Modified: test/command/suite/select/function/highlight_full/invalid_arguments.test (+1 -1)
===================================================================
--- test/command/suite/select/function/highlight_full/invalid_arguments.test    2014-08-10 12:25:22 +0900 (ce7ad79)
+++ test/command/suite/select/function/highlight_full/invalid_arguments.test    2014-08-10 12:29:50 +0900 (62f92ac)
@@ -7,6 +7,6 @@ load --table Entries
 ]
 
 select Entries --output_columns \
-  'highlight_full(body, "NormalizerAuto", 1, \
+  'highlight_full(body, "NormalizerAuto", true, \
   "Groonga", "<span class=\\"keyword1\\">", "</span>", \
   "mysql", "<span class=\\"keyword2\\">")' --command_version 2

  Modified: test/command/suite/select/function/highlight_full/no_normalize.expected (+1 -1)
===================================================================
--- test/command/suite/select/function/highlight_full/no_normalize.expected    2014-08-10 12:25:22 +0900 (1a02737)
+++ test/command/suite/select/function/highlight_full/no_normalize.expected    2014-08-10 12:29:50 +0900 (a72679e)
@@ -7,7 +7,7 @@ load --table Entries
 {"body": "Mroonga is a MySQL storage engine based on Groonga. <b>Rroonga</b> is a Ruby binding of Groonga."}
 ]
 [[0,0.0,0.0],1]
-select Entries --output_columns   'highlight_full(body, "", 1,   "Groonga", "<span class=\\"keyword1\\">", "</span>",   "mysql", "<span class=\\"keyword2\\">", "</span>")' --command_version 2
+select Entries --output_columns   'highlight_full(body, "", true,   "Groonga", "<span class=\\"keyword1\\">", "</span>",   "mysql", "<span class=\\"keyword2\\">", "</span>")' --command_version 2
 [
   [
     0,

  Modified: test/command/suite/select/function/highlight_full/no_normalize.test (+1 -1)
===================================================================
--- test/command/suite/select/function/highlight_full/no_normalize.test    2014-08-10 12:25:22 +0900 (828bca2)
+++ test/command/suite/select/function/highlight_full/no_normalize.test    2014-08-10 12:29:50 +0900 (69beace)
@@ -7,6 +7,6 @@ load --table Entries
 ]
 
 select Entries --output_columns \
-  'highlight_full(body, "", 1, \
+  'highlight_full(body, "", true, \
   "Groonga", "<span class=\\"keyword1\\">", "</span>", \
   "mysql", "<span class=\\"keyword2\\">", "</span>")' --command_version 2

  Modified: test/command/suite/select/function/highlight_full/normalizer_failure.expected (+1 -1)
===================================================================
--- test/command/suite/select/function/highlight_full/normalizer_failure.expected    2014-08-10 12:25:22 +0900 (e7c6bd7)
+++ test/command/suite/select/function/highlight_full/normalizer_failure.expected    2014-08-10 12:29:50 +0900 (33878d1)
@@ -7,7 +7,7 @@ load --table Entries
 {"body": "Mroonga is a MySQL storage engine based on Groonga. <b>Rroonga</b> is a Ruby binding of Groonga."}
 ]
 [[0,0.0,0.0],1]
-select Entries --output_columns   'highlight_full(body, "TokenBigram", 1,   "Groonga", "<span class=\\"keyword1\\">", "</span>",   "mysql", "<span class=\\"keyword2\\">", "</span>")' --command_version 2
+select Entries --output_columns   'highlight_full(body, "TokenBigram", true,   "Groonga", "<span class=\\"keyword1\\">", "</span>",   "mysql", "<span class=\\"keyword2\\">", "</span>")' --command_version 2
 [
   [
     [

  Modified: test/command/suite/select/function/highlight_full/normalizer_failure.test (+1 -1)
===================================================================
--- test/command/suite/select/function/highlight_full/normalizer_failure.test    2014-08-10 12:25:22 +0900 (a91d377)
+++ test/command/suite/select/function/highlight_full/normalizer_failure.test    2014-08-10 12:29:50 +0900 (2e8928b)
@@ -7,6 +7,6 @@ load --table Entries
 ]
 
 select Entries --output_columns \
-  'highlight_full(body, "TokenBigram", 1, \
+  'highlight_full(body, "TokenBigram", true, \
   "Groonga", "<span class=\\"keyword1\\">", "</span>", \
   "mysql", "<span class=\\"keyword2\\">", "</span>")' --command_version 2

  Modified: test/command/suite/select/function/highlight_full/not_enough_arguments.expected (+1 -1)
===================================================================
--- test/command/suite/select/function/highlight_full/not_enough_arguments.expected    2014-08-10 12:25:22 +0900 (03c247e)
+++ test/command/suite/select/function/highlight_full/not_enough_arguments.expected    2014-08-10 12:29:50 +0900 (6056872)
@@ -7,5 +7,5 @@ load --table Entries
 {"body": "Mroonga is a MySQL storage engine based on Groonga. <b>Rroonga</b> is a Ruby binding of Groonga."}
 ]
 [[0,0.0,0.0],1]
-select Entries --output_columns   'highlight_full(body, 1,   "Groonga", "<span class=\\"keyword1\\">", "</span>")' --command_version 2
+select Entries --output_columns   'highlight_full(body, true,   "Groonga", "<span class=\\"keyword1\\">", "</span>")' --command_version 2
 [[0,0.0,0.0],[[[1],[["highlight_full","null"]],[null]]]]

  Modified: test/command/suite/select/function/highlight_full/not_enough_arguments.test (+1 -1)
===================================================================
--- test/command/suite/select/function/highlight_full/not_enough_arguments.test    2014-08-10 12:25:22 +0900 (69363ff)
+++ test/command/suite/select/function/highlight_full/not_enough_arguments.test    2014-08-10 12:29:50 +0900 (a830b5c)
@@ -7,5 +7,5 @@ load --table Entries
 ]
 
 select Entries --output_columns \
-  'highlight_full(body, 1, \
+  'highlight_full(body, true, \
   "Groonga", "<span class=\\"keyword1\\">", "</span>")' --command_version 2

  Modified: test/command/suite/select/function/highlight_full/not_escaped.expected (+1 -1)
===================================================================
--- test/command/suite/select/function/highlight_full/not_escaped.expected    2014-08-10 12:25:22 +0900 (0689687)
+++ test/command/suite/select/function/highlight_full/not_escaped.expected    2014-08-10 12:29:50 +0900 (61e01e0)
@@ -7,7 +7,7 @@ load --table Entries
 {"body": "Mroonga is a MySQL storage engine based on Groonga. <b>Rroonga</b> is a Ruby binding of Groonga."}
 ]
 [[0,0.0,0.0],1]
-select Entries --output_columns   'highlight_full(body, "NormalizerAuto", 0,   "Groonga", "<span class=\\"keyword1\\">", "</span>",   "mysql", "<span class=\\"keyword2\\">", "</span>")' --command_version 2
+select Entries --output_columns   'highlight_full(body, "NormalizerAuto", false,   "Groonga", "<span class=\\"keyword1\\">", "</span>",   "mysql", "<span class=\\"keyword2\\">", "</span>")' --command_version 2
 [
   [
     0,

  Modified: test/command/suite/select/function/highlight_full/not_escaped.test (+1 -1)
===================================================================
--- test/command/suite/select/function/highlight_full/not_escaped.test    2014-08-10 12:25:22 +0900 (8ab93f2)
+++ test/command/suite/select/function/highlight_full/not_escaped.test    2014-08-10 12:29:50 +0900 (3541a19)
@@ -7,6 +7,6 @@ load --table Entries
 ]
 
 select Entries --output_columns \
-  'highlight_full(body, "NormalizerAuto", 0, \
+  'highlight_full(body, "NormalizerAuto", false, \
   "Groonga", "<span class=\\"keyword1\\">", "</span>", \
   "mysql", "<span class=\\"keyword2\\">", "</span>")' --command_version 2

  Modified: test/command/suite/select/function/highlight_full/one_keyword.expected (+1 -1)
===================================================================
--- test/command/suite/select/function/highlight_full/one_keyword.expected    2014-08-10 12:25:22 +0900 (82a9340)
+++ test/command/suite/select/function/highlight_full/one_keyword.expected    2014-08-10 12:29:50 +0900 (9ecec3b)
@@ -7,7 +7,7 @@ load --table Entries
 {"body": "Mroonga is a MySQL storage engine based on Groonga. <b>Rroonga</b> is a Ruby binding of Groonga."}
 ]
 [[0,0.0,0.0],1]
-select Entries --output_columns   'highlight_full(body, "NormalizerAuto", 1,   "Groonga", "<span class=\\"keyword1\\">", "</span>")' --command_version 2
+select Entries --output_columns   'highlight_full(body, "NormalizerAuto", true,   "Groonga", "<span class=\\"keyword1\\">", "</span>")' --command_version 2
 [
   [
     0,

  Modified: test/command/suite/select/function/highlight_full/one_keyword.test (+1 -1)
===================================================================
--- test/command/suite/select/function/highlight_full/one_keyword.test    2014-08-10 12:25:22 +0900 (a4663cd)
+++ test/command/suite/select/function/highlight_full/one_keyword.test    2014-08-10 12:29:50 +0900 (2543fbd)
@@ -7,5 +7,5 @@ load --table Entries
 ]
 
 select Entries --output_columns \
-  'highlight_full(body, "NormalizerAuto", 1, \
+  'highlight_full(body, "NormalizerAuto", true, \
   "Groonga", "<span class=\\"keyword1\\">", "</span>")' --command_version 2

  Modified: test/command/suite/select/function/highlight_full/two_keywords.expected (+1 -1)
===================================================================
--- test/command/suite/select/function/highlight_full/two_keywords.expected    2014-08-10 12:25:22 +0900 (795b1c5)
+++ test/command/suite/select/function/highlight_full/two_keywords.expected    2014-08-10 12:29:50 +0900 (36c8b5a)
@@ -7,7 +7,7 @@ load --table Entries
 {"body": "Mroonga is a MySQL storage engine based on Groonga. <b>Rroonga</b> is a Ruby binding of Groonga."}
 ]
 [[0,0.0,0.0],1]
-select Entries --output_columns   'highlight_full(body, "NormalizerAuto", 1,   "Groonga", "<span class=\\"keyword1\\">", "</span>",   "mysql", "<span class=\\"keyword2\\">", "</span>")' --command_version 2
+select Entries --output_columns   'highlight_full(body, "NormalizerAuto", true,   "Groonga", "<span class=\\"keyword1\\">", "</span>",   "mysql", "<span class=\\"keyword2\\">", "</span>")' --command_version 2
 [
   [
     0,

  Modified: test/command/suite/select/function/highlight_full/two_keywords.test (+1 -1)
===================================================================
--- test/command/suite/select/function/highlight_full/two_keywords.test    2014-08-10 12:25:22 +0900 (f1b4dd9)
+++ test/command/suite/select/function/highlight_full/two_keywords.test    2014-08-10 12:29:50 +0900 (e6bb636)
@@ -7,6 +7,6 @@ load --table Entries
 ]
 
 select Entries --output_columns \
-  'highlight_full(body, "NormalizerAuto", 1, \
+  'highlight_full(body, "NormalizerAuto", true, \
   "Groonga", "<span class=\\"keyword1\\">", "</span>", \
   "mysql", "<span class=\\"keyword2\\">", "</span>")' --command_version 2
-------------- next part --------------
HTML����������������������������...
다운로드 



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