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
736ec449
Commit
736ec449
authored
Apr 06, 2018
by
Joseph Noir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove tests for removed functionality
parent
32967226
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
40 deletions
+0
-40
libcaf_io/test/basp.cpp
libcaf_io/test/basp.cpp
+0
-18
libcaf_io/test/basp_udp.cpp
libcaf_io/test/basp_udp.cpp
+0
-22
No files found.
libcaf_io/test/basp.cpp
View file @
736ec449
...
...
@@ -569,24 +569,6 @@ CAF_TEST(client_handshake_and_dispatch) {
);
}
CAF_TEST
(
message_forwarding
)
{
// connect two remote nodes
connect_node
(
jupiter
());
connect_node
(
mars
());
auto
msg
=
make_message
(
1
,
2
,
3
);
// send a message from node 0 to node 1, forwarded by this node
mock
(
jupiter
().
connection
,
{
basp
::
message_type
::
dispatch_message
,
0
,
0
,
0
,
jupiter
().
id
,
mars
().
id
,
invalid_actor_id
,
mars
().
dummy_actor
->
id
()},
msg
)
.
receive
(
mars
().
connection
,
basp
::
message_type
::
dispatch_message
,
no_flags
,
any_vals
,
no_operation_data
,
jupiter
().
id
,
mars
().
id
,
invalid_actor_id
,
mars
().
dummy_actor
->
id
(),
msg
);
}
CAF_TEST
(
publish_and_connect
)
{
auto
ax
=
accept_handle
::
from_int
(
4242
);
mpx
()
->
provide_acceptor
(
4242
,
ax
);
...
...
libcaf_io/test/basp_udp.cpp
View file @
736ec449
...
...
@@ -668,28 +668,6 @@ CAF_TEST(client_handshake_and_dispatch_udp) {
);
}
CAF_TEST
(
message_forwarding_udp
)
{
// connect two remote nodes
CAF_MESSAGE
(
"establish communication with Jupiter"
);
establish_communication
(
jupiter
());
CAF_MESSAGE
(
"establish communication with Mars"
);
establish_communication
(
mars
());
CAF_MESSAGE
(
"send dispatch message to ... "
);
auto
msg
=
make_message
(
1
,
2
,
3
);
// send a message from node 0 to node 1, forwarded by this node
mock
(
endpoint_handle
(),
jupiter
().
endpoint
,
{
basp
::
message_type
::
dispatch_message
,
0
,
0
,
0
,
jupiter
().
id
,
mars
().
id
,
invalid_actor_id
,
mars
().
dummy_actor
->
id
(),
1
},
// increment sequence number
msg
)
.
receive
(
mars
().
endpoint
,
basp
::
message_type
::
dispatch_message
,
no_flags
,
any_vals
,
no_operation_data
,
jupiter
().
id
,
mars
().
id
,
invalid_actor_id
,
mars
().
dummy_actor
->
id
(),
msg
);
}
CAF_TEST
(
publish_and_connect_udp
)
{
auto
dx
=
datagram_handle
::
from_int
(
4242
);
mpx
()
->
provide_datagram_servant
(
4242
,
dx
);
...
...
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