|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MockDictionaryService | Line # 30 | 3 | 0% | 3 | 0 | 100% |
1.0
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
(4) | |||
Result | |||
1.0
|
org.kuali.student.common.assembly.dictionary.TestMetadataServiceImpl.testMetadataFormatter org.kuali.student.common.assembly.dictionary.TestMetadataServiceImpl.testMetadataFormatter | 1 PASS | |
1.0
|
org.kuali.student.common.assembly.dictionary.TestMetadataServiceImpl.testMetadataService org.kuali.student.common.assembly.dictionary.TestMetadataServiceImpl.testMetadataService | 1 PASS | |
0.33333334
|
org.kuali.student.common.assembly.TestAuthorizationFilter.testMaskPermissions org.kuali.student.common.assembly.TestAuthorizationFilter.testMaskPermissions | 1 PASS | |
0.33333334
|
org.kuali.student.common.assembly.TestAuthorizationFilter.testEditPermissions org.kuali.student.common.assembly.TestAuthorizationFilter.testEditPermissions | 1 PASS | |
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.assembly.dictionary; | |
17 | ||
18 | import java.util.List; | |
19 | ||
20 | import org.kuali.student.common.dictionary.dto.ObjectStructureDefinition; | |
21 | import org.kuali.student.common.dictionary.service.DictionaryService; | |
22 | ||
23 | ||
24 | /** | |
25 | * This is a description of what this class does - Will Gomes don't forget to fill this in. | |
26 | * | |
27 | * @author Kuali Student Team | |
28 | * | |
29 | */ | |
30 | public class MockDictionaryService implements DictionaryService{ | |
31 | ||
32 | private DictionaryService dictionaryServiceDelegate; | |
33 | ||
34 | /** | |
35 | * @see org.kuali.student.common.dictionary.service.old.DictionaryService#getObjectStructure(java.lang.String) | |
36 | */ | |
37 | 18 | @Override |
38 | public ObjectStructureDefinition getObjectStructure(String objectTypeKey) { | |
39 | 18 | return dictionaryServiceDelegate.getObjectStructure(objectTypeKey); |
40 | } | |
41 | ||
42 | /** | |
43 | * @see org.kuali.student.common.dictionary.service.old.DictionaryService#getObjectTypes() | |
44 | */ | |
45 | 4 | @Override |
46 | public List<String> getObjectTypes() { | |
47 | 4 | return dictionaryServiceDelegate.getObjectTypes(); |
48 | } | |
49 | ||
50 | 4 | public void setDictionaryServiceDelegate(DictionaryService dictionaryServiceDelegate) { |
51 | 4 | this.dictionaryServiceDelegate = dictionaryServiceDelegate; |
52 | } | |
53 | ||
54 | } |
|