[Groonga-commit] groonga/groonga at b607c97 [master] test: add a test for unregister a plugin by path

Back to archive index
Kouhei Sutou null+****@clear*****
Sun May 12 06:45:11 JST 2019


Kouhei Sutou	2019-05-12 06:45:11 +0900 (Sun, 12 May 2019)

  Revision: b607c9730b0de389748e653bc6ad446cf0f11bb0
  https://github.com/groonga/groonga/commit/b607c9730b0de389748e653bc6ad446cf0f11bb0

  Message:
    test: add a test for unregister a plugin by path

  Added files:
    test/command/suite/plugin_unregister/by_path.expected
    test/command/suite/plugin_unregister/by_path.test

  Added: test/command/suite/plugin_unregister/by_path.expected (+6 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/plugin_unregister/by_path.expected    2019-05-12 06:45:11 +0900 (3c68e5934)
@@ -0,0 +1,6 @@
+plugin_register "token_filters/stop_word"
+[[0,0.0,0.0],true]
+object_exist TokenFilterStopWord
+[[0,0.0,0.0],true]
+object_exist TokenFilterStopWord
+[[0,0.0,0.0],false]

  Added: test/command/suite/plugin_unregister/by_path.test (+7 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/plugin_unregister/by_path.test    2019-05-12 06:45:11 +0900 (6ccab2748)
@@ -0,0 +1,7 @@
+plugin_register "token_filters/stop_word"
+object_exist TokenFilterStopWord
+
+#@disable-logging
+#@eval plugin_unregister "#{plugins_directory}/token_filters/#{libtool_directory}stop_word.#{plugin_extension}"
+#@enable-logging
+object_exist TokenFilterStopWord
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190512/d0c7355a/attachment.html>


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