Skip to content

Commit

Permalink
Removed an unused unit test to fix windows build. Refs #9095.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou committed May 19, 2014
1 parent 4e70ceb commit b30c0d6
Showing 1 changed file with 0 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

#include "MantidAPI/MatrixWorkspace.h"
#include "MantidAlgorithms/EstimatePDDetectorResolution.h"
#include "MantidDataHandling/LoadNexusProcessed.h"
#include "MantidDataHandling/LoadEmptyInstrument.h"
#include "MantidKernel/DateAndTime.h"
#include "MantidKernel/TimeSeriesProperty.h"
Expand Down Expand Up @@ -67,39 +66,6 @@ class EstimatePDDetectorResolutionTest : public CxxTest::TestSuite

}

/** Test POWGEN
*/
void local_test_PG3()
{
// Load data file
Mantid::DataHandling::LoadNexusProcessed loader;
loader.initialize();
loader.setProperty("Filename","PG3_2538_meta.nxs");
loader.setProperty("OutputWorkspace", "PG3_2538");
loader.execute();

// Set up and run
EstimatePDDetectorResolution alg;
alg.initialize();

TS_ASSERT_THROWS_NOTHING(alg.setPropertyValue("InputWorkspace", "PG3_2538"));
TS_ASSERT_THROWS_NOTHING(alg.setPropertyValue("OutputWorkspace", "PG3_Resolution"));
TS_ASSERT_THROWS_NOTHING(alg.setProperty("DeltaTOF", 40.0));

alg.execute();
TS_ASSERT(alg.isExecuted());

MatrixWorkspace_sptr resws = boost::dynamic_pointer_cast<MatrixWorkspace>(
AnalysisDataService::Instance().retrieve("PG3_Resolution"));
TS_ASSERT(resws);



AnalysisDataService::Instance().remove("PG3_2538");

// TS_ASSERT_EQUALS(1, 3);
}

/** Create an instrument
*/
API::MatrixWorkspace_sptr createInstrument()
Expand Down

0 comments on commit b30c0d6

Please sign in to comment.