Skip to content

Commit

Permalink
refs #6362 deleting files for loader
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Jan 22, 2013
1 parent f2595c3 commit de553d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Code/Mantid/Framework/MDAlgorithms/test/LoadMDTest.h
Expand Up @@ -433,6 +433,10 @@ class LoadMDTest : public CxxTest::TestSuite
TS_ASSERT( saver.isInitialized() )
TS_ASSERT_THROWS_NOTHING( saver.setProperty("InputWorkspace", "LoadMDTest_ws" ) );
TS_ASSERT_THROWS_NOTHING( saver.setPropertyValue("Filename", "LoadMDTest2.nxs") );
// clean up possible rubbish from the previous runs
std::string fullName = saver.getPropertyValue("Filename");
if(Poco::File(fullName).exists()) Poco::File(fullName).remove();

TS_ASSERT_THROWS_NOTHING( saver.execute(); );
TS_ASSERT( saver.isExecuted() );

Expand Down

0 comments on commit de553d2

Please sign in to comment.