Dixon, Scott
4750a50099
Issue #100 remove auto_ptr and c++03 support.
...
Problem:
auto_ptr is deprecated.
Solution:
use unique_ptr which is only available in c++11 and newer.
Also fix how unit tests are run as part of the build to keep them from being
deleted when they fail.
Testing:
Unit tests on linux run.
2018-06-26 20:56:53 -07:00
Pavel Kirienko
e5a0746443
Syncing unit tests with spec changes
2017-04-06 18:34:17 +03:00
Pavel Kirienko
32d8851dde
-Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo
2016-07-29 16:02:31 +03:00
Pavel Kirienko
38a241a90a
Added -Wzero-as-null-pointer-constant, replaced NULL --> UAVCAN_NULLPTR. All changes are automatic, no manual edits to the library code.
2016-07-29 15:39:24 +03:00
Pavel Kirienko
9b092509c9
TestNode uses heap based allocator now
2015-10-17 00:45:04 +03:00
Pavel Kirienko
899aae44f7
OTR deinterfaced
2015-10-14 20:15:19 +03:00
Pavel Kirienko
763e96b6ed
Test node pool increased to 1024 blocks; this fixes the last test
2015-10-14 10:10:15 +03:00
Pavel Kirienko
898e78fd06
Node tests fixed
2015-10-14 09:59:11 +03:00
Pavel Kirienko
be84897ed6
First stab at global refactoring of memory management - the library builds, but unit tests are failing horribly
2015-10-14 08:29:50 +03:00
Pavel Kirienko
88cf10d5a1
Tests fixes, the library should compile now
2015-07-08 23:33:41 +03:00
Pavel Kirienko
8d923fee4c
Modified CAN driver API: Passing the next pending TX frames into the select() call to facilitate proper prioritization in the driver
2015-07-05 18:46:21 +03:00
Pavel Kirienko
a25a9252a7
Global discovery request removed
2015-07-05 07:21:34 +03:00
Pavel Kirienko
36a7c7e7a9
CATS and network compatibility checker removed
2015-07-05 07:07:59 +03:00
Pavel Kirienko
b927c1de5f
ServiceServer sends response at the same priority as request
2015-07-03 10:02:10 +03:00
Pavel Kirienko
f015c2de8b
Configurable priority for service calls; plus a minor collateral refactoring
2015-07-03 09:56:52 +03:00
Pavel Kirienko
3b911372cf
Service server test fixed, 3 to go
2015-07-03 08:51:44 +03:00
Pavel Kirienko
8a2e22046e
All unit tests compile, but crash. This is the most horrifying commit I've ever made.
2015-07-01 14:55:24 +03:00
ilia-sheremet
573b268457
CAN HW filters are added using map container
2015-06-26 14:35:53 +02:00
ilia-sheremet
bad7123b7d
getIface() constants added
2015-06-13 20:15:45 +02:00
Pavel Kirienko
70b366d680
SubNode<> test
2015-06-08 12:49:44 +03:00
Pavel Kirienko
e24fa5f236
SubNode<>
2015-06-08 12:37:31 +03:00
Pavel Kirienko
28e82797c2
Optimized padding, added more sizeof() outputs
2015-05-31 08:12:46 +03:00
Pavel Kirienko
05099181e5
Marshal buffer removed
2015-05-31 07:18:56 +03:00
Pavel Kirienko
0ce23a4f34
Lazy initialization of TransferSender removed
2015-05-29 23:30:02 +03:00
Pavel Kirienko
d20f8e7356
Using global RX object buffer
2015-05-29 16:47:02 +03:00
Pavel Kirienko
d4e49d518a
First step towards introducing the global RX object buffer
2015-05-28 13:49:01 +03:00
Pavel Kirienko
8729d6a2d6
ServiceClient<>::getCallIDByIndex()
2015-05-24 15:59:32 +03:00
Pavel Kirienko
19cffa682f
TestNetwork<> fix
2015-05-20 01:20:42 +03:00
Pavel Kirienko
4398cceb4c
Fixing the previous commit
2015-05-20 00:41:44 +03:00
Pavel Kirienko
228785b8f8
libuavcan testing: TestNetwork<> helper
2015-05-20 00:12:06 +03:00
Pavel Kirienko
5e5540b8ce
ServiceClient<>::hasPendingCallToServer()
2015-05-16 23:57:11 +03:00
Pavel Kirienko
f224be0742
ServiceClient<>: test of concurrent call logic
2015-05-16 22:17:14 +03:00
Pavel Kirienko
dbf3d1622e
Improved test of ServiceClient<>
2015-05-16 21:43:12 +03:00
Pavel Kirienko
e921f4da02
More debug outputs
2015-05-16 15:07:21 +03:00
Pavel Kirienko
282b995c1e
Partially refactored ServiceClient, tests are failing, the code is totally broken
2015-05-15 18:41:38 +03:00
Pavel Kirienko
bc00899e70
Testing tooling fix
2015-05-13 17:50:45 +03:00
Pavel Kirienko
f11f49a7d2
ClusterManager test for the case of one server
2015-05-05 11:29:51 +03:00
Pavel Kirienko
6a8135fedf
Service server feature - response suppression
2015-05-04 13:42:02 +03:00
Pavel Kirienko
6b07222650
Checking priorities in Publisher's unit test
2015-04-30 15:19:51 +03:00
Pavel Kirienko
78e2351df5
Empty service client test (fails to compile due to a mistake in template instantiation)
2015-04-21 21:46:33 +03:00
Pavel Kirienko
b6659f096f
Empty server test
2015-04-21 21:00:06 +03:00
Pavel Kirienko
14c176015a
GDTR find() overload for name only
2015-03-16 20:18:36 +03:00
Pavel Kirienko
670e8bda51
Minor API cleanup in GDTR: regist() --> registerDataType()
2015-03-16 20:01:39 +03:00
Pavel Kirienko
b09bfab117
Strict warnings in the unit tests. This commit needs to be carefully reviewed.
2014-08-28 04:54:59 +04:00
Pavel Kirienko
b90fdf9f7d
libuavcan unit test fix
2014-08-03 15:28:09 +04:00
Pavel Kirienko
6c972e6ba5
cppcheck warning suppressions
2014-08-03 14:27:33 +04:00
Pavel Kirienko
f40f00c0c7
cppcheck false positive suppression
2014-08-03 14:04:04 +04:00
Pavel Kirienko
137a2f36d8
Refactored uavcan.protocol.SoftwareVersion
2014-07-21 16:31:17 +04:00
Pavel Kirienko
c1be9f1fef
Explicit virtual keyword
2014-04-19 18:51:36 +04:00
Pavel Kirienko
e476a957a8
NetworkCompatibilityChecker will not be executed at each Node<>::start(), there's special method for that - Node<>::checkNetworkCompatibility()
2014-04-12 22:10:26 +04:00