diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-10-12 12:08:59 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-10-12 12:24:01 +0200 |
commit | 915c8ce814498ff6c331b7b4628f896fff361e81 (patch) | |
tree | 82fb0847e8f07c18f61e0045f465106c63cc39cb /test/buildtool/graph_traverser | |
parent | 298c15ee98548929a5af255891cd5a5865690c3d (diff) | |
download | justbuild-915c8ce814498ff6c331b7b4628f896fff361e81.tar.gz |
Add copyright and license notice to all source and header files
Signed-off-by: Goetz Brasche <goetz.brasche@huawei.com>
Diffstat (limited to 'test/buildtool/graph_traverser')
15 files changed, 186 insertions, 4 deletions
diff --git a/test/buildtool/graph_traverser/data/copy_local_file/copy_me.hpp b/test/buildtool/graph_traverser/data/copy_local_file/copy_me.hpp index e69de29b..40fcb95f 100644 --- a/test/buildtool/graph_traverser/data/copy_local_file/copy_me.hpp +++ b/test/buildtool/graph_traverser/data/copy_local_file/copy_me.hpp @@ -0,0 +1,14 @@ +// Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. +// +// 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. + diff --git a/test/buildtool/graph_traverser/data/flaky_hello_world/hello_world.cpp b/test/buildtool/graph_traverser/data/flaky_hello_world/hello_world.cpp index 38bc23ac..1989a78a 100644 --- a/test/buildtool/graph_traverser/data/flaky_hello_world/hello_world.cpp +++ b/test/buildtool/graph_traverser/data/flaky_hello_world/hello_world.cpp @@ -1,3 +1,17 @@ +// Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. +// +// 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. + #include <iostream> int main() { diff --git a/test/buildtool/graph_traverser/data/hello_world_copy_message/hello_world.cpp b/test/buildtool/graph_traverser/data/hello_world_copy_message/hello_world.cpp index 980270b9..435ae805 100644 --- a/test/buildtool/graph_traverser/data/hello_world_copy_message/hello_world.cpp +++ b/test/buildtool/graph_traverser/data/hello_world_copy_message/hello_world.cpp @@ -1,3 +1,17 @@ +// Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. +// +// 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. + #include <iostream> int main() { diff --git a/test/buildtool/graph_traverser/data/hello_world_known_source/graph_description b/test/buildtool/graph_traverser/data/hello_world_known_source/graph_description index d0b23f10..50db4ac8 100644 --- a/test/buildtool/graph_traverser/data/hello_world_known_source/graph_description +++ b/test/buildtool/graph_traverser/data/hello_world_known_source/graph_description @@ -11,8 +11,8 @@ "hello_world.cpp": { "type": "KNOWN", "data": { - "id": "980270b9f3ec439239ae7633fe5811bc57a6ec3f", - "size": 83, + "id": "435ae8056332c434c01b217bed8b658d62df2568", + "size": 704, "file_type": "f" } } diff --git a/test/buildtool/graph_traverser/data/hello_world_known_source/graph_description_compatible b/test/buildtool/graph_traverser/data/hello_world_known_source/graph_description_compatible index f0d77b13..dcda3cfc 100644 --- a/test/buildtool/graph_traverser/data/hello_world_known_source/graph_description_compatible +++ b/test/buildtool/graph_traverser/data/hello_world_known_source/graph_description_compatible @@ -11,8 +11,8 @@ "hello_world.cpp": { "type": "KNOWN", "data": { - "id": "f94d12e55ec4661e3a6eda4790c8e1996382d2f6d45fecf3cabddd2b1eee7398", - "size": 83, + "id": "ec25802f5e7bbb752c7416fdc90ee62d1be342de63bdda031eec4b9e92d775e7", + "size": 704, "file_type": "f" } } diff --git a/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/main.cpp b/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/main.cpp index 4bee9b2c..b02108f9 100644 --- a/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/main.cpp +++ b/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/main.cpp @@ -1,3 +1,17 @@ +// Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. +// +// 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. + #include <iostream> #include "fibonacci.hpp" diff --git a/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/printer/printer.hpp b/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/printer/printer.hpp index e48272af..6b26876c 100644 --- a/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/printer/printer.hpp +++ b/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/printer/printer.hpp @@ -1,3 +1,17 @@ +// Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. +// +// 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. + #pragma once #include <iostream> diff --git a/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/fibonacci.cpp b/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/fibonacci.cpp index 412bd2a0..7090b384 100644 --- a/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/fibonacci.cpp +++ b/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/fibonacci.cpp @@ -1,3 +1,17 @@ +// Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. +// +// 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. + #include "fibonacci.hpp" Fibonacci::Fibonacci() : second_prev_{0}, prev_{1} {} diff --git a/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/fibonacci.hpp b/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/fibonacci.hpp index ae3a5c24..bca6748c 100644 --- a/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/fibonacci.hpp +++ b/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/fibonacci.hpp @@ -1,3 +1,17 @@ +// Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. +// +// 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. + #pragma once #include <string> diff --git a/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/random_dna_sequence.cpp b/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/random_dna_sequence.cpp index 7f6e5dea..fddf7c88 100644 --- a/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/random_dna_sequence.cpp +++ b/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/random_dna_sequence.cpp @@ -1,3 +1,17 @@ +// Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. +// +// 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. + #include "random_dna_sequence.hpp" RandomDNASequence::RandomDNASequence() diff --git a/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/random_dna_sequence.hpp b/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/random_dna_sequence.hpp index aad9da68..31f9f4b2 100644 --- a/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/random_dna_sequence.hpp +++ b/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/random_dna_sequence.hpp @@ -1,3 +1,17 @@ +// Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. +// +// 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. + #pragma once #include <chrono> diff --git a/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/sequence.hpp b/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/sequence.hpp index d5d80af0..0b105c08 100644 --- a/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/sequence.hpp +++ b/test/buildtool/graph_traverser/data/sequence_printer_build_library_only/sequences/sequence.hpp @@ -1,3 +1,17 @@ +// Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. +// +// 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. + #pragma once #include <string> diff --git a/test/buildtool/graph_traverser/graph_traverser.test.hpp b/test/buildtool/graph_traverser/graph_traverser.test.hpp index 5f08fe69..b6dfbea4 100644 --- a/test/buildtool/graph_traverser/graph_traverser.test.hpp +++ b/test/buildtool/graph_traverser/graph_traverser.test.hpp @@ -1,3 +1,17 @@ +// Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. +// +// 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. + #ifndef INCLUDED_SRC_TEST_BUILDTOOL_GRAPH_GRAVERSER_GRAPH_TRAVERSER_TEST_HPP #define INCLUDED_SRC_TEST_BUILDTOOL_GRAPH_GRAVERSER_GRAPH_TRAVERSER_TEST_HPP diff --git a/test/buildtool/graph_traverser/graph_traverser_local.test.cpp b/test/buildtool/graph_traverser/graph_traverser_local.test.cpp index 75fca394..0641c38b 100644 --- a/test/buildtool/graph_traverser/graph_traverser_local.test.cpp +++ b/test/buildtool/graph_traverser/graph_traverser_local.test.cpp @@ -1,3 +1,17 @@ +// Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. +// +// 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. + #include "catch2/catch.hpp" #include "test/buildtool/graph_traverser/graph_traverser.test.hpp" #include "test/utils/hermeticity/local.hpp" diff --git a/test/buildtool/graph_traverser/graph_traverser_remote.test.cpp b/test/buildtool/graph_traverser/graph_traverser_remote.test.cpp index 3460b175..4cdabffc 100644 --- a/test/buildtool/graph_traverser/graph_traverser_remote.test.cpp +++ b/test/buildtool/graph_traverser/graph_traverser_remote.test.cpp @@ -1,3 +1,17 @@ +// Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. +// +// 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. + #include "catch2/catch.hpp" #include "test/buildtool/graph_traverser/graph_traverser.test.hpp" |