Clover Coverage Report - KS Services 0.0.1-SNAPSHOT (Aggregated)
Coverage timestamp: Mon May 23 2011 04:06:57 EDT
../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
13   93   13   1
0   60   1   13
13     1  
1    
 
  MockAttributeValueReader       Line # 24 13 0% 13 26 0% 0.0
 
No Tests
 
1    /*
2    * Copyright 2011 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 1.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl1.php
9    *
10    * Unless required by applicable law or agreed to in writing, software
11    * distributed under the License is distributed on an "AS IS" BASIS,
12    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13    * See the License for the specific language governing permissions and
14    * limitations under the License.
15    */
16    package org.kuali.student.datadictionary.util;
17   
18   
19    import java.util.List;
20    import org.kuali.rice.kns.datadictionary.exception.AttributeValidationException;
21    import org.kuali.rice.kns.datadictionary.validation.AttributeValueReader;
22    import org.kuali.rice.kns.datadictionary.validation.capability.Constrainable;
23   
 
24    public class MockAttributeValueReader implements AttributeValueReader
25    {
26   
 
27  0 toggle @Override
28    public String getAttributeName() {
29  0 return "test";
30    }
31   
 
32  0 toggle @Override
33    public List<String> getCleanSearchableValues(String attributeName) throws AttributeValidationException {
34  0 throw new UnsupportedOperationException("Not supported yet.");
35    }
36   
 
37  0 toggle @Override
38    public Constrainable getDefinition(String attributeName) {
39  0 return null;
40    }
41   
 
42  0 toggle @Override
43    public List<Constrainable> getDefinitions() {
44  0 throw new UnsupportedOperationException("Not supported yet.");
45    }
46   
 
47  0 toggle @Override
48    public Constrainable getEntry() {
49  0 throw new UnsupportedOperationException("Not supported yet.");
50    }
51   
 
52  0 toggle @Override
53    public String getEntryName() {
54  0 return "test";
55    }
56   
 
57  0 toggle @Override
58    public String getLabel(String attributeName) {
59  0 throw new UnsupportedOperationException("Not supported yet.");
60    }
61   
 
62  0 toggle @Override
63    public Object getObject() {
64  0 throw new UnsupportedOperationException("Not supported yet.");
65    }
66   
 
67  0 toggle @Override
68    public String getPath() {
69  0 throw new UnsupportedOperationException("Not supported yet.");
70    }
71   
 
72  0 toggle @Override
73    public Class<?> getType(String attributeName) {
74  0 throw new UnsupportedOperationException("Not supported yet.");
75    }
76   
 
77  0 toggle @Override
78    public <X> X getValue() throws AttributeValidationException {
79  0 throw new UnsupportedOperationException("Not supported yet.");
80    }
81   
 
82  0 toggle @Override
83    public <X> X getValue(String attributeName) throws AttributeValidationException {
84  0 throw new UnsupportedOperationException("Not supported yet.");
85    }
86   
 
87  0 toggle @Override
88    public void setAttributeName(String attributeName) {
89  0 throw new UnsupportedOperationException("Not supported yet.");
90    }
91   
92   
93    }