Revision aee16929
Added by Cherian Mathew almost 9 years ago
src/test/java/eu/etaxonomy/cdm/vaadin/presenter/StatusPresenterTest.java | ||
---|---|---|
95 | 95 |
Assert.assertFalse(pb); |
96 | 96 |
} |
97 | 97 |
|
98 |
@Test |
|
99 |
public void testGetClassificationId() throws SQLException { |
|
100 |
CdmSQLContainer container = sp.loadClassifications(); |
|
101 |
Object classificationId = sp.getClassificationId("Classification1"); |
|
102 |
Assert.assertEquals("11", classificationId.toString()); |
|
103 |
classificationId = sp.getClassificationId("ClassificationDoesNotExist"); |
|
104 |
Assert.assertNull(classificationId); |
|
105 |
} |
|
106 |
|
|
98 | 107 |
@Ignore |
99 | 108 |
@Test |
100 | 109 |
public void testLoadClassifications() throws SQLException { |
Also available in: Unified diff
ConceptRelationshipComposite : ui fixes for controls
EditConceptRelationshipComposite : changed polling interval to 1 sec
IStatusComposite, StatusComposite, StatusPresenter, ConceptRelationshipUI, ConceptRelationshipView : allowing setting of classifications via url parameters
StatusPresenterTest : testing method for getting
StatusEditorUI, DbStatusUI, AbstractAuthenticatedUI, NavigatorTestUI : exposing vaadin request to abstract init method
d3.conceptrelationshiptree_connector.js : changed size to work on smaller screens
edit.scss, styles.scss : corrected icon size