org.apache.maven.plugin.ear.util
Class ArtifactRepositoryTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.plugin.ear.util.ArtifactRepositoryTest
All Implemented Interfaces:
junit.framework.Test

public class ArtifactRepositoryTest
extends junit.framework.TestCase

Version:
$Id: ArtifactRepositoryTest.java 522047 2007-03-24 16:09:22Z snicoll $
Author:
Stephane Nicoll

Field Summary
static java.lang.String DEFAULT_GROUPID
           
static java.lang.String DEFAULT_TYPE
           
static java.lang.String MAIN_ARTIFACT_ID
           
 
Constructor Summary
ArtifactRepositoryTest()
           
 
Method Summary
protected  void setUp()
           
 void testEmptyRepository()
           
 void testRepositoryWithMultipleClassifiedArtifacts()
           
 void testRepositoryWithMultipleClassifiedArtifactsAndMainArtifact()
           
 void testRepositoryWithOneClassifiedArtifact()
           
 void testRepositoryWithOneUnclassifiedArtifact()
           
 
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
 

Field Detail

DEFAULT_GROUPID

public static final java.lang.String DEFAULT_GROUPID
See Also:
Constant Field Values

DEFAULT_TYPE

public static final java.lang.String DEFAULT_TYPE
See Also:
Constant Field Values

MAIN_ARTIFACT_ID

public static final java.lang.String MAIN_ARTIFACT_ID
See Also:
Constant Field Values
Constructor Detail

ArtifactRepositoryTest

public ArtifactRepositoryTest()
Method Detail

setUp

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

testEmptyRepository

public void testEmptyRepository()

testRepositoryWithOneUnclassifiedArtifact

public void testRepositoryWithOneUnclassifiedArtifact()

testRepositoryWithOneClassifiedArtifact

public void testRepositoryWithOneClassifiedArtifact()

testRepositoryWithMultipleClassifiedArtifacts

public void testRepositoryWithMultipleClassifiedArtifacts()

testRepositoryWithMultipleClassifiedArtifactsAndMainArtifact

public void testRepositoryWithMultipleClassifiedArtifactsAndMainArtifact()


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