Clover Coverage Report - Pebble 2.5-SNAPSHOT
Coverage timestamp: Sat Jun 12 2010 09:39:29 EST
../../../../../../img/srcFileCovDistChart0.png 48% of files have more coverage
5   42   3   1,67
0   18   0,6   3
3     1  
1    
This report was generated with an evaluation server license. Purchase Clover or configure your license.
 
  ConfirmTrackBackView       Line # 13 5 0% 3 8 0% 0.0
 
No Tests
 
1    package net.sourceforge.pebble.web.view.impl;
2   
3    import net.sourceforge.pebble.Constants;
4    import net.sourceforge.pebble.api.confirmation.TrackBackConfirmationStrategy;
5    import net.sourceforge.pebble.domain.Blog;
6    import net.sourceforge.pebble.web.view.HtmlView;
7   
8    /**
9    * Represents the confirm TrackBack page.
10    *
11    * @author Simon Brown
12    */
 
13    public class ConfirmTrackBackView extends HtmlView {
14   
15    /**
16    * Prepares the view for presentation.
17    */
 
18  0 toggle public void prepare() {
19  0 getModel().put("confirmationAction", "confirmTrackBack.action");
20    }
21   
22    /**
23    * Gets the title of this view.
24    *
25    * @return the title as a String
26    */
 
27  0 toggle public String getTitle() {
28  0 return null;
29    }
30   
31    /**
32    * Gets the URI that this view represents.
33    *
34    * @return the URI as a String
35    */
 
36  0 toggle public String getUri() {
37  0 Blog blog = (Blog)getModel().get(Constants.BLOG_KEY);
38  0 TrackBackConfirmationStrategy strategy = blog.getTrackBackConfirmationStrategy();
39  0 return strategy.getUri();
40    }
41   
42    }