[Groonga-commit] groonga/groonga-query-log [master] test: use test name for fixtures directry name

Back to archive index

Haruka Yoshihara null+****@clear*****
Thu Dec 13 19:10:36 JST 2012


Haruka Yoshihara	2012-12-13 19:10:36 +0900 (Thu, 13 Dec 2012)

  New Revision: 0c31e7fec19e782eb07ab616818a79f4724df7d1
  https://github.com/groonga/groonga-query-log/commit/0c31e7fec19e782eb07ab616818a79f4724df7d1

  Log:
    test: use test name for fixtures directry name
    
    output -> reporter

  Modified files:
    test/test-analyzer.rb
  Renamed files:
    test/fixtures/reporter/console.expected
      (from test/fixtures/output/console.expected)
    test/fixtures/reporter/html.expected
      (from test/fixtures/output/html.expected)
    test/fixtures/reporter/json.expected
      (from test/fixtures/output/json.expected)

  Renamed: test/fixtures/reporter/console.expected (+0 -0) 100%
===================================================================

  Renamed: test/fixtures/reporter/html.expected (+0 -0) 100%
===================================================================

  Renamed: test/fixtures/reporter/json.expected (+0 -0) 100%
===================================================================

  Modified: test/test-analyzer.rb (+1 -1)
===================================================================
--- test/test-analyzer.rb    2012-12-13 19:10:14 +0900 (07f1e50)
+++ test/test-analyzer.rb    2012-12-13 19:10:36 +0900 (5fbbf46)
@@ -36,7 +36,7 @@ class AnalyzerTest < Test::Unit::TestCase
     actual_result = run_analyzer("--reporter", reporter, @query_log_path)
     actual_result = normalize_json(actual_result) if reporter == "json"
 
-    expected_result = expected_analyzed_query("output/#{reporter}.expected")
+    expected_result = expected_analyzed_query("reporter/#{reporter}.expected")
     assert_equal(expected_result, actual_result)
   end
 
-------------- next part --------------
HTML����������������������������...
Download 



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