Julius Pfrommer
97f724ea19
test(mt): synchronize threaded fixtures and simulated clock
...
Use atomic shutdown flags and clock updates in threaded tests. Guard the auditing fixture when
thread-safe server support is disabled.
2026-09-21 16:23:09 +02:00
Julius Pfrommer
783cc897a1
fix(tests): initialize platform features before Check headers
2026-09-06 23:33:04 +02:00
Julius Pfrommer
58ed00f074
Merge origin/1.5 into master
...
Preserve master XML and node-management behavior, adapt regression tests to the driver and built-in NodeSet loader APIs, and extend compatibility with older Check releases.
2026-09-06 22:55:12 +02:00
Andreas Ebner
d2c5d0aff0
Merge remote-tracking branch 'origin/1.5' into merge_15_master_5
...
# Conflicts:
# CMakeLists.txt
# src/server/ua_session.c
# src/ua_types_encoding_json.c
# src/ua_types_encoding_json_105.c
# tests/CMakeLists.txt
# tests/pubsub/check_pubsub_publish.c
# tests/server/check_services_subscriptions.c
# tests/valgrind_check_error.py
# tools/ci/linux/ci.sh
2026-07-17 09:19:33 +02:00
Andreas Ebner
4a6eb23941
fix(test): wrap test_helpers.h in extern C so fuzz_client links UA_Client_newForUnitTest
...
Also carry over review fixes (openssl keySize==0 guard, check_client/ns0_diagnostics, etc).
2026-07-15 14:15:49 +02:00
Julius Pfrommer
2e4fd234f5
Merge remote-tracking branch 'origin/1.5' into merge_15_master_3
2026-06-20 17:04:16 +02:00
Julius Pfrommer
e8c50f407f
fix(ci): Increase client timings in check_discovery.c for Valgrind CI runs
2026-06-20 17:03:26 +02:00
Julius Pfrommer
b8d8e67ac1
feat(tests): Logging of all network events for the testing networklayer
2026-05-25 10:16:12 +02:00
Julius Pfrommer
0352cab72e
feat(tests): Print the beginning and end of all unit tests
2026-05-25 10:16:12 +02:00
Julius Pfrommer
7b1fa877f4
refactor(tests): Generalize the PCAP-replay ConnectionManager beyond POSIX
2026-05-04 10:03:06 +02:00
Julius Pfrommer
d9023ff3dc
refactor(tests): Generalize the ConnectionManager testing plugin
2026-05-04 10:03:06 +02:00
Julius Pfrommer
b71b7c938e
feat(test): Make the loglevel for the unit tests configurable in a central location
2026-01-02 13:43:48 +01:00
Julius Pfrommer
09cdf26534
feat(client): Add the allowNonePolicyPassword config flag
2026-01-02 13:43:48 +01:00
Julius Pfrommer
0e874a80fa
feat(plugins): Add PolicyType information to UA_SecurityPolicy to disambiguate None/RSA/ECC
2026-01-02 13:43:48 +01:00
Julius Pfrommer
ba5ee03403
breaking(plugins): Modify the SecurityPolicy API to always forward the policy-pointer and the channel context (needed for ECC cleanup)
2026-01-02 13:43:48 +01:00
Julius Pfrommer
b3fb44ff5b
refactor(tests): Remove last usage of realSleep
2025-11-05 09:03:43 +01:00
Julius Pfrommer
4d730b42b0
feat(test): Configure application notification for all unit tests
2025-09-30 08:24:08 +02:00
Julius Pfrommer
c0d4bc97e7
refactor(test): Move test helpers from static inline functions to test_helpers.c
2025-09-30 08:24:08 +02:00
Julius Pfrommer
edfcb4a6bf
refactor(tests): Increase the timeouts to reduce flakiness in the valgrind CI
2025-06-04 15:32:47 +02:00
Florian La Roche
dd36e18020
refactor(tests): remove unused vars
...
Remove these unused vars (reported from clang scan-build).
Signed-off-by: Florian La Roche <f.laroche@pilz.de >
2025-05-26 07:48:39 +02:00
Julius Pfrommer
6b64ca3519
feat(tests): Add a ConnectionManager that can replay PCAP network dumps
2025-02-19 11:27:27 +01:00
Julius Pfrommer
3bec159cb9
Merge remote-tracking branch 'origin/1.4' into merge_14_master_25
2025-01-25 19:06:56 +01:00
tomitkl
2076a9c87f
feat(plugin): Add filestore Windows implementation ( #7006 )
...
* feat(plugin): Add filestore Windows implementation
* Define UA_DT_REG and UA_DT_DIR
* Remove build flag and use __linux__ or UA_ARCHITECTURE_WIN32 in places which used to check only for __linux__
2025-01-10 14:28:37 +01:00
Noel Graf
34d957c561
fix(server): Consistency in the use of the Windows architecture flag
2025-01-09 15:00:38 +01:00
Noel Graf
5fa1cf643e
feat(plugin): Adding filestore backend security policies ( #6564 )
...
* feat(plugin): Add filestore backend security policies to support writing updated certificates back to the file system
* feat(tests): Add test cases for the filestore security policies and the updateCertificate function
---------
Co-authored-by: Julius Pfrommer <jpfr@users.noreply.github.com >
2024-07-23 14:41:48 +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
Julius Pfrommer
20c50822ef
feat(client): Add tcp reuseaddr option in the client
2024-03-22 11:20:21 +01:00
Julius Pfrommer
7f81b5e547
refactor(arch): Remove UA_REUSEADDR option -- handle in the global test server constructor
2024-03-22 11:20:20 +01:00
Julius Pfrommer
cc806cb471
Merge pull request #6247 from open62541/1.4
...
Merge 1.4 to master
2024-01-26 16:20:42 +01:00
Johannes Kauffmann
1bda4f6083
fix(examples,tests): correct Windows define
...
Checking for WIN32 only works by virtue of CMake defining WIN32, by
itself. The _WIN32 define actually comes from the compiler, so use
that instead.
Since these are examples and tests, don't use UA_ARCHITECTURE_WIN32.
2024-01-20 09:52:19 +01:00
Julius Pfrommer
054420cf33
refactor(test): Use the fake clock also for non-monotonic time-source
...
The subscription tests depend on a deterministic clock.
2023-12-26 00:30:17 +01:00
Julius Pfrommer
58099d814c
refactor(plugin): Move the EventLoop to the plugins folder
2023-12-10 11:38:53 +01: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
Jan Hermes
87798df129
feat: add new keyvaluemap structure + utilities
2022-10-31 13:21:21 +01:00
Julius Pfrommer
38ff117bce
refactor(core): The SecureChannel directly uses the EventLoop connection
2022-08-05 09:13:05 +02:00
Julius Pfrommer
d70f80d1e1
refactor(test): Remove unused UA_comboSleep
2022-07-25 23:37:06 +02:00
Julius Pfrommer
58e591b16e
fix(test): Remove a sign conversion error in testing_clock.c
2022-07-21 12:45:26 +02:00
Alexander Bluhm
3706b2705f
test(core): fix 32 bit sign-conversion compiler errors
...
When compiled with clang on 32 bit platforms, -Wsign-conversion
prevents implicit conversion from UA_UInt32 to long. Make sec and
ns UA_Int32 which is compatible with time_t and long in struct
timespec.
2022-06-13 20:17:54 +02:00
Julius Pfrommer
341d502c0b
refactor(core): Simplify the SecurityPolicy API to prepare PubSub encryption
2021-04-05 22:18:58 +02:00
Julius Pfrommer
0daf3b6fb1
refactor(core): Remove unneeded calls from the SecurityPolicy API
...
The local plaintext block size is not needed for asymmetric encryption.
And it is identical to the remote block size in the symmetric case.
2021-03-21 16:07:32 +01:00
Julius Pfrommer
4953ddd342
refactor(core): Simplify the SecurityPolicy API
...
When a ChannelContext is available, no pointer to the policy is
required.
2021-03-21 16:07:32 +01:00
Julius Pfrommer
f46a5e7e0a
refactor(tests): Add missing callbacks in testing_policy.c
2021-03-21 08:39:52 +01:00
Julius Pfrommer
fef532107b
fix(tests): Fix printf warnings in testing_policy.c
2021-02-15 12:31:50 +01:00
Julius Pfrommer
7c23332027
refactor(test): Use _clear instead of _deleteMembers
2020-10-18 15:21:40 +02:00
cochicde
1654d02101
fix(arch): Use UA_INVALID_SOCKET where needed ( #3851 )
2020-08-19 13:57:58 +02:00
Julius Pfrommer
8033f1596d
refactor(server): Fold server_config.h into server.h
2020-07-03 23:26:23 +02:00
Julius Pfrommer
7d1d21a88c
refactor(core): Simplify the malloc singleton option
2020-07-01 10:21:17 +02:00
Julius Pfrommer
5da1f5552a
refactor(core): Correct name of ConnectionState enum values
2020-05-05 09:33:57 +02:00
Christian von Arnim
28177296df
Fix: Mutex on win32
2020-04-29 10:38:44 +02:00
Julius Pfrommer
6a3cc6c8d0
refactor(core): Remove certificate verification from SecurityPolicy in favor of global plugin
2020-01-25 19:33:26 +01:00