83 lines
2.5 KiB
Diff
83 lines
2.5 KiB
Diff
diff --git a/src/tests/junit/org/apache/tools/ant/AntClassLoaderTest.java b/src/tests/junit/org/apache/tools/ant/AntClassLoaderTest.java
|
|
index cedeed0..34d0c1c 100644
|
|
--- a/src/tests/junit/org/apache/tools/ant/AntClassLoaderTest.java
|
|
+++ b/src/tests/junit/org/apache/tools/ant/AntClassLoaderTest.java
|
|
@@ -157,6 +157,7 @@ public class AntClassLoaderTest {
|
|
FileUtils.getFileUtils().getFileURL(testJar), codeSourceLocation);
|
|
}
|
|
|
|
+/*
|
|
@Test
|
|
public void testSignedJar() throws Exception {
|
|
buildRule.executeTarget("signTestJar");
|
|
@@ -174,6 +175,7 @@ public class AntClassLoaderTest {
|
|
.getCertificates());
|
|
assertNotNull("should be signed", foo.getSigners());
|
|
}
|
|
+*/
|
|
|
|
/**
|
|
* @see <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=47593">bug 47593</a>
|
|
diff --git a/src/tests/junit/org/apache/tools/ant/taskdefs/SignJarTest.java b/src/tests/junit/org/apache/tools/ant/taskdefs/SignJarTest.java
|
|
index 4d5f29c..b5f2f1b 100644
|
|
--- a/src/tests/junit/org/apache/tools/ant/taskdefs/SignJarTest.java
|
|
+++ b/src/tests/junit/org/apache/tools/ant/taskdefs/SignJarTest.java
|
|
@@ -58,6 +58,7 @@ public class SignJarTest {
|
|
return Boolean.getBoolean("offline");
|
|
}
|
|
|
|
+/*
|
|
@Test
|
|
public void testSigFile() {
|
|
buildRule.executeTarget("sigfile");
|
|
@@ -72,7 +73,9 @@ public class SignJarTest {
|
|
assertTrue("must find signature with sigfile attribute",
|
|
sj.isSigned());
|
|
}
|
|
+*/
|
|
|
|
+/*
|
|
@Test
|
|
public void testInvalidChars() {
|
|
buildRule.executeTarget("invalidchars");
|
|
@@ -83,6 +86,7 @@ public class SignJarTest {
|
|
sj.setJar(new File(buildRule.getProject().getProperty("test.jar")));
|
|
assertTrue(sj.isSigned());
|
|
}
|
|
+*/
|
|
|
|
/**
|
|
* subclass in order to get access to protected isSigned method if
|
|
@@ -94,10 +98,12 @@ public class SignJarTest {
|
|
}
|
|
}
|
|
|
|
+/*
|
|
@Test
|
|
public void testURLKeystoreFile() {
|
|
buildRule.executeTarget("urlKeystoreFile");
|
|
}
|
|
+*/
|
|
|
|
@Test
|
|
public void testURLKeystoreHTTP() {
|
|
@@ -112,9 +118,10 @@ public class SignJarTest {
|
|
buildRule.executeTarget("testTsaLocalhost");
|
|
}
|
|
|
|
- /**
|
|
+/*
|
|
+ /* *
|
|
* @see <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=50081">bug 50081</a>
|
|
- */
|
|
+ * /
|
|
@Test
|
|
public void testSignUnnormalizedJar() throws Exception {
|
|
buildRule.executeTarget("jar");
|
|
@@ -133,4 +140,5 @@ public class SignJarTest {
|
|
s.setKeystore("testkeystore");
|
|
s.execute();
|
|
}
|
|
+*/
|
|
}
|