Project

General

Profile

« Previous | Next » 

Revision 6385

Added by Chris Jones over 12 years ago

Update tests to use the DataONE 0.6.4 schema and types.

View differences:

MNodeServiceTest.java
509 509
      Identifier pid = MNodeService.getInstance().create(session, guid, object, sysmeta);
510 510
      DescribeResponse describeResponse = MNodeService.getInstance().describe(session, pid);
511 511
      assertEquals(describeResponse.getDataONE_Checksum().getValue(), sysmeta.getChecksum().getValue());
512
      assertEquals(describeResponse.getDataONE_ObjectFormat().getFormatName(), sysmeta.getObjectFormat().getFormatName());
512
      assertEquals(describeResponse.getDataONE_ObjectFormatIdentifier(), sysmeta.getFmtid());
513 513
      
514 514
    } catch (UnsupportedEncodingException e) {
515 515
      e.printStackTrace();

Also available in: Unified diff