Skip to content

Commit

Permalink
Refs #9992. Removing obsolete test, extra semi-colon
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Wedel committed Mar 31, 2015
1 parent bfe9c3c commit 8ebd1b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions Code/Mantid/Framework/SINQ/test/PoldiFitPeaks2DTest.h
Expand Up @@ -144,10 +144,6 @@ class PoldiFitPeaks2DTest : public CxxTest::TestSuite
PoldiPeakCollection_sptr noProfilePeaks(new PoldiPeakCollection);
TS_ASSERT_THROWS_NOTHING(spectrumCalculator.getIntegratedPeakCollection(noProfilePeaks));

// While setting an invalid function name throws.
spectrumCalculator.setProperty("PeakProfileFunction", "InvalidFunctionName");
TS_ASSERT_THROWS(spectrumCalculator.getIntegratedPeakCollection(noProfilePeaks), std::runtime_error);

// When there is no valid PoldiPeakCollection, the method also throws
PoldiPeakCollection_sptr invalidPeakCollection;
TS_ASSERT_THROWS(spectrumCalculator.getIntegratedPeakCollection(invalidPeakCollection), std::invalid_argument);
Expand Down
Expand Up @@ -48,7 +48,7 @@ class MockPawleyFunction : public IPawleyFunction {
void init() { setDecoratedFunction("Gaussian"); }
};

DECLARE_FUNCTION(MockPawleyFunction);
DECLARE_FUNCTION(MockPawleyFunction)

class PoldiSpectrumPawleyFunctionTest : public CxxTest::TestSuite {
public:
Expand Down

0 comments on commit 8ebd1b8

Please sign in to comment.