de.fh_mannheim.mm.dms.tests
Class UploadManagerTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byde.fh_mannheim.mm.dms.tests.UploadManagerTest
All Implemented Interfaces:
junit.framework.Test

public class UploadManagerTest
extends junit.framework.TestCase

JUnit test class for upload manager. This test class checks different base functionality of the class. Here are following things testet:

Version:
$Revision: 1.14 $
Author:
Jan Löffler, mail@jlsoft.de

Constructor Summary
UploadManagerTest(java.lang.String strTestName)
          Constructor.
 
Method Summary
static void main(java.lang.String[] args)
          Main function which runs the junit TestRunner.
 void setUp()
          Setting up instance.
static junit.framework.Test suite()
          Is called to create the test suite.
 void tearDown()
          Is called for all tests.
 void testCreateUpload()
          Test the creation of uploads.
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, name, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UploadManagerTest

public UploadManagerTest(java.lang.String strTestName)
Constructor.

Parameters:
strTestName - Name of test
Method Detail

main

public static void main(java.lang.String[] args)
Main function which runs the junit TestRunner.

Parameters:
args - Parameters

suite

public static junit.framework.Test suite()
Is called to create the test suite.


setUp

public void setUp()
Setting up instance.


tearDown

public void tearDown()
Is called for all tests.


testCreateUpload

public void testCreateUpload()
                      throws DuplicateUploadException,
                             DMSException
Test the creation of uploads.

Throws:
DuplicateUploadException
DMSException