Commit Graph

172 Commits

Author SHA1 Message Date
levlam
a28b5f2fbb Remove explicit verbosity level changes in tests. 2021-11-21 21:41:11 +03:00
levlam
b731414d42 Init some fields just in case. 2021-11-11 17:39:09 +03:00
levlam
00cea653bf Improve includes. 2021-11-09 19:02:01 +03:00
levlam
ca7947cf44 Minor improvements. 2021-11-04 12:46:08 +03:00
levlam
0208b7058b Don't catch ActorContext by MutiPromiseActor and SleepActor. 2021-11-03 18:05:53 +03:00
levlam
4266841b64 Simplify logging in tdactor. 2021-11-03 16:53:14 +03:00
levlam
94172ee9ae Fix logging on actor creation/destroying. 2021-11-03 16:46:01 +03:00
levlam
6a5b0506e5 Split Actor.is_lite to need_context and need_start_up. 2021-11-03 15:10:43 +03:00
levlam
f964067da6 Store name of lite actors. 2021-11-03 00:57:20 +03:00
levlam
b5060687cc Add enable_if guards for forwarding constructors. 2021-10-29 15:05:28 +03:00
levlam
f518f94b20 Fix actors_simple test without threads/EventFd. 2021-10-25 09:44:57 +03:00
levlam
071d50414d Move Scheduler::ServiceActor::set_queue to cpp. 2021-10-25 08:33:14 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
1e49f6dc13 Use auto as variable type if it is initialized with a cast. 2021-10-20 01:27:02 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
44a186c7c1 Minor improvements. 2021-10-18 19:26:14 +03:00
levlam
81b38d5607 Mark move constructors/assignment operators noexcept. 2021-10-18 14:36:15 +03:00
levlam
f35afe23c8 Minor warning fixes. 2021-10-18 12:57:13 +03:00
levlam
49282f35a5 Explicitly specify namespace td in tdactor tests. 2021-10-15 14:21:30 +03:00
levlam
1617d7271f Test that MultiPromiseActor uses try_emit_later. 2021-10-10 23:56:23 +03:00
levlam
34569b3600 Fix Actor tests. 2021-10-07 17:10:07 +03:00
levlam
3b794126d8 Avoid G usage in lambda promises. 2021-10-07 15:28:52 +03:00
levlam
bbae7be409 Respect timeout in run_events. 2021-10-06 17:16:23 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
86de43a048 Remove useless #include comments. 2021-09-03 23:21:44 +03:00
levlam
43d9ba81ac Prefer std::unordered_map to std::map. 2021-08-21 21:42:07 +03:00
levlam
5349e63c2b Add Timeout::get_timeout. 2021-08-15 11:15:14 +03:00
levlam
370d443a9d Explicitly specify inheritance mode. 2021-07-04 18:22:20 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
924286da8f Use manual checks instead of cmake_minimum_required to propagate policies. 2021-06-13 23:38:48 +03:00
levlam
9cecc116f3 Prefer US spelling of "canceled". 2021-05-31 21:51:48 +03:00
levlam
90e253d90c Remove REGISTER_TESTS define. 2021-05-26 00:41:15 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
4df03c8491 Clamp float numbers before conversion to integers. 2021-03-28 22:33:22 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
c80b566c49 Fix tdweb build. 2020-12-23 19:25:01 +03:00
levlam
3589676550 Minor fixes. 2020-12-22 15:51:57 +03:00
levlam
86573be3ad Minor fixes. 2020-11-26 23:17:45 +03:00
Arseny Smirnov
ab3e695f94 Revert "Revert "New test for tdlib. New Promise/Future features (ported from other project)""
This reverts commit 56866524aa.
2020-11-26 18:49:51 +04:00
Arseny Smirnov
56866524aa Revert "New test for tdlib. New Promise/Future features (ported from other project)"
This reverts commit 0c2b15f2b8.
2020-11-24 15:50:44 +04:00
Arseny Smirnov
0c2b15f2b8 New test for tdlib. New Promise/Future features (ported from other project) 2020-11-24 15:25:10 +04:00
levlam
6571a99b45 Include ConcurrentScheduler separately. 2020-11-23 03:24:36 +03:00
levlam
45c3e28ea3 Remove unneeded checks. 2020-11-23 02:40:46 +03:00
levlam
155c12edea Improve ConcurrentScheduler closing on exit. 2020-11-22 23:30:40 +03:00
levlam
39f30f42be Fix ConcurrentScheduler destructor. 2020-11-22 20:40:47 +03:00
levlam
6df8b9a535 Fix MultiTimeout_Destroy test. 2020-11-21 20:49:06 +03:00
levlam
ccb30077e7 Make test functions statis if possible. 2020-11-21 20:45:09 +03:00
levlam
9856b0e46e Add some workariunds for crashes on exit without closing all clients.
GitOrigin-RevId: 5c74e9fe6951b6a8eb65d6c1e5ddf7bf8e0c8163
2020-10-11 21:21:38 +03:00
levlam
fdc3920572 Fix some includes.
GitOrigin-RevId: 4b57613cc6e948ceb7d63b4378bc9124271e0f53
2020-10-08 18:30:36 +03:00