[Groonga-commit] groonga/groonga at 62769f9 [master] test: add more "x || y" cases

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jan 26 22:01:42 JST 2014


Kouhei Sutou	2014-01-26 22:01:42 +0900 (Sun, 26 Jan 2014)

  New Revision: 62769f94f91e773c62caab80e231f83e9cd12a34
  https://github.com/groonga/groonga/commit/62769f94f91e773c62caab80e231f83e9cd12a34

  Message:
    test: add more "x || y" cases

  Added files:
    test/command/suite/select/filter/logical_operation/or/all_false.expected
    test/command/suite/select/filter/logical_operation/or/all_false.test
    test/command/suite/select/filter/logical_operation/or/all_null.expected
    test/command/suite/select/filter/logical_operation/or/all_null.test
  Renamed files:
    test/command/suite/select/filter/logical_operation/or/not_false.expected
      (from test/command/suite/select/filter/logical_operation/or.expected)
    test/command/suite/select/filter/logical_operation/or/not_false.test
      (from test/command/suite/select/filter/logical_operation/or.test)

  Added: test/command/suite/select/filter/logical_operation/or/all_false.expected (+9 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/logical_operation/or/all_false.expected    2014-01-26 22:01:42 +0900 (ee78066)
@@ -0,0 +1,9 @@
+table_create Users TABLE_NO_KEY
+[[0,0.0,0.0],true]
+load --table Users
+[
+[]
+]
+[[0,0.0,0.0],1]
+select Users   --output_columns '_id, false || false || false'   --command_version 2
+[[0,0.0,0.0],[[[1],[["_id","UInt32"],["","null"]],[1,false]]]]

  Added: test/command/suite/select/filter/logical_operation/or/all_false.test (+10 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/logical_operation/or/all_false.test    2014-01-26 22:01:42 +0900 (f41ce97)
@@ -0,0 +1,10 @@
+table_create Users TABLE_NO_KEY
+
+load --table Users
+[
+[]
+]
+
+select Users \
+  --output_columns '_id, false || false || false' \
+  --command_version 2

  Added: test/command/suite/select/filter/logical_operation/or/all_null.expected (+9 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/logical_operation/or/all_null.expected    2014-01-26 22:01:42 +0900 (f3812b1)
@@ -0,0 +1,9 @@
+table_create Users TABLE_NO_KEY
+[[0,0.0,0.0],true]
+load --table Users
+[
+[]
+]
+[[0,0.0,0.0],1]
+select Users   --output_columns '_id, null || null || null'   --command_version 2
+[[0,0.0,0.0],[[[1],[["_id","UInt32"],["","null"]],[1,false]]]]

  Added: test/command/suite/select/filter/logical_operation/or/all_null.test (+10 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/logical_operation/or/all_null.test    2014-01-26 22:01:42 +0900 (386d842)
@@ -0,0 +1,10 @@
+table_create Users TABLE_NO_KEY
+
+load --table Users
+[
+[]
+]
+
+select Users \
+  --output_columns '_id, null || null || null' \
+  --command_version 2

  Renamed: test/command/suite/select/filter/logical_operation/or/not_false.expected (+0 -0) 100%
===================================================================

  Renamed: test/command/suite/select/filter/logical_operation/or/not_false.test (+0 -0) 100%
===================================================================
-------------- next part --------------
HTML����������������������������...
Download 



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