Jldrill Git C0 Coverage Information - RCov

lib/Context/Views/Gtk/Widgets/VBox.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
lib/Context/Views/Gtk/Widgets/VBox.rb 29 19
100.00%
100.00%

Key

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.

Coverage Details

1 require 'Context/Gtk/Widget'
2 require 'gtk2'
3 
4 module Context::Gtk
5 
6     # Container class for making vertical lists of widgets.
7     # The primary purpose of this class is to create a container
8     # that respects the packing hints in the Widget mixin.
9     # Something tells me that needing this class means 
10     # something is screwed up somewhere...
11     class VBox < Gtk::VBox
12         include Context::Gtk::Widget
13 
14         def initialize
15             super
16             setupWidget
17         end
18         
19         def gtkAddWidget(widget)
20             pack_start(widget,
21                        widget.expandWidgetHeight?, 
22                        widget.expandWidgetWidth?)
23         end
24         
25         def gtkRemoveWidget(widget)
26             remove(widget)
27         end
28     end
29 end    

Generated on Mon May 23 16:17:45 +0900 2011 with rcov 0.9.8