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