Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
actor-incubator
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
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-incubator
Commits
06caf345
Commit
06caf345
authored
Oct 06, 2019
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unit tests on Windows
parent
50fee462
Changes
17
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
18 additions
and
32 deletions
+18
-32
libcaf_net/caf/net/test/host_fixture.hpp
libcaf_net/caf/net/test/host_fixture.hpp
+0
-0
libcaf_net/test/convert_ip_endpoint.cpp
libcaf_net/test/convert_ip_endpoint.cpp
+1
-2
libcaf_net/test/endpoint_manager.cpp
libcaf_net/test/endpoint_manager.cpp
+1
-2
libcaf_net/test/ip.cpp
libcaf_net/test/ip.cpp
+1
-2
libcaf_net/test/multiplexer.cpp
libcaf_net/test/multiplexer.cpp
+1
-2
libcaf_net/test/net/basp/ping_pong.cpp
libcaf_net/test/net/basp/ping_pong.cpp
+2
-1
libcaf_net/test/network_socket.cpp
libcaf_net/test/network_socket.cpp
+1
-2
libcaf_net/test/pipe_socket.cpp
libcaf_net/test/pipe_socket.cpp
+1
-2
libcaf_net/test/socket.cpp
libcaf_net/test/socket.cpp
+1
-2
libcaf_net/test/stream_application.cpp
libcaf_net/test/stream_application.cpp
+2
-3
libcaf_net/test/stream_socket.cpp
libcaf_net/test/stream_socket.cpp
+1
-2
libcaf_net/test/stream_transport.cpp
libcaf_net/test/stream_transport.cpp
+1
-2
libcaf_net/test/string_application.cpp
libcaf_net/test/string_application.cpp
+1
-2
libcaf_net/test/tcp_sockets.cpp
libcaf_net/test/tcp_sockets.cpp
+1
-2
libcaf_net/test/transport_worker.cpp
libcaf_net/test/transport_worker.cpp
+1
-2
libcaf_net/test/transport_worker_dispatcher.cpp
libcaf_net/test/transport_worker_dispatcher.cpp
+1
-2
libcaf_net/test/udp_datagram_socket.cpp
libcaf_net/test/udp_datagram_socket.cpp
+1
-2
No files found.
libcaf_net/test/host_fixture.hpp
→
libcaf_net/
caf/net/
test/host_fixture.hpp
View file @
06caf345
File moved
libcaf_net/test/convert_ip_endpoint.cpp
View file @
06caf345
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
#include "caf/detail/convert_ip_endpoint.hpp"
#include "caf/detail/convert_ip_endpoint.hpp"
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "host_fixture.hpp"
#include <cstring>
#include <cstring>
#include "caf/detail/socket_sys_includes.hpp"
#include "caf/detail/socket_sys_includes.hpp"
...
...
libcaf_net/test/endpoint_manager.cpp
View file @
06caf345
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
#include "caf/net/endpoint_manager.hpp"
#include "caf/net/endpoint_manager.hpp"
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "host_fixture.hpp"
#include "caf/byte.hpp"
#include "caf/byte.hpp"
#include "caf/detail/scope_guard.hpp"
#include "caf/detail/scope_guard.hpp"
#include "caf/make_actor.hpp"
#include "caf/make_actor.hpp"
...
...
libcaf_net/test/ip.cpp
View file @
06caf345
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
#include "caf/net/ip.hpp"
#include "caf/net/ip.hpp"
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "host_fixture.hpp"
#include "caf/ip_address.hpp"
#include "caf/ip_address.hpp"
#include "caf/ipv4_address.hpp"
#include "caf/ipv4_address.hpp"
...
...
libcaf_net/test/multiplexer.cpp
View file @
06caf345
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
#include "caf/net/multiplexer.hpp"
#include "caf/net/multiplexer.hpp"
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "host_fixture.hpp"
#include <new>
#include <new>
#include <tuple>
#include <tuple>
#include <vector>
#include <vector>
...
...
libcaf_net/test/net/basp/ping_pong.cpp
View file @
06caf345
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
#define CAF_SUITE net.basp.ping_pong
#define CAF_SUITE net.basp.ping_pong
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "caf/net/backend/test.hpp"
#include "caf/net/backend/test.hpp"
...
@@ -152,7 +153,7 @@ behavior pong_actor(event_based_actor* self) {
...
@@ -152,7 +153,7 @@ behavior pong_actor(event_based_actor* self) {
};
};
}
}
struct
fixture
:
planet_driver
{
struct
fixture
:
host_fixture
,
planet_driver
{
fixture
()
:
earth
(
*
this
),
mars
(
*
this
)
{
fixture
()
:
earth
(
*
this
),
mars
(
*
this
)
{
auto
sockets
=
unbox
(
make_stream_socket_pair
());
auto
sockets
=
unbox
(
make_stream_socket_pair
());
earth
.
backend
().
emplace
(
mars
.
id
(),
sockets
.
first
,
sockets
.
second
);
earth
.
backend
().
emplace
(
mars
.
id
(),
sockets
.
first
,
sockets
.
second
);
...
...
libcaf_net/test/network_socket.cpp
View file @
06caf345
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
#include "caf/net/network_socket.hpp"
#include "caf/net/network_socket.hpp"
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "host_fixture.hpp"
using
namespace
caf
;
using
namespace
caf
;
using
namespace
caf
::
net
;
using
namespace
caf
::
net
;
...
...
libcaf_net/test/pipe_socket.cpp
View file @
06caf345
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
#include "caf/net/pipe_socket.hpp"
#include "caf/net/pipe_socket.hpp"
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "host_fixture.hpp"
#include <vector>
#include <vector>
#include "caf/byte.hpp"
#include "caf/byte.hpp"
...
...
libcaf_net/test/socket.cpp
View file @
06caf345
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
#include "caf/net/socket.hpp"
#include "caf/net/socket.hpp"
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "host_fixture.hpp"
using
namespace
caf
;
using
namespace
caf
;
using
namespace
caf
::
net
;
using
namespace
caf
::
net
;
...
...
libcaf_net/test/stream_application.cpp
View file @
06caf345
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
#include "caf/net/basp/application.hpp"
#include "caf/net/basp/application.hpp"
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "host_fixture.hpp"
#include <vector>
#include <vector>
#include "caf/byte.hpp"
#include "caf/byte.hpp"
...
@@ -68,7 +67,7 @@ struct config : actor_system_config {
...
@@ -68,7 +67,7 @@ struct config : actor_system_config {
}
}
};
};
struct
fixture
:
test_coordinator_fixture
<
config
>
,
host_fixture
{
struct
fixture
:
host_fixture
,
test_coordinator_fixture
<
config
>
{
fixture
()
:
mars
(
make_node_id
(
unbox
(
make_uri
(
"test:mars"
))))
{
fixture
()
:
mars
(
make_node_id
(
unbox
(
make_uri
(
"test:mars"
))))
{
auto
&
mm
=
sys
.
network_manager
();
auto
&
mm
=
sys
.
network_manager
();
mm
.
mpx
()
->
set_thread_id
();
mm
.
mpx
()
->
set_thread_id
();
...
...
libcaf_net/test/stream_socket.cpp
View file @
06caf345
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
#include "caf/net/stream_socket.hpp"
#include "caf/net/stream_socket.hpp"
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "host_fixture.hpp"
#include "caf/byte.hpp"
#include "caf/byte.hpp"
#include "caf/span.hpp"
#include "caf/span.hpp"
...
...
libcaf_net/test/stream_transport.cpp
View file @
06caf345
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
#include "caf/net/stream_transport.hpp"
#include "caf/net/stream_transport.hpp"
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "host_fixture.hpp"
#include "caf/binary_deserializer.hpp"
#include "caf/binary_deserializer.hpp"
#include "caf/byte.hpp"
#include "caf/byte.hpp"
#include "caf/detail/scope_guard.hpp"
#include "caf/detail/scope_guard.hpp"
...
...
libcaf_net/test/string_application.cpp
View file @
06caf345
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
#include "caf/net/stream_transport.hpp"
#include "caf/net/stream_transport.hpp"
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "host_fixture.hpp"
#include <vector>
#include <vector>
#include "caf/binary_deserializer.hpp"
#include "caf/binary_deserializer.hpp"
...
...
libcaf_net/test/tcp_sockets.cpp
View file @
06caf345
...
@@ -21,10 +21,9 @@
...
@@ -21,10 +21,9 @@
#include "caf/net/tcp_accept_socket.hpp"
#include "caf/net/tcp_accept_socket.hpp"
#include "caf/net/tcp_stream_socket.hpp"
#include "caf/net/tcp_stream_socket.hpp"
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "host_fixture.hpp"
#include "caf/net/socket_guard.hpp"
#include "caf/net/socket_guard.hpp"
using
namespace
caf
;
using
namespace
caf
;
...
...
libcaf_net/test/transport_worker.cpp
View file @
06caf345
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
#include "caf/net/transport_worker.hpp"
#include "caf/net/transport_worker.hpp"
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "host_fixture.hpp"
#include "caf/byte.hpp"
#include "caf/byte.hpp"
#include "caf/detail/scope_guard.hpp"
#include "caf/detail/scope_guard.hpp"
#include "caf/make_actor.hpp"
#include "caf/make_actor.hpp"
...
...
libcaf_net/test/transport_worker_dispatcher.cpp
View file @
06caf345
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
#include "caf/net/transport_worker_dispatcher.hpp"
#include "caf/net/transport_worker_dispatcher.hpp"
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "host_fixture.hpp"
#include "caf/make_actor.hpp"
#include "caf/make_actor.hpp"
#include "caf/monitorable_actor.hpp"
#include "caf/monitorable_actor.hpp"
#include "caf/node_id.hpp"
#include "caf/node_id.hpp"
...
...
libcaf_net/test/udp_datagram_socket.cpp
View file @
06caf345
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
#include "caf/net/udp_datagram_socket.hpp"
#include "caf/net/udp_datagram_socket.hpp"
#include "caf/net/test/host_fixture.hpp"
#include "caf/test/dsl.hpp"
#include "caf/test/dsl.hpp"
#include "host_fixture.hpp"
#include "caf/detail/net_syscall.hpp"
#include "caf/detail/net_syscall.hpp"
#include "caf/detail/socket_sys_includes.hpp"
#include "caf/detail/socket_sys_includes.hpp"
#include "caf/ip_address.hpp"
#include "caf/ip_address.hpp"
...
...
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