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
4d65b4c2
Commit
4d65b4c2
authored
Feb 24, 2021
by
Srikanth Ravipati
Committed by
Peterson, Peter
Mar 10, 2021
Browse files
Set and unset ISIS facility
parent
4a492a05
Changes
1
Hide whitespace changes
Inline
Side-by-side
qt/scientific_interfaces/test/ISISReflectometry/Runs/RunsPresenterTest.h
View file @
4d65b4c2
...
...
@@ -40,6 +40,19 @@ using testing::ReturnRef;
//=====================================================================================
class
RunsPresenterTest
:
public
CxxTest
::
TestSuite
{
public:
void
setUp
()
override
{
Mantid
::
Kernel
::
ConfigService
::
Instance
().
setString
(
"default.facility"
,
"ISIS"
);
}
void
tearDown
()
override
{
Mantid
::
Kernel
::
ConfigService
::
Instance
().
setString
(
"default.facility"
,
"NONE"
);
}
// This pair of boilerplate methods prevent the suite being created statically
// This means the constructor isn't called when running other tests
static
RunsPresenterTest
*
createSuite
()
{
return
new
RunsPresenterTest
();
}
...
...
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