Clover Coverage Report - Kuali Student 1.2-M1-SNAPSHOT (Aggregated)
Coverage timestamp: Fri Mar 4 2011 04:03:38 EST
../../../../../img/srcFileCovDistChart0.png 49% of files have more coverage
9   58   6   1.8
2   27   0.67   5
5     1.2  
1    
 
  MyBusinessClassImpl       Line # 21 9 0% 6 16 0% 0.0
 
No Tests
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
14    */
15   
16    package org.kuali.student.common_test_tester.support;
17   
18    import org.springframework.transaction.annotation.Transactional;
19   
20    @Transactional
 
21    public class MyBusinessClassImpl implements MyBusinessClass{
22    private MyDao myDao;
23    private OtherDao otherDao;
24   
 
25  0 toggle public int doBusinessThing(){
26  0 myDao.createValue(new Value("lalala"));
27  0 otherDao.foo();
28  0 if(myDao.findValueFromValue("Value Number One")!=null){
29  0 return 1;
30    }
31  0 return 0;
32    }
33   
34    /**
35    * @return the myDao
36    */
 
37  0 toggle public MyDao getMyDao() {
38  0 return myDao;
39    }
40    /**
41    * @param myDao the myDao to set
42    */
 
43  0 toggle public void setMyDao(MyDao myDao) {
44  0 this.myDao = myDao;
45    }
46    /**
47    * @return the otherDao
48    */
 
49  0 toggle public OtherDao getOtherDao() {
50  0 return otherDao;
51    }
52    /**
53    * @param otherDao the otherDao to set
54    */
 
55  0 toggle public void setOtherDao(OtherDao otherDao) {
56  0 this.otherDao = otherDao;
57    }
58    }