Clover coverage report - Maven Clover report
Coverage timestamp: Sun Mar 18 2007 17:42:32 CET
file stats: LOC: 36   Methods: 4
NCLOC: 29   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
AbstractBinaryOperator.java - 100% 100% 100%
coverage
 1    package com.agical.rmock.core.match.operator;
 2   
 3    import java.io.IOException;
 4   
 5    import com.agical.rmock.core.describe.ExpressionDescriber;
 6    import com.agical.rmock.core.match.Expression;
 7    import com.agical.rmock.core.match.Operator;
 8   
 9    public abstract class AbstractBinaryOperator extends AbstractExpression implements Operator {
 10    private final String operator;
 11    private final Expression left;
 12    private final Expression right;
 13   
 14  21 public AbstractBinaryOperator(String operator, Expression left, Expression right) {
 15  21 this.operator = operator;
 16  21 this.left = left;
 17  21 this.right = right;
 18    }
 19   
 20  1 public void describeWith(ExpressionDescriber constraintDescriber)
 21    throws IOException {
 22  1 constraintDescriber.beginGroup();
 23  1 left.describeWith(constraintDescriber);
 24  1 constraintDescriber.operator(operator);
 25  1 right.describeWith(constraintDescriber);
 26  1 constraintDescriber.endGroup();
 27    }
 28   
 29  853 public Expression getLeft() {
 30  853 return left;
 31    }
 32   
 33  675 public Expression getRight() {
 34  675 return right;
 35    }
 36    }