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>
attributes
protected int
maxInactiveInterval
-
Constructor Summary
Constructors Constructor Description UploadServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HttpServletRequest
getMockRequest()
void
setUp()
void
testRepositoryExists()
Simple test that verify an object can be created and deleted.void
testUploadEncoding()
-
-
-
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:
getMockRequest
in classorg.apache.fulcrum.testcontainer.BaseUnit5Test
-
-