Changeset 4721


Ignore:
Timestamp:
Jan 9, 2009, 11:29:43 AM (13 years ago)
Author:
Nicklas Nordborg
Message:

References #1227: ItemNotFoundException? in Base1PluginExecuter if leaveStdin or leaveStdout is false

Added a test case that has leaveStdin/leaveStdout = false

Location:
branches/2.9-stable/src/test
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.9-stable/src/test/TestBase1PluginExecuter.java

    r4713 r4721  
    8080    int fileId2 = TestFile.test_create("data/test.base1plugin.base", false, false);
    8181    int fileIdMatrix = TestFile.test_create("data/test.nullplugin.matrix.base", false, false);
     82    int fileIdCleanStd = TestFile.test_create("data/test.nullplugin.cleanstd.base", false, false);
    8283    int directoryId = TestDirectory.test_create(true, "Base1PluginExecuter");
    8384   
     
    8889    int pluginConfigurationId2 = test_create_configuration(pluginDefinitionId, fileId2);
    8990    int pluginConfigurationIdMatrix = test_create_configuration(pluginDefinitionId, fileIdMatrix);
     91    int pluginConfigurationIdCleanStd = test_create_configuration(pluginDefinitionId, fileIdCleanStd);
    9092   
    9193    // Calculate extra value
     
    98100    ok &= TestJob.test_execute(jobId);
    99101   
     102    // Copy input to output - remove stdin and stdout
     103    int jobIdCleanStd = test_create_job(pluginConfigurationIdCleanStd, experimentId, rootBioAssaySetId, directoryId);
     104    ok &= TestJob.test_execute(jobIdCleanStd);
     105   
    100106    // Copy input to output - matrix format
    101107    int jobIdMatrix = test_create_job(pluginConfigurationIdMatrix, experimentId, rootBioAssaySetId, directoryId);
     
    145151    TestPluginConfiguration.test_delete(pluginConfigurationId2);
    146152    TestPluginConfiguration.test_delete(pluginConfigurationIdMatrix);
     153    TestPluginConfiguration.test_delete(pluginConfigurationIdCleanStd);
    147154    TestFormula.test_delete(formulaId);
    148155    TestFormula.test_delete(formulaChromosomeId);
     
    153160    TestFile.test_delete(fileId2);
    154161    TestFile.test_delete(fileIdMatrix);
     162    TestFile.test_delete(fileIdCleanStd);
    155163    TestDirectory.test_delete(directoryId, true);
    156164    TestReporter.test_delete();
Note: See TracChangeset for help on using the changeset viewer.