Skip to content

Commit d057f2b

Browse files
committed
Include license notice
1 parent c6e3318 commit d057f2b

File tree

4 files changed

+58
-2
lines changed

4 files changed

+58
-2
lines changed

test/CMakeLists.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,21 @@
1+
#[[
2+
Copyright (c) 2014-2024 Key4hep-Project.
3+
4+
This file is part of Key4hep.
5+
See https://key4hep.github.io/key4hep-doc/ for further info.
6+
7+
Licensed under the Apache License, Version 2.0 (the "License");
8+
you may not use this file except in compliance with the License.
9+
You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
18+
]]
19+
120
add_subdirectory(k4FWCoreTest)
221
add_subdirectory(unittests)

test/k4FWCoreTest/options/invalidOutputCommandsNoCrash.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1717
# See the License for the specific language governing permissions and
1818
# limitations under the License.
19+
#
1920

2021
from Gaudi.Configuration import INFO
2122
from k4FWCore import ApplicationMgr, IOSvc

test/unittests/CMakeLists.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
#[[
2+
Copyright (c) 2014-2024 Key4hep-Project.
3+
4+
This file is part of Key4hep.
5+
See https://key4hep.github.io/key4hep-doc/ for further info.
6+
7+
Licensed under the Apache License, Version 2.0 (the "License");
8+
you may not use this file except in compliance with the License.
9+
You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
18+
]]
19+
120
set(USE_EXTERNAL_CATCH2 AUTO CACHE STRING "Link against an external Catch2 v3 static library, otherwise build it locally")
221
set_property(CACHE USE_EXTERNAL_CATCH2 PROPERTY STRINGS AUTO ON OFF)
322

test/unittests/KeepDropSwitchTests.cpp

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,25 @@
1+
/*
2+
* Copyright (c) 2014-2024 Key4hep-Project.
3+
*
4+
* This file is part of Key4hep.
5+
* See https://key4hep.github.io/key4hep-doc/ for further info.
6+
*
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*/
19+
120
#include "k4FWCore/KeepDropSwitch.h"
221

322
#include "catch2/catch_test_macros.hpp"
4-
#include "catch2/matchers/catch_matchers_string.hpp"
5-
#include "catch2/matchers/catch_matchers_vector.hpp"
623

724
using k4FWCore::KeepDropSwitch;
825

0 commit comments

Comments
 (0)