@@ -5,11 +5,144 @@ cc_library(
5
5
hdrs = ["unit_test.hpp" ],
6
6
)
7
7
8
- cc_test (
9
- name = "any_completion_executor" ,
10
- srcs = ["any_completion_executor.cpp" ],
8
+ _TESTS = {
9
+ "any_completion_executor" : [],
10
+ "any_completion_handler" : [],
11
+ "any_io_executor" : [],
12
+ "append" : [],
13
+ "as_tuple" : [],
14
+ "associated_allocator" : [],
15
+ "associated_cancellation_slot" : [],
16
+ "associated_executor" : [],
17
+ "associated_immediate_executor" : [],
18
+ "associator" : [],
19
+ "async_result" : [],
20
+ "awaitable" : [],
21
+ "basic_datagram_socket" : [],
22
+ "basic_deadline_timer" : [],
23
+ "basic_file" : [],
24
+ "basic_random_access_file" : [],
25
+ "basic_raw_socket" : [],
26
+ "basic_readable_pipe" : [],
27
+ "basic_seq_packet_socket" : [],
28
+ "basic_serial_port" : [],
29
+ "basic_signal_set" : [],
30
+ "basic_socket" : [],
31
+ "basic_socket_acceptor" : [],
32
+ "basic_stream_file" : [],
33
+ "basic_stream_socket" : [],
34
+ "basic_streambuf" : [],
35
+ "basic_waitable_timer" : [],
36
+ "basic_writable_pipe" : [],
37
+ "bind_allocator" : [],
38
+ "bind_cancellation_slot" : [],
39
+ "bind_executor" : [],
40
+ "bind_immediate_executor" : [],
41
+ "buffer" : [],
42
+ "buffer_registration" : [],
43
+ "buffered_read_stream" : [
44
+ "//archetypes:async_result" ,
45
+ ],
46
+ "buffered_stream" : [
47
+ "//archetypes:async_result" ,
48
+ ],
49
+ "buffered_write_stream" : [
50
+ "//archetypes:async_result" ,
51
+ ],
52
+ "buffers_iterator" : [],
53
+ "cancellation_signal" : [],
54
+ "cancellation_state" : [],
55
+ "cancellation_type" : [],
56
+ "co_spawn" : [],
57
+ "completion_condition" : [],
58
+ "compose" : [],
59
+ "connect" : [],
60
+ "connect_pipe" : [],
61
+ "consign" : [],
62
+ "coroutine" : [],
63
+ "deadline_timer" : [
64
+ "//archetypes:async_result" ,
65
+ ],
66
+ "defer" : [],
67
+ "deferred" : [],
68
+ "detached" : [],
69
+ "dispatch" : [],
70
+ "error" : [],
71
+ "execution_context" : [],
72
+ "executor" : [],
73
+ "executor_work_guard" : [],
74
+ "file_base" : [],
75
+ "high_resolution_timer" : [],
76
+ "io_context" : [],
77
+ "io_context_strand" : [],
78
+ "is_read_buffered" : [],
79
+ "is_write_buffered" : [],
80
+ "packaged_task" : [],
81
+ "placeholders" : [],
82
+ "post" : [],
83
+ "prepend" : [],
84
+ "random_access_file" : [
85
+ "//archetypes:async_result" ,
86
+ ],
87
+ "read" : [
88
+ "//archetypes:async_result" ,
89
+ ],
90
+ "read_at" : [
91
+ "//archetypes:async_result" ,
92
+ ],
93
+ "read_until" : [
94
+ "//archetypes:async_result" ,
95
+ ],
96
+ "readable_pipe" : [
97
+ "//archetypes:async_result" ,
98
+ ],
99
+ "recycling_allocator" : [],
100
+ "redirect_error" : [],
101
+ "registered_buffer" : [],
102
+ "serial_port" : [
103
+ "//archetypes:async_result" ,
104
+ ],
105
+ "serial_port_base" : [],
106
+ "signal_set" : [
107
+ "//archetypes:async_result" ,
108
+ ],
109
+ "signal_set_base" : [],
110
+ "socket_base" : [],
111
+ "static_thread_pool" : [],
112
+ "steady_timer" : [],
113
+ "strand" : [],
114
+ "stream_file" : [
115
+ "//archetypes:async_result" ,
116
+ ],
117
+ "streambuf" : [],
118
+ "system_context" : [],
119
+ "system_executor" : [],
120
+ "system_timer" : [],
121
+ "this_coro" : [],
122
+ "thread_pool" : [],
123
+ "time_traits" : [],
124
+ "use_awaitable" : [],
125
+ "use_future" : [
126
+ "//archetypes:async_ops" ,
127
+ ],
128
+ "uses_executor" : [],
129
+ "wait_traits" : [],
130
+ "writable_pipe" : [
131
+ "//archetypes:async_result" ,
132
+ ],
133
+ "write" : [
134
+ "//archetypes:async_result" ,
135
+ ],
136
+ "write_at" : [
137
+ "//archetypes:async_result" ,
138
+ ],
139
+ }
140
+
141
+ [cc_test (
142
+ name = test ,
143
+ srcs = ["{}.cpp" .format (test )],
11
144
deps = [
12
145
":unit_test" ,
13
146
"@boost.asio" ,
14
- ],
15
- )
147
+ ] + _TESTS [ test ] ,
148
+ ) for test in _TESTS ]
0 commit comments