Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
b94b9a83
Commit
b94b9a83
authored
May 20, 2018
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
format
parent
6a93f98a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
6 deletions
+0
-6
bench.cpp
example/bench.cpp
+0
-0
example.cpp
example/example.cpp
+0
-0
test_async.cpp
tests/test_async.cpp
+0
-6
No files found.
example/bench.cpp
View file @
b94b9a83
example/example.cpp
View file @
b94b9a83
tests/test_async.cpp
View file @
b94b9a83
...
...
@@ -53,7 +53,6 @@ TEST_CASE("discard policy ", "[async]")
REQUIRE
(
test_sink
->
flushed_msg_counter
()
<
messages
);
}
TEST_CASE
(
"flush"
,
"[async]"
)
{
auto
test_sink
=
std
::
make_shared
<
spdlog
::
sinks
::
test_sink_mt
>
();
...
...
@@ -72,9 +71,7 @@ TEST_CASE("flush", "[async]")
REQUIRE
(
test_sink
->
msg_counter
()
==
messages
);
REQUIRE
(
test_sink
->
flushed_msg_counter
()
==
messages
);
REQUIRE
(
test_sink
->
flushed_msg_counter
()
==
messages
);
}
TEST_CASE
(
"multi threads"
,
"[async]"
)
...
...
@@ -107,7 +104,6 @@ TEST_CASE("multi threads", "[async]")
REQUIRE
(
test_sink
->
flushed_msg_counter
()
==
messages
*
n_threads
);
}
TEST_CASE
(
"to_file"
,
"[async]"
)
{
...
...
@@ -136,5 +132,3 @@ TEST_CASE("to_file", "[async]")
spdlog
::
drop
(
"as"
);
REQUIRE
(
count_lines
(
"logs/async_test.log"
)
==
messages
*
n_threads
);
}
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