Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.repoweb.model.file
Class FArtifactListFilterTest  view FArtifactListFilterTest download FArtifactListFilterTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.repoweb.model.file.FArtifactListFilterTest
All Implemented Interfaces:
junit.framework.Test

public class FArtifactListFilterTest
extends junit.framework.TestCase

DOCUMENT ME!

Version:
$Revision: 1.1.1.1 $

Field Summary
private  org.repoweb.model.TestUtil _util
           
private static java.lang.String REPO
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
FArtifactListFilterTest()
           
 
Method Summary
private  void assertArtifact(java.lang.String type, java.lang.String id, java.lang.String version, org.repoweb.model.Artifact artifact)
           
private  FArtifact newArtifact(java.lang.String artifact)
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void test_artifacts_byartifactId()
           
 void test_artifacts_byfileName()
           
 void test_artifacts()
           
 void test_groupIds()
           
 void test_toArtifactList()
           
 void test_versionsForGroup()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REPO

private static final java.lang.String REPO
See Also:
Constant Field Values

_util

private org.repoweb.model.TestUtil _util
Constructor Detail

FArtifactListFilterTest

public FArtifactListFilterTest()
Method Detail

test_groupIds

public void test_groupIds()
                   throws java.lang.Exception

test_versionsForGroup

public void test_versionsForGroup()
                           throws java.lang.Exception

test_artifacts

public void test_artifacts()
                    throws java.lang.Exception

test_artifacts_byartifactId

public void test_artifacts_byartifactId()
                                 throws java.lang.Exception

test_artifacts_byfileName

public void test_artifacts_byfileName()
                               throws java.lang.Exception

test_toArtifactList

public void test_toArtifactList()
                         throws java.lang.Exception

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


tearDown

protected void tearDown()
                 throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


assertArtifact

private void assertArtifact(java.lang.String type,
                            java.lang.String id,
                            java.lang.String version,
                            org.repoweb.model.Artifact artifact)

newArtifact

private FArtifact newArtifact(java.lang.String artifact)
                       throws BadArtifactFileException