Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
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
0b25b20e
Commit
0b25b20e
authored
8 years ago
by
Nick Draper
Browse files
Options
Downloads
Patches
Plain Diff
resolve string + int warning
re #14524
parent
fdf02096
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/Kernel/test/ConfigServiceTest.h
+5
-4
5 additions, 4 deletions
Framework/Kernel/test/ConfigServiceTest.h
with
5 additions
and
4 deletions
Framework/Kernel/test/ConfigServiceTest.h
+
5
−
4
View file @
0b25b20e
...
...
@@ -184,16 +184,17 @@ public:
configService
.
setFilterChannelLogLevel
(
m_FilterChannelName
,
Logger
::
Priority
::
PRIO_TRACE
);
TSM_ASSERT
(
"The log level be PRIO_TRACE"
,
TSM_ASSERT
(
"The log level
should
be PRIO_TRACE"
,
log1
.
getLevel
()
==
Logger
::
Priority
::
PRIO_TRACE
);
TSM_ASSERT
(
"The log filter priority be PRIO_TRACE"
,
TSM_ASSERT
(
"The log filter priority
should
be PRIO_TRACE"
,
testFilterChannel
->
getPriority
()
==
Logger
::
Priority
::
PRIO_TRACE
);
configService
.
setFilterChannelLogLevel
(
m_FilterChannelName
,
prevLogLevel
);
TSM_ASSERT
(
"The log level
be "
+
prevLogLevel
,
TSM_ASSERT
(
"The log level
should be "
+
std
::
to_string
(
prevLogLevel
)
,
log1
.
getLevel
()
==
prevLogLevel
);
TSM_ASSERT
(
"The log filter priority be "
+
prevLogLevel
,
TSM_ASSERT
(
"The log filter priority should be "
+
std
::
to_string
(
prevLogLevel
),
testFilterChannel
->
getPriority
()
==
static_cast
<
unsigned
int
>
(
prevLogLevel
));
}
...
...
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