Skip to content

Commit 25be1ac

Browse files
committed
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.
1 parent eeb0ce3 commit 25be1ac

File tree

89 files changed

+186
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+186
-0
lines changed

test/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
13
##########################################################################
24

35
cmake_minimum_required(VERSION 2.8)

test/include/MillisFake.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
#ifndef MILLIS_FAKE_H_

test/include/PrintMock.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
#ifndef PRINT_MOCK_H_

test/include/PrintableMock.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
#ifndef PRINTABLE_MOCK_H_

test/include/StreamMock.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
#ifndef STREAM_MOCK_H_

test/src/CanMsg/test_CanExtendedId.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/CanMsg/test_CanMsg.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/CanMsg/test_CanMsg_CopyCtor.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/CanMsg/test_CanStandardId.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/CanMsg/test_isExtendedId.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/CanMsg/test_isStandardId.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/CanMsg/test_operator_assignment.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/CanMsg/test_printTo.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/CanMsgRingbuffer/test_available.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Common/test_makeWord.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Common/test_map.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Common/test_max.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Common/test_min.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/IPAddress/test_IPAddress.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/IPAddress/test_IPAddress6.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/IPAddress/test_fromString.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/IPAddress/test_fromString6.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/IPAddress/test_operator_assignment.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/IPAddress/test_operator_comparison.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/IPAddress/test_operator_comparison6.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/IPAddress/test_operator_parentheses.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/IPAddress/test_operator_parentheses6.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/IPAddress/test_printTo.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/IPAddress/test_printTo6.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/IPAddress/test_toString.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/MillisFake.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Print/test_availableForWrite.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Print/test_clearWriteError.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Print/test_getWriteError.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Print/test_print.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Print/test_println.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/PrintMock.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Ringbuffer/test_available.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Ringbuffer/test_availableForStore.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Ringbuffer/test_clear.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Ringbuffer/test_isFull.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Ringbuffer/test_peek.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Ringbuffer/test_read_char.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Ringbuffer/test_store_char.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Stream/test_find.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Stream/test_findUntil.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Stream/test_getTimeout.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Stream/test_parseFloat.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Stream/test_parseInt.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

test/src/Stream/test_readBytes.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
/**************************************************************************************

0 commit comments

Comments
 (0)