Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
9a1e24d9
Commit
9a1e24d9
authored
Mar 23, 2020
by
Anthony Lim
Browse files
refs #26878 ALF model test adding virtual
parent
2aee77bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
qt/scientific_interfaces/Direct/ALFCustomInstrumentModel.h
View file @
9a1e24d9
...
...
@@ -43,8 +43,8 @@ public:
ALFCustomInstrumentModel
();
virtual
~
ALFCustomInstrumentModel
(){};
// virtual so we can patch them later
void
loadAlg
(
const
std
::
string
&
name
)
override
;
void
transformData
()
override
;
virtual
void
loadAlg
(
const
std
::
string
&
name
)
override
;
virtual
void
transformData
()
override
;
std
::
pair
<
int
,
std
::
string
>
loadData
(
const
std
::
string
&
name
)
override
final
;
std
::
map
<
std
::
string
,
bool
>
isDataValid
()
override
;
void
storeSingleTube
(
const
std
::
string
&
name
)
override
;
...
...
qt/scientific_interfaces/Direct/test/ALFCustomInstrumentModelTest.h
View file @
9a1e24d9
...
...
@@ -35,8 +35,8 @@ class ALFModelTest : public ALFCustomInstrumentModel{
public:
ALFModelTest
()
:
m_loadCount
(
0
),
m_transformCount
(
0
){};
~
ALFModelTest
(){};
void
loadAlg
(
const
std
::
string
&
name
)
override
{(
void
)
name
;
m_loadCount
+=
1
;};
void
transformData
()
override
{
m_transformCount
+=
1
;};
void
loadAlg
(
const
std
::
string
&
name
)
override
final
{(
void
)
name
;
m_loadCount
+=
1
;};
void
transformData
()
override
final
{
m_transformCount
+=
1
;};
int
getLoadCount
(){
return
m_loadCount
;};
int
getTransformCount
(){
return
m_transformCount
;};
private:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment