Commit Graph

10 Commits

Author SHA1 Message Date
Julius Pfrommer dd300f3eff refactor(tests): Set a custom "fake" clock in the EventLoop for unit tests 2023-10-04 10:56:26 +02: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
Christian Hübner 89082bed07 fix(server): Range check in getNamespaceByIndex 2022-12-23 15:13:52 +01:00
Andreas Ebner 633c161fc7 feat(server) add namespace lookup function 2022-05-09 08:15:00 +02:00
Alexander Bluhm 7c086d9c0a test: fix signedness compile errors
My clang 8.0.1 on OpenBSD could not compile the test programs due
to implicit conversion changes signedness errors.  Use the correct
unsigned ck_assert_uint_eq() function and change some data types.
2020-05-29 08:10:37 +02:00
Julius Pfrommer a8a8231ba4 Tests: Various fixes for the unit tests on MinGW 2019-06-06 02:32:09 +02:00
Julius Pfrommer fd08d012d9 Server: Initialize the config in the server 2019-04-23 00:41:32 +02:00
Stefan Profanter 63f3653ff1 Additional header cleanup and consistent name of ns generated files 2019-03-21 20:16:31 +01:00
Frank Meerkoetter 8e1a7a6182 Bring UA_Server_run() and UA_Server_addTimedCallback() under coverage 2019-03-04 08:07:40 +01:00
Frank Meerkoetter 1cb21cf536 Add a few basic tests for functionality in ua_server.c 2019-03-04 08:07:40 +01:00