Revision 53031
Added by Argiro Kokogiannaki over 5 years ago
DMFParserTest.java | ||
---|---|---|
101 | 101 |
public void dmf2ContextTest() throws IOException, SAXException, ParserConfigurationException, XPathExpressionException { |
102 | 102 |
DMFParser dmfParser= new DMFParser(); |
103 | 103 |
DMFContextHandler dmfContextHandler = new DMFContextHandler(); |
104 |
Context context = dmfContextHandler.extractContextFromDMF(contextDmf); |
|
104 |
Context context = dmfContextHandler.extractContextFromDMF(contextDmf, false);
|
|
105 | 105 |
|
106 | 106 |
Assert.assertEquals("egi::country::gr", context.getOpenaireId()); |
107 | 107 |
Assert.assertEquals("EGI Federation> EGI Countries> Greece", context.getTitle()); |
Also available in: Unified diff
Parameterize context utils methods with a boolean parameter for productionIndex, add production url
In delete claims method add check for deleting record