Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
11623497
Commit
11623497
authored
5 months ago
by
adriazalvarez
Browse files
Options
Downloads
Patches
Plain Diff
Modify add data test
parent
755a9c18
Branches
fix_warning_elwin
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
qt/scientific_interfaces/Inelastic/test/Processor/ElwinPresenterTest.h
+1
-1
1 addition, 1 deletion
..._interfaces/Inelastic/test/Processor/ElwinPresenterTest.h
with
1 addition
and
1 deletion
qt/scientific_interfaces/Inelastic/test/Processor/ElwinPresenterTest.h
+
1
−
1
View file @
11623497
...
...
@@ -121,9 +121,9 @@ public:
void
test_handleAddData_sets_preview_workspace_and_spectrum
()
{
auto
dialog
=
new
MantidQt
::
MantidWidgets
::
AddWorkspaceDialog
(
nullptr
);
m_presenter
->
setSelectedSpectrum
(
0
);
m_presenter
->
setInputWorkspace
(
m_workspace
);
ON_CALL
(
*
m_dataModel
,
getNumberOfWorkspaces
()).
WillByDefault
(
Return
(
1
));
ON_CALL
(
*
m_dataModel
,
getWorkspace
(
WorkspaceID
(
0
))).
WillByDefault
(
Return
(
m_workspace
));
EXPECT_CALL
(
*
m_view
,
updatePreviewWorkspaceNames
(
m_dataModel
->
getWorkspaceNames
())).
Times
(
Exactly
(
1
));
EXPECT_CALL
(
*
m_view
,
plotInput
(
m_workspace
,
0
)).
Times
(
Exactly
(
1
));
m_presenter
->
handleAddData
(
dialog
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment