[Groonga-commit] groonga/groonga [master] test function: add a test for creating temporary table after invalid function call

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Sep 10 14:28:00 JST 2012


Kouhei Sutou	2012-09-10 14:28:00 +0900 (Mon, 10 Sep 2012)

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

  Log:
    test function: add a test for creating temporary table after invalid function call
    
    This test is crashed. It should be fixed.

  Added files:
    test/function/suite/select/filter/invalid/function_call/temporary_table.expected
    test/function/suite/select/filter/invalid/function_call/temporary_table.test

  Added: test/function/suite/select/filter/invalid/function_call/temporary_table.expected (+15 -0) 100644
===================================================================
--- /dev/null
+++ test/function/suite/select/filter/invalid/function_call/temporary_table.expected    2012-09-10 14:28:00 +0900 (415dafc)
@@ -0,0 +1,15 @@
+select Shops   --output_columns 'name'   --limit 0   --filter 'geo_in_rectangle(location, "128429532x-503148672", "128429532x503148672") &&             (area == \"area0005\" || area == \"area0014\") &&             (tags @ \"天然\" || tags @ \"和菓子\")'
+[
+  [
+    [
+      -38,
+      0.0,
+      0.0
+    ],
+    "geo_in_rectangle(): negative coordinate is not implemented."
+  ],
+  [
+
+  ]
+]
+#|e| geo_in_rectangle(): negative coordinate is not implemented.

  Added: test/function/suite/select/filter/invalid/function_call/temporary_table.test (+10 -0) 100644
===================================================================
--- /dev/null
+++ test/function/suite/select/filter/invalid/function_call/temporary_table.test    2012-09-10 14:28:00 +0900 (3e35696)
@@ -0,0 +1,10 @@
+# include fixture/geo/taiyaki/init.grn
+
+select Shops \
+  --output_columns 'name' \
+  --limit 0 \
+  --filter 'geo_in_rectangle(location, "128429532x-503148672", "128429532x503148672") && \
+            (area == \"area0005\" || area == \"area0014\") && \
+            (tags @ \"天然\" || tags @ \"和菓子\")'
+
+
-------------- next part --------------
HTML����������������������������...
Descargar 



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