Revision 48139
Added by Alessia Bardi almost 7 years ago
OpenAIRESubmitterUtilsTest.java | ||
---|---|---|
16 | 16 |
|
17 | 17 |
final String fullProject = "info:eu-repo/grantAgreement/EC/FP7/244909/EU/Making Capabilities Work/WorkAble"; |
18 | 18 |
final String minimalProject = "info:eu-repo/grantAgreement/EC/FP7/244909///WorkAble"; |
19 |
final String onlyId = "info:eu-repo/grantAgreement/EC/FP7/244909/"; |
|
19 | 20 |
final String onlyTitle = "info:eu-repo/grantAgreement/EC/FP7/244909/EU/Making Capabilities Work"; |
20 | 21 |
|
21 | 22 |
@Test |
... | ... | |
25 | 26 |
} |
26 | 27 |
|
27 | 28 |
@Test |
29 |
public void testCalculateProjectInfoOnlyId() { |
|
30 |
final Map<String, String> project = utils.calculateProjectInfo(onlyId); |
|
31 |
print(project); |
|
32 |
} |
|
33 |
|
|
34 |
@Test |
|
28 | 35 |
public void testCalculateProjectInfoMinimalAcro() { |
29 | 36 |
final Map<String, String> project = utils.calculateProjectInfo(minimalProject); |
30 | 37 |
print(project); |
Also available in: Unified diff
integrated (hopefully) all required changes from dnet40