C0 code coverage information

Generated on Sun Oct 26 11:18:15 -0500 2008 with rcov 0.8.1.2


Code reported as executed by Ruby looks like this...
and this: this line is also marked as covered.
Lines considered as run by rcov, but not reported by Ruby, look like this,
and this: these lines were inferred by rcov (using simple heuristics).
Finally, here's a line marked as not executed.
Name Total lines Lines of code Total coverage Code coverage
spec/aquarium/utils/default_logger_spec.rb 28 24
100.0% 
100.0% 
 1 require File.dirname(__FILE__) + '/../spec_helper'
 2 require 'aquarium/utils/default_logger'
 3 require 'logger'
 4 
 5 include Aquarium::Utils
 6 
 7 describe DefaultLogger, ".logger=" do
 8   before :each do
 9     @saved_logger = DefaultLogger.logger
10   end
11   after :each do
12     DefaultLogger.logger= @saved_logger   # restore the original!
13   end
14   
15   it "should set the global logger." do
16     test_logger = Logger.new STDOUT
17     DefaultLogger.logger = test_logger
18     DefaultLogger.logger.should be_eql(test_logger)
19   end
20 end
21 
22 describe DefaultLogger, ".logger" do
23   it "should get the global logger." do
24     test_logger = Logger.new STDOUT
25     DefaultLogger.logger = test_logger
26     DefaultLogger.logger.should be_eql(test_logger)
27   end
28 end

Generated using the rcov code coverage analysis tool for Ruby version 0.8.1.2.

Valid XHTML 1.0! Valid CSS!