Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
98c935e9
Commit
98c935e9
authored
Feb 26, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test_unpublish logging
parent
81efd569
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
4 deletions
+11
-4
cash
cash
+1
-1
libcaf_riac
libcaf_riac
+1
-1
nexus
nexus
+1
-1
unit_testing/test_unpublish.cpp
unit_testing/test_unpublish.cpp
+8
-1
No files found.
cash
@
ed82a66c
Subproject commit
1bb52222b026d7b6b2129149571e78d8226545b1
Subproject commit
ed82a66c334c345db8084d072beb715f31144792
libcaf_riac
@
4e815913
Subproject commit
bed16a7a7338312e954b525084ec45fa64fc1577
Subproject commit
4e815913730589b1592d111dc67133e76bf923c4
nexus
@
90d42335
Subproject commit
5e36359def0b74dee3606e68e8fa70687622daf
c
Subproject commit
90d42335ff3a2fe67ac4ae41a844f0b245bb123
c
unit_testing/test_unpublish.cpp
View file @
98c935e9
...
...
@@ -76,7 +76,14 @@ int main() {
CAF_TEST
(
test_unpublish
);
test_unpublish
();
await_all_actors_done
();
CAF_CHECK_EQUAL
(
s_dtor_called
.
load
(),
2
);
shutdown
();
// we cannot use CAF_CHECK_EQUAL here because it will also log
// an error (logger has been destroyed in shutdown)
auto
dtors_called
=
s_dtor_called
.
load
();
if
(
s_dtor_called
.
load
()
!=
2
)
{
std
::
cerr
<<
"ERROR: "
<<
caf_strip_path
(
__FILE__
)
<<
":"
<<
__LINE__
<<
" expected value: 2, found: "
<<
dtors_called
<<
std
::
endl
;
caf_inc_error_count
();
}
return
CAF_TEST_RESULT
();
}
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