Fixed test code headers to be consistent and accurate having been derived from original C files. (#1087)

This commit is contained in:
Steve Karg
2025-09-04 11:44:24 -05:00
committed by GitHub
parent a70a02a6f9
commit 8a9c808b76
140 changed files with 542 additions and 673 deletions
+4 -8
View File
@@ -1,13 +1,9 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
* @brief test BACnet Abort message encode/decode APIs
* @date 2007
* @author Steve Karg <skarg@users.sourceforge.net>
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/abort.h>
+4 -8
View File
@@ -1,13 +1,9 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
* @brief test BACnet AtomicReadFile service encode/decode APIs
* @date 2007
* @author Steve Karg <skarg@users.sourceforge.net>
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/arf.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief BACnet AtomicWriteFile service structures, codecs, and handlers.
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2007
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/awf.h>
+1 -2
View File
@@ -3,8 +3,7 @@
* @brief Unit test for BACNET_ADDRESS copy, init, compare
* @author Steve Karg <skarg@users.sourceforge.net>
* @date January 2023
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/bacaddr.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief BACnet Application encoding and decoding API testing
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2007
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <stdint.h>
#include <string.h>
#include <zephyr/ztest.h>
+6 -8
View File
@@ -1,11 +1,9 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
/**
* @file
* @brief BACnet primitive value encoding and decoding API testing
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2007
* @copyright SPDX-License-Identifier: MIT
*/
#include <math.h>
#include <ctype.h> /* For isprint */
+1 -2
View File
@@ -3,8 +3,7 @@
* @brief Unit test for BACnetDestination encode and decode
* @author Steve Karg <skarg@users.sourceforge.net>
* @date December 2022
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <stddef.h>
#include <stdbool.h>
+1 -1
View File
@@ -7,7 +7,7 @@
* @date November 2023
* @section LICENSE
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief BACnet Error message encoding and decoding API testing
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2007
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/bacdef.h>
#include <bacnet/bacerror.h>
+5 -8
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
*/
/* @file
/**
* @file
* @brief test BACnet integer encode/decode APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2007
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/bacint.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnetPropertyStates encode/decode APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2008
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/bacpropstates.h>
+1 -1
View File
@@ -6,7 +6,7 @@
*
* @section LICENSE
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdio.h>
#include <stdint.h>
+5 -7
View File
@@ -1,11 +1,9 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
*/
/* @file
/**
* @file
* @brief test BACnet real value encode/decode APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2004
* @copyright SPDX-License-Identifier: MIT
*/
#include <math.h>
#include <zephyr/ztest.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet CharacterString, BitString, and OctetString APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2004
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/bacstr.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @date April 2020
* @brief Test file for a basic BBMD for BVLC IPv6 handler
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdio.h> /* for standard i/o, like printing */
#include <stdint.h> /* for standard integer types uint8_t etc. */
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet address cache APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2004
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/bacaddr.h>
#include <bacnet/basic/binding/address.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet Accumulator object APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2017
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/acc.h>
#include <bacnet/bactext.h>
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet Access Credential object APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2015
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/access_credential.h>
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
*/
/* @file
/**
* @file
* @brief test BACnet access_door object APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2015
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/access_door.h>
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet Access Point object APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2015
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/bacdcode.h>
#include <bacnet/basic/object/access_point.h>
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet Access Rights object APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2015
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/access_rights.h>
#include <property_test.h>
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet Access User object APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2015
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/access_user.h>
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet Access Zone object APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2015
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/access_zone.h>
+1 -1
View File
@@ -5,7 +5,7 @@
* @date April 2024
* @section LICENSE
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/ai.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date December 2022
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdbool.h>
#include <stdint.h>
+1 -1
View File
@@ -5,7 +5,7 @@
* @date April 2024
* @section LICENSE
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/ao.h>
+7 -9
View File
@@ -1,13 +1,11 @@
/*
* Copyright (c) 2023 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet AuditLog object APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @author Mikhail Antropov <michail.antropov@dsr-corporation.com>
* @date 2023
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet auditlog APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/auditlog.h>
#include <bacnet/bactext.h>
+1 -1
View File
@@ -5,7 +5,7 @@
* @date April 2024
* @section LICENSE
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/av.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date December 2022
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdbool.h>
#include <stdint.h>
+1 -1
View File
@@ -7,7 +7,7 @@
*
* Copyright (C) 2022 Steve Karg <skarg@users.sourceforge.net>
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/bacfile.h>
+1 -1
View File
@@ -5,7 +5,7 @@
* @date April 2024
* @section LICENSE
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/bactext.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date December 2022
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdbool.h>
#include <stdint.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date September 2023
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/bactext.h>
+1 -1
View File
@@ -5,7 +5,7 @@
* @date April 2024
* @section LICENSE
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/bo.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet Binary Value object APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2007
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/bactext.h>
#include <bacnet/basic/object/bv.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date December 2022
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdbool.h>
#include <stdint.h>
+1 -1
View File
@@ -5,7 +5,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date June 2023
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/calendar.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date December 2022
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdbool.h>
#include <stdint.h>
+1 -1
View File
@@ -5,7 +5,7 @@
* @date July 2023
* @section LICENSE
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/channel.h>
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date June 2022
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/bactext.h>
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date June 2022
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/bactext.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date July 2023
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/command.h>
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date February 2024
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/credential_data_input.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date July 2023
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet Device object APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2004
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/device.h>
#include <bacnet/bactext.h>
+1 -1
View File
@@ -2,7 +2,7 @@
*
* Copyright (C) 2006 Steve Karg <skarg@users.sourceforge.net>
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*
*********************************************************************/
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date July 2023
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
+5 -8
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
*/
/* @file
/**
* @file
* @brief test BACnet load control object
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2007
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/bacdcode.h>
#include <bacnet/bacstr.h>
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet Life Safety Point object APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2005
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/bactext.h>
#include <bacnet/basic/object/lsp.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet Life Safety Zone object APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2024
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/bactext.h>
#include <bacnet/basic/object/lsz.h>
+1 -1
View File
@@ -5,7 +5,7 @@
* @date April 2024
* @section LICENSE
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/ms-input.h>
+1 -1
View File
@@ -5,7 +5,7 @@
* @date April 2024
* @section LICENSE
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/mso.h>
+1 -1
View File
@@ -5,7 +5,7 @@
* @date April 2024
* @section LICENSE
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/msv.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date December 2022
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/bactext.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date December 2022
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdbool.h>
#include <stdint.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date February 2024
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/readrange.h>
+1 -1
View File
@@ -6,7 +6,7 @@
*
* @section LICENSE
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <stddef.h>
#include <stdlib.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet objects container APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2012
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/sys/keylist.h>
#include <bacnet/basic/object/objects.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date July 2023
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/osv.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date July 2023
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
+1 -1
View File
@@ -5,7 +5,7 @@
* @date March 2025
* @section LICENSE
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/program.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date July 2023
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date May 2024
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/structured_view.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg
* @date January 2023
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/service/h_apdu.h>
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date December 2022
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdbool.h>
#include <stdint.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Mikhail Antropov
* @date July 2022
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/bactext.h>
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date February 2024
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/bactext.h>
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date February 2024
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#ifndef _BACNET_PROPERTY_TEST_H_
#define _BACNET_PROPERTY_TEST_H_
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg
* @date January 2023
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/tsm/tsm.h>
@@ -5,7 +5,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date June 2023
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/object/time_value.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date July 2023
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet FIFO container APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2004
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <limits.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/sys/fifo.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test POSIX filename API
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2007
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/sys/filename.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test Key List container API
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2003
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/sys/keylist.h>
@@ -6,7 +6,7 @@
* @section LICENSE
* Copyright (c) 2022 Steve Karg <skarg@users.sourceforge.net>
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdint.h>
#include <stdbool.h>
+1 -1
View File
@@ -6,7 +6,7 @@
* @section LICENSE
* Copyright (c) 2010 Steve Karg <skarg@users.sourceforge.net>
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/sys/linear.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test Ring Buffer container API
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2004
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <limits.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/sys/ringbuf.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test Static Buffer container API
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2005
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/basic/sys/sbuf.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet Change-Of-Value service encoding and decoding API
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2012
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
// #include <bacnet/bacapp.h>
#include <bacnet/cov.h>
+1 -1
View File
@@ -5,7 +5,7 @@
* @date August 2023
* @section LICENSE
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/bacdest.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2023-June
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <bacnet/datalink/automac.h>
+9 -8
View File
@@ -1,13 +1,14 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
*/
/* @file
/**
* @file
* @brief test of bsc-socket interface
* @author Steve Karg <skarg@users.sourceforge.net>
* @author Kirill Neznamov <kirill.neznamov@dsr-corporation.com>
* @author Mikhail Antropov <michail.antropov@dsr-corporation.com>
* @author Ondřej Hruška <ondra@ondrovo.com>
* @author Patrick Grimm <patrick@lunatiki.de>
* @date 2020
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+10 -9
View File
@@ -1,13 +1,14 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test of BACnet/SC Node interface
* @author Steve Karg <skarg@users.sourceforge.net>
* @author Kirill Neznamov <kirill.neznamov@dsr-corporation.com>
* @author Mikhail Antropov <michail.antropov@dsr-corporation.com>
* @author Ondřej Hruška <ondra@ondrovo.com>
* @author Patrick Grimm <patrick@lunatiki.de>
* @date 2020
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test of bsc-socket interface
*/
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+10 -9
View File
@@ -1,13 +1,14 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test of BACnet/SC Socket interface
* @author Steve Karg <skarg@users.sourceforge.net>
* @author Kirill Neznamov <kirill.neznamov@dsr-corporation.com>
* @author Mikhail Antropov <michail.antropov@dsr-corporation.com>
* @author Ondřej Hruška <ondra@ondrovo.com>
* @author Patrick Grimm <patrick@lunatiki.de>
* @date 2020
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test of bsc-socket interface
*/
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+7 -10
View File
@@ -1,14 +1,11 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet BVLC datalink encoding and decoding API
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2004
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <stdlib.h> /* For calloc() */
#include <stdlib.h>
#include <zephyr/ztest.h>
#include <bacnet/bactext.h>
#include <bacnet/datalink/bvlc.h>
+5 -8
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
*/
/* @file
/**
* @file
* @brief test BACnet COBS encode/decode APIs
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2014
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <stdlib.h>
#include <bacnet/datalink/cobs.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet CRC8, CRC16, and CRC32K datalink encoding and decoding API
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2004
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/datalink/crc.h>
#include <bacnet/basic/sys/bytes.h>
+10 -9
View File
@@ -1,13 +1,14 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test of BACnet/SC Hub Connector
* @author Steve Karg <skarg@users.sourceforge.net>
* @author Kirill Neznamov <kirill.neznamov@dsr-corporation.com>
* @author Mikhail Antropov <michail.antropov@dsr-corporation.com>
* @author Ondřej Hruška <ondra@ondrovo.com>
* @author Patrick Grimm <patrick@lunatiki.de>
* @date 2020
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test of bsc-socket interface
*/
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+7 -5
View File
@@ -1,9 +1,11 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief Mock for the ARCNET datalink
* @author Steve Karg <skarg@users.sourceforge.net>
* @author Greg Shue <greg.shue@outlook.com>
* @date 2020
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <stdint.h>
#include "bacnet/datalink/arcnet.h"
+7 -5
View File
@@ -1,9 +1,11 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief Mock for the BACnet/IP datalink
* @author Steve Karg <skarg@users.sourceforge.net>
* @author Greg Shue <greg.shue@outlook.com>
* @date 2020
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <stdint.h> /* for standard integer types uint8_t etc. */
#include <stdbool.h> /* for the standard bool type. */
+7 -5
View File
@@ -1,9 +1,11 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief Mock for the BACnet/IPv6 datalink
* @author Steve Karg <skarg@users.sourceforge.net>
* @author Greg Shue <greg.shue@outlook.com>
* @date 2020
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <stdio.h>
#include <stdlib.h>
+7 -5
View File
@@ -1,9 +1,11 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief Mock for the BACnet/SC datalink
* @author Steve Karg <skarg@users.sourceforge.net>
* @author Greg Shue <greg.shue@outlook.com>
* @date 2020
* @copyright SPDX-License-Identifier: MIT
*/
#include <ztest.h>
#include <stdint.h> /* for standard integer types uint8_t etc. */
#include <stdbool.h> /* for the standard bool type. */
+7 -5
View File
@@ -1,9 +1,11 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief Mock for the BACnet MS/TP datalink
* @author Steve Karg <skarg@users.sourceforge.net>
* @author Greg Shue <greg.shue@outlook.com>
* @date 2020
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <stdio.h>
#include <stdlib.h>
@@ -1,9 +1,11 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief Mock for the BACnet Ethernet datalink
* @author Steve Karg <skarg@users.sourceforge.net>
* @author Greg Shue <greg.shue@outlook.com>
* @date 2020
* @copyright SPDX-License-Identifier: MIT
*/
#include <zephyr/ztest.h>
#include <stdio.h>
#include <stdlib.h>
+7 -9
View File
@@ -1,13 +1,11 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief Mock for all the BACnet datalinks
* @author Steve Karg <skarg@users.sourceforge.net>
* @author Greg Shue <greg.shue@outlook.com>
* @date 2020
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet datalink return codes
*/
#include <stdlib.h> /* For calloc() */
#include <zephyr/ztest.h>
#include <bacnet/datalink/datalink.h>
+1 -1
View File
@@ -3,7 +3,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @brief test BACnet MSTP datalink state machines
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <assert.h>
#include <stdlib.h>
+9 -8
View File
@@ -1,13 +1,14 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
*/
/* @file
/**
* @file
* @brief test server/client websocket interface
* @author Steve Karg <skarg@users.sourceforge.net>
* @author Kirill Neznamov <kirill.neznamov@dsr-corporation.com>
* @author Mikhail Antropov <michail.antropov@dsr-corporation.com>
* @author Ondřej Hruška <ondra@ondrovo.com>
* @author Patrick Grimm <patrick@lunatiki.de>
* @date 2020
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+6 -10
View File
@@ -1,14 +1,10 @@
/**************************************************************************
*
* Copyright (C) 2004 Steve Karg <skarg@users.sourceforge.net>
*
* SPDX-License-Identifier: GPL-2.0-or-later WITH GCC-exception-2.0
*
*********************************************************************/
/* @file
* @brief test BACnet integer encode/decode APIs
/**
* @file
* @brief test BACnetDate and BACnetTime encoding and decoding API
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2004
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
+6 -9
View File
@@ -1,13 +1,10 @@
/*
* Copyright (c) 2020 Legrand North America, LLC.
*
* SPDX-License-Identifier: MIT
/**
* @file
* @brief test BACnet DeviceCommunicationControl encoding and decoding API
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2004
* @copyright SPDX-License-Identifier: MIT
*/
/* @file
* @brief test BACnet integer encode/decode APIs
*/
#include <zephyr/ztest.h>
#include <bacnet/dcc.h>

Some files were not shown because too many files have changed in this diff Show More