org.apache.maven.plugin.dependency.utils.markers
Class TestSourcesMarkerFileHandler

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.plugin.dependency.utils.markers.TestSourcesMarkerFileHandler
All Implemented Interfaces:
junit.framework.Test

public class TestSourcesMarkerFileHandler
extends junit.framework.TestCase

Author:
brianf

Constructor Summary
TestSourcesMarkerFileHandler()
           
 
Method Summary
 void doTestMarkerTimeStamp(boolean resolved)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testBothMarkers()
           
 void testMarkerFile()
           
 void testMarkerFileException()
           
 void testMarkerFileResolvedSetter()
           
 void testMarkerTimeStampResolved()
           
 void testMarkerTimeStampUnResolved()
           
 void testNullParent()
           
 void testNullParentResolved()
           
 void testSetMarkerResolved()
           
 void testSetMarkerUnresolved()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestSourcesMarkerFileHandler

public TestSourcesMarkerFileHandler()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

testSetMarkerResolved

public void testSetMarkerResolved()
                           throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

testSetMarkerUnresolved

public void testSetMarkerUnresolved()
                             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

testBothMarkers

public void testBothMarkers()
                     throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

testMarkerFile

public void testMarkerFile()
                    throws org.apache.maven.plugin.MojoExecutionException,
                           IOException
Throws:
org.apache.maven.plugin.MojoExecutionException
IOException

testMarkerTimeStampResolved

public void testMarkerTimeStampResolved()
                                 throws org.apache.maven.plugin.MojoExecutionException,
                                        IOException,
                                        InterruptedException
Throws:
org.apache.maven.plugin.MojoExecutionException
IOException
InterruptedException

testMarkerTimeStampUnResolved

public void testMarkerTimeStampUnResolved()
                                   throws org.apache.maven.plugin.MojoExecutionException,
                                          IOException,
                                          InterruptedException
Throws:
org.apache.maven.plugin.MojoExecutionException
IOException
InterruptedException

doTestMarkerTimeStamp

public void doTestMarkerTimeStamp(boolean resolved)
                           throws org.apache.maven.plugin.MojoExecutionException,
                                  IOException,
                                  InterruptedException
Throws:
org.apache.maven.plugin.MojoExecutionException
IOException
InterruptedException

testMarkerFileException

public void testMarkerFileException()

testMarkerFileResolvedSetter

public void testMarkerFileResolvedSetter()

testNullParent

public void testNullParent()
                    throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

testNullParentResolved

public void testNullParentResolved()
                            throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.