From 773904000d906b5f81a9958bc3b33548e51abc0a Mon Sep 17 00:00:00 2001 From: Jarno Lamsa Date: Wed, 15 Aug 2018 15:44:03 +0300 Subject: [PATCH] Update copyright texts --- .../testcases/netsocket/SOCKET_BIND_PORT.py | 17 ++++++++++++++--- .../testcases/netsocket/TCPSERVER_ACCEPT.py | 17 ++++++++++++++--- .../netsocket/TCPSOCKET_ECHOTEST_BURST_SHORT.py | 17 ++++++++++++++--- .../testcases/netsocket/generate_test_data.py | 17 ++++++++++++++--- TEST_APPS/testcases/netsocket/interface.py | 17 ++++++++++++++--- 5 files changed, 70 insertions(+), 15 deletions(-) diff --git a/TEST_APPS/testcases/netsocket/SOCKET_BIND_PORT.py b/TEST_APPS/testcases/netsocket/SOCKET_BIND_PORT.py index 5149286205..4c601e770d 100644 --- a/TEST_APPS/testcases/netsocket/SOCKET_BIND_PORT.py +++ b/TEST_APPS/testcases/netsocket/SOCKET_BIND_PORT.py @@ -1,6 +1,17 @@ -# -# Copyright (c) 2017-2018, Arm Limited and affiliates. -# +""" +Copyright 2018 ARM Limited +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +""" from icetea_lib.bench import Bench from icetea_lib.tools import test_case diff --git a/TEST_APPS/testcases/netsocket/TCPSERVER_ACCEPT.py b/TEST_APPS/testcases/netsocket/TCPSERVER_ACCEPT.py index 414823a6e8..ac46657b8d 100644 --- a/TEST_APPS/testcases/netsocket/TCPSERVER_ACCEPT.py +++ b/TEST_APPS/testcases/netsocket/TCPSERVER_ACCEPT.py @@ -1,6 +1,17 @@ -# -# Copyright (c) 2017-2018, Arm Limited and affiliates. -# +""" +Copyright 2018 ARM Limited +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +""" from icetea_lib.bench import Bench from interface import interfaceUp, interfaceDown import threading diff --git a/TEST_APPS/testcases/netsocket/TCPSOCKET_ECHOTEST_BURST_SHORT.py b/TEST_APPS/testcases/netsocket/TCPSOCKET_ECHOTEST_BURST_SHORT.py index c705e69ea6..f2af345311 100644 --- a/TEST_APPS/testcases/netsocket/TCPSOCKET_ECHOTEST_BURST_SHORT.py +++ b/TEST_APPS/testcases/netsocket/TCPSOCKET_ECHOTEST_BURST_SHORT.py @@ -1,6 +1,17 @@ -# -# Copyright (c) 2018, Arm Limited and affiliates. -# +""" +Copyright 2018 ARM Limited +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +""" from icetea_lib.bench import Bench, TestStepFail import random import string diff --git a/TEST_APPS/testcases/netsocket/generate_test_data.py b/TEST_APPS/testcases/netsocket/generate_test_data.py index 3720bd8175..283f7325bf 100644 --- a/TEST_APPS/testcases/netsocket/generate_test_data.py +++ b/TEST_APPS/testcases/netsocket/generate_test_data.py @@ -1,6 +1,17 @@ -# -# Copyright (c) 2017, Arm Limited and affiliates. -# +""" +Copyright 2018 ARM Limited +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +""" import random, string ''' diff --git a/TEST_APPS/testcases/netsocket/interface.py b/TEST_APPS/testcases/netsocket/interface.py index 492794ea2b..80a3b3cd28 100644 --- a/TEST_APPS/testcases/netsocket/interface.py +++ b/TEST_APPS/testcases/netsocket/interface.py @@ -1,6 +1,17 @@ -# -# Copyright (c) 2016-2018, Arm Limited and affiliates. -# +""" +Copyright 2018 ARM Limited +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +""" from icetea_lib.TestStepError import TestStepFail ''' This interface script is intended to be a common library to be used in testcase scripts by testers.