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
42b0209a
Commit
42b0209a
authored
Aug 21, 2018
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unit tests: forced_* messages are anonymous
parent
fa86c2fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
libcaf_core/test/pipeline_streaming.cpp
libcaf_core/test/pipeline_streaming.cpp
+4
-4
No files found.
libcaf_core/test/pipeline_streaming.cpp
View file @
42b0209a
...
...
@@ -272,7 +272,7 @@ CAF_TEST(delayed_depth_2_pipeline_50_items) {
expect
((
string
),
from
(
self
).
to
(
src
).
with
(
"numbers.txt"
));
expect
((
open_stream_msg
),
from
(
self
).
to
(
snk
));
disallow
((
upstream_msg
::
ack_open
),
from
(
snk
).
to
(
src
));
disallow
((
upstream_msg
::
forced_drop
),
from
(
snk
).
to
(
src
));
disallow
((
upstream_msg
::
forced_drop
),
from
(
_
).
to
(
src
));
CAF_MESSAGE
(
"send 'ok' to trigger sink to handle open_stream_msg"
);
self
->
send
(
snk
,
ok_atom
::
value
);
expect
((
ok_atom
),
from
(
self
).
to
(
snk
));
...
...
@@ -324,7 +324,7 @@ CAF_TEST(depth_2_pipeline_error_during_handshake) {
self
->
send
(
snk
*
src
,
"numbers.txt"
);
expect
((
std
::
string
),
from
(
self
).
to
(
src
).
with
(
"numbers.txt"
));
expect
((
open_stream_msg
),
from
(
self
).
to
(
snk
));
expect
((
upstream_msg
::
forced_drop
),
from
(
snk
).
to
(
src
));
expect
((
upstream_msg
::
forced_drop
),
from
(
_
).
to
(
src
));
expect
((
error
),
from
(
snk
).
to
(
self
).
with
(
sec
::
stream_init_failed
));
}
...
...
@@ -343,7 +343,7 @@ CAF_TEST(depth_2_pipeline_error_at_source) {
expect
((
downstream_msg
::
batch
),
from
(
src
).
to
(
snk
));
expect
((
exit_msg
),
from
(
self
).
to
(
src
));
CAF_MESSAGE
(
"expect close message from src and then result from snk"
);
expect
((
downstream_msg
::
forced_close
),
from
(
src
).
to
(
snk
));
expect
((
downstream_msg
::
forced_close
),
from
(
_
).
to
(
snk
));
}
CAF_TEST
(
depth_2_pipelin_error_at_sink
)
{
...
...
@@ -360,7 +360,7 @@ CAF_TEST(depth_2_pipelin_error_at_sink) {
expect
((
upstream_msg
::
ack_open
),
from
(
snk
).
to
(
src
));
expect
((
exit_msg
),
from
(
self
).
to
(
snk
));
CAF_MESSAGE
(
"expect close and result messages from snk"
);
expect
((
upstream_msg
::
forced_drop
),
from
(
snk
).
to
(
src
));
expect
((
upstream_msg
::
forced_drop
),
from
(
_
).
to
(
src
));
}
CAF_TEST
(
depth_3_pipeline_50_items
)
{
...
...
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