Package org.apache.fulcrum.upload
Class UploadServiceTest
- java.lang.Object
-
- org.apache.fulcrum.testcontainer.BaseUnit5Test
-
- org.apache.fulcrum.upload.UploadServiceTest
-
public class UploadServiceTest extends org.apache.fulcrum.testcontainer.BaseUnit5Test
UploadServiceTest- Version:
- $Id$
- Author:
- Eric Pugh
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Object>attributesprotected intmaxInactiveInterval
-
Constructor Summary
Constructors Constructor Description UploadServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HttpServletRequestgetMockRequest()voidsetUp()voidtestRepositoryExists()Simple test that verify an object can be created and deleted.voidtestUploadEncoding()
-
-
-
Field Detail
-
attributes
protected Map<String,Object> attributes
-
maxInactiveInterval
protected int maxInactiveInterval
-
-
Constructor Detail
-
UploadServiceTest
public UploadServiceTest()
-
-
Method Detail
-
testRepositoryExists
@Test public void testRepositoryExists() throws Exception
Simple test that verify an object can be created and deleted.- Throws:
Exception
-
testUploadEncoding
@Test public void testUploadEncoding() throws Exception
- Throws:
Exception
-
getMockRequest
protected HttpServletRequest getMockRequest()
- Overrides:
getMockRequestin classorg.apache.fulcrum.testcontainer.BaseUnit5Test
-
-