[Groonga-commit] droonga/fluent-plugin-droonga at 23dc36a [master] Move test/**/* to test/unit/

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Nov 20 16:56:00 JST 2013


Kouhei Sutou	2013-11-20 16:56:00 +0900 (Wed, 20 Nov 2013)

  New Revision: 23dc36ab96f4fea613f1b5c927f544bc9b2f9ba5
  https://github.com/droonga/fluent-plugin-droonga/commit/23dc36ab96f4fea613f1b5c927f544bc9b2f9ba5

  Message:
    Move test/**/* to test/unit/
    
    We will create test/command/ (or something) that stores tests that
    uses drntest.

  Modified files:
    Rakefile
  Renamed files:
    test/unit/fixtures/catalog.json
      (from test/fixtures/catalog.json)
    test/unit/fixtures/document.grn
      (from test/fixtures/document.grn)
    test/unit/helper.rb
      (from test/helper.rb)
    test/unit/helper/fixture.rb
      (from test/helper/fixture.rb)
    test/unit/helper/handler_helper.rb
      (from test/helper/handler_helper.rb)
    test/unit/helper/sandbox.rb
      (from test/helper/sandbox.rb)
    test/unit/helper/stub_worker.rb
      (from test/helper/stub_worker.rb)
    test/unit/helper/watch_helper.rb
      (from test/helper/watch_helper.rb)
    test/unit/plugin/adapter/groonga/test_select.rb
      (from test/plugin/adapter/groonga/test_select.rb)
    test/unit/plugin/handler/groonga/test_column_create.rb
      (from test/plugin/handler/groonga/test_column_create.rb)
    test/unit/plugin/handler/groonga/test_table_create.rb
      (from test/plugin/handler/groonga/test_table_create.rb)
    test/unit/plugin/handler/test_add.rb
      (from test/plugin/handler/test_add.rb)
    test/unit/plugin/handler/test_groonga.rb
      (from test/plugin/handler/test_groonga.rb)
    test/unit/plugin/handler/test_search.rb
      (from test/plugin/handler/test_search.rb)
    test/unit/plugin/handler/test_watch.rb
      (from test/plugin/handler/test_watch.rb)
    test/unit/run-test.rb
      (from test/run-test.rb)
    test/unit/test_adapter.rb
      (from test/test_adapter.rb)
    test/unit/test_catalog.rb
      (from test/test_catalog.rb)
    test/unit/test_command_mapper.rb
      (from test/test_command_mapper.rb)
    test/unit/test_groonga_command_converter.rb
      (from test/test_groonga_command_converter.rb)
    test/unit/test_handler.rb
      (from test/test_handler.rb)
    test/unit/test_job_queue_schema.rb
      (from test/test_job_queue_schema.rb)
    test/unit/test_output.rb
      (from test/test_output.rb)
    test/unit/test_sweeper.rb
      (from test/test_sweeper.rb)
    test/unit/test_watch_schema.rb
      (from test/test_watch_schema.rb)
    test/unit/test_watcher.rb
      (from test/test_watcher.rb)
    test/unit/test_worker.rb
      (from test/test_worker.rb)

  Modified: Rakefile (+1 -1)
===================================================================
--- Rakefile    2013-11-20 16:15:08 +0900 (dbaeb66)
+++ Rakefile    2013-11-20 16:56:00 +0900 (a39b8a8)
@@ -19,7 +19,7 @@ require "bundler/gem_tasks"
 
 desc "Run test"
 task :test do
-  ruby(File.join(File.dirname(__FILE__), "test", "run-test.rb"))
+  ruby(File.join(File.dirname(__FILE__), "test", "unit", "run-test.rb"))
 end
 
 task :default => :test

  Renamed: test/unit/fixtures/catalog.json (+0 -0) 100%
===================================================================

  Renamed: test/unit/fixtures/document.grn (+0 -0) 100%
===================================================================

  Renamed: test/unit/helper.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/helper/fixture.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/helper/handler_helper.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/helper/sandbox.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/helper/stub_worker.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/helper/watch_helper.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/plugin/adapter/groonga/test_select.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/plugin/handler/groonga/test_column_create.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/plugin/handler/groonga/test_table_create.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/plugin/handler/test_add.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/plugin/handler/test_groonga.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/plugin/handler/test_search.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/plugin/handler/test_watch.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/run-test.rb (+2 -2) 96%
===================================================================
--- test/run-test.rb    2013-11-20 16:15:08 +0900 (4b53569)
+++ test/unit/run-test.rb    2013-11-20 16:56:00 +0900 (bf2e6b7)
@@ -43,9 +43,9 @@ unless ENV.has_key?("VERBOSE")
   $log = null_logger
 end
 
-base_dir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
+base_dir = File.expand_path(File.join(File.dirname(__FILE__), "..", ".."))
 lib_dir = File.join(base_dir, "lib")
-test_dir = File.join(base_dir, "test")
+test_dir = File.join(base_dir, "test", "unit")
 
 $LOAD_PATH.unshift(lib_dir)
 $LOAD_PATH.unshift(test_dir)

  Renamed: test/unit/test_adapter.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/test_catalog.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/test_command_mapper.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/test_groonga_command_converter.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/test_handler.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/test_job_queue_schema.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/test_output.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/test_sweeper.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/test_watch_schema.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/test_watcher.rb (+0 -0) 100%
===================================================================

  Renamed: test/unit/test_worker.rb (+0 -0) 100%
===================================================================
-------------- next part --------------
HTML����������������������������...
Download 



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