Jldrill Git C0 Coverage Information - RCov

lib/jldrill/views/gtk/OptionsView.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
lib/jldrill/views/gtk/OptionsView.rb 40 29
92.50%
89.66%

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 'jldrill/views/gtk/widgets/OptionsWindow'
2 require 'jldrill/contexts/SetOptionsContext'
3 require 'gtk2'
4 
5 module JLDrill::Gtk
6 
7 	class OptionsView < JLDrill::SetOptionsContext::OptionsView
8 	
9         attr_reader :optionsWindow
10         	
11 		def initialize(context)
12 			super(context)
13 			@optionsWindow = OptionsWindow.new(self)
14 		end
15 		
16 		def run
17 		    @optionsWindow.execute
18 		end
19 		
20 		def destroy
21 		    @optionsWindow.destroy
22 		end
23 		
24 		def update(options)
25 		    super(options)
26 		    @optionsWindow.updateFromViewData
27 		end
28 
29         def setDictionaryFilename(filename)
30             super(filename)
31             @optionsWindow.dictionaryName = filename
32         end
33 		
34 		def getWidget
35 			@optionsWindow
36 		end
37     end
38     
39 end
40 

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