Project

General

Profile

Revision 7249680a

ID7249680a537620f2a9e82b422474581c8ed2f327
Parent 6be2ebe8
Child 05f33e9b

Added by Andreas Kohlbecker over 1 year ago

adapting test to updated data at BHL and adding comment about pars problem (ref #6939)

View differences:

cdmlib-ext/src/test/java/eu/etaxonomy/cdm/ext/openurl/MobotOpenUrlServiceWrapperTest.java
73 73
			OpenUrlReference reference = refList.get(0);
74 74
			logger.info(reference.toString());
75 75
			// title cache
76
			Assert.assertEquals("Manual of North American Diptera /  by Samuel W. Williston.", reference.getTitleCache());
76
			Assert.assertEquals("Manual of North American Diptera /", reference.getTitleCache());
77
			// TODO Authorship missing see #6939
78
			// Assert.assertEquals("Williston, Samuel W. (Samuel Wendell),", reference.getAuthorship().getTitleCache());
77 79
			Assert.assertEquals("Page 16", reference.getPages());
78 80

  
79 81
			// -------------------------
......
86 88
			Assert.assertNotNull(refList);
87 89
			OpenUrlReference reference_plus1 = refList.get(0);
88 90
			logger.info(reference_plus1.toString());
89
			Assert.assertEquals("Manual of North American Diptera /  by Samuel W. Williston.", reference_plus1.getTitleCache());
91
			Assert.assertEquals("Manual of North American Diptera /", reference_plus1.getTitleCache());
90 92
			Assert.assertEquals("Page 18", reference_plus1.getPages());
91 93
			Assert.assertTrue(reference.getItemUri().equals(reference_plus1.getItemUri()));
92 94
			Assert.assertTrue(! reference.getUri().equals(reference_plus1.getUri()));

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)