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/html_escaper_spec.rb 18 16
100.0% 
100.0% 
 1 require File.dirname(__FILE__) + '/../spec_helper'
 2 require 'aquarium/utils/array_utils'
 3 require 'set'
 4 
 5 describe Aquarium::Utils::HtmlEscaper, ".escape" do
 6   it "should replace < with &lt; and > with &gt;" do
 7     Aquarium::Utils::HtmlEscaper.escape("<html></html>").should == "&lt;html&gt;&lt;/html&gt;"
 8   end
 9 end
10 
11 describe Aquarium::Utils::HtmlEscaper, "#escape" do
12   it "should replace < with &lt; and > with &gt;" do
13     class Escaper
14       include Aquarium::Utils::HtmlEscaper
15     end
16     Escaper.new.escape("<html></html>").should == "&lt;html&gt;&lt;/html&gt;"
17   end
18 end

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

Valid XHTML 1.0! Valid CSS!