Clover coverage report - Maven Clover report
Coverage timestamp: Sun Mar 18 2007 17:42:32 CET
file stats: LOC: 46   Methods: 9
NCLOC: 34   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
OverridableSection.java - 100% 100% 100%
coverage
 1    package com.agical.rmock.core.expectation.section;
 2   
 3    import com.agical.rmock.core.ExpectationVisitor;
 4    import com.agical.rmock.core.Section;
 5    import com.agical.rmock.core.Visitable;
 6   
 7    public class OverridableSection implements Section {
 8   
 9    private Section proxiedSection;
 10   
 11  1837 public OverridableSection(Section proxiedSection) {
 12  1837 this.proxiedSection = proxiedSection;
 13    }
 14   
 15  1984 public void add(Visitable visitable) {
 16  1984 proxiedSection.add(visitable);
 17    }
 18   
 19  5 public String getDescription() {
 20  5 return proxiedSection.getDescription();
 21    }
 22   
 23  3 public String getType() {
 24  3 return proxiedSection.getType();
 25    }
 26   
 27  2212 public boolean accept(ExpectationVisitor expectationVisitor, boolean available) {
 28  2212 return proxiedSection.accept(expectationVisitor, available);
 29    }
 30   
 31  64 public boolean canMatch() {
 32  64 return proxiedSection.canMatch();
 33    }
 34   
 35  3320 public boolean isSatisfied() {
 36  3320 return proxiedSection.isSatisfied();
 37    }
 38   
 39  2 public void overrideWith(Section overridingSection) {
 40  2 this.proxiedSection = overridingSection;
 41    }
 42   
 43  5 public Section getProxiedSection() {
 44  5 return proxiedSection;
 45    }
 46    }