Jldrill Git C0 Coverage Information - RCov

lib/Context/Views/Gtk/PageView.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
lib/Context/Views/Gtk/PageView.rb 30 23
93.33%
91.30%

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/Views/PageView'
2 require 'Context/Gtk/Widget'
3 require 'Context/Views/Gtk/Widgets/MainWindow'
4 require 'gtk2'
5 
6 module Context::Gtk
7 
8 	class PageView < Context::PageView
9 	
10 		attr_reader :mainWindow
11 	
12 		def initialize(context, title="No Title")
13 			super(context)
14 			@mainWindow = MainWindow.new(title, self)
15 			@mainWindow.set_default_size(600, 400)
16 		end
17 		
18 		def open
19             @mainWindow.open
20 		end
21 				
22 		def getWidget
23 			@mainWindow
24 		end
25 		
26 		def emitDestroyEvent
27 			@mainWindow.signal_emit("destroy")
28 		end
29 	end
30 end

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