Navigation Menu

Skip to content

Commit

Permalink
no check -> not check
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 11, 2012
1 parent 97b082d commit 3c22240
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions lib/groonga/tester.rb
Expand Up @@ -469,10 +469,10 @@ def fail_test(result)
@reporter.fail_test(self, result)
end

def no_check_test(result)
def not_check_test(result)
@status = "not checked"
@result.test_not_checked
@reporter.no_check_test(self, result)
@reporter.not_check_test(self, result)
end

def finish_test(result)
Expand Down Expand Up @@ -617,7 +617,7 @@ def status
:failure
end
else
:no_check
:not_checked
end
end
end
Expand Down Expand Up @@ -651,7 +651,7 @@ def run
output_reject_file(result.actual)
succeeded = false
else
@worker.no_check_test(result)
@worker.not_check_test(result)
output_actual_file(result.actual)
end
@worker.finish_test(result)
Expand Down Expand Up @@ -1501,7 +1501,7 @@ def elapsed_time_status(elapsed_time)
if long_elapsed_time?(elapsed_time)
elapsed_time_status = :failure
else
elapsed_time_status = :no_check
elapsed_time_status = :not_checked
end
end

Expand Down Expand Up @@ -1570,7 +1570,7 @@ def result_status(result)
if result.n_failed_tests > 0
:failure
elsif result.n_not_checked_tests > 0
:no_check
:not_checked
else
:success
end
Expand All @@ -1589,8 +1589,8 @@ def colorize(message, result_or_status)
"%s%s%s" % [success_color, message, reset_color]
when :failure
"%s%s%s" % [failure_color, message, reset_color]
when :no_check
"%s%s%s" % [no_check_color, message, reset_color]
when :not_checked
"%s%s%s" % [not_checked_color, message, reset_color]
else
message
end
Expand Down Expand Up @@ -1622,7 +1622,7 @@ def failure_color
})
end

def no_check_color
def not_checked_color
escape_sequence({
:color => :magenta,
:color_256 => [3, 0, 3],
Expand Down Expand Up @@ -1723,7 +1723,7 @@ def fail_test(worker, result)
end
end

def no_check_test(worker, result)
def not_check_test(worker, result)
synchronize do
report_test_result_mark("N", result)
puts
Expand Down Expand Up @@ -1792,7 +1792,7 @@ def fail_test(worker, result)
report_failure(result)
end

def no_check_test(worker, result)
def not_check_test(worker, result)
report_test_result(result, worker.status)
report_actual(result)
end
Expand Down Expand Up @@ -1845,7 +1845,7 @@ def fail_test(worker, result)
end
end

def no_check_test(worker, result)
def not_check_test(worker, result)
redraw do
report_test(worker, result)
report_actual(result)
Expand Down

0 comments on commit 3c22240

Please sign in to comment.