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

Quick Search    Search Deep

org.repoweb.action
Class FindArtifactTest  view FindArtifactTest download FindArtifactTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byservletunit.struts.MockStrutsTestCase
              extended byorg.repoweb.action.FindArtifactTest
All Implemented Interfaces:
junit.framework.Test

public class FindArtifactTest
extends servletunit.struts.MockStrutsTestCase

DOCUMENT ME!

Version:
$Revision: 1.1.1.1 $

Field Summary
private  org.repoweb.model.TestUtil _util
           
 
Fields inherited from class servletunit.struts.MockStrutsTestCase
actionPath, actionServlet, actionServletIsInitialized, config, context, isInitialized, logger, registrations, request, requestPathSet, requestWrapper, response, responseWrapper
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
FindArtifactTest(java.lang.String name)
           
 
Method Summary
 void setUp()
          Sets up the test fixture for this test.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void test_findByClass()
           
 void test_findByName()
           
 void test_findForGroup_noGroups()
           
 void test_findForGroup()
           
 void test_findForGroupAndType()
           
 void test_findOneArtifact_unknown()
           
 void test_findOneArtifact()
           
 
Methods inherited from class servletunit.struts.MockStrutsTestCase
actionPerform, addRequestParameter, addRequestParameter, clearRequestParameters, getActionForm, getActionServlet, getActualForward, getMockRequest, getMockResponse, getRequest, getRequestWrapper, getResponse, getResponseWrapper, getSession, setActionForm, setActionServlet, setConfigFile, setConfigFile, setContextDirectory, setInitParameter, setRequestPathInfo, setRequestPathInfo, setRequestWrapper, setResponseWrapper, setServletConfigFile, verifyActionErrors, verifyActionMessages, verifyForward, verifyForwardPath, verifyInputForward, verifyInputTilesForward, verifyNoActionErrors, verifyNoActionMessages, verifyTilesForward
 
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

_util

private org.repoweb.model.TestUtil _util
Constructor Detail

FindArtifactTest

public FindArtifactTest(java.lang.String name)
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Description copied from class: servletunit.struts.MockStrutsTestCase
Sets up the test fixture for this test. This method creates an instance of the ActionServlet, initializes it to validate forms and turn off debugging, and creates a mock HttpServletRequest and HttpServletResponse object to use in this test.


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.


test_findByName

public void test_findByName()
                     throws java.lang.Exception

test_findByClass

public void test_findByClass()
                      throws java.lang.Exception

test_findForGroup

public void test_findForGroup()
                       throws java.lang.Exception

test_findForGroup_noGroups

public void test_findForGroup_noGroups()
                                throws java.lang.Exception

test_findForGroupAndType

public void test_findForGroupAndType()
                              throws java.lang.Exception

test_findOneArtifact

public void test_findOneArtifact()
                          throws java.lang.Exception

test_findOneArtifact_unknown

public void test_findOneArtifact_unknown()
                                  throws java.lang.Exception