org.fhcrc.cpl.viewer.test.commandline
Class FilterFeaturesTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.fhcrc.cpl.toolbox.test.BaseCommandTest
              extended by org.fhcrc.cpl.toolbox.test.commandline.BaseCommandLineTest
                  extended by org.fhcrc.cpl.viewer.test.commandline.FilterFeaturesTest
All Implemented Interfaces:
junit.framework.Test

public class FilterFeaturesTest
extends BaseCommandLineTest
implements junit.framework.Test


Field Summary
protected static java.lang.String sumMinCharge1MaxCharge1MaxKl2
           
protected static java.lang.String sumMinIntensity15
           
protected static java.lang.String sumMinPeaks3
           
protected static java.lang.String sumMinTime1500MaxTime1550
           
protected static java.lang.String sumMinTotalIntensity1000
           
protected static java.lang.String sumScanFirst100ScanLast200
           
 
Fields inherited from class org.fhcrc.cpl.toolbox.test.commandline.BaseCommandLineTest
commandLineModule
 
Constructor Summary
FilterFeaturesTest()
           
 
Method Summary
protected  CommandLineModule createCommandLineModule()
          Return an instance of the FilterFeaturesCommandLineModule
protected  void doCleanup()
          Each implementing class can do special cleanup here
protected  void doRun(junit.framework.TestResult result)
          Strategy is to filter a set of features in various ways and then compare MD5 sums of the resulting feature files (with whitespace removed) with sums computed when the tests were written
 
Methods inherited from class org.fhcrc.cpl.toolbox.test.commandline.BaseCommandLineTest
clearArgumentValues, executeCommandLineModule, getCommandLineModule, renewCommandLineModule, setArgumentValue, setUnnamedArgumentValue, setUnnamedSeriesArgumentValue, unsetArgumentValue, unsetUnnamedArgumentValue
 
Methods inherited from class org.fhcrc.cpl.toolbox.test.BaseCommandTest
cleanup, constructTempFilePath, getTempDirName, log, run
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface junit.framework.Test
countTestCases, run
 

Field Detail

sumMinCharge1MaxCharge1MaxKl2

protected static final java.lang.String sumMinCharge1MaxCharge1MaxKl2
See Also:
Constant Field Values

sumScanFirst100ScanLast200

protected static final java.lang.String sumScanFirst100ScanLast200
See Also:
Constant Field Values

sumMinTime1500MaxTime1550

protected static final java.lang.String sumMinTime1500MaxTime1550
See Also:
Constant Field Values

sumMinIntensity15

protected static final java.lang.String sumMinIntensity15
See Also:
Constant Field Values

sumMinTotalIntensity1000

protected static final java.lang.String sumMinTotalIntensity1000
See Also:
Constant Field Values

sumMinPeaks3

protected static final java.lang.String sumMinPeaks3
See Also:
Constant Field Values
Constructor Detail

FilterFeaturesTest

public FilterFeaturesTest()
Method Detail

createCommandLineModule

protected CommandLineModule createCommandLineModule()
Return an instance of the FilterFeaturesCommandLineModule

Specified by:
createCommandLineModule in class BaseCommandLineTest
Returns:

doCleanup

protected void doCleanup()
Description copied from class: BaseCommandTest
Each implementing class can do special cleanup here

Specified by:
doCleanup in class BaseCommandTest

doRun

protected void doRun(junit.framework.TestResult result)
Strategy is to filter a set of features in various ways and then compare MD5 sums of the resulting feature files (with whitespace removed) with sums computed when the tests were written

Specified by:
doRun in class BaseCommandTest
Parameters:
result -


Fred Hutchinson Cancer Research Center