Skip to content

Commit

Permalink
Add a performance test for LoadTOFRawNexus. Re #4067.
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellTaylor committed Nov 9, 2011
1 parent 54b7294 commit f1e6e7f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Code/Mantid/Framework/DataHandling/test/LoadTOFRawNexusTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,21 @@ class LoadTOFRawNexusTest: public CxxTest::TestSuite
};
};

//------------------------------------------------------------------------------
// Performance test
//------------------------------------------------------------------------------

class LoadTOFRawNexusTestPerformance : public CxxTest::TestSuite
{
public:
void testDefaultLoad()
{
LoadTOFRawNexus loader;
loader.initialize();
loader.setPropertyValue("Filename", "REF_L_32035.nxs");
loader.setPropertyValue("OutputWorkspace", "ws");
TS_ASSERT( loader.execute() );
}
};

#endif /*LOADTOFRAWNEXUSTEST_H_*/

0 comments on commit f1e6e7f

Please sign in to comment.