protected PatchingResult executePatch(final File file) throws IOException, PatchingException { return executePatch(newPatchTool(), file); }
protected void installLayers(String... layers) throws Exception { installLayers(true, layers); }
protected PatchingResult rollback(String patchId) throws IOException, PatchingException { return rollback(newPatchTool(), patchId); }
@After public void tearDown() { super.tearDown(); originalAppClientHash = null; originalStandaloneHash = null; originalDomainHash = null; standaloneXmlFile = null; }
protected PatchTool newPatchTool() throws IOException { return PatchTool.Factory.create(loadInstallationManager()); }
protected PatchingResult rollback(PatchTool tool, String patchId, final boolean rollbackTo) throws IOException, PatchingException { return rollback(tool, patchId, rollbackTo, ContentVerificationPolicy.STRICT); }
@After public void tearDown() { super.tearDown(); runner = null; zippedPatch = null; patch = null; fileUpdated = null; modifiedFile = null; expectedModifiedHash = null; updatedHash = null; }
public InstalledIdentity loadInstalledIdentity() throws IOException { return loadInstallationManager().getDefaultIdentity(); }
protected PatchingResult rollback(PatchTool tool, String patchId) throws IOException, PatchingException { return rollback(tool, patchId, false); }
protected PatchingResult rollback(String patchId, boolean rollbackTo, ContentVerificationPolicy policy) throws IOException, PatchingException { return rollback(newPatchTool(), patchId, rollbackTo, policy); }
@After public void tearDown() { super.tearDown(); runner = null; zippedPatch = null; patch = null; fileRemoved = null; removedFile = null; expectedModifiedHash = null; }
protected PatchingResult rollback(String patchId, final boolean rollbackTo) throws IOException, PatchingException { return rollback(newPatchTool(), patchId, rollbackTo); }
@After public void tearDown() { super.tearDown(); originalAppClientHash = null; originalStandaloneHash = null; originalDomainHash = null; standaloneXmlFile = null; appClientXmlFile = null; domainXmlFile = null; }