Project

General

Profile

« Previous | Next » 

Revision adec36b1

Added by Andreas Müller over 3 years ago

cleanup

View differences:

src/test/java/eu/etaxonomy/vaadin/mvp/CdmEditorPresenterTest.java
8 8
*/
9 9
package eu.etaxonomy.vaadin.mvp;
10 10

  
11
import java.lang.reflect.InvocationTargetException;
12

  
13 11
import org.apache.log4j.Logger;
14 12
import org.unitils.dbunit.annotation.DataSet;
15 13
import org.unitils.spring.annotation.SpringBean;
......
30 28
/**
31 29
 * @author a.kohlbecker
32 30
 * @since Jun 2, 2017
33
 *
34 31
 */
35 32
// @RunWith(SpringJUnit4ClassRunner.class)
36 33
// @ContextConfiguration(classes = { CdmVaadinTestConfiguration.class })
37 34
// @VaadinAppConfiguration
38 35
public class CdmEditorPresenterTest {
39 36

  
37
    @SuppressWarnings("unused")
40 38
    private static final Logger logger = Logger.getLogger(CdmEditorPresenterTest.class);
41 39

  
42 40
    @SpringBeanByType
......
50 48

  
51 49
    @DataSet
52 50
    // @Test test setup not jet working :(
53
    public void testSaveReference() throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
54

  
55

  
51
    public void testSaveReference() throws IllegalArgumentException {
56 52
        TestReferenceEditorView testView = new TestReferenceEditorView();
57 53
        referencePresenter.init(testView);
58

  
59 54
    }
60 55

  
61 56
    class TestReferenceEditorView implements ReferencePopupEditorView {
62 57

  
63
        /**
64
         * {@inheritDoc}
65
         */
66 58
        @Override
67 59
        public NativeSelect getTypeSelect() {
68 60
            return null;
69 61
        }
70

  
71
        /**
72
         * {@inheritDoc}
73
         */
74 62
        @Override
75 63
        public ToOneRelatedEntityCombobox<Reference> getInReferenceCombobox() {
76 64
            return null;
77 65
        }
78

  
79
        /**
80
         * {@inheritDoc}
81
         */
82 66
        @Override
83 67
        public TeamOrPersonField getAuthorshipField() {
84 68
            return null;
85 69
        }
86

  
87
        /**
88
         * {@inheritDoc}
89
         */
90 70
        @Override
91 71
        public FilterableAnnotationsField getAnnotationsField() {
92 72
            return null;
93 73
        }
94

  
95
        /**
96
         * {@inheritDoc}
97
         */
98 74
        @Override
99 75
        public ToOneRelatedEntityCombobox<Institution> getInstitutionCombobox() {
100 76
            return null;
101 77
        }
102

  
103
        /**
104
         * {@inheritDoc}
105
         */
106 78
        @Override
107 79
        public ToOneRelatedEntityCombobox<Institution> getSchoolCombobox() {
108 80
            return null;
109 81
        }
110

  
111

  
112

  
113 82
    }
114

  
115 83
}

Also available in: Unified diff