Skip to content

Commit

Permalink
Couple more loading performance tests. Re #4067.
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellTaylor committed Nov 9, 2011
1 parent f1e6e7f commit 7e35456
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Code/Mantid/Framework/DataHandling/test/LoadISISNexusTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,21 @@ class LoadISISNexusTest : public CxxTest::TestSuite
}
};

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

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

#endif /*LOADISISNEXUSTEST_H_*/
18 changes: 18 additions & 0 deletions Code/Mantid/Framework/DataHandling/test/LoadMuonNexus2Test.h
Original file line number Diff line number Diff line change
Expand Up @@ -448,4 +448,22 @@ class LoadMuonNexus2Test : public CxxTest::TestSuite
}

};

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

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

#endif /*LOADMUONNEXUS2TEST_H_*/

0 comments on commit 7e35456

Please sign in to comment.