« Previous | Next » 

Revision 6005

Added by Chris Jones over 10 years ago

Now that MetacatHandler creates GUID identifier mappings and system metadata, many of the tests in IdentifierManagerTest were failing that were manually creating id mappings and system metadata.
Modified testCreateMapping() and testCreateSystemMetadataMapping() to use docids that haven't been inserted to just exercise the methods.
Modified testGetLocalId() and testIdentifierExists()to use the GUID that was generated via MetacatHandler to get the local id.
Modified testGenerateLocalId() to use a unique docid (from a datetime) since it was failing using the same fixed docid.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences