Package com.pixelmed.test
Class TestCleanerReceiveAndClean
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- com.pixelmed.test.TestCleanerReceiveAndClean
-
- All Implemented Interfaces:
junit.framework.Test
public class TestCleanerReceiveAndClean extends junit.framework.TestCase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classTestCleanerReceiveAndClean.ExpectedResultprotected classTestCleanerReceiveAndClean.OurReceivedObjectHandler
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringacceptAnyTransferSyntaxLabelTextprotected static java.lang.StringaddContributingEquipmentLabelTextprotected DicomCleanerapplicationprotected static java.lang.StringcleanUIDsLabelTextprotected static java.lang.StringexistingTestFileToBeCleanedprotected static java.lang.StringhierarchicalExportLabelTextprotected java.lang.StringlastReceivedDicomFileNameprotected static java.lang.StringlocalNameOfUnitTestSCPprotected static java.lang.StringourCallingAETprotected static intreceivingCleanedDebugLevelprotected static java.lang.StringremoveCharacteristicsLabelTextprotected static java.lang.StringremoveClinicalTrialAttributesLabelTextprotected static java.lang.StringremoveDescriptionsLabelTextprotected static java.lang.StringremoveDeviceIdentityLabelTextprotected static java.lang.StringremoveIdentityLabelTextprotected static java.lang.StringremoveInstitutionIdentityLabelTextprotected static java.lang.StringremovePrivateLabelTextprotected static java.lang.StringremoveSeriesDescriptionsLabelTextprotected static java.lang.StringsavedImagesFolderNameprotected static intsendingDebugLevelprotected static intwaitIntervalWhenSleepingprotected static java.lang.StringzipExportLabelText
-
Constructor Summary
Constructors Constructor Description TestCleanerReceiveAndClean(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckAllAreAsExpected(AttributeList list)protected voidsetUp()static junit.framework.Testsuite()protected voidtearDown()voidTestCleanerReceiveAndClean_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
-
-
-
-
Field Detail
-
ourCallingAET
protected static final java.lang.String ourCallingAET
- See Also:
- Constant Field Values
-
localNameOfUnitTestSCP
protected static final java.lang.String localNameOfUnitTestSCP
- See Also:
- Constant Field Values
-
savedImagesFolderName
protected static final java.lang.String savedImagesFolderName
- See Also:
- Constant Field Values
-
existingTestFileToBeCleaned
protected static final java.lang.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 java.lang.String removeIdentityLabelText
-
removeDescriptionsLabelText
protected static java.lang.String removeDescriptionsLabelText
-
removeSeriesDescriptionsLabelText
protected static java.lang.String removeSeriesDescriptionsLabelText
-
removeCharacteristicsLabelText
protected static java.lang.String removeCharacteristicsLabelText
-
removeDeviceIdentityLabelText
protected static java.lang.String removeDeviceIdentityLabelText
-
removeInstitutionIdentityLabelText
protected static java.lang.String removeInstitutionIdentityLabelText
-
cleanUIDsLabelText
protected static java.lang.String cleanUIDsLabelText
-
removePrivateLabelText
protected static java.lang.String removePrivateLabelText
-
addContributingEquipmentLabelText
protected static java.lang.String addContributingEquipmentLabelText
-
removeClinicalTrialAttributesLabelText
protected static java.lang.String removeClinicalTrialAttributesLabelText
-
zipExportLabelText
protected static java.lang.String zipExportLabelText
-
hierarchicalExportLabelText
protected static java.lang.String hierarchicalExportLabelText
-
acceptAnyTransferSyntaxLabelText
protected static java.lang.String acceptAnyTransferSyntaxLabelText
-
application
protected volatile DicomCleaner application
-
lastReceivedDicomFileName
protected volatile java.lang.String lastReceivedDicomFileName
-
-
Method Detail
-
suite
public static junit.framework.Test suite()
-
setUp
protected void setUp()
- Overrides:
setUpin classjunit.framework.TestCase
-
tearDown
protected void tearDown()
- Overrides:
tearDownin classjunit.framework.TestCase
-
checkAllAreAsExpected
protected void checkAllAreAsExpected(AttributeList list)
-
TestCleanerReceiveAndClean_ReceiveAndCleanWithDefaults
public void TestCleanerReceiveAndClean_ReceiveAndCleanWithDefaults() throws java.lang.Exception- Throws:
java.lang.Exception
-
-