1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
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 |
|
|
|
|
| 0% |
Uncovered Elements: 26 (26) |
Complexity: 13 |
Complexity Density: 1 |
|
24 |
|
public class MockAttributeValueReader implements AttributeValueReader |
25 |
|
{ |
26 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
27 |
0
|
@Override... |
28 |
|
public String getAttributeName() { |
29 |
0
|
return "test"; |
30 |
|
} |
31 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
32 |
0
|
@Override... |
33 |
|
public List<String> getCleanSearchableValues(String attributeName) throws AttributeValidationException { |
34 |
0
|
throw new UnsupportedOperationException("Not supported yet."); |
35 |
|
} |
36 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
37 |
0
|
@Override... |
38 |
|
public Constrainable getDefinition(String attributeName) { |
39 |
0
|
return null; |
40 |
|
} |
41 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
42 |
0
|
@Override... |
43 |
|
public List<Constrainable> getDefinitions() { |
44 |
0
|
throw new UnsupportedOperationException("Not supported yet."); |
45 |
|
} |
46 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
47 |
0
|
@Override... |
48 |
|
public Constrainable getEntry() { |
49 |
0
|
throw new UnsupportedOperationException("Not supported yet."); |
50 |
|
} |
51 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
52 |
0
|
@Override... |
53 |
|
public String getEntryName() { |
54 |
0
|
return "test"; |
55 |
|
} |
56 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
57 |
0
|
@Override... |
58 |
|
public String getLabel(String attributeName) { |
59 |
0
|
throw new UnsupportedOperationException("Not supported yet."); |
60 |
|
} |
61 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
62 |
0
|
@Override... |
63 |
|
public Object getObject() { |
64 |
0
|
throw new UnsupportedOperationException("Not supported yet."); |
65 |
|
} |
66 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
0
|
@Override... |
68 |
|
public String getPath() { |
69 |
0
|
throw new UnsupportedOperationException("Not supported yet."); |
70 |
|
} |
71 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
72 |
0
|
@Override... |
73 |
|
public Class<?> getType(String attributeName) { |
74 |
0
|
throw new UnsupportedOperationException("Not supported yet."); |
75 |
|
} |
76 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
77 |
0
|
@Override... |
78 |
|
public <X> X getValue() throws AttributeValidationException { |
79 |
0
|
throw new UnsupportedOperationException("Not supported yet."); |
80 |
|
} |
81 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
82 |
0
|
@Override... |
83 |
|
public <X> X getValue(String attributeName) throws AttributeValidationException { |
84 |
0
|
throw new UnsupportedOperationException("Not supported yet."); |
85 |
|
} |
86 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
87 |
0
|
@Override... |
88 |
|
public void setAttributeName(String attributeName) { |
89 |
0
|
throw new UnsupportedOperationException("Not supported yet."); |
90 |
|
} |
91 |
|
|
92 |
|
|
93 |
|
} |