Changeset 3461 for DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/test/java/eu/dasish/annotation/backend/dao/impl/JdbcAnnotationDaoTest.java
- Timestamp:
- 08/22/13 16:28:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/test/java/eu/dasish/annotation/backend/dao/impl/JdbcAnnotationDaoTest.java
r3455 r3461 190 190 191 191 final Number testAnnotationID = 2; 192 jdbcAnnotationDao.setServiceURI(TestBackendConstants._TEST_SERVLET_URI); 192 193 final Annotation annotation = jdbcAnnotationDao.getAnnotationWithoutSources(testAnnotationID); 193 194 assertEquals(TestBackendConstants._TEST_ANNOT_2_HEADLINE, annotation.getHeadline()); 194 195 assertEquals(String.valueOf(TestBackendConstants._TEST_ANNOT_2_OWNER), annotation.getOwner().getRef()); 195 196 assertEquals(TestBackendConstants._TEST_ANNOT_2_BODY, annotation.getBody().getAny().get(0)); // when the body is elaborated it may be changed 196 assertEquals(TestBackendConstants._TEST_ ANNOT_2_EXT, annotation.getURI());197 assertEquals(TestBackendConstants._TEST_SERVLET_URI+TestBackendConstants._TEST_ANNOT_2_EXT, annotation.getURI()); 197 198 assertEquals(TestBackendConstants._TEST_ANNOT_2_TIME_STAMP, annotation.getTimeStamp().toString()); 198 199 }
Note: See TracChangeset
for help on using the changeset viewer.