FELIX-518 - add unit test for signed DPs:
authorJan Willem Janssen <jawi@apache.org>
Thu, 14 Jan 2016 16:20:31 +0000 (16:20 +0000)
committerJan Willem Janssen <jawi@apache.org>
Thu, 14 Jan 2016 16:20:31 +0000 (16:20 +0000)
commit2acb8de55574074c1855f42f0eae5710f69ff2bd
tree8d37b38ba639733c5d1627d597a6778193eb9fa3
parent71e5d7e0a4558d45aa0eb75966a535c377908a58
FELIX-518 - add unit test for signed DPs:

- created utility to create signed deployment packages for use in itests;
- verify that signed DPs are correctly installed;
- some small cleanups and typos fixed.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1724647 13f79535-47bb-0310-9956-ffa450edef68
13 files changed:
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/AbstractDeploymentPackage.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/ContentCopyingJarInputStream.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/DeploymentAdminImpl.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/DeploymentPackageManifest.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/NonCloseableStream.java
deploymentadmin/itest/pom.xml
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/BaseIntegrationTest.java
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/DPSignerTest.java [new file with mode: 0644]
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/InstallDeploymentPackageTest.java
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/util/ArtifactData.java
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/util/CertificateUtil.java [new file with mode: 0644]
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/util/DPSigner.java [new file with mode: 0644]
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/util/DeploymentPackageBuilder.java