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
026e485a
Commit
026e485a
authored
Feb 24, 2021
by
Srikanth Ravipati
Committed by
Peterson, Peter
Mar 10, 2021
Browse files
Set and unset ISIS facility
parent
a1343cf1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Framework/DataHandling/test/LoadILLTest.h
View file @
026e485a
...
...
@@ -25,7 +25,17 @@ public:
static
LoadILLTest
*
createSuite
()
{
return
new
LoadILLTest
();
}
static
void
destroySuite
(
LoadILLTest
*
suite
)
{
delete
suite
;
}
void
tearDown
()
override
{
AnalysisDataService
::
Instance
().
clear
();
}
void
setUp
()
override
{
ConfigService
::
Instance
().
setString
(
"default.facility"
,
"ISIS"
);
}
void
tearDown
()
override
{
ConfigService
::
Instance
().
setString
(
"default.facility"
,
"NONE"
);
AnalysisDataService
::
Instance
().
clear
();
}
void
checkLoader
(
const
std
::
string
&
filename
,
std
::
string
resultLoader
)
{
Load
alg
;
...
...
Framework/DataHandling/test/LoadTest.h
View file @
026e485a
...
...
@@ -34,12 +34,16 @@ public:
m_dataSearchDirs
=
ConfigService
::
Instance
().
getDataSearchDirs
();
m_instName
=
ConfigService
::
Instance
().
getString
(
"default.instrument"
);
ConfigService
::
Instance
().
setString
(
"default.facility"
,
"ISIS"
);
}
void
tearDown
()
override
{
ConfigService
::
Instance
().
setDataSearchDirs
(
m_dataSearchDirs
);
ConfigService
::
Instance
().
setString
(
"default.facility"
,
"NONE"
);
ConfigService
::
Instance
().
setString
(
"default.instrument"
,
m_instName
);
AnalysisDataService
::
Instance
().
clear
();
...
...
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