Navigation Menu

Skip to content

Commit

Permalink
progress -> mark
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 11, 2012
1 parent ec91a11 commit 955735b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/groonga/tester.rb
Expand Up @@ -107,7 +107,7 @@ def create_option_parser(tester, tag)
diff_option_is_specified = true
end

available_reporters = [:progress, :stream, :inplace]
available_reporters = [:mark, :stream, :inplace]
available_reporter_labels = available_reporters.join(", ")
parser.on("--reporter=REPORTER", available_reporters,
"Report test result by REPORTER",
Expand Down Expand Up @@ -189,7 +189,7 @@ def run(*targets)
def reporter
if @reporter.nil?
if @n_workers == 1
:progress
:mark
else
:inplace
end
Expand Down Expand Up @@ -512,8 +512,8 @@ def run_test_suites(test_suites)

def create_reporter
case @tester.reporter
when :progress
ProgressReporter.new(@tester)
when :mark
MarkReporter.new(@tester)
when :stream
StreamReporter.new(@tester)
when :inplace
Expand Down Expand Up @@ -1568,7 +1568,7 @@ def available_colors
end
end

class ProgressReporter < BaseReporter
class MarkReporter < BaseReporter
def initialize(tester)
super
end
Expand Down

0 comments on commit 955735b

Please sign in to comment.