From 25be1ac579fc7ea48d8a51521884482383931e40 Mon Sep 17 00:00:00 2001 From: Luca Burelli Date: Tue, 28 May 2024 11:58:31 +0200 Subject: [PATCH] license: add SPDX-License-Identifier to all files in test/ The files in the test/ folder had a copyright notice, but no license information. This commit adds the LGPL-2.1-or-later SPDX license identifier to all these files. --- test/CMakeLists.txt | 2 ++ test/include/MillisFake.h | 2 ++ test/include/PrintMock.h | 2 ++ test/include/PrintableMock.h | 2 ++ test/include/StreamMock.h | 2 ++ test/src/CanMsg/test_CanExtendedId.cpp | 2 ++ test/src/CanMsg/test_CanMsg.cpp | 2 ++ test/src/CanMsg/test_CanMsg_CopyCtor.cpp | 2 ++ test/src/CanMsg/test_CanStandardId.cpp | 2 ++ test/src/CanMsg/test_isExtendedId.cpp | 2 ++ test/src/CanMsg/test_isStandardId.cpp | 2 ++ test/src/CanMsg/test_operator_assignment.cpp | 2 ++ test/src/CanMsg/test_printTo.cpp | 2 ++ test/src/CanMsgRingbuffer/test_available.cpp | 2 ++ test/src/Common/test_makeWord.cpp | 2 ++ test/src/Common/test_map.cpp | 2 ++ test/src/Common/test_max.cpp | 2 ++ test/src/Common/test_min.cpp | 2 ++ test/src/IPAddress/test_IPAddress.cpp | 2 ++ test/src/IPAddress/test_IPAddress6.cpp | 2 ++ test/src/IPAddress/test_fromString.cpp | 2 ++ test/src/IPAddress/test_fromString6.cpp | 2 ++ test/src/IPAddress/test_operator_assignment.cpp | 2 ++ test/src/IPAddress/test_operator_comparison.cpp | 2 ++ test/src/IPAddress/test_operator_comparison6.cpp | 2 ++ test/src/IPAddress/test_operator_parentheses.cpp | 2 ++ test/src/IPAddress/test_operator_parentheses6.cpp | 2 ++ test/src/IPAddress/test_printTo.cpp | 2 ++ test/src/IPAddress/test_printTo6.cpp | 2 ++ test/src/IPAddress/test_toString.cpp | 2 ++ test/src/MillisFake.cpp | 2 ++ test/src/Print/test_availableForWrite.cpp | 2 ++ test/src/Print/test_clearWriteError.cpp | 2 ++ test/src/Print/test_getWriteError.cpp | 2 ++ test/src/Print/test_print.cpp | 2 ++ test/src/Print/test_println.cpp | 2 ++ test/src/PrintMock.cpp | 2 ++ test/src/Ringbuffer/test_available.cpp | 2 ++ test/src/Ringbuffer/test_availableForStore.cpp | 2 ++ test/src/Ringbuffer/test_clear.cpp | 2 ++ test/src/Ringbuffer/test_isFull.cpp | 2 ++ test/src/Ringbuffer/test_peek.cpp | 2 ++ test/src/Ringbuffer/test_read_char.cpp | 2 ++ test/src/Ringbuffer/test_store_char.cpp | 2 ++ test/src/Stream/test_find.cpp | 2 ++ test/src/Stream/test_findUntil.cpp | 2 ++ test/src/Stream/test_getTimeout.cpp | 2 ++ test/src/Stream/test_parseFloat.cpp | 2 ++ test/src/Stream/test_parseInt.cpp | 2 ++ test/src/Stream/test_readBytes.cpp | 2 ++ test/src/Stream/test_readBytesUntil.cpp | 2 ++ test/src/Stream/test_readString.cpp | 2 ++ test/src/Stream/test_readStringUntil.cpp | 2 ++ test/src/Stream/test_setTimeout.cpp | 2 ++ test/src/StreamMock.cpp | 2 ++ test/src/String/StringPrinter.h | 6 ++++++ test/src/String/test_String.cpp | 2 ++ test/src/String/test_characterAccessFunc.cpp | 2 ++ test/src/String/test_compareTo.cpp | 2 ++ test/src/String/test_comparisonFunc.cpp | 2 ++ test/src/String/test_concat.cpp | 2 ++ test/src/String/test_indexOf.cpp | 2 ++ test/src/String/test_isEmpty.cpp | 2 ++ test/src/String/test_lastIndexOf.cpp | 2 ++ test/src/String/test_length.cpp | 2 ++ test/src/String/test_move.cpp | 6 ++++++ test/src/String/test_operators.cpp | 2 ++ test/src/String/test_remove.cpp | 2 ++ test/src/String/test_replace.cpp | 2 ++ test/src/String/test_substring.cpp | 2 ++ test/src/String/test_toDouble.cpp | 2 ++ test/src/String/test_toFloat.cpp | 2 ++ test/src/String/test_toInt.cpp | 2 ++ test/src/String/test_toLowerCase.cpp | 2 ++ test/src/String/test_toUpperCase.cpp | 2 ++ test/src/String/test_trim.cpp | 2 ++ test/src/WCharacter/test_isAscii.cpp | 2 ++ test/src/WCharacter/test_isControl.cpp | 2 ++ test/src/WCharacter/test_isDigit.cpp | 2 ++ test/src/WCharacter/test_isHexadecimalDigit.cpp | 2 ++ test/src/WCharacter/test_isLowerCase.cpp | 2 ++ test/src/WCharacter/test_isPunct.cpp | 2 ++ test/src/WCharacter/test_isSpace.cpp | 2 ++ test/src/WCharacter/test_isUpperCase.cpp | 2 ++ test/src/WCharacter/test_isWhitespace.cpp | 2 ++ test/src/WCharacter/test_toAscii.cpp | 2 ++ test/src/dtostrf.cpp | 2 ++ test/src/itoa.cpp | 2 ++ test/src/main.cpp | 2 ++ 89 files changed, 186 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index f6bcc123..31b75483 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + ########################################################################## cmake_minimum_required(VERSION 2.8) diff --git a/test/include/MillisFake.h b/test/include/MillisFake.h index be078bd0..bdb3f14c 100644 --- a/test/include/MillisFake.h +++ b/test/include/MillisFake.h @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef MILLIS_FAKE_H_ diff --git a/test/include/PrintMock.h b/test/include/PrintMock.h index d41e78fa..9a103848 100644 --- a/test/include/PrintMock.h +++ b/test/include/PrintMock.h @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef PRINT_MOCK_H_ diff --git a/test/include/PrintableMock.h b/test/include/PrintableMock.h index 39121928..f55540d1 100644 --- a/test/include/PrintableMock.h +++ b/test/include/PrintableMock.h @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef PRINTABLE_MOCK_H_ diff --git a/test/include/StreamMock.h b/test/include/StreamMock.h index a7d9da1a..afa4b487 100644 --- a/test/include/StreamMock.h +++ b/test/include/StreamMock.h @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef STREAM_MOCK_H_ diff --git a/test/src/CanMsg/test_CanExtendedId.cpp b/test/src/CanMsg/test_CanExtendedId.cpp index a812f08b..0377a40a 100644 --- a/test/src/CanMsg/test_CanExtendedId.cpp +++ b/test/src/CanMsg/test_CanExtendedId.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/CanMsg/test_CanMsg.cpp b/test/src/CanMsg/test_CanMsg.cpp index 03704623..f132e84a 100644 --- a/test/src/CanMsg/test_CanMsg.cpp +++ b/test/src/CanMsg/test_CanMsg.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/CanMsg/test_CanMsg_CopyCtor.cpp b/test/src/CanMsg/test_CanMsg_CopyCtor.cpp index ccf62931..9c4ee4e1 100644 --- a/test/src/CanMsg/test_CanMsg_CopyCtor.cpp +++ b/test/src/CanMsg/test_CanMsg_CopyCtor.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/CanMsg/test_CanStandardId.cpp b/test/src/CanMsg/test_CanStandardId.cpp index 81d2301d..28fc3373 100644 --- a/test/src/CanMsg/test_CanStandardId.cpp +++ b/test/src/CanMsg/test_CanStandardId.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/CanMsg/test_isExtendedId.cpp b/test/src/CanMsg/test_isExtendedId.cpp index 242866e9..ff309d9c 100644 --- a/test/src/CanMsg/test_isExtendedId.cpp +++ b/test/src/CanMsg/test_isExtendedId.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/CanMsg/test_isStandardId.cpp b/test/src/CanMsg/test_isStandardId.cpp index a73bf7c1..36789d07 100644 --- a/test/src/CanMsg/test_isStandardId.cpp +++ b/test/src/CanMsg/test_isStandardId.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/CanMsg/test_operator_assignment.cpp b/test/src/CanMsg/test_operator_assignment.cpp index 0dd35543..a2f56457 100644 --- a/test/src/CanMsg/test_operator_assignment.cpp +++ b/test/src/CanMsg/test_operator_assignment.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/CanMsg/test_printTo.cpp b/test/src/CanMsg/test_printTo.cpp index bf532c81..53e9e059 100644 --- a/test/src/CanMsg/test_printTo.cpp +++ b/test/src/CanMsg/test_printTo.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/CanMsgRingbuffer/test_available.cpp b/test/src/CanMsgRingbuffer/test_available.cpp index 684eaeec..9a3b55cd 100644 --- a/test/src/CanMsgRingbuffer/test_available.cpp +++ b/test/src/CanMsgRingbuffer/test_available.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Common/test_makeWord.cpp b/test/src/Common/test_makeWord.cpp index dcb3ea33..55ca55ec 100644 --- a/test/src/Common/test_makeWord.cpp +++ b/test/src/Common/test_makeWord.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Common/test_map.cpp b/test/src/Common/test_map.cpp index 59441cac..c1ccde28 100644 --- a/test/src/Common/test_map.cpp +++ b/test/src/Common/test_map.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Common/test_max.cpp b/test/src/Common/test_max.cpp index ccb5e5e1..bff6830c 100644 --- a/test/src/Common/test_max.cpp +++ b/test/src/Common/test_max.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Common/test_min.cpp b/test/src/Common/test_min.cpp index 750f41ae..dcb24b81 100644 --- a/test/src/Common/test_min.cpp +++ b/test/src/Common/test_min.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/IPAddress/test_IPAddress.cpp b/test/src/IPAddress/test_IPAddress.cpp index 6b66e118..67aea868 100644 --- a/test/src/IPAddress/test_IPAddress.cpp +++ b/test/src/IPAddress/test_IPAddress.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/IPAddress/test_IPAddress6.cpp b/test/src/IPAddress/test_IPAddress6.cpp index 3a8a5315..c6351300 100644 --- a/test/src/IPAddress/test_IPAddress6.cpp +++ b/test/src/IPAddress/test_IPAddress6.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/IPAddress/test_fromString.cpp b/test/src/IPAddress/test_fromString.cpp index d058b529..be44c8c2 100644 --- a/test/src/IPAddress/test_fromString.cpp +++ b/test/src/IPAddress/test_fromString.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/IPAddress/test_fromString6.cpp b/test/src/IPAddress/test_fromString6.cpp index deb54458..61fa1402 100644 --- a/test/src/IPAddress/test_fromString6.cpp +++ b/test/src/IPAddress/test_fromString6.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/IPAddress/test_operator_assignment.cpp b/test/src/IPAddress/test_operator_assignment.cpp index fdf641d4..1d7431f6 100644 --- a/test/src/IPAddress/test_operator_assignment.cpp +++ b/test/src/IPAddress/test_operator_assignment.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/IPAddress/test_operator_comparison.cpp b/test/src/IPAddress/test_operator_comparison.cpp index 3978c8e2..c36a0112 100644 --- a/test/src/IPAddress/test_operator_comparison.cpp +++ b/test/src/IPAddress/test_operator_comparison.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/IPAddress/test_operator_comparison6.cpp b/test/src/IPAddress/test_operator_comparison6.cpp index da03a0b3..c584a232 100644 --- a/test/src/IPAddress/test_operator_comparison6.cpp +++ b/test/src/IPAddress/test_operator_comparison6.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/IPAddress/test_operator_parentheses.cpp b/test/src/IPAddress/test_operator_parentheses.cpp index c1c2e375..c58212f3 100644 --- a/test/src/IPAddress/test_operator_parentheses.cpp +++ b/test/src/IPAddress/test_operator_parentheses.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/IPAddress/test_operator_parentheses6.cpp b/test/src/IPAddress/test_operator_parentheses6.cpp index b4575f4e..375d1492 100644 --- a/test/src/IPAddress/test_operator_parentheses6.cpp +++ b/test/src/IPAddress/test_operator_parentheses6.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/IPAddress/test_printTo.cpp b/test/src/IPAddress/test_printTo.cpp index a0ed7c16..2a6d129a 100644 --- a/test/src/IPAddress/test_printTo.cpp +++ b/test/src/IPAddress/test_printTo.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/IPAddress/test_printTo6.cpp b/test/src/IPAddress/test_printTo6.cpp index 7d924b63..8bee2efe 100644 --- a/test/src/IPAddress/test_printTo6.cpp +++ b/test/src/IPAddress/test_printTo6.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/IPAddress/test_toString.cpp b/test/src/IPAddress/test_toString.cpp index f36ae549..f33f065e 100644 --- a/test/src/IPAddress/test_toString.cpp +++ b/test/src/IPAddress/test_toString.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/MillisFake.cpp b/test/src/MillisFake.cpp index b7ac98e2..293af87f 100644 --- a/test/src/MillisFake.cpp +++ b/test/src/MillisFake.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Print/test_availableForWrite.cpp b/test/src/Print/test_availableForWrite.cpp index c5dfbcda..dc989d2c 100644 --- a/test/src/Print/test_availableForWrite.cpp +++ b/test/src/Print/test_availableForWrite.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Print/test_clearWriteError.cpp b/test/src/Print/test_clearWriteError.cpp index 720a1210..7fdf992e 100644 --- a/test/src/Print/test_clearWriteError.cpp +++ b/test/src/Print/test_clearWriteError.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Print/test_getWriteError.cpp b/test/src/Print/test_getWriteError.cpp index 3b616411..7d567042 100644 --- a/test/src/Print/test_getWriteError.cpp +++ b/test/src/Print/test_getWriteError.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Print/test_print.cpp b/test/src/Print/test_print.cpp index 2598b7f7..2cf4e911 100644 --- a/test/src/Print/test_print.cpp +++ b/test/src/Print/test_print.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Print/test_println.cpp b/test/src/Print/test_println.cpp index 2d2d7306..d6c03753 100644 --- a/test/src/Print/test_println.cpp +++ b/test/src/Print/test_println.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/PrintMock.cpp b/test/src/PrintMock.cpp index a64031e1..ffa7c58f 100644 --- a/test/src/PrintMock.cpp +++ b/test/src/PrintMock.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Ringbuffer/test_available.cpp b/test/src/Ringbuffer/test_available.cpp index 75b86a7f..59787360 100644 --- a/test/src/Ringbuffer/test_available.cpp +++ b/test/src/Ringbuffer/test_available.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Ringbuffer/test_availableForStore.cpp b/test/src/Ringbuffer/test_availableForStore.cpp index 5b8415f6..31127621 100644 --- a/test/src/Ringbuffer/test_availableForStore.cpp +++ b/test/src/Ringbuffer/test_availableForStore.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Ringbuffer/test_clear.cpp b/test/src/Ringbuffer/test_clear.cpp index 93da03a2..2e9d8dd7 100644 --- a/test/src/Ringbuffer/test_clear.cpp +++ b/test/src/Ringbuffer/test_clear.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Ringbuffer/test_isFull.cpp b/test/src/Ringbuffer/test_isFull.cpp index c575981e..a5c52129 100644 --- a/test/src/Ringbuffer/test_isFull.cpp +++ b/test/src/Ringbuffer/test_isFull.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Ringbuffer/test_peek.cpp b/test/src/Ringbuffer/test_peek.cpp index 9efe28ea..7664f735 100644 --- a/test/src/Ringbuffer/test_peek.cpp +++ b/test/src/Ringbuffer/test_peek.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Ringbuffer/test_read_char.cpp b/test/src/Ringbuffer/test_read_char.cpp index babc27df..e873d076 100644 --- a/test/src/Ringbuffer/test_read_char.cpp +++ b/test/src/Ringbuffer/test_read_char.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Ringbuffer/test_store_char.cpp b/test/src/Ringbuffer/test_store_char.cpp index 0becdc0f..82e1d7b1 100644 --- a/test/src/Ringbuffer/test_store_char.cpp +++ b/test/src/Ringbuffer/test_store_char.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Stream/test_find.cpp b/test/src/Stream/test_find.cpp index c715d522..2dbbc34c 100644 --- a/test/src/Stream/test_find.cpp +++ b/test/src/Stream/test_find.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Stream/test_findUntil.cpp b/test/src/Stream/test_findUntil.cpp index 2455ed82..72ca26a0 100644 --- a/test/src/Stream/test_findUntil.cpp +++ b/test/src/Stream/test_findUntil.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Stream/test_getTimeout.cpp b/test/src/Stream/test_getTimeout.cpp index c4db2541..a7230635 100644 --- a/test/src/Stream/test_getTimeout.cpp +++ b/test/src/Stream/test_getTimeout.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Stream/test_parseFloat.cpp b/test/src/Stream/test_parseFloat.cpp index a9fba616..aa78c978 100644 --- a/test/src/Stream/test_parseFloat.cpp +++ b/test/src/Stream/test_parseFloat.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Stream/test_parseInt.cpp b/test/src/Stream/test_parseInt.cpp index c79ed447..8d79a2af 100644 --- a/test/src/Stream/test_parseInt.cpp +++ b/test/src/Stream/test_parseInt.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Stream/test_readBytes.cpp b/test/src/Stream/test_readBytes.cpp index 65466cc8..4b636ccc 100644 --- a/test/src/Stream/test_readBytes.cpp +++ b/test/src/Stream/test_readBytes.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Stream/test_readBytesUntil.cpp b/test/src/Stream/test_readBytesUntil.cpp index f8c6620e..2efc39c8 100644 --- a/test/src/Stream/test_readBytesUntil.cpp +++ b/test/src/Stream/test_readBytesUntil.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Stream/test_readString.cpp b/test/src/Stream/test_readString.cpp index f58cb412..9004aee2 100644 --- a/test/src/Stream/test_readString.cpp +++ b/test/src/Stream/test_readString.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Stream/test_readStringUntil.cpp b/test/src/Stream/test_readStringUntil.cpp index d8ab3473..a27b48cf 100644 --- a/test/src/Stream/test_readStringUntil.cpp +++ b/test/src/Stream/test_readStringUntil.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/Stream/test_setTimeout.cpp b/test/src/Stream/test_setTimeout.cpp index 500f49f0..d068f22b 100644 --- a/test/src/Stream/test_setTimeout.cpp +++ b/test/src/Stream/test_setTimeout.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/StreamMock.cpp b/test/src/StreamMock.cpp index 8ee18302..c1768859 100644 --- a/test/src/StreamMock.cpp +++ b/test/src/StreamMock.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/StringPrinter.h b/test/src/String/StringPrinter.h index 1ddee147..88c480bf 100644 --- a/test/src/String/StringPrinter.h +++ b/test/src/String/StringPrinter.h @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + #pragma once #include diff --git a/test/src/String/test_String.cpp b/test/src/String/test_String.cpp index 6d1b8152..a773bb0e 100644 --- a/test/src/String/test_String.cpp +++ b/test/src/String/test_String.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_characterAccessFunc.cpp b/test/src/String/test_characterAccessFunc.cpp index 49d257af..e05b7487 100644 --- a/test/src/String/test_characterAccessFunc.cpp +++ b/test/src/String/test_characterAccessFunc.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_compareTo.cpp b/test/src/String/test_compareTo.cpp index 74a3da7b..afa7c9e6 100644 --- a/test/src/String/test_compareTo.cpp +++ b/test/src/String/test_compareTo.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_comparisonFunc.cpp b/test/src/String/test_comparisonFunc.cpp index 3b49bacc..09def716 100644 --- a/test/src/String/test_comparisonFunc.cpp +++ b/test/src/String/test_comparisonFunc.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_concat.cpp b/test/src/String/test_concat.cpp index ef6c6fa1..e3776955 100644 --- a/test/src/String/test_concat.cpp +++ b/test/src/String/test_concat.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_indexOf.cpp b/test/src/String/test_indexOf.cpp index 9f32a07e..e3cd6461 100644 --- a/test/src/String/test_indexOf.cpp +++ b/test/src/String/test_indexOf.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_isEmpty.cpp b/test/src/String/test_isEmpty.cpp index 9f70f26d..cc8bbdd3 100644 --- a/test/src/String/test_isEmpty.cpp +++ b/test/src/String/test_isEmpty.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2023 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_lastIndexOf.cpp b/test/src/String/test_lastIndexOf.cpp index 7f776fa6..aff48cf9 100644 --- a/test/src/String/test_lastIndexOf.cpp +++ b/test/src/String/test_lastIndexOf.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_length.cpp b/test/src/String/test_length.cpp index fae358fa..02d67843 100644 --- a/test/src/String/test_length.cpp +++ b/test/src/String/test_length.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_move.cpp b/test/src/String/test_move.cpp index a2529b50..ba2a0aba 100644 --- a/test/src/String/test_move.cpp +++ b/test/src/String/test_move.cpp @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + #include #include diff --git a/test/src/String/test_operators.cpp b/test/src/String/test_operators.cpp index 5a3b677c..26da455a 100644 --- a/test/src/String/test_operators.cpp +++ b/test/src/String/test_operators.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_remove.cpp b/test/src/String/test_remove.cpp index 17b8dabb..9209a055 100644 --- a/test/src/String/test_remove.cpp +++ b/test/src/String/test_remove.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_replace.cpp b/test/src/String/test_replace.cpp index cfcaead0..04fa45ca 100644 --- a/test/src/String/test_replace.cpp +++ b/test/src/String/test_replace.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_substring.cpp b/test/src/String/test_substring.cpp index bb05d439..db9828fb 100644 --- a/test/src/String/test_substring.cpp +++ b/test/src/String/test_substring.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_toDouble.cpp b/test/src/String/test_toDouble.cpp index af6960e9..4a7e5cf7 100644 --- a/test/src/String/test_toDouble.cpp +++ b/test/src/String/test_toDouble.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_toFloat.cpp b/test/src/String/test_toFloat.cpp index 75cf94b2..2cc637a1 100644 --- a/test/src/String/test_toFloat.cpp +++ b/test/src/String/test_toFloat.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_toInt.cpp b/test/src/String/test_toInt.cpp index 060fdd27..705f30b1 100644 --- a/test/src/String/test_toInt.cpp +++ b/test/src/String/test_toInt.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_toLowerCase.cpp b/test/src/String/test_toLowerCase.cpp index 9f6f7c9d..f7101182 100644 --- a/test/src/String/test_toLowerCase.cpp +++ b/test/src/String/test_toLowerCase.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_toUpperCase.cpp b/test/src/String/test_toUpperCase.cpp index 1bcf93fb..eb80c64c 100644 --- a/test/src/String/test_toUpperCase.cpp +++ b/test/src/String/test_toUpperCase.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/String/test_trim.cpp b/test/src/String/test_trim.cpp index c5168ecd..6fab9d06 100644 --- a/test/src/String/test_trim.cpp +++ b/test/src/String/test_trim.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/WCharacter/test_isAscii.cpp b/test/src/WCharacter/test_isAscii.cpp index c6792719..37cb24ea 100644 --- a/test/src/WCharacter/test_isAscii.cpp +++ b/test/src/WCharacter/test_isAscii.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/WCharacter/test_isControl.cpp b/test/src/WCharacter/test_isControl.cpp index adb41ccf..5f4763b8 100644 --- a/test/src/WCharacter/test_isControl.cpp +++ b/test/src/WCharacter/test_isControl.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/WCharacter/test_isDigit.cpp b/test/src/WCharacter/test_isDigit.cpp index 146a863b..e5cdbd40 100644 --- a/test/src/WCharacter/test_isDigit.cpp +++ b/test/src/WCharacter/test_isDigit.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/WCharacter/test_isHexadecimalDigit.cpp b/test/src/WCharacter/test_isHexadecimalDigit.cpp index 486a3e44..f714b9d9 100644 --- a/test/src/WCharacter/test_isHexadecimalDigit.cpp +++ b/test/src/WCharacter/test_isHexadecimalDigit.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/WCharacter/test_isLowerCase.cpp b/test/src/WCharacter/test_isLowerCase.cpp index 9b05b458..6efd0210 100644 --- a/test/src/WCharacter/test_isLowerCase.cpp +++ b/test/src/WCharacter/test_isLowerCase.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/WCharacter/test_isPunct.cpp b/test/src/WCharacter/test_isPunct.cpp index 7e6b49dc..40a9b59f 100644 --- a/test/src/WCharacter/test_isPunct.cpp +++ b/test/src/WCharacter/test_isPunct.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/WCharacter/test_isSpace.cpp b/test/src/WCharacter/test_isSpace.cpp index 29ed8107..d041c3a2 100644 --- a/test/src/WCharacter/test_isSpace.cpp +++ b/test/src/WCharacter/test_isSpace.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/WCharacter/test_isUpperCase.cpp b/test/src/WCharacter/test_isUpperCase.cpp index 598bb55b..f7be0ad8 100644 --- a/test/src/WCharacter/test_isUpperCase.cpp +++ b/test/src/WCharacter/test_isUpperCase.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/WCharacter/test_isWhitespace.cpp b/test/src/WCharacter/test_isWhitespace.cpp index 483c6477..c6ba850e 100644 --- a/test/src/WCharacter/test_isWhitespace.cpp +++ b/test/src/WCharacter/test_isWhitespace.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/WCharacter/test_toAscii.cpp b/test/src/WCharacter/test_toAscii.cpp index 96a2cfb9..8abb32d6 100644 --- a/test/src/WCharacter/test_toAscii.cpp +++ b/test/src/WCharacter/test_toAscii.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/dtostrf.cpp b/test/src/dtostrf.cpp index 0700debb..02ea2fe7 100644 --- a/test/src/dtostrf.cpp +++ b/test/src/dtostrf.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/itoa.cpp b/test/src/itoa.cpp index 292d0ef0..4070ca62 100644 --- a/test/src/itoa.cpp +++ b/test/src/itoa.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /************************************************************************************** diff --git a/test/src/main.cpp b/test/src/main.cpp index 84b7d4ed..5d425d0f 100644 --- a/test/src/main.cpp +++ b/test/src/main.cpp @@ -1,5 +1,7 @@ /* * Copyright (c) 2020 Arduino. All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ /**************************************************************************************