Coverage Report
livenotificationrun
measured on November 5, 2007 4:04:16 PM CET
up to the title page
org . codecover . simplejavaapp . view . FrameMain . createMenuBar
Statement Coverage Branch Coverage Loop Coverage Strict Condition Coverage
private final void createMenuBar() 24 / 24 100 %
0 / 0 ---
0 / 0 ---
0 / 0 ---
FrameMain.java
207       private final void createMenuBar() {
208           JMenuBar menuBar = new JMenuBar();
209           this.setJMenuBar(menuBar);
210  
211           JMenu fileMenu = new JMenu("File");
212           menuBar.add(fileMenu);
213           fileMenu.add(new JMenuItem(this.newWindowAction));
214  
215           final JMenuItem newBookItem = new JMenuItem(this.newBookAction);
216           newBookItem.setIcon(null);
217           fileMenu.add(newBookItem);
218  
219           fileMenu.add(new JMenuItem(this.openAction));
220           fileMenu.add(new JMenuItem(this.closeWindowAction));
221           fileMenu.addSeparator();
222  
223           final JMenuItem saveItem = new JMenuItem(this.saveAction);
224           saveItem.setIcon(null);
225           fileMenu.add(saveItem);
226  
227           final JMenuItem saveAsItem = new JMenuItem(this.saveAsAction);
228           saveAsItem.setIcon(null);
229           fileMenu.add(saveAsItem);
230  
231           fileMenu.addSeparator();
232           fileMenu.add(new JMenuItem(this.quitAction));
233  
234           JMenu editMenu = new JMenu("Edit");
235           menuBar.add(editMenu);
236  
237           final JMenuItem deleteItem = new JMenuItem(this.deleteAction);
238           deleteItem.setIcon(null);
239           editMenu.add(deleteItem);
240       }
created on November 17, 2007 7:07:00 PM CET with CodeCover