summaryrefslogtreecommitdiff
path: root/test/regression/mqtt_test
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-06-08 10:03:52 +0200
committerGitHub <[email protected]>2026-06-08 10:03:52 +0200
commit1a0e9e43a03e37ddecfb6b49e9b078d6e1803d05 (patch)
treec60ec41b4ff4fd2d7566c505cbdd423ceddd65f3 /test/regression/mqtt_test
parent8b6e03ac30ab688bec02c69d42f2304b7f72a202 (diff)
parent4d88828b06d164a5b7e82152395a92254abcd6e4 (diff)
Merge pull request #391 from eclipse-threadx/devv6.5.1.202602_reldev
Merging changes for the v.6.5.1.202602 release
Diffstat (limited to 'test/regression/mqtt_test')
-rw-r--r--test/regression/mqtt_test/netx_mqtt_api_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_branch_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_connack_error_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_connect_auth_empty_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_connect_auth_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_connect_non_block_2_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_connect_non_block_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_connect_packet_send_failure_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_connect_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_connect_v6_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_connect_will_message_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_connect_will_topic_only_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_connect_with_auth_will_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_keepalive_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_keepalive_timeout_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_multiple_receive_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_not_connected_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_null_password_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_packet_leak_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_publish_non_zero_packet_id_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_publish_packet_chain_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_publish_qos0_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_publish_qos1_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_publish_qos2_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_receive_qos0_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_receive_qos1_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_receive_qos2_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_receive_span_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_remaining_length_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_subscribe_non_zero_packet_id_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_subscribe_packet_chain_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_subscribe_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_testcontrol.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_transmit_queue_depth_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_unsubscribe_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_websocket_block_test.c11
-rw-r--r--test/regression/mqtt_test/netx_mqtt_websocket_non_block_test.c11
37 files changed, 407 insertions, 0 deletions
diff --git a/test/regression/mqtt_test/netx_mqtt_api_test.c b/test/regression/mqtt_test/netx_mqtt_api_test.c
index 3bff14c3..bb037ebb 100644
--- a/test/regression/mqtt_test/netx_mqtt_api_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_api_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This NetX test concentrates on the basic IP operation. */
#include "nxd_mqtt_client.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_branch_test.c b/test/regression/mqtt_test/netx_mqtt_branch_test.c
index b33a2418..3640ed75 100644
--- a/test/regression/mqtt_test/netx_mqtt_branch_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_branch_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_connack_error_test.c b/test/regression/mqtt_test/netx_mqtt_connack_error_test.c
index 5e1840cd..d16c1c77 100644
--- a/test/regression/mqtt_test/netx_mqtt_connack_error_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_connack_error_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client process error CONNACK. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_connect_auth_empty_test.c b/test/regression/mqtt_test/netx_mqtt_connect_auth_empty_test.c
index 93fcee40..26891378 100644
--- a/test/regression/mqtt_test/netx_mqtt_connect_auth_empty_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_connect_auth_empty_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_connect_auth_test.c b/test/regression/mqtt_test/netx_mqtt_connect_auth_test.c
index 78ed25bc..10295767 100644
--- a/test/regression/mqtt_test/netx_mqtt_connect_auth_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_connect_auth_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_connect_non_block_2_test.c b/test/regression/mqtt_test/netx_mqtt_connect_non_block_2_test.c
index 017f785c..294e1734 100644
--- a/test/regression/mqtt_test/netx_mqtt_connect_non_block_2_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_connect_non_block_2_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_connect_non_block_test.c b/test/regression/mqtt_test/netx_mqtt_connect_non_block_test.c
index 79fc24cc..ffe4848b 100644
--- a/test/regression/mqtt_test/netx_mqtt_connect_non_block_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_connect_non_block_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_connect_packet_send_failure_test.c b/test/regression/mqtt_test/netx_mqtt_connect_packet_send_failure_test.c
index ef7d1c95..e3acbfe6 100644
--- a/test/regression/mqtt_test/netx_mqtt_connect_packet_send_failure_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_connect_packet_send_failure_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect packet send test. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_connect_test.c b/test/regression/mqtt_test/netx_mqtt_connect_test.c
index 608284be..ed658bec 100644
--- a/test/regression/mqtt_test/netx_mqtt_connect_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_connect_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_connect_v6_test.c b/test/regression/mqtt_test/netx_mqtt_connect_v6_test.c
index 4c2d79a0..68b8e572 100644
--- a/test/regression/mqtt_test/netx_mqtt_connect_v6_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_connect_v6_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_connect_will_message_test.c b/test/regression/mqtt_test/netx_mqtt_connect_will_message_test.c
index 8efad1c6..78755fa3 100644
--- a/test/regression/mqtt_test/netx_mqtt_connect_will_message_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_connect_will_message_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_connect_will_topic_only_test.c b/test/regression/mqtt_test/netx_mqtt_connect_will_topic_only_test.c
index 0aa84b31..b270b281 100644
--- a/test/regression/mqtt_test/netx_mqtt_connect_will_topic_only_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_connect_will_topic_only_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_connect_with_auth_will_test.c b/test/regression/mqtt_test/netx_mqtt_connect_with_auth_will_test.c
index 1c8737b6..f1e912f8 100644
--- a/test/regression/mqtt_test/netx_mqtt_connect_with_auth_will_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_connect_with_auth_will_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_keepalive_test.c b/test/regression/mqtt_test/netx_mqtt_keepalive_test.c
index 5b30cc20..71711222 100644
--- a/test/regression/mqtt_test/netx_mqtt_keepalive_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_keepalive_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client keepalive feature. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_keepalive_timeout_test.c b/test/regression/mqtt_test/netx_mqtt_keepalive_timeout_test.c
index e4c5ec59..ef18c9ac 100644
--- a/test/regression/mqtt_test/netx_mqtt_keepalive_timeout_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_keepalive_timeout_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client keepalive feature. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_multiple_receive_test.c b/test/regression/mqtt_test/netx_mqtt_multiple_receive_test.c
index 7ad46fdb..a6d21489 100644
--- a/test/regression/mqtt_test/netx_mqtt_multiple_receive_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_multiple_receive_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_not_connected_test.c b/test/regression/mqtt_test/netx_mqtt_not_connected_test.c
index 2d6454a6..34ddf3e9 100644
--- a/test/regression/mqtt_test/netx_mqtt_not_connected_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_not_connected_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_null_password_test.c b/test/regression/mqtt_test/netx_mqtt_null_password_test.c
index de4a0b92..e6f43a91 100644
--- a/test/regression/mqtt_test/netx_mqtt_null_password_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_null_password_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_packet_leak_test.c b/test/regression/mqtt_test/netx_mqtt_packet_leak_test.c
index e0ad23aa..5a0c79e3 100644
--- a/test/regression/mqtt_test/netx_mqtt_packet_leak_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_packet_leak_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test case tests the packet leak issue when MQTT client received invalid packet. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_publish_non_zero_packet_id_test.c b/test/regression/mqtt_test/netx_mqtt_publish_non_zero_packet_id_test.c
index d6193788..21f0bd20 100644
--- a/test/regression/mqtt_test/netx_mqtt_publish_non_zero_packet_id_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_publish_non_zero_packet_id_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_publish_packet_chain_test.c b/test/regression/mqtt_test/netx_mqtt_publish_packet_chain_test.c
index 0b11c9f4..e3e65624 100644
--- a/test/regression/mqtt_test/netx_mqtt_publish_packet_chain_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_publish_packet_chain_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_publish_qos0_test.c b/test/regression/mqtt_test/netx_mqtt_publish_qos0_test.c
index b9065e2f..ee8ea30d 100644
--- a/test/regression/mqtt_test/netx_mqtt_publish_qos0_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_publish_qos0_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_publish_qos1_test.c b/test/regression/mqtt_test/netx_mqtt_publish_qos1_test.c
index 4d160c5e..8fef85d5 100644
--- a/test/regression/mqtt_test/netx_mqtt_publish_qos1_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_publish_qos1_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_publish_qos2_test.c b/test/regression/mqtt_test/netx_mqtt_publish_qos2_test.c
index 5211d539..5cfe1b03 100644
--- a/test/regression/mqtt_test/netx_mqtt_publish_qos2_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_publish_qos2_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_receive_qos0_test.c b/test/regression/mqtt_test/netx_mqtt_receive_qos0_test.c
index 8d042fec..9bcb0eea 100644
--- a/test/regression/mqtt_test/netx_mqtt_receive_qos0_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_receive_qos0_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_receive_qos1_test.c b/test/regression/mqtt_test/netx_mqtt_receive_qos1_test.c
index 97bb7d99..20654225 100644
--- a/test/regression/mqtt_test/netx_mqtt_receive_qos1_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_receive_qos1_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_receive_qos2_test.c b/test/regression/mqtt_test/netx_mqtt_receive_qos2_test.c
index 8293a5a5..64e3ea7a 100644
--- a/test/regression/mqtt_test/netx_mqtt_receive_qos2_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_receive_qos2_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_receive_span_test.c b/test/regression/mqtt_test/netx_mqtt_receive_span_test.c
index 6632ac75..b770ea80 100644
--- a/test/regression/mqtt_test/netx_mqtt_receive_span_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_receive_span_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT receive test. This test case validates MQTT message span multple packets. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_remaining_length_test.c b/test/regression/mqtt_test/netx_mqtt_remaining_length_test.c
index fa55a600..b466453e 100644
--- a/test/regression/mqtt_test/netx_mqtt_remaining_length_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_remaining_length_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "tx_api.h"
#include "nx_api.h"
#include "nxd_mqtt_client.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_subscribe_non_zero_packet_id_test.c b/test/regression/mqtt_test/netx_mqtt_subscribe_non_zero_packet_id_test.c
index d3c1d0dc..7882eb77 100644
--- a/test/regression/mqtt_test/netx_mqtt_subscribe_non_zero_packet_id_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_subscribe_non_zero_packet_id_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_subscribe_packet_chain_test.c b/test/regression/mqtt_test/netx_mqtt_subscribe_packet_chain_test.c
index 608e3976..3e277c48 100644
--- a/test/regression/mqtt_test/netx_mqtt_subscribe_packet_chain_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_subscribe_packet_chain_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_subscribe_test.c b/test/regression/mqtt_test/netx_mqtt_subscribe_test.c
index 3df64568..474394b2 100644
--- a/test/regression/mqtt_test/netx_mqtt_subscribe_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_subscribe_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_testcontrol.c b/test/regression/mqtt_test/netx_mqtt_testcontrol.c
index cac87a53..4df6c08c 100644
--- a/test/regression/mqtt_test/netx_mqtt_testcontrol.c
+++ b/test/regression/mqtt_test/netx_mqtt_testcontrol.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This is the test control routine the NetX TCP/IP stack. All tests are dispatched from this routine. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_transmit_queue_depth_test.c b/test/regression/mqtt_test/netx_mqtt_transmit_queue_depth_test.c
index 419dc0fc..9b3c28af 100644
--- a/test/regression/mqtt_test/netx_mqtt_transmit_queue_depth_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_transmit_queue_depth_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_unsubscribe_test.c b/test/regression/mqtt_test/netx_mqtt_unsubscribe_test.c
index 005193d8..ade61548 100644
--- a/test/regression/mqtt_test/netx_mqtt_unsubscribe_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_unsubscribe_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT connect test. This test case validates MQTT client connect without username/password. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_websocket_block_test.c b/test/regression/mqtt_test/netx_mqtt_websocket_block_test.c
index 70aa5ef7..b83051a7 100644
--- a/test/regression/mqtt_test/netx_mqtt_websocket_block_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_websocket_block_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT over websocket connect test. This test case validates MQTT client connect over websocket in blocking mode. */
#include "tx_api.h"
diff --git a/test/regression/mqtt_test/netx_mqtt_websocket_non_block_test.c b/test/regression/mqtt_test/netx_mqtt_websocket_non_block_test.c
index 351d1cf0..98db1ffa 100644
--- a/test/regression/mqtt_test/netx_mqtt_websocket_non_block_test.c
+++ b/test/regression/mqtt_test/netx_mqtt_websocket_non_block_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* MQTT over websocket connect test. This test case validates MQTT client connect over websocket in non-blocking mode. */
#include "tx_api.h"