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:
Test

public class TestSourcesMarkerFileHandler
extends 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 TestCase
Throws:
Exception

tearDown

protected void tearDown()
Overrides:
tearDown in class TestCase

testSetMarkerResolved

public void testSetMarkerResolved()
                           throws MojoExecutionException
Throws:
MojoExecutionException

testSetMarkerUnresolved

public void testSetMarkerUnresolved()
                             throws MojoExecutionException
Throws:
MojoExecutionException

testBothMarkers

public void testBothMarkers()
                     throws MojoExecutionException
Throws:
MojoExecutionException

testMarkerFile

public void testMarkerFile()
                    throws MojoExecutionException,
                           IOException
Throws:
MojoExecutionException
IOException

testMarkerTimeStampResolved

public void testMarkerTimeStampResolved()
                                 throws MojoExecutionException,
                                        IOException,
                                        InterruptedException
Throws:
MojoExecutionException
IOException
InterruptedException

testMarkerTimeStampUnResolved

public void testMarkerTimeStampUnResolved()
                                   throws MojoExecutionException,
                                          IOException,
                                          InterruptedException
Throws:
MojoExecutionException
IOException
InterruptedException

doTestMarkerTimeStamp

public void doTestMarkerTimeStamp(boolean resolved)
                           throws MojoExecutionException,
                                  IOException,
                                  InterruptedException
Throws:
MojoExecutionException
IOException
InterruptedException

testMarkerFileException

public void testMarkerFileException()

testMarkerFileResolvedSetter

public void testMarkerFileResolvedSetter()

testNullParent

public void testNullParent()
                    throws MojoExecutionException
Throws:
MojoExecutionException

testNullParentResolved

public void testNullParentResolved()
                            throws MojoExecutionException
Throws:
MojoExecutionException


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