Fixed test code headers to be consistent and accurate having been derived from original C files. (#1087)
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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. */
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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. */
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user