org.apache.maven.plugin.jar
Class JarSignVerifyMojoTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.maven.plugin.jar.JarSignVerifyMojoTest
- All Implemented Interfaces:
- Test
public class JarSignVerifyMojoTest
- extends TestCase
These unit tests only check whether the generated command lines are correct.
Really running the command would mean checking the results, which is too painful and not really a unit test.
It would probably require to 'jarsigner -verify' the resulting signed jar and I believe it would make the code
too complex with very few benefits.
- Version:
- $Id: JarSignVerifyMojoTest.java 728546 2008-12-21 22:56:51Z bentmann $
- Author:
- Jerome Lacoste
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
JarSignVerifyMojoTest
public JarSignVerifyMojoTest()
setUp
public void setUp()
throws IOException
- Overrides:
setUp
in class TestCase
- Throws:
IOException
tearDown
public void tearDown()
- Overrides:
tearDown
in class TestCase
testPleaseMaven
public void testPleaseMaven()
testRunOK
public void testRunOK()
throws MojoExecutionException
- Throws:
MojoExecutionException
testRunOKAllArguments
public void testRunOKAllArguments()
throws MojoExecutionException
- Throws:
MojoExecutionException
testRunFailureNeverHappens
public void testRunFailureNeverHappens()
testRunFailureVerifyFailed
public void testRunFailureVerifyFailed()
testRunError
public void testRunError()
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.