Jldrill Git C0 Coverage Information - RCov

lib/jldrill/views/gtk/VocabularyTableView.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
lib/jldrill/views/gtk/VocabularyTableView.rb 45 33
57.78%
42.42%

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/ItemTableWindow'
2 require 'jldrill/contexts/ShowAllVocabularyContext'
3 require 'gtk2'
4 
5 module JLDrill::Gtk
6 
7 	class VocabularyTableView < JLDrill::ShowAllVocabularyContext::VocabularyTableView
8 
9         attr_reader :vocabularyTableWindow
10         	
11 		def initialize(context)
12 			super(context)
13 			@itemTableWindow = JLDrill::Gtk::ItemTableWindow.new(self)
14 		end
15 		
16 		def getWidget
17 			@itemTableWindow
18 		end
19 
20         def destroy
21             @itemTableWindow.explicitDestroy
22         end
23 
24         def update(items)
25             @itemTableWindow.updateTable(items)
26         end
27 
28         def select(item)
29             @itemTableWindow.select(item)
30         end
31 
32         def updateItem(item)
33             @itemTableWindow.updateItem(item)
34         end
35 
36         def addItem(item)
37             @itemTableWindow.addItem(item)
38         end
39 
40         def removeItem(item)
41             @itemTableWindow.removeItem(item)
42         end
43     end
44 end
45 

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