Project

General

Profile

« Previous | Next » 

Revision 59954

Fixed direct indexing to projects with no funding streams and with escaped '/' in the grant code. Fixed UKRI acronym/names

View differences:

OpenAIRESubmitterUtilsTest.java
25 25
	final String minimalProject = "info:eu-repo/grantAgreement/EC/FP7/244909///WorkAble";
26 26
	final String onlyId = "info:eu-repo/grantAgreement/EC/FP7/244909/";
27 27
	final String onlyTitle = "info:eu-repo/grantAgreement/EC/FP7/244909/EU/Making Capabilities Work";
28
	final String escapedId = "info:eu-repo/grantAgreement/RCUK//NE%2FL003066%2F1/";
28 29

  
29 30
	@Test
31
	public void testCalculateProjectInfoEscaped() {
32
		final Map<String, String> project = utils.calculateProjectInfo(escapedId);
33
		print(project);
34
	}
35

  
36
	@Test
30 37
	public void testCalculateProjectInfoFull() {
31 38
		final Map<String, String> project = utils.calculateProjectInfo(fullProject);
32 39
		print(project);

Also available in: Unified diff