Class TestSupportedExternalInstances


public class TestSupportedExternalInstances extends RepositoryConformanceTestCase
Test that a repository records the provenance of an instance created on behalf of an external source.
addExternalEntity() is how content packs and external catalogues get their metadata into a repository, and the provenance it records is what later stops a local caller modifying that metadata. If the external source identifiers are not stored, or the provenance comes back as LOCAL_COHORT, then instances that belong to somebody else become editable here - a failure that only shows up as metadata quietly diverging from its source of truth.
  • Constructor Details

    • TestSupportedExternalInstances

      public TestSupportedExternalInstances(RepositoryConformanceWorkPad workPad, EntityDef entityDef)
      Set up the test case.
      Parameters:
      workPad - place for parameters and results
      entityDef - the entity type being created externally
  • Method Details