1 package groovy.security; 2 3 import junit.framework.Test; 4 import junit.framework.TestSuite; 5 import junit.textui.TestRunner; 6 7 8 26 public class SignedJarTest extends SecurityTestSupport { 27 28 public static void main(String [] args) { 29 TestRunner.run( suite() ); 30 } 31 32 public static Test suite() { 33 return new TestSuite(SignedJarTest.class); 34 } 35 36 public void testReadSignedJar() throws Exception { 37 if (!isSecurityAvailable()) { 38 return; 39 } 40 Class c = loader.loadClass("groovy.security.JarTest"); 41 executeTest(c, null); 42 } 43 } 44 | Popular Tags |