Julius Pfrommer
99d4d46804
Merge remote-tracking branch 'origin/1.4' into merge_14_master_25
2025-01-28 06:55:14 +01:00
Julius Pfrommer
1321281968
refactor(tests): Lock the EventLoop before client/server in the tests
2025-01-26 23:29:22 +01:00
Julius Pfrommer
c4ef59a65e
Merge remote-tracking branch 'origin/1.4' into merge_14_master_5
2023-10-11 20:21:31 +02:00
Julius Pfrommer
e4e865d999
Merge remote-tracking branch 'origin/1.3' into merge_13_14_5
2023-10-07 21:45:52 +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
Julius Pfrommer
390c092c05
refactor(tests): Include stdlib.h where open62541 no longer does it
2023-07-28 21:42:56 +02:00
Julius Pfrommer
928931ec36
refactor(core): Move architecture-specific definition out of the public headers
2023-07-28 21:42:56 +02:00
Julius Pfrommer
64e21f7303
refactor(server): Simplify the event filter validation; adjust internal API
2022-09-13 04:48:49 +02:00
Julius Pfrommer
bedf988180
refactor(server): Rename UA_Server_evaluateWhereClauseContentFilter, fix event filter tests
...
The filter evaluation is not part of the public server API.
2022-09-13 04:48:49 +02:00
Andreas Eckerstorfer
13af9b8688
refactor(core): Remove trailing spaces in code ( #5221 )
2022-06-24 11:03:25 +02:00
andreasebner
baae15eda7
fix(test) add realsleep in subscription tests to release mutex ( #5098 )
...
fix(test) add realsleep in subscription tests to release mutex
2022-05-04 17:56:29 +02:00
andreasebner
2f775b02a0
feat(server) added event filter examples, introduce initial event filter where and select clause evaluation ( #4626 )
2021-09-27 08:04:38 +02:00
Julius Pfrommer
3344bbabd8
Merge pull request #4395 from open62541/1.2
...
Merge 1.2 to master
2021-05-06 18:14:53 +02:00
Julius Pfrommer
736859a0f6
fix(test): Fix the unit test for overflow event checks
2021-05-06 12:30:02 +02:00
Julius Pfrommer
fa5ed7a4ef
Merge branch '1.2'
2021-03-10 22:51:53 +01:00
Julius Pfrommer
94ba65d41b
fix(tests): Make the unit tests clang-analyzer clean
2021-02-28 07:05:05 +01:00
Christian von Arnim
c95fe0f2e0
fix(server): Replace SimpleOverflowEventType by EventQueueOverflowEventType
...
As discussed here: https://apps.opcfoundation.org/mantis/view.php?id=4206
2021-01-27 09:54:50 +01:00
Julius Pfrommer
beeafc02e9
refactor(core): Better type-safety for locking primitives
2021-01-05 23:04:23 +01:00
Christian von Arnim
1a979e2b5f
Added/updated copyright
2020-12-23 23:31:24 +01:00
Julius Pfrommer
d03be50b02
fix(server): UA_Server_evaluateWhereClauseContentFilter must hold a lock
2020-11-07 15:25:52 +01:00
Julius Pfrommer
041f3121c1
refactor(tests): Replace _deleteMembers with _clear in server tests
2020-09-28 20:06:13 +02:00
ccvca
0c10b3ea40
feat(server): Evaluate whereClaus of event subscriptions for operator OfType
2020-04-29 20:24:47 +02:00
Ari Breitkreuz
6382d1ad05
Add Unit Test for discardNewest leading to failed assertion
2019-12-24 08:25:34 +01:00
Ubuntu
6050ffe172
feat(multithreading): Locks for subscription and browsing services
2019-08-27 07:44:34 +02:00
Stefan Profanter
6386b74d23
Client: Add additional check to avoid null pointer access on CreateEvent
2019-07-25 15:51:33 +02:00
Ari
09331e2d66
Add unit testing for abstract event types
2019-07-25 15:51:33 +02:00
Julius Pfrommer
1ea70b5614
Subscriptions: Fix events test under valgrind delays
2019-07-03 22:20:09 +02:00
Stefan Profanter
6fe8453249
Untabify
...
Used command:
`find . \( -name '*.c' -o -name '*.h' \) -not \( -path "./deps/*" -prune \) ! -type d -exec bash -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;`
2019-05-25 09:09:46 +02:00
Stefan Profanter
5e3ef272ad
Events: Check for valid event filter
...
Fixes #2731
2019-05-16 10:04:16 +02:00
Stefan Profanter
ec9a157338
Events: Use event source which is available in reduced NS0
2019-05-02 14:04:44 +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
Julius Pfrommer
c9c818868f
Move header files to a more unix-like structure
...
This commit drops the 'ua_' prefix and changes the public includes
to the form `#include <open62541/server.h>` instead of the old
`#include <ua_server.h>`
2019-03-21 20:16:31 +01:00
Julius Pfrommer
bcaa6695c0
Client: Store SecurityPolicies in the client config; Refactor connection logic
2019-01-30 18:45:42 +01:00
Stefan Profanter
c63abccb4d
Tests: only call ck_assert while test is running
...
ck_assert can only be called while a test is running.
See https://github.com/libcheck/check/issues/18 and https://github.com/libcheck/check/pull/123
There was a race condition where the server loop tried to lock the mutex
and assert the return value, although the tests already finished.
Fixes #2331
2019-01-03 20:24:53 +01:00
Ari
3ca64fe180
Apply mutex wrapper to check_subscription_events
2018-11-15 16:16:01 +01:00
Ari
5a06ca2471
Add correct sleeping behaviour
2018-11-13 10:59:51 +01:00
Ari
f8fb55a229
Ensure correct deletion of monitored items
2018-11-13 10:59:51 +01:00
Julius Pfrommer
3b5ceb301b
Tests: Indent check_subscription_events.c
2018-10-15 09:48:37 +02:00
Julius Pfrommer
c40983e13b
Tests: Fix a memleak in check_subscription_events.c
2018-10-15 09:48:37 +02:00
Ari
f1579b5fed
Add unit testing for incorrect eventCounting
2018-09-28 17:01:50 +02:00
Ari
af95b00649
Add check for multiple monitored items on one node
2018-08-29 09:11:32 +02:00
Julius Pfrommer
c5c5aaa7d7
Make AdminSession part of the server struct (was global var)
2018-08-02 16:32:38 +00:00
Ari
c6c5b9e294
Add support for EventQueueOverflowEvents ( #1829 )
...
* add support for overflowEvents
the amount of overflowEvents in a monitoredItem are saved as a separate counter. overflowEvents are not treated differently for subscriptions.
* add unit tests for overflow events
* general improvements
* check all overflowEvents
Instead of only checking if an event is of SimpleOverflowEvent type check if it is of any subtype of BaseEvent
2018-07-31 11:45:06 +02:00
Ari
9c9615b68c
Event unit tests
2018-06-01 20:25:12 +02:00