Jldrill Git C0 Coverage Information - RCov

lib/jldrill/views/gtk/CommandView.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
lib/jldrill/views/gtk/CommandView.rb 33 28
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 'Context/Views/Gtk/Widgets/VBox'
3 require 'jldrill/contexts/RunCommandContext'
4 require 'jldrill/views/gtk/widgets/MenuWidget'
5 require 'jldrill/views/gtk/widgets/ToolBarWidget'
6 require 'gtk2'
7 
8 module JLDrill::Gtk
9 
10     class CommandView < JLDrill::RunCommandContext::CommandView
11 
12         def initialize(context)
13             super(context)
14             @vbox = Context::Gtk::VBox.new
15             @menu = Menu.new(self)
16             @toolbar = ToolBar.new(self)
17             @vbox.pack_start(@menu, false, false)
18             @vbox.pack_start(@toolbar, false, false)
19 			@vbox.afterWidgetIsAdded do |container|
20 			    container.gtkWidgetMainWindow.add_accel_group(@menu.accelGroup)
21 			end
22 			@vbox.expandWidgetWidth
23 		end
24 		
25 		def getWidget
26 			@vbox
27 		end
28 
29         def update
30             @toolbar.update
31         end
32     end
33 end

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