~ubuntu-branches/ubuntu/quantal/pixelmed/quantal

« back to all changes in this revision

Viewing changes to .pc/removetest.patch/com/pixelmed/test/Makefile

  • Committer: Package Import Robot
  • Author(s): Mathieu Malaterre
  • Date: 2011-10-26 15:58:36 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20111026155836-twt2wlpmu9zhk2s1
Tags: 20110928-1
* New upstream
* remove ioexception.patch applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
TestAnatomyCombined.class \
41
41
TestGeometry_AllTests.class \
42
42
TestGeometryOfSlice.class \
 
43
TestDicomDirectory_AllTests.class \
 
44
TestDicomDirectoryRecordFactory.class \
 
45
TestDicomDirectoryRecordSortOrder.class \
43
46
UserInterfaceUtilities.class
44
47
 
45
48
all:    ${OBJS}
57
60
clean:
58
61
        rm -f *~ *.class core *.bak ${OBJS} testcleanerfile.dcm
59
62
 
60
 
alltests:       testctdose testcompositecontext testsafeprivate testattributelist testcontentitem testcodingscheme testcharset testcleaner testgeometry
 
63
alltests:       testctdose testcompositecontext testsafeprivate testattributelist testcontentitem testcodingscheme testcharset testcleaner testgeometry testdicomdir
61
64
 
62
65
testctdose:     ${OBJS}
63
66
        java -cp ${PATHTOROOT}:${JUNITJAR} -Djava.awt.headless=true org.junit.runner.JUnitCore com.pixelmed.test.TestCTDose_AllTests
81
84
        java -cp ${PATHTOROOT}:${JUNITJAR} -Djava.awt.headless=true org.junit.runner.JUnitCore com.pixelmed.test.TestCharacterSet_AllTests
82
85
 
83
86
testcleaner:    TestCleaner_AllTests.class TestCleanerReceiveAndClean.class UserInterfaceUtilities.class
 
87
        rm -f $${HOME}/.com.pixelmed.display.DicomCleaner.properties.holdfortestcleaner
 
88
        if [ -f $${HOME}/.com.pixelmed.display.DicomCleaner.properties ]; then cp $${HOME}/.com.pixelmed.display.DicomCleaner.properties $${HOME}/.com.pixelmed.display.DicomCleaner.properties.holdfortestcleaner; fi
 
89
        cp TestCleaner.properties $${HOME}/.com.pixelmed.display.DicomCleaner.properties
84
90
        mkdir -p ./tmp/TestCleanerReceiveAndClean
85
91
        rm -rf ./tmp/TestCleanerReceiveAndClean/*
86
92
        rm -f testcleanerfile_pre.dcm testcleanerfile.dcm
111
117
        #dccp -nodisclaimer testcleanerfile_pre.dcm testcleanerfile.dcm # in order to set correct explicit VR of private attributes to allow pixelmed to see values as strings not UN
112
118
        #rm testcleanerfile_pre.dcm
113
119
        #dciodvfy testcleanerfile.dcm
114
 
        java -cp ${PATHTOROOT}:${VIEWERADDITIONALJARS}:${JUNITJAR} org.junit.runner.JUnitCore com.pixelmed.test.TestCleaner_AllTests
 
120
        # do NOT use VIEWERADDITIONALJARS, which includes jmdns, and make cause default send target to not be the desired target (000615)
 
121
        java -cp ${PATHTOROOT}:${DISPLAYADDITIONALJARS}:${DATABASEADDITIONALJARS}:${JUNITJAR} org.junit.runner.JUnitCore com.pixelmed.test.TestCleaner_AllTests
115
122
        rm testcleanerfile.dcm
116
123
        #rm -r ./tmp/TestCleanerReceiveAndClean
 
124
        if [ -f $${HOME}/.com.pixelmed.display.DicomCleaner.properties.holdfortestcleaner ]; then cp $${HOME}/.com.pixelmed.display.DicomCleaner.properties.holdfortestcleaner $${HOME}/.com.pixelmed.display.DicomCleaner.properties; else rm -f $${HOME}/.com.pixelmed.display.DicomCleaner.properties; fi
117
125
 
118
126
testanatomy:    ${OBJS}
119
127
        java -cp ${PATHTOROOT}:${JUNITJAR} -Djava.awt.headless=true org.junit.runner.JUnitCore com.pixelmed.test.TestAnatomy_AllTests
121
129
testgeometry:   ${OBJS}
122
130
        java -cp ${PATHTOROOT}:${JUNITJAR} -Djava.awt.headless=true org.junit.runner.JUnitCore com.pixelmed.test.TestGeometry_AllTests
123
131
 
 
132
testdicomdir:   ${OBJS}
 
133
        java -cp ${PATHTOROOT}:${JUNITJAR} -Djava.awt.headless=true org.junit.runner.JUnitCore com.pixelmed.test.TestDicomDirectory_AllTests
 
134