Class PreviousExtensionVersion


  • public class PreviousExtensionVersion
    extends Object
    This represents a previous version of an extension.
    • Method Detail

      • prepare

        public void prepare()
        Prepare this previous version by downloading extension JavaScript definition and the adapter file.
      • upgrade

        public void upgrade()
        Upgrade the previous version to the current version by calling ExtensionManagerClient.upgrade() and verify that it returns the expected versions.
      • getExtensionId

        public String getExtensionId()
        The the temporary ID of the installed extension. This ID will only be valid for the currently running test. The extension definition file will be automatically deleted after the test.
        Returns:
        the temporary ID.