Commit Graph
41 Commits
Author SHA1 Message Date
Julius Pfrommer 9d615c2ce2 fix(tests): Fix check_pubsub_informationmodel_methods.c on MSVC
The IP address for the test was not recognized as valid for multicast.
2024-09-30 00:29:52 +02:00
Julius Pfrommer 450f8ac8d6 refactor(pubsub): Remove the unused "enabled" parameters in the config 2024-09-09 23:20:32 +02:00
Julius Pfrommer 04fd16af13 Merge remote-tracking branch 'origin/1.4' into merge_14_master_15 2024-05-25 00:35:46 +02:00
estr Eckerstorfer Andreas 51b4427f35 refactor(tests): Include stdlib.h where open62541 no longer does it
Include is needed for definition of EXIT_SUCCESS.
2024-05-14 15:10:11 +02:00
Julius Pfrommer dd300f3eff refactor(tests): Set a custom "fake" clock in the EventLoop for unit tests 2023-10-04 10:56:26 +02:00
Noel Graf 6375f54f24 fix(examples): Bug fix in the nodeset examples and tests. Added missing header inclusion. 2023-09-22 15:25:49 +02:00
Noel Graf 7be88d64cf feat(server): File-based server configuration. 2023-09-22 15:25:49 +02:00
Julius Pfrommer 809c7ff3f6 refactor(pubsub): Remove UA_ENABLE_REDUCED_ITERATIONS_FOR_TESTING
The code is now fast enough to not need the workaround.
2023-07-02 02:58:40 +02:00
Julius Pfrommer 0051c28a25 refactor(test): Remove plugin/pubsub.h API from unit tests 2023-06-16 18:52:25 +02:00
Julius Pfrommer dc9521f23b refactor(pubsub): Switch PubSub to EventLoop model 2023-06-13 16:58:55 +02:00
Julius Pfrommer 776ac790fa refactor(server): Simplify reverse connect and start/stop logic 2023-04-11 13:33:34 +02:00
basyskom-dege fa984e8ee6 fix(pubsub): Add StatusCode checks. (#5723)
* Fix Pubsub Tests. Added Statuscode Checks.

* Fix CI error:  unread retval
2023-04-05 16:41:09 +02:00
Julius Pfrommer 4d5ceb378c Merge remote-tracking branch 'origin/1.3' into merge_13_master_12 2023-03-26 10:21:49 +02:00
Julius Pfrommer 4f55f1613d fix(tests): Remove a memleak in check_pubsub_informationmodel_methods.c 2023-02-20 02:11:56 +01:00
Julius Pfrommer a134bb5b67 refactor(tests): Use nodes from reduced ns0 in check_pubsub_informationmodel_methods.c 2023-02-20 02:11:56 +01:00
Andreas Eckerstorfer 022ad60723 fix (tests): Check server instance in UNIT tests
Failed UNIT tests caused an exception in the server loop, if the
server instance could not be created.
2023-01-31 00:07:18 +01:00
Jan Hermes bbaced2827 test(pubsub): check if legacy-test succeeds in pipeline 2023-01-04 00:45:39 +01:00
Jan Hermes 67898e9847 refactor(pubsub): relocate udp specifics to layer 2023-01-04 00:45:39 +01:00
Jan Murzyn d5b40c6356 Enable faster testing for the boundary conditions.
It's interesting to test what happens if all available IDs are reserved.
Additionally, the only way to roll over the ID counter is to reserve all
available IDs. However, testing such boundary condition involves a large
number of iterations in the implementation. Implemented a special
compile flag to reduce the number of required iterations just for
testing.
2022-10-26 23:57:46 +02:00
Jan Murzyn 104951dfa7 fix(pubsub): Improve tests for ReserveIds. 2022-10-26 23:57:46 +02:00
Noel Graf dcf4463006 feat(pubsub): Implementation of the reserveIds method (#5296) 2022-09-20 22:56:16 +02:00
Julius Pfrommer 31a11d068c fix(test): Remove sign-conversion errors in PubSub tests 2022-07-21 12:45:26 +02:00
Andreas Eckerstorfer 13af9b8688 refactor(core): Remove trailing spaces in code (#5221) 2022-06-24 11:03:25 +02:00
Julius Pfrommer d2c41a286d fix(test): Fix wrong variant types in check_pubsub_informationmodel_methods.c 2022-06-19 20:22:40 +02:00
Julius Pfrommer ad34ddd848 fix(tests): Fix a memleak in check_pubsub_informationmodel_methods.c 2022-06-19 20:22:40 +02:00
Julius Pfrommer b16ccb4f82 fix(test): Use only variables that exist in the reduced information model for pubsub tests 2022-06-19 20:22:40 +02:00
Julius Pfrommer dba1796702 refactor(core): Remove some long deprecated definitions 2021-11-13 20:26:02 +01:00
Julius Pfrommer 4d3422524c refactor(core): Don't generate headers with internal encoding functions 2021-08-16 10:21:51 +02:00
Opcua_Tsn_Team_Kalycito 8a25790f14 [Review] refactor(pubsub): PubSub method call (#4330)
feat(pubsub) extended pubsub information model methods
2021-06-17 23:24:01 +02:00
Julius Pfrommer eb0424d96e refactor(pubsub): Simplify the PubSubConfiguration
It is now directly included in the server config and not an opaque
pointer.
2021-03-31 12:53:40 +02:00
Julius Pfrommer beeafc02e9 refactor(core): Better type-safety for locking primitives 2021-01-05 23:04:23 +01:00
Julius Pfrommer 7c23332027 refactor(test): Use _clear instead of _deleteMembers 2020-10-18 15:21:40 +02:00
Andreas Ebner 663a341110 fixed potential memleaks during the reader freeze
Change-Id: Ic1feeae093cec9aa732140f71bf69a5e50f8e620
2020-05-19 12:34:33 +02:00
Julius Pfrommer fd08d012d9 Server: Initialize the config in the server 2019-04-23 00:41:32 +02:00
Andreas Ebner af8c26f7d1 pubsub improvements
pubsub improvements

pubsub improvements
2019-02-20 11:30:20 +01:00
Mark Giraud 5a6d1fa79c Fix pubsub test 2019-02-02 23:31:47 +01:00
Julius Pfrommer 0184feec2b Tests: Fix possible use of uninitialized variables 2018-12-04 18:39:12 +01:00
Andreas Ebner 7750c77fef added WG handling and extended pubsub information model tests. Fixed some memory leaks. 2018-11-19 07:19:35 +01:00
Andreas Ebner 5d50ebfd16 extended pubsub information model methods tests with data set folder delete and create 2018-11-19 07:19:35 +01:00
Andreas Ebner 72853d143e added PubSubConnection information model representation and methods 2018-11-19 07:19:35 +01:00
Andreas Ebner 7e85f6b56a added pubsub information models methods test 2018-11-19 07:19:35 +01:00