Project

General

Profile

« Previous | Next » 

Revision 48294

Delete file when claim is deleted and result has no other links| change semantics | change the openaireId generation

View differences:

ExternalParserTest.java
256 256
        Assert.assertNull(result.getEmbargoEndDate());
257 257

  
258 258
    }
259
    @Test
260
    public void testMD5() throws Exception {
261
        String id = "10.1016/j.engstruct.2013.03.014";
262
        String createdId = ExternalRecordParser.createOpenaireId(id);
263
        String openaireId = "userclaim___::07ec9eb2278a11e352e3fa93a621411d";
264
        Assert.assertEquals(createdId,openaireId);
265

  
266
    }
259 267
}

Also available in: Unified diff