Skip to content

Commit

Permalink
Refs #6541. Fixing test to use correct workspace type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Reuter committed Feb 21, 2013
1 parent 7d7290d commit 511da4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Vates/VatesAPI/test/MDHWLoadingPresenterTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ void testCanSetAxisLabelsFrom3DData()
ConcreteMDHWLoadingPresenter presenter(view);

//Test that it does work when setup.
Mantid::API::Workspace_sptr ws = get3DWorkspace(true, true);
Mantid::API::Workspace_sptr ws = get3DWorkspace(true, false);
presenter.extractMetadata(boost::dynamic_pointer_cast<Mantid::API::IMDHistoWorkspace>(ws));
vtkDataSet *ds = vtkUnstructuredGrid::New();
TSM_ASSERT_THROWS_NOTHING("Should pass", presenter.setAxisLabels(ds));
Expand All @@ -172,7 +172,7 @@ void testCanSetAxisLabelsFrom4DData()
ConcreteMDHWLoadingPresenter presenter(view);

//Test that it does work when setup.
Mantid::API::Workspace_sptr ws = get3DWorkspace(false, true);
Mantid::API::Workspace_sptr ws = get3DWorkspace(false, false);
presenter.extractMetadata(boost::dynamic_pointer_cast<Mantid::API::IMDHistoWorkspace>(ws));
vtkDataSet *ds = vtkUnstructuredGrid::New();
TSM_ASSERT_THROWS_NOTHING("Should pass", presenter.setAxisLabels(ds));
Expand Down

0 comments on commit 511da4a

Please sign in to comment.