Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlyn Normington2012-07-19 06:30:55 -0400
committerGlyn Normington2012-07-19 06:30:55 -0400
commit270ddfdd9756e5d0ab1830403151f50f83bbbde3 (patch)
tree88f1fae8dd530df333982536a178bd624f1337e7 /org.eclipse.virgo.kernel.artifact
parentcd302f958d8f67519dda0d19a0afd8163be71de8 (diff)
downloadorg.eclipse.virgo.kernel-270ddfdd9756e5d0ab1830403151f50f83bbbde3.tar.gz
org.eclipse.virgo.kernel-270ddfdd9756e5d0ab1830403151f50f83bbbde3.tar.xz
org.eclipse.virgo.kernel-270ddfdd9756e5d0ab1830403151f50f83bbbde3.zip
383874: delete cruft
Diffstat (limited to 'org.eclipse.virgo.kernel.artifact')
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/BundleBridgeTests.java12
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/wars/testbad02.war1
2 files changed, 0 insertions, 13 deletions
diff --git a/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/BundleBridgeTests.java b/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/BundleBridgeTests.java
index 107fb5a6..7ea7d900 100644
--- a/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/BundleBridgeTests.java
+++ b/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/BundleBridgeTests.java
@@ -90,18 +90,6 @@ public class BundleBridgeTests {
}
@Test
- @Ignore("383874: BundleBridge was re-implemented via JarFileArtifactFS to use ZipInputStream and avoid incorrect caching. ZipInputStream does not treat non-zip files as erroneous")
- public void testBadManifest02() {
- File file = new File("./src/test/resources/wars/testbad02.war"); // Not a zip file, just contains text.
- try {
- BUNDLE_BRIDGE.generateArtifactDescriptor(file);
- assertTrue("Should throw exception", false);
- } catch (ArtifactGenerationException age) {
- assertEquals("ArtifactType in exception is incorrect", age.getArtifactType(), BundleBridge.BRIDGE_TYPE);
- }
- }
-
- @Test
public void testGenerateArtefact() throws ArtifactGenerationException {
File jarsDirectory = new File(
"../ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.dbcp/1.2.2.osgi/com.springsource.org.apache.commons.dbcp-1.2.2.osgi.jar");
diff --git a/org.eclipse.virgo.kernel.artifact/src/test/resources/wars/testbad02.war b/org.eclipse.virgo.kernel.artifact/src/test/resources/wars/testbad02.war
deleted file mode 100644
index 4b90d403..00000000
--- a/org.eclipse.virgo.kernel.artifact/src/test/resources/wars/testbad02.war
+++ /dev/null
@@ -1 +0,0 @@
-This is not a war file really \ No newline at end of file

Back to the top