com.pixelmed.test
Class TestCleanerReceiveAndClean

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.pixelmed.test.TestCleanerReceiveAndClean
All Implemented Interfaces:
junit.framework.Test

public class TestCleanerReceiveAndClean
extends junit.framework.TestCase


Nested Class Summary
protected  class TestCleanerReceiveAndClean.ExpectedResult
           
protected  class TestCleanerReceiveAndClean.OurReceivedObjectHandler
           
 
Field Summary
protected static String addContributingEquipmentLabelText
           
protected  DicomCleaner application
           
protected static String cleanUIDsLabelText
           
protected static String existingTestFileToBeCleaned
           
protected  String lastReceivedDicomFileName
           
protected static String localNameOfUnitTestSCP
           
protected static String ourCallingAET
           
protected static int receivingCleanedDebugLevel
           
protected static String removeCharacteristicsLabelText
           
protected static String removeClinicalTrialAttributesLabelText
           
protected static String removeDescriptionsLabelText
           
protected static String removeDeviceIdentityLabelText
           
protected static String removeIdentityLabelText
           
protected static String removeInstitutionIdentityLabelText
           
protected static String removePrivateLabelText
           
protected static String removeSeriesDescriptionsLabelText
           
protected static String savedImagesFolderName
           
protected static int sendingDebugLevel
           
protected static int waitIntervalWhenSleeping
           
protected static String zipExportLabelText
           
 
Constructor Summary
TestCleanerReceiveAndClean(String name)
           
 
Method Summary
protected  void checkAllAreAsExpected(AttributeList list)
           
protected  void setUp()
           
static junit.framework.Test suite()
           
protected  void tearDown()
           
 void TestCleanerReceiveAndClean_ReceiveAndCleanWithDefaults()
           
 
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ourCallingAET

protected static final String ourCallingAET
See Also:
Constant Field Values

localNameOfUnitTestSCP

protected static final String localNameOfUnitTestSCP
See Also:
Constant Field Values

savedImagesFolderName

protected static final String savedImagesFolderName
See Also:
Constant Field Values

existingTestFileToBeCleaned

protected static final String existingTestFileToBeCleaned
See Also:
Constant Field Values

sendingDebugLevel

protected static final int sendingDebugLevel
See Also:
Constant Field Values

receivingCleanedDebugLevel

protected static final int receivingCleanedDebugLevel
See Also:
Constant Field Values

waitIntervalWhenSleeping

protected static final int waitIntervalWhenSleeping
See Also:
Constant Field Values

removeIdentityLabelText

protected static String removeIdentityLabelText

removeDescriptionsLabelText

protected static String removeDescriptionsLabelText

removeSeriesDescriptionsLabelText

protected static String removeSeriesDescriptionsLabelText

removeCharacteristicsLabelText

protected static String removeCharacteristicsLabelText

removeDeviceIdentityLabelText

protected static String removeDeviceIdentityLabelText

removeInstitutionIdentityLabelText

protected static String removeInstitutionIdentityLabelText

cleanUIDsLabelText

protected static String cleanUIDsLabelText

removePrivateLabelText

protected static String removePrivateLabelText

addContributingEquipmentLabelText

protected static String addContributingEquipmentLabelText

removeClinicalTrialAttributesLabelText

protected static String removeClinicalTrialAttributesLabelText

zipExportLabelText

protected static String zipExportLabelText

application

protected volatile DicomCleaner application

lastReceivedDicomFileName

protected volatile String lastReceivedDicomFileName
Constructor Detail

TestCleanerReceiveAndClean

public TestCleanerReceiveAndClean(String name)
Method Detail

suite

public static junit.framework.Test suite()

setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

checkAllAreAsExpected

protected void checkAllAreAsExpected(AttributeList list)

TestCleanerReceiveAndClean_ReceiveAndCleanWithDefaults

public void TestCleanerReceiveAndClean_ReceiveAndCleanWithDefaults()
                                                            throws Exception
Throws:
Exception