Package org.apache.maven.plugin.testing

Examples of org.apache.maven.plugin.testing.SilentLog


    extends TestCase
{
    public void testMergeReleases()
        throws Exception
    {
        Log log = new SilentLog();
        ReleaseUtils releaseUtils = new ReleaseUtils( log );

        List<Release> firstReleases = new ArrayList<Release>();
        List<Release> secondReleases = new ArrayList<Release>();
        List<Release> mergedReleases;
View Full Code Here


    public static void removeDirectory( File dir )
        throws IOException
    {
        if ( dir != null )
        {
            Log log = new SilentLog();
            FileSetManager fileSetManager = new FileSetManager( log, false );

            FileSet fs = new FileSet();
            fs.setDirectory( dir.getPath() );
            fs.addInclude( "**/**" );
View Full Code Here

     */
    protected void setUp() throws Exception
    {
        super.setUp();

        listener = new DependencyTreeResolutionListener( new SilentLog() );
    }
View Full Code Here

    protected void setUp()
        throws Exception
    {
        super.setUp();

        listener = new DependencyTreeResolutionListener( new SilentLog() );
    }
View Full Code Here

  /**
   * perform default initialization of provided mojo.
   */
  private void initializeMojo(final AbstractLinterMojo<?> mojo)
      throws Exception {
    mojo.setLog(new SilentLog());
    mojo.setIgnoreMissingResources(Boolean.FALSE.toString());
    setWroWithValidResources();
    mojo.setTargetGroups("g1");
    MavenProject mockMavenProject = Mockito.mock(MavenProject.class);
    Model mockMavenModel = Mockito.mock(Model.class);
View Full Code Here

    extends TestCase
{
    public void testMergeReleases()
        throws Exception
    {
        Log log = new SilentLog();
        ReleaseUtils releaseUtils = new ReleaseUtils( log );

        List<Release> firstReleases = new ArrayList<Release>();
        List<Release> secondReleases = new ArrayList<Release>();
        List<Release> mergedReleases;
View Full Code Here

TOP

Related Classes of org.apache.maven.plugin.testing.SilentLog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.