org.apache.maven.shared.io.location
Class ArtifactLocatorStrategyTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.shared.io.location.ArtifactLocatorStrategyTest
All Implemented Interfaces:
Test

public class ArtifactLocatorStrategyTest
extends TestCase


Constructor Summary
ArtifactLocatorStrategyTest()
           
 
Method Summary
 void setUp()
           
 void testShouldConstructWithDefaultArtifactType()
           
 void testShouldConstructWithoutDefaultArtifactType()
           
 void testShouldFailToResolveSpecWithOneToken()
           
 void testShouldFailToResolveSpecWithTwoTokens()
           
 void testShouldNotResolveSpecToArtifactWithNullFile()
           
 void testShouldNotResolveWhenArtifactNotFoundExceptionThrown()
           
 void testShouldNotResolveWhenArtifactResolutionExceptionThrown()
           
 void testShouldResolveSpecWithFiveTokens()
           
 void testShouldResolveSpecWithFiveTokensAndEmptyTypeToken()
           
 void testShouldResolveSpecWithFourTokens()
           
 void testShouldResolveSpecWithMoreThanFiveTokens()
           
 void testShouldResolveSpecWithThreeTokensUsingCustomizedDefaultType()
           
 void testShouldResolveSpecWithThreeTokensUsingDefaultType()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArtifactLocatorStrategyTest

public ArtifactLocatorStrategyTest()
Method Detail

setUp

public void setUp()
Overrides:
setUp in class TestCase

testShouldConstructWithoutDefaultArtifactType

public void testShouldConstructWithoutDefaultArtifactType()

testShouldConstructWithDefaultArtifactType

public void testShouldConstructWithDefaultArtifactType()

testShouldFailToResolveSpecWithOneToken

public void testShouldFailToResolveSpecWithOneToken()

testShouldFailToResolveSpecWithTwoTokens

public void testShouldFailToResolveSpecWithTwoTokens()

testShouldResolveSpecWithThreeTokensUsingDefaultType

public void testShouldResolveSpecWithThreeTokensUsingDefaultType()
                                                          throws IOException
Throws:
IOException

testShouldResolveSpecWithThreeTokensUsingCustomizedDefaultType

public void testShouldResolveSpecWithThreeTokensUsingCustomizedDefaultType()
                                                                    throws IOException
Throws:
IOException

testShouldResolveSpecWithFourTokens

public void testShouldResolveSpecWithFourTokens()
                                         throws IOException
Throws:
IOException

testShouldResolveSpecWithFiveTokens

public void testShouldResolveSpecWithFiveTokens()
                                         throws IOException
Throws:
IOException

testShouldResolveSpecWithFiveTokensAndEmptyTypeToken

public void testShouldResolveSpecWithFiveTokensAndEmptyTypeToken()
                                                          throws IOException
Throws:
IOException

testShouldResolveSpecWithMoreThanFiveTokens

public void testShouldResolveSpecWithMoreThanFiveTokens()
                                                 throws IOException
Throws:
IOException

testShouldNotResolveSpecToArtifactWithNullFile

public void testShouldNotResolveSpecToArtifactWithNullFile()
                                                    throws IOException
Throws:
IOException

testShouldNotResolveWhenArtifactNotFoundExceptionThrown

public void testShouldNotResolveWhenArtifactNotFoundExceptionThrown()
                                                             throws IOException
Throws:
IOException

testShouldNotResolveWhenArtifactResolutionExceptionThrown

public void testShouldNotResolveWhenArtifactResolutionExceptionThrown()
                                                               throws IOException
Throws:
IOException


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