Clover Coverage Report - Kuali Student 1.2-M2-SNAPSHOT (Aggregated)
Coverage timestamp: Fri Apr 22 2011 04:03:20 EST
4   18   1   4
0   13   0.25   1
1     1  
1    
 
  BooleanFunctionResultTest       Line # 8 4 0% 1 0 100% 1.0
 
  (1)
 
1    package org.kuali.student.common.messagebuilder.booleanmessage.ast;
2   
3    import junit.framework.Assert;
4   
5    import org.junit.Test;
6    import org.kuali.student.common.messagebuilder.booleanmessage.ast.BooleanFunctionResult;
7   
 
8    public class BooleanFunctionResultTest {
9   
 
10  1 toggle @Test
11    public void testBooleanFunctionResult() throws Exception {
12  1 BooleanFunctionResult bfr = new BooleanFunctionResult("A*B", Boolean.TRUE, "A and B are true");
13   
14  1 Assert.assertEquals("A*B", bfr.getBooleanFunction());
15  1 Assert.assertEquals(Boolean.TRUE, bfr.getResult());
16  1 Assert.assertEquals("A and B are true", bfr.getMessage());
17    }
18    }