diff --git a/tests/benchmark/data_structures/ring_buffer.cpp b/tests/benchmark/data_structures/ring_buffer.cpp index aca73d0d2..8635c46d1 100644 --- a/tests/benchmark/data_structures/ring_buffer.cpp +++ b/tests/benchmark/data_structures/ring_buffer.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <benchmark/benchmark.h> #include <benchmark/benchmark_api.h> #include <iostream> diff --git a/tests/benchmark/expansion.cpp b/tests/benchmark/expansion.cpp index 5b9565b8a..1a800d678 100644 --- a/tests/benchmark/expansion.cpp +++ b/tests/benchmark/expansion.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <benchmark/benchmark.h> #include <benchmark/benchmark_api.h> diff --git a/tests/benchmark/query/eval.cpp b/tests/benchmark/query/eval.cpp index c79dae880..fe09ac689 100644 --- a/tests/benchmark/query/eval.cpp +++ b/tests/benchmark/query/eval.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <benchmark/benchmark.h> #include "query/db_accessor.hpp" diff --git a/tests/benchmark/query/execution.cpp b/tests/benchmark/query/execution.cpp index 3e268b22e..7eadb19f4 100644 --- a/tests/benchmark/query/execution.cpp +++ b/tests/benchmark/query/execution.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <random> #include <string> diff --git a/tests/benchmark/query/planner.cpp b/tests/benchmark/query/planner.cpp index 4c273acb1..d8922c238 100644 --- a/tests/benchmark/query/planner.cpp +++ b/tests/benchmark/query/planner.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <benchmark/benchmark_api.h> #include <string> #include <variant> diff --git a/tests/benchmark/query/profile.cpp b/tests/benchmark/query/profile.cpp index d2ff760c3..89a1320d0 100644 --- a/tests/benchmark/query/profile.cpp +++ b/tests/benchmark/query/profile.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <memory> #include <vector> diff --git a/tests/benchmark/query/stripped.cpp b/tests/benchmark/query/stripped.cpp index c4a50cb92..c52537bd9 100644 --- a/tests/benchmark/query/stripped.cpp +++ b/tests/benchmark/query/stripped.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #define LOG_NO_INFO 1 #include <fstream> diff --git a/tests/benchmark/rpc.cpp b/tests/benchmark/rpc.cpp index 7dca789a9..b6a17e0e2 100644 --- a/tests/benchmark/rpc.cpp +++ b/tests/benchmark/rpc.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <optional> #include <thread> diff --git a/tests/benchmark/skip_list_common.hpp b/tests/benchmark/skip_list_common.hpp index 3311333ed..988a2dfb7 100644 --- a/tests/benchmark/skip_list_common.hpp +++ b/tests/benchmark/skip_list_common.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include <atomic> diff --git a/tests/benchmark/skip_list_random.cpp b/tests/benchmark/skip_list_random.cpp index 2c65d81da..f71408426 100644 --- a/tests/benchmark/skip_list_random.cpp +++ b/tests/benchmark/skip_list_random.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "skip_list_common.hpp" #include "utils/skip_list.hpp" diff --git a/tests/benchmark/skip_list_real_world.cpp b/tests/benchmark/skip_list_real_world.cpp index 56e2a221a..01c9952bc 100644 --- a/tests/benchmark/skip_list_real_world.cpp +++ b/tests/benchmark/skip_list_real_world.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "skip_list_common.hpp" #include "utils/skip_list.hpp" diff --git a/tests/benchmark/skip_list_same_item.cpp b/tests/benchmark/skip_list_same_item.cpp index 7e4c8ca82..b91e26e0a 100644 --- a/tests/benchmark/skip_list_same_item.cpp +++ b/tests/benchmark/skip_list_same_item.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "skip_list_common.hpp" #include "utils/skip_list.hpp" diff --git a/tests/benchmark/skip_list_vs_stl.cpp b/tests/benchmark/skip_list_vs_stl.cpp index ec69fe732..287bc8c20 100644 --- a/tests/benchmark/skip_list_vs_stl.cpp +++ b/tests/benchmark/skip_list_vs_stl.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <iostream> #include <map> diff --git a/tests/benchmark/storage_v2_gc.cpp b/tests/benchmark/storage_v2_gc.cpp index 203b4bc20..15d37c9ab 100644 --- a/tests/benchmark/storage_v2_gc.cpp +++ b/tests/benchmark/storage_v2_gc.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <iostream> #include <gflags/gflags.h> diff --git a/tests/benchmark/storage_v2_property_store.cpp b/tests/benchmark/storage_v2_property_store.cpp index 11c482a36..e8f0b93e8 100644 --- a/tests/benchmark/storage_v2_property_store.cpp +++ b/tests/benchmark/storage_v2_property_store.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <iostream> #include <map> diff --git a/tests/concurrent/common.hpp b/tests/concurrent/common.hpp index e7cbdeae7..06f3fa62f 100644 --- a/tests/concurrent/common.hpp +++ b/tests/concurrent/common.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <future> #include <iostream> diff --git a/tests/concurrent/network_common.hpp b/tests/concurrent/network_common.hpp index c28e99025..a1da07781 100644 --- a/tests/concurrent/network_common.hpp +++ b/tests/concurrent/network_common.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include <array> diff --git a/tests/concurrent/network_read_hang.cpp b/tests/concurrent/network_read_hang.cpp index bbdfe8ba6..bc8b33f31 100644 --- a/tests/concurrent/network_read_hang.cpp +++ b/tests/concurrent/network_read_hang.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #ifndef NDEBUG #define NDEBUG #endif diff --git a/tests/concurrent/network_server.cpp b/tests/concurrent/network_server.cpp index 8de7c966d..b4dd9e349 100644 --- a/tests/concurrent/network_server.cpp +++ b/tests/concurrent/network_server.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #ifndef NDEBUG #define NDEBUG #endif diff --git a/tests/concurrent/network_session_leak.cpp b/tests/concurrent/network_session_leak.cpp index 39104431b..462381e77 100644 --- a/tests/concurrent/network_session_leak.cpp +++ b/tests/concurrent/network_session_leak.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #ifndef NDEBUG #define NDEBUG #endif diff --git a/tests/concurrent/skip_list_insert.cpp b/tests/concurrent/skip_list_insert.cpp index abe02e12c..229e85962 100644 --- a/tests/concurrent/skip_list_insert.cpp +++ b/tests/concurrent/skip_list_insert.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <thread> #include <vector> diff --git a/tests/concurrent/skip_list_insert_competitive.cpp b/tests/concurrent/skip_list_insert_competitive.cpp index 85f764884..c11d1f7ae 100644 --- a/tests/concurrent/skip_list_insert_competitive.cpp +++ b/tests/concurrent/skip_list_insert_competitive.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <atomic> #include <thread> #include <vector> diff --git a/tests/concurrent/skip_list_mixed.cpp b/tests/concurrent/skip_list_mixed.cpp index c5a4dd6cc..b796e8b44 100644 --- a/tests/concurrent/skip_list_mixed.cpp +++ b/tests/concurrent/skip_list_mixed.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <atomic> #include <chrono> #include <random> diff --git a/tests/concurrent/skip_list_remove.cpp b/tests/concurrent/skip_list_remove.cpp index d09386607..9ca8b139c 100644 --- a/tests/concurrent/skip_list_remove.cpp +++ b/tests/concurrent/skip_list_remove.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <thread> #include <vector> diff --git a/tests/concurrent/skip_list_remove_competitive.cpp b/tests/concurrent/skip_list_remove_competitive.cpp index 2b41119fe..e52508673 100644 --- a/tests/concurrent/skip_list_remove_competitive.cpp +++ b/tests/concurrent/skip_list_remove_competitive.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <atomic> #include <thread> #include <vector> diff --git a/tests/concurrent/spin_lock.cpp b/tests/concurrent/spin_lock.cpp index b15712d3b..135c5d378 100644 --- a/tests/concurrent/spin_lock.cpp +++ b/tests/concurrent/spin_lock.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <atomic> #include <chrono> #include <mutex> diff --git a/tests/concurrent/stack.cpp b/tests/concurrent/stack.cpp index 966a683a7..c0ec63f86 100644 --- a/tests/concurrent/stack.cpp +++ b/tests/concurrent/stack.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <atomic> #include <chrono> #include <cstring> diff --git a/tests/concurrent/storage_indices.cpp b/tests/concurrent/storage_indices.cpp index 792ef2937..08cb21ddd 100644 --- a/tests/concurrent/storage_indices.cpp +++ b/tests/concurrent/storage_indices.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <thread> #include <unordered_map> diff --git a/tests/concurrent/storage_unique_constraints.cpp b/tests/concurrent/storage_unique_constraints.cpp index f9dc09a00..3e50b01a4 100644 --- a/tests/concurrent/storage_unique_constraints.cpp +++ b/tests/concurrent/storage_unique_constraints.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <thread> #include <gtest/gtest.h> diff --git a/tests/drivers/python/v4_1/docs_how_to_query.py b/tests/drivers/python/v4_1/docs_how_to_query.py index 7fd0a440a..6bfec3b0a 100644 --- a/tests/drivers/python/v4_1/docs_how_to_query.py +++ b/tests/drivers/python/v4_1/docs_how_to_query.py @@ -1,6 +1,17 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import sys from neo4j import GraphDatabase, basic_auth diff --git a/tests/drivers/python/v4_1/max_query_length.py b/tests/drivers/python/v4_1/max_query_length.py index c73d9c986..8954744b9 100644 --- a/tests/drivers/python/v4_1/max_query_length.py +++ b/tests/drivers/python/v4_1/max_query_length.py @@ -1,6 +1,17 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + from neo4j import GraphDatabase, basic_auth driver = GraphDatabase.driver("bolt://localhost:7687", diff --git a/tests/drivers/python/v4_1/transactions.py b/tests/drivers/python/v4_1/transactions.py index f8226d44e..2e3dd1762 100644 --- a/tests/drivers/python/v4_1/transactions.py +++ b/tests/drivers/python/v4_1/transactions.py @@ -1,6 +1,17 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + from neo4j import GraphDatabase, basic_auth from neo4j.exceptions import ClientError, TransientError diff --git a/tests/e2e/isolation_levels/isolation_levels.cpp b/tests/e2e/isolation_levels/isolation_levels.cpp index df91c3e70..a8f75b77e 100644 --- a/tests/e2e/isolation_levels/isolation_levels.cpp +++ b/tests/e2e/isolation_levels/isolation_levels.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gflags/gflags.h> #include <mgclient.hpp> diff --git a/tests/e2e/memgraph.py b/tests/e2e/memgraph.py index 99bf32f22..73597ff0f 100755 --- a/tests/e2e/memgraph.py +++ b/tests/e2e/memgraph.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import copy import os import subprocess diff --git a/tests/e2e/memory/memory_control.cpp b/tests/e2e/memory/memory_control.cpp index a6f5ea96f..03563923c 100644 --- a/tests/e2e/memory/memory_control.cpp +++ b/tests/e2e/memory/memory_control.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gflags/gflags.h> #include <mgclient.hpp> diff --git a/tests/e2e/memory/memory_limit_global_alloc.cpp b/tests/e2e/memory/memory_limit_global_alloc.cpp index 0d2094fea..916fa0619 100644 --- a/tests/e2e/memory/memory_limit_global_alloc.cpp +++ b/tests/e2e/memory/memory_limit_global_alloc.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gflags/gflags.h> #include <mgclient.hpp> diff --git a/tests/e2e/memory/memory_limit_global_alloc_proc.cpp b/tests/e2e/memory/memory_limit_global_alloc_proc.cpp index 2e57da9d6..13b8bfa26 100644 --- a/tests/e2e/memory/memory_limit_global_alloc_proc.cpp +++ b/tests/e2e/memory/memory_limit_global_alloc_proc.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gflags/gflags.h> #include <mgclient.hpp> #include <algorithm> diff --git a/tests/e2e/replication/common.hpp b/tests/e2e/replication/common.hpp index bffa80651..5fcc8f39f 100644 --- a/tests/e2e/replication/common.hpp +++ b/tests/e2e/replication/common.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <random> diff --git a/tests/e2e/replication/constraints.cpp b/tests/e2e/replication/constraints.cpp index e644c6ee4..f98e8d9b8 100644 --- a/tests/e2e/replication/constraints.cpp +++ b/tests/e2e/replication/constraints.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <random> #include <thread> diff --git a/tests/e2e/replication/read_write_benchmark.cpp b/tests/e2e/replication/read_write_benchmark.cpp index 8f2f6e7d9..73ffc8b7b 100644 --- a/tests/e2e/replication/read_write_benchmark.cpp +++ b/tests/e2e/replication/read_write_benchmark.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <fstream> #include <random> diff --git a/tests/e2e/runner.py b/tests/e2e/runner.py index e8dfc5c9f..992141478 100755 --- a/tests/e2e/runner.py +++ b/tests/e2e/runner.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + from argparse import ArgumentParser import atexit import logging diff --git a/tests/e2e/streams/common.py b/tests/e2e/streams/common.py index 7b0cb1044..626a39876 100644 --- a/tests/e2e/streams/common.py +++ b/tests/e2e/streams/common.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import mgclient import time diff --git a/tests/e2e/streams/conftest.py b/tests/e2e/streams/conftest.py index 8007deb85..1854056c1 100644 --- a/tests/e2e/streams/conftest.py +++ b/tests/e2e/streams/conftest.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import pytest from kafka import KafkaProducer from kafka.admin import KafkaAdminClient, NewTopic diff --git a/tests/e2e/streams/streams_owner_tests.py b/tests/e2e/streams/streams_owner_tests.py index 6d1765f1d..6087033f7 100644 --- a/tests/e2e/streams/streams_owner_tests.py +++ b/tests/e2e/streams/streams_owner_tests.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import sys import pytest import time diff --git a/tests/e2e/streams/streams_tests.py b/tests/e2e/streams/streams_tests.py index 7ed53530a..41176f756 100755 --- a/tests/e2e/streams/streams_tests.py +++ b/tests/e2e/streams/streams_tests.py @@ -1,5 +1,16 @@ #!/usr/bin/python3 +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import sys import pytest import mgclient diff --git a/tests/e2e/streams/transformations/transform.py b/tests/e2e/streams/transformations/transform.py index 249b72e61..2802185db 100644 --- a/tests/e2e/streams/transformations/transform.py +++ b/tests/e2e/streams/transformations/transform.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import mgp diff --git a/tests/e2e/temporal_types/roundtrip.cpp b/tests/e2e/temporal_types/roundtrip.cpp index 2227d2f94..61e81aee4 100644 --- a/tests/e2e/temporal_types/roundtrip.cpp +++ b/tests/e2e/temporal_types/roundtrip.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <variant> #include <gflags/gflags.h> diff --git a/tests/e2e/triggers/common.cpp b/tests/e2e/triggers/common.cpp index 82734cff5..b15701730 100644 --- a/tests/e2e/triggers/common.cpp +++ b/tests/e2e/triggers/common.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "common.hpp" #include <chrono> diff --git a/tests/e2e/triggers/common.hpp b/tests/e2e/triggers/common.hpp index 227b345b0..743f6b3a1 100644 --- a/tests/e2e/triggers/common.hpp +++ b/tests/e2e/triggers/common.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include <memory> diff --git a/tests/e2e/triggers/on_create_triggers.cpp b/tests/e2e/triggers/on_create_triggers.cpp index d4f31e8de..4696768aa 100644 --- a/tests/e2e/triggers/on_create_triggers.cpp +++ b/tests/e2e/triggers/on_create_triggers.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <string> #include <string_view> diff --git a/tests/e2e/triggers/on_delete_triggers.cpp b/tests/e2e/triggers/on_delete_triggers.cpp index cf713d279..5e8500855 100644 --- a/tests/e2e/triggers/on_delete_triggers.cpp +++ b/tests/e2e/triggers/on_delete_triggers.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <string> #include <string_view> #include <unordered_set> diff --git a/tests/e2e/triggers/on_update_triggers.cpp b/tests/e2e/triggers/on_update_triggers.cpp index 1200d4fd2..85f573736 100644 --- a/tests/e2e/triggers/on_update_triggers.cpp +++ b/tests/e2e/triggers/on_update_triggers.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <string> #include <string_view> diff --git a/tests/e2e/triggers/privilige_check.cpp b/tests/e2e/triggers/privilige_check.cpp index ae83a5eb8..8412c5345 100644 --- a/tests/e2e/triggers/privilige_check.cpp +++ b/tests/e2e/triggers/privilige_check.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <string> #include <string_view> diff --git a/tests/e2e/triggers/procedures/write.py b/tests/e2e/triggers/procedures/write.py index 542ca46c8..1b4b7ad99 100644 --- a/tests/e2e/triggers/procedures/write.py +++ b/tests/e2e/triggers/procedures/write.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import mgp @mgp.write_proc diff --git a/tests/e2e/write_procedures/common.py b/tests/e2e/write_procedures/common.py index 8cc9fe1af..1ad71d350 100644 --- a/tests/e2e/write_procedures/common.py +++ b/tests/e2e/write_procedures/common.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import mgclient import typing diff --git a/tests/e2e/write_procedures/conftest.py b/tests/e2e/write_procedures/conftest.py index 2791edff3..b559b1741 100644 --- a/tests/e2e/write_procedures/conftest.py +++ b/tests/e2e/write_procedures/conftest.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import pytest from common import execute_and_fetch_all, connect diff --git a/tests/e2e/write_procedures/procedures/read.py b/tests/e2e/write_procedures/procedures/read.py index ef4778e91..3f791a37a 100644 --- a/tests/e2e/write_procedures/procedures/read.py +++ b/tests/e2e/write_procedures/procedures/read.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import mgp diff --git a/tests/e2e/write_procedures/procedures/write.py b/tests/e2e/write_procedures/procedures/write.py index 9437db262..e180be40e 100644 --- a/tests/e2e/write_procedures/procedures/write.py +++ b/tests/e2e/write_procedures/procedures/write.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import mgp diff --git a/tests/e2e/write_procedures/simple_write.py b/tests/e2e/write_procedures/simple_write.py index a6c5efea9..30a43f626 100644 --- a/tests/e2e/write_procedures/simple_write.py +++ b/tests/e2e/write_procedures/simple_write.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import typing import mgclient import sys diff --git a/tests/gql_behave/environment.py b/tests/gql_behave/environment.py index 93e901472..0c0122850 100644 --- a/tests/gql_behave/environment.py +++ b/tests/gql_behave/environment.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + # -*- coding: utf-8 -*- import json diff --git a/tests/gql_behave/run.py b/tests/gql_behave/run.py index c791ebe3c..50035384a 100755 --- a/tests/gql_behave/run.py +++ b/tests/gql_behave/run.py @@ -1,6 +1,17 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import argparse import os import sys diff --git a/tests/gql_behave/steps/binary_tree.py b/tests/gql_behave/steps/binary_tree.py index 291848cc4..5f35b1e6e 100644 --- a/tests/gql_behave/steps/binary_tree.py +++ b/tests/gql_behave/steps/binary_tree.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + # -*- coding: utf-8 -*- from behave import given diff --git a/tests/gql_behave/steps/database.py b/tests/gql_behave/steps/database.py index 833ee956b..339e706ee 100644 --- a/tests/gql_behave/steps/database.py +++ b/tests/gql_behave/steps/database.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + # -*- coding: utf-8 -*- def query(q, context, params={}): diff --git a/tests/gql_behave/steps/errors.py b/tests/gql_behave/steps/errors.py index 204397780..94412c54c 100644 --- a/tests/gql_behave/steps/errors.py +++ b/tests/gql_behave/steps/errors.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + # -*- coding: utf-8 -*- from behave import then diff --git a/tests/gql_behave/steps/graph.py b/tests/gql_behave/steps/graph.py index 3bf067976..c0c5c07ce 100644 --- a/tests/gql_behave/steps/graph.py +++ b/tests/gql_behave/steps/graph.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + # -*- coding: utf-8 -*- import database diff --git a/tests/gql_behave/steps/parser.py b/tests/gql_behave/steps/parser.py index a7d5fef0a..202d47741 100644 --- a/tests/gql_behave/steps/parser.py +++ b/tests/gql_behave/steps/parser.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + # -*- coding: utf-8 -*- diff --git a/tests/gql_behave/steps/query.py b/tests/gql_behave/steps/query.py index 43513ce10..5a050d4df 100644 --- a/tests/gql_behave/steps/query.py +++ b/tests/gql_behave/steps/query.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + # -*- coding: utf-8 -*- import database diff --git a/tests/gql_behave/steps/test_parameters.py b/tests/gql_behave/steps/test_parameters.py index 96fa6a929..ee92d9ff3 100644 --- a/tests/gql_behave/steps/test_parameters.py +++ b/tests/gql_behave/steps/test_parameters.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + # -*- coding: utf-8 -*- import yaml diff --git a/tests/integration/audit/runner.py b/tests/integration/audit/runner.py index d457acd5c..92e175a1b 100755 --- a/tests/integration/audit/runner.py +++ b/tests/integration/audit/runner.py @@ -1,4 +1,16 @@ #!/usr/bin/python3 -u + +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import argparse import atexit import csv diff --git a/tests/integration/audit/tester.cpp b/tests/integration/audit/tester.cpp index 6e2815c77..25840f57d 100644 --- a/tests/integration/audit/tester.cpp +++ b/tests/integration/audit/tester.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gflags/gflags.h> #include <json/json.hpp> diff --git a/tests/integration/auth/checker.cpp b/tests/integration/auth/checker.cpp index a10aebe61..e1acea4bf 100644 --- a/tests/integration/auth/checker.cpp +++ b/tests/integration/auth/checker.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gflags/gflags.h> #include "communication/bolt/client.hpp" diff --git a/tests/integration/auth/runner.py b/tests/integration/auth/runner.py index cb0a8cde4..7953bc1ee 100755 --- a/tests/integration/auth/runner.py +++ b/tests/integration/auth/runner.py @@ -1,4 +1,16 @@ #!/usr/bin/python3 -u + +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import argparse import atexit import os diff --git a/tests/integration/auth/tester.cpp b/tests/integration/auth/tester.cpp index e1911f4ab..bfe740b75 100644 --- a/tests/integration/auth/tester.cpp +++ b/tests/integration/auth/tester.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gflags/gflags.h> #include "communication/bolt/client.hpp" diff --git a/tests/integration/durability/runner.py b/tests/integration/durability/runner.py index 27a7c70e4..dd8c41456 100755 --- a/tests/integration/durability/runner.py +++ b/tests/integration/durability/runner.py @@ -1,4 +1,16 @@ #!/usr/bin/python3 -u + +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import argparse import atexit import os diff --git a/tests/integration/ldap/runner.py b/tests/integration/ldap/runner.py index 305bcf57e..6b0446690 100755 --- a/tests/integration/ldap/runner.py +++ b/tests/integration/ldap/runner.py @@ -1,4 +1,16 @@ #!/usr/bin/python3 -u + +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import argparse import atexit import os diff --git a/tests/integration/ldap/tester.cpp b/tests/integration/ldap/tester.cpp index 2b957b58e..7d415370a 100644 --- a/tests/integration/ldap/tester.cpp +++ b/tests/integration/ldap/tester.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gflags/gflags.h> #include <json/json.hpp> diff --git a/tests/integration/mg_import_csv/runner.py b/tests/integration/mg_import_csv/runner.py index 968fb0c51..afaa58e28 100755 --- a/tests/integration/mg_import_csv/runner.py +++ b/tests/integration/mg_import_csv/runner.py @@ -1,4 +1,16 @@ #!/usr/bin/python3 -u + +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import argparse import atexit import os diff --git a/tests/integration/mg_import_csv/tester.cpp b/tests/integration/mg_import_csv/tester.cpp index bf3f05b18..384c521a9 100644 --- a/tests/integration/mg_import_csv/tester.cpp +++ b/tests/integration/mg_import_csv/tester.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gflags/gflags.h> #include "communication/bolt/client.hpp" diff --git a/tests/integration/ssl/tester.cpp b/tests/integration/ssl/tester.cpp index 6e5e5d1ec..611350879 100644 --- a/tests/integration/ssl/tester.cpp +++ b/tests/integration/ssl/tester.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <atomic> #include <gflags/gflags.h> diff --git a/tests/integration/telemetry/client.cpp b/tests/integration/telemetry/client.cpp index 88517dc06..00e896307 100644 --- a/tests/integration/telemetry/client.cpp +++ b/tests/integration/telemetry/client.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gflags/gflags.h> #include "requests/requests.hpp" diff --git a/tests/integration/telemetry/runner.py b/tests/integration/telemetry/runner.py index 766ba9f43..6fa81d91f 100755 --- a/tests/integration/telemetry/runner.py +++ b/tests/integration/telemetry/runner.py @@ -1,4 +1,16 @@ #!/usr/bin/python3 -u + +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import argparse import json import os diff --git a/tests/integration/telemetry/server.py b/tests/integration/telemetry/server.py index a4ebf9cae..0fca6986d 100755 --- a/tests/integration/telemetry/server.py +++ b/tests/integration/telemetry/server.py @@ -1,4 +1,16 @@ #!/usr/bin/python3 -u + +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import argparse import json import os diff --git a/tests/integration/transactions/tester.cpp b/tests/integration/transactions/tester.cpp index 56c18554b..c19452e12 100644 --- a/tests/integration/transactions/tester.cpp +++ b/tests/integration/transactions/tester.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <iostream> #include <gflags/gflags.h> diff --git a/tests/macro_benchmark/clients.py b/tests/macro_benchmark/clients.py index b0ed232db..859b6f1c3 100644 --- a/tests/macro_benchmark/clients.py +++ b/tests/macro_benchmark/clients.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import logging import os import time diff --git a/tests/macro_benchmark/clients/bfs_pokec_client.cpp b/tests/macro_benchmark/clients/bfs_pokec_client.cpp index d9d613da6..9d43f8aaa 100644 --- a/tests/macro_benchmark/clients/bfs_pokec_client.cpp +++ b/tests/macro_benchmark/clients/bfs_pokec_client.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <array> #include <chrono> #include <fstream> diff --git a/tests/macro_benchmark/clients/bolt_client.hpp b/tests/macro_benchmark/clients/bolt_client.hpp index 91e9cc980..26665bf5d 100644 --- a/tests/macro_benchmark/clients/bolt_client.hpp +++ b/tests/macro_benchmark/clients/bolt_client.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include <fstream> diff --git a/tests/macro_benchmark/clients/card_fraud_client.cpp b/tests/macro_benchmark/clients/card_fraud_client.cpp index 8a1364e26..455b5c353 100644 --- a/tests/macro_benchmark/clients/card_fraud_client.cpp +++ b/tests/macro_benchmark/clients/card_fraud_client.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <memory> #include <random> #include <shared_mutex> diff --git a/tests/macro_benchmark/clients/common.hpp b/tests/macro_benchmark/clients/common.hpp index 94d2c1f9e..cba5a853f 100644 --- a/tests/macro_benchmark/clients/common.hpp +++ b/tests/macro_benchmark/clients/common.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include <chrono> diff --git a/tests/macro_benchmark/clients/graph_500_bfs.cpp b/tests/macro_benchmark/clients/graph_500_bfs.cpp index 12f5fbfe5..edc513585 100644 --- a/tests/macro_benchmark/clients/graph_500_bfs.cpp +++ b/tests/macro_benchmark/clients/graph_500_bfs.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <memory> #include <random> #include <shared_mutex> diff --git a/tests/macro_benchmark/clients/long_running_common.hpp b/tests/macro_benchmark/clients/long_running_common.hpp index 8429b1619..f14ca2c53 100644 --- a/tests/macro_benchmark/clients/long_running_common.hpp +++ b/tests/macro_benchmark/clients/long_running_common.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include <atomic> diff --git a/tests/macro_benchmark/clients/pokec_client.cpp b/tests/macro_benchmark/clients/pokec_client.cpp index 3fe65ea0b..ff44db3be 100644 --- a/tests/macro_benchmark/clients/pokec_client.cpp +++ b/tests/macro_benchmark/clients/pokec_client.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + // TODO: work in progress. #include <array> #include <chrono> diff --git a/tests/macro_benchmark/clients/query_client.cpp b/tests/macro_benchmark/clients/query_client.cpp index 53aa8090d..f0b8808fd 100644 --- a/tests/macro_benchmark/clients/query_client.cpp +++ b/tests/macro_benchmark/clients/query_client.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <fstream> #include <mutex> #include <thread> diff --git a/tests/macro_benchmark/common.py b/tests/macro_benchmark/common.py index 82ffa4fe6..9e8b08afd 100644 --- a/tests/macro_benchmark/common.py +++ b/tests/macro_benchmark/common.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import os from argparse import ArgumentParser diff --git a/tests/macro_benchmark/databases.py b/tests/macro_benchmark/databases.py index 455ef5cdc..439464c85 100644 --- a/tests/macro_benchmark/databases.py +++ b/tests/macro_benchmark/databases.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import logging import os import subprocess diff --git a/tests/macro_benchmark/groups/1000_create/edge.run.py b/tests/macro_benchmark/groups/1000_create/edge.run.py index d9347de8e..7dd4dd312 100644 --- a/tests/macro_benchmark/groups/1000_create/edge.run.py +++ b/tests/macro_benchmark/groups/1000_create/edge.run.py @@ -1 +1,12 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + print("MATCH (a), (b) CREATE (a)-[:Type]->(b);" * 1000) diff --git a/tests/macro_benchmark/groups/1000_create/pattern.run.py b/tests/macro_benchmark/groups/1000_create/pattern.run.py index 0bfd0f519..397e93602 100644 --- a/tests/macro_benchmark/groups/1000_create/pattern.run.py +++ b/tests/macro_benchmark/groups/1000_create/pattern.run.py @@ -1 +1,12 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + print("CREATE ()-[:Type]->();" * 1000) diff --git a/tests/macro_benchmark/groups/1000_create/vertex.run.py b/tests/macro_benchmark/groups/1000_create/vertex.run.py index bf16e0a86..c1e9bb139 100644 --- a/tests/macro_benchmark/groups/1000_create/vertex.run.py +++ b/tests/macro_benchmark/groups/1000_create/vertex.run.py @@ -1 +1,12 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + print("CREATE ();" * 1000) diff --git a/tests/macro_benchmark/groups/1000_create/vertex_big.run.py b/tests/macro_benchmark/groups/1000_create/vertex_big.run.py index fb761897f..7a7d19e84 100644 --- a/tests/macro_benchmark/groups/1000_create/vertex_big.run.py +++ b/tests/macro_benchmark/groups/1000_create/vertex_big.run.py @@ -1 +1,12 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + print("""CREATE (:L1:L2:L3:L4:L5:L6:L7 {p1: true, p2: 42, p3: "Here is some text that is not extremely short", p4:"Short text", p5: 234.434, p6: 11.11, p7: false});""" * 1000) diff --git a/tests/macro_benchmark/groups/aggregation/setup.py b/tests/macro_benchmark/groups/aggregation/setup.py index 066264f1e..6eaa7f6e7 100644 --- a/tests/macro_benchmark/groups/aggregation/setup.py +++ b/tests/macro_benchmark/groups/aggregation/setup.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + BATCH_SIZE = 100 VERTEX_COUNT = 100000 diff --git a/tests/macro_benchmark/groups/aggregation_parallel/count.run.py b/tests/macro_benchmark/groups/aggregation_parallel/count.run.py index a7166e837..1b0327e89 100644 --- a/tests/macro_benchmark/groups/aggregation_parallel/count.run.py +++ b/tests/macro_benchmark/groups/aggregation_parallel/count.run.py @@ -1 +1,12 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + print("MATCH (n) RETURN count(n), count(n.x);" * 128) diff --git a/tests/macro_benchmark/groups/aggregation_parallel/min_max_avg.run.py b/tests/macro_benchmark/groups/aggregation_parallel/min_max_avg.run.py index f0ca8710f..540a67049 100644 --- a/tests/macro_benchmark/groups/aggregation_parallel/min_max_avg.run.py +++ b/tests/macro_benchmark/groups/aggregation_parallel/min_max_avg.run.py @@ -1 +1,12 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + print("MATCH (n) RETURN min(n.x), max(n.x), avg(n.x);" * 128) diff --git a/tests/macro_benchmark/groups/aggregation_parallel/setup.py b/tests/macro_benchmark/groups/aggregation_parallel/setup.py index cfc4deb88..fd4d89471 100644 --- a/tests/macro_benchmark/groups/aggregation_parallel/setup.py +++ b/tests/macro_benchmark/groups/aggregation_parallel/setup.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + BATCH_SIZE = 100 VERTEX_COUNT = 1000000 diff --git a/tests/macro_benchmark/groups/bfs_parallel/bfs.run.py b/tests/macro_benchmark/groups/bfs_parallel/bfs.run.py index 89c0f48af..a0c516a05 100644 --- a/tests/macro_benchmark/groups/bfs_parallel/bfs.run.py +++ b/tests/macro_benchmark/groups/bfs_parallel/bfs.run.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import random import common diff --git a/tests/macro_benchmark/groups/bfs_parallel/common.py b/tests/macro_benchmark/groups/bfs_parallel/common.py index eab1462a3..6b019710e 100644 --- a/tests/macro_benchmark/groups/bfs_parallel/common.py +++ b/tests/macro_benchmark/groups/bfs_parallel/common.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + VERTEX_COUNT = 1000 SPARSE_FACTOR = 10 BFS_ITERS = 50 diff --git a/tests/macro_benchmark/groups/bfs_parallel/setup.py b/tests/macro_benchmark/groups/bfs_parallel/setup.py index ee7463192..143f44780 100644 --- a/tests/macro_benchmark/groups/bfs_parallel/setup.py +++ b/tests/macro_benchmark/groups/bfs_parallel/setup.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import random import common diff --git a/tests/macro_benchmark/groups/card_fraud/setup.py b/tests/macro_benchmark/groups/card_fraud/setup.py index 7acf7d0fe..428388154 100644 --- a/tests/macro_benchmark/groups/card_fraud/setup.py +++ b/tests/macro_benchmark/groups/card_fraud/setup.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import random def init_data(card_count, pos_count): diff --git a/tests/macro_benchmark/groups/create_parallel/common.py b/tests/macro_benchmark/groups/create_parallel/common.py index 7bee46ab8..4f2d65e1a 100644 --- a/tests/macro_benchmark/groups/create_parallel/common.py +++ b/tests/macro_benchmark/groups/create_parallel/common.py @@ -1,2 +1,13 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + VERTEX_COUNT = 1000 QUERIES_PER_VERTEX = 100 diff --git a/tests/macro_benchmark/groups/create_parallel/edge.run.py b/tests/macro_benchmark/groups/create_parallel/edge.run.py index 573389f98..68d9086c2 100644 --- a/tests/macro_benchmark/groups/create_parallel/edge.run.py +++ b/tests/macro_benchmark/groups/create_parallel/edge.run.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import random import common diff --git a/tests/macro_benchmark/groups/create_parallel/edge.setup.py b/tests/macro_benchmark/groups/create_parallel/edge.setup.py index 67db52b53..ce0a511b9 100644 --- a/tests/macro_benchmark/groups/create_parallel/edge.setup.py +++ b/tests/macro_benchmark/groups/create_parallel/edge.setup.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import common for i in range(common.VERTEX_COUNT): diff --git a/tests/macro_benchmark/groups/create_parallel/vertex.run.py b/tests/macro_benchmark/groups/create_parallel/vertex.run.py index 7a81bb4e8..fd6cf2f03 100644 --- a/tests/macro_benchmark/groups/create_parallel/vertex.run.py +++ b/tests/macro_benchmark/groups/create_parallel/vertex.run.py @@ -1 +1,12 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + print("CREATE (:A {x : 10});" * 100000) diff --git a/tests/macro_benchmark/groups/delete/common.py b/tests/macro_benchmark/groups/delete/common.py index c4a0336ff..b52923a24 100644 --- a/tests/macro_benchmark/groups/delete/common.py +++ b/tests/macro_benchmark/groups/delete/common.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + """ This file does nothing, it's just utilities for other setups """ from random import randint, seed diff --git a/tests/macro_benchmark/groups/delete/edge.itersetup.py b/tests/macro_benchmark/groups/delete/edge.itersetup.py index e24961f01..d075fb616 100644 --- a/tests/macro_benchmark/groups/delete/edge.itersetup.py +++ b/tests/macro_benchmark/groups/delete/edge.itersetup.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + from common import create_edges create_edges(10000, 1000) diff --git a/tests/macro_benchmark/groups/delete/edge.setup.py b/tests/macro_benchmark/groups/delete/edge.setup.py index 83928f747..e8f582ce8 100644 --- a/tests/macro_benchmark/groups/delete/edge.setup.py +++ b/tests/macro_benchmark/groups/delete/edge.setup.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + from common import create_vertices print("CREATE INDEX ON :Label(id);") diff --git a/tests/macro_benchmark/groups/delete/vertex.itersetup.py b/tests/macro_benchmark/groups/delete/vertex.itersetup.py index e93ef12a0..a0b96c378 100644 --- a/tests/macro_benchmark/groups/delete/vertex.itersetup.py +++ b/tests/macro_benchmark/groups/delete/vertex.itersetup.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + from setup import create_vertices create_vertices(50000) diff --git a/tests/macro_benchmark/groups/delete/vertex_detach.itersetup.py b/tests/macro_benchmark/groups/delete/vertex_detach.itersetup.py index 13e990cd7..6c4dc1da5 100644 --- a/tests/macro_benchmark/groups/delete/vertex_detach.itersetup.py +++ b/tests/macro_benchmark/groups/delete/vertex_detach.itersetup.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + from setup import create_vertices, create_edges create_vertices(500) diff --git a/tests/macro_benchmark/groups/expression/common.py b/tests/macro_benchmark/groups/expression/common.py index 999f2e843..cb8dff26f 100644 --- a/tests/macro_benchmark/groups/expression/common.py +++ b/tests/macro_benchmark/groups/expression/common.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + def generate(expressions, repetitions): idx = 0 def get_alias(): diff --git a/tests/macro_benchmark/groups/expression/expression.run.py b/tests/macro_benchmark/groups/expression/expression.run.py index 1c61886f0..abb127623 100644 --- a/tests/macro_benchmark/groups/expression/expression.run.py +++ b/tests/macro_benchmark/groups/expression/expression.run.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import common expressions = ['1 + 3', '2 - 1', '2 * 5', '5 / 2', '5 % 5', '-5' + '1.4 + 3.3', diff --git a/tests/macro_benchmark/groups/match/setup.py b/tests/macro_benchmark/groups/match/setup.py index 454ec2211..1a40a031c 100644 --- a/tests/macro_benchmark/groups/match/setup.py +++ b/tests/macro_benchmark/groups/match/setup.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + """ Generates a random graph with some configurable statistics. """ diff --git a/tests/macro_benchmark/groups/match/vertex_on_index.run.py b/tests/macro_benchmark/groups/match/vertex_on_index.run.py index 39501e3f0..435b01bd2 100644 --- a/tests/macro_benchmark/groups/match/vertex_on_index.run.py +++ b/tests/macro_benchmark/groups/match/vertex_on_index.run.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + from setup import LABEL_INDEX, ID, VERTEX_COUNT, rint print("UNWIND range(0, 10000) AS i " diff --git a/tests/macro_benchmark/groups/match/vertex_on_label.run.py b/tests/macro_benchmark/groups/match/vertex_on_label.run.py index d51f7dab3..56c04ab3b 100644 --- a/tests/macro_benchmark/groups/match/vertex_on_label.run.py +++ b/tests/macro_benchmark/groups/match/vertex_on_label.run.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + from setup import LABEL_COUNT, LABEL_PREFIX for i in range(LABEL_COUNT): diff --git a/tests/macro_benchmark/groups/match/vertex_on_label_property.run.py b/tests/macro_benchmark/groups/match/vertex_on_label_property.run.py index 13c4b8e19..6c63543b3 100644 --- a/tests/macro_benchmark/groups/match/vertex_on_label_property.run.py +++ b/tests/macro_benchmark/groups/match/vertex_on_label_property.run.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + from setup import LABEL_PREFIX, PROP_PREFIX, MAX_PROPS, MAX_PROP_VALUE, LABEL_COUNT, rint for i in range(LABEL_COUNT): diff --git a/tests/macro_benchmark/groups/match/vertex_on_property.run.py b/tests/macro_benchmark/groups/match/vertex_on_property.run.py index 17d5554c5..4188b0e0f 100644 --- a/tests/macro_benchmark/groups/match/vertex_on_property.run.py +++ b/tests/macro_benchmark/groups/match/vertex_on_property.run.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + from setup import PROP_PREFIX, MAX_PROPS, rint, MAX_PROP_VALUE print("UNWIND range(0, 50) AS i MATCH (n {%s%d: %d}) RETURN n SKIP 10000" % ( diff --git a/tests/macro_benchmark/groups/return/combo.run.py b/tests/macro_benchmark/groups/return/combo.run.py index 917a3db7d..85f66985b 100644 --- a/tests/macro_benchmark/groups/return/combo.run.py +++ b/tests/macro_benchmark/groups/return/combo.run.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + from setup import VERTEX_COUNT SKIP = VERTEX_COUNT // 4 diff --git a/tests/macro_benchmark/groups/return/setup.py b/tests/macro_benchmark/groups/return/setup.py index c792d34c7..1578ef802 100644 --- a/tests/macro_benchmark/groups/return/setup.py +++ b/tests/macro_benchmark/groups/return/setup.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + BATCH_SIZE = 50 VERTEX_COUNT = 500 UNIQUE_VALUES = 50 diff --git a/tests/macro_benchmark/groups/return/skip.run.py b/tests/macro_benchmark/groups/return/skip.run.py index ec6eee9bd..71f9d1d1b 100644 --- a/tests/macro_benchmark/groups/return/skip.run.py +++ b/tests/macro_benchmark/groups/return/skip.run.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + from setup import VERTEX_COUNT print("MATCH (n) RETURN n SKIP %d" % (VERTEX_COUNT // 2)) diff --git a/tests/macro_benchmark/groups/update/setup.py b/tests/macro_benchmark/groups/update/setup.py index 4e9773f1e..3e66957be 100644 --- a/tests/macro_benchmark/groups/update/setup.py +++ b/tests/macro_benchmark/groups/update/setup.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + BATCH_SIZE = 50 VERTEX_COUNT = 500 diff --git a/tests/macro_benchmark/jail_faker.py b/tests/macro_benchmark/jail_faker.py index 8dc605274..9eb8ed3f1 100644 --- a/tests/macro_benchmark/jail_faker.py +++ b/tests/macro_benchmark/jail_faker.py @@ -1,4 +1,16 @@ #!/usr/bin/python3 + +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import atexit import copy import json diff --git a/tests/macro_benchmark/long_running_suite.py b/tests/macro_benchmark/long_running_suite.py index 65e52f493..9de374aec 100644 --- a/tests/macro_benchmark/long_running_suite.py +++ b/tests/macro_benchmark/long_running_suite.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import logging from argparse import ArgumentParser from common import get_absolute_path, APOLLO diff --git a/tests/macro_benchmark/query_suite.py b/tests/macro_benchmark/query_suite.py index c9d69f4e3..7d2f7d5ea 100644 --- a/tests/macro_benchmark/query_suite.py +++ b/tests/macro_benchmark/query_suite.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import logging import os import time diff --git a/tests/manual/antlr_parser.cpp b/tests/manual/antlr_parser.cpp index 42ccfba7e..51b98305a 100644 --- a/tests/manual/antlr_parser.cpp +++ b/tests/manual/antlr_parser.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <iostream> #include "antlr4-runtime.h" diff --git a/tests/manual/antlr_sigsegv.cpp b/tests/manual/antlr_sigsegv.cpp index d2ea6f3ef..caafcd986 100644 --- a/tests/manual/antlr_sigsegv.cpp +++ b/tests/manual/antlr_sigsegv.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <atomic> #include <chrono> #include <thread> diff --git a/tests/manual/antlr_tree_pretty_print.cpp b/tests/manual/antlr_tree_pretty_print.cpp index b0b21bcd8..0ba057f34 100644 --- a/tests/manual/antlr_tree_pretty_print.cpp +++ b/tests/manual/antlr_tree_pretty_print.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <iostream> #include <istream> #include <iterator> diff --git a/tests/manual/bolt_client.cpp b/tests/manual/bolt_client.cpp index 9d22ebf09..ef1ce3f1a 100644 --- a/tests/manual/bolt_client.cpp +++ b/tests/manual/bolt_client.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gflags/gflags.h> #include "communication/bolt/client.hpp" diff --git a/tests/manual/expression_pretty_printer.cpp b/tests/manual/expression_pretty_printer.cpp index 060ba4b4c..d50d825cc 100644 --- a/tests/manual/expression_pretty_printer.cpp +++ b/tests/manual/expression_pretty_printer.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <iostream> #include <sstream> #include <string> diff --git a/tests/manual/interactive_planning.cpp b/tests/manual/interactive_planning.cpp index 596e767bb..14e0421eb 100644 --- a/tests/manual/interactive_planning.cpp +++ b/tests/manual/interactive_planning.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "interactive_planning.hpp" #include <chrono> diff --git a/tests/manual/interactive_planning.hpp b/tests/manual/interactive_planning.hpp index c7e2ae3c5..df2840941 100644 --- a/tests/manual/interactive_planning.hpp +++ b/tests/manual/interactive_planning.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include <functional> diff --git a/tests/manual/kvstore_console.cpp b/tests/manual/kvstore_console.cpp index 68baaad39..785eb6f38 100644 --- a/tests/manual/kvstore_console.cpp +++ b/tests/manual/kvstore_console.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gflags/gflags.h> #include "kvstore/kvstore.hpp" diff --git a/tests/manual/query_hash.cpp b/tests/manual/query_hash.cpp index 5a1b45c55..93a54ba41 100644 --- a/tests/manual/query_hash.cpp +++ b/tests/manual/query_hash.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <iostream> #include <vector> diff --git a/tests/manual/query_planner.cpp b/tests/manual/query_planner.cpp index 415226d1c..0964839d3 100644 --- a/tests/manual/query_planner.cpp +++ b/tests/manual/query_planner.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "interactive_planning.hpp" #include <gflags/gflags.h> diff --git a/tests/manual/single_query.cpp b/tests/manual/single_query.cpp index ec7dd594d..3c96b3712 100644 --- a/tests/manual/single_query.cpp +++ b/tests/manual/single_query.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "communication/result_stream_faker.hpp" #include "query/config.hpp" #include "query/interpreter.hpp" diff --git a/tests/manual/ssl_client.cpp b/tests/manual/ssl_client.cpp index ea2f351c7..073125d75 100644 --- a/tests/manual/ssl_client.cpp +++ b/tests/manual/ssl_client.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gflags/gflags.h> #include "communication/client.hpp" diff --git a/tests/manual/ssl_server.cpp b/tests/manual/ssl_server.cpp index 8c70b6e5c..bf4549ade 100644 --- a/tests/manual/ssl_server.cpp +++ b/tests/manual/ssl_server.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <atomic> #include <gflags/gflags.h> diff --git a/tests/manual/stripped_timing.cpp b/tests/manual/stripped_timing.cpp index 832486c24..52b7c0f4f 100644 --- a/tests/manual/stripped_timing.cpp +++ b/tests/manual/stripped_timing.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + // // Copyright 2017 Memgraph // Created by Florijan Stamenkovic on 07.03.17. diff --git a/tests/mgbench/benchmark.py b/tests/mgbench/benchmark.py index 959943325..5ce715571 100755 --- a/tests/mgbench/benchmark.py +++ b/tests/mgbench/benchmark.py @@ -1,5 +1,16 @@ #!/usr/bin/env python3 +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import argparse import collections import copy diff --git a/tests/mgbench/client.cpp b/tests/mgbench/client.cpp index 1489b0784..58cee24f3 100644 --- a/tests/mgbench/client.cpp +++ b/tests/mgbench/client.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <algorithm> #include <atomic> #include <chrono> diff --git a/tests/mgbench/compare_results.py b/tests/mgbench/compare_results.py index 965e7f01e..2179bb408 100755 --- a/tests/mgbench/compare_results.py +++ b/tests/mgbench/compare_results.py @@ -1,5 +1,16 @@ #!/usr/bin/env python3 +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import argparse import json diff --git a/tests/mgbench/datasets.py b/tests/mgbench/datasets.py index 868c0adbe..dbaaa2de9 100644 --- a/tests/mgbench/datasets.py +++ b/tests/mgbench/datasets.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import random import helpers diff --git a/tests/mgbench/helpers.py b/tests/mgbench/helpers.py index ecfa80f1a..7488b1443 100644 --- a/tests/mgbench/helpers.py +++ b/tests/mgbench/helpers.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import copy import json import os diff --git a/tests/mgbench/log.py b/tests/mgbench/log.py index 6c9a8b74b..126c3b082 100644 --- a/tests/mgbench/log.py +++ b/tests/mgbench/log.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + COLOR_GRAY = 0 COLOR_RED = 1 COLOR_GREEN = 2 diff --git a/tests/mgbench/runners.py b/tests/mgbench/runners.py index e9177acd5..891a7cddd 100644 --- a/tests/mgbench/runners.py +++ b/tests/mgbench/runners.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + import atexit import json import os diff --git a/tests/property_based/random_graph.cpp b/tests/property_based/random_graph.cpp index ad8ae732a..ec1468f56 100644 --- a/tests/property_based/random_graph.cpp +++ b/tests/property_based/random_graph.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <unordered_map> #include <vector> diff --git a/tests/stress/bipartite.py b/tests/stress/bipartite.py index 96f4cc061..3932906c4 100644 --- a/tests/stress/bipartite.py +++ b/tests/stress/bipartite.py @@ -1,6 +1,17 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + ''' Large bipartite graph stress test. ''' diff --git a/tests/stress/common.py b/tests/stress/common.py index 797447ccb..3648d0e0a 100644 --- a/tests/stress/common.py +++ b/tests/stress/common.py @@ -1,3 +1,14 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + # -*- coding: utf-8 -*- ''' diff --git a/tests/stress/create_match.py b/tests/stress/create_match.py index db1c31574..70fc6cb29 100644 --- a/tests/stress/create_match.py +++ b/tests/stress/create_match.py @@ -1,6 +1,17 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +# License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + ''' Large scale stress test. Tests only node creation. diff --git a/tests/stress/long_running.cpp b/tests/stress/long_running.cpp index 93139b7e0..d7973f317 100644 --- a/tests/stress/long_running.cpp +++ b/tests/stress/long_running.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <atomic> #include <fstream> #include <random> diff --git a/tests/unit/auth.cpp b/tests/unit/auth.cpp index ce92ee04d..b8d74a2e1 100644 --- a/tests/unit/auth.cpp +++ b/tests/unit/auth.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <algorithm> #include <iostream> diff --git a/tests/unit/bfs_common.hpp b/tests/unit/bfs_common.hpp index 0bdebab5d..48aaa2236 100644 --- a/tests/unit/bfs_common.hpp +++ b/tests/unit/bfs_common.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "gtest/gtest.h" diff --git a/tests/unit/bfs_single_node.cpp b/tests/unit/bfs_single_node.cpp index ba95ebff2..e58f1ddf8 100644 --- a/tests/unit/bfs_single_node.cpp +++ b/tests/unit/bfs_single_node.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "bfs_common.hpp" using namespace query; diff --git a/tests/unit/bolt_chunked_decoder_buffer.cpp b/tests/unit/bolt_chunked_decoder_buffer.cpp index 93f3542ef..8400d20b8 100644 --- a/tests/unit/bolt_chunked_decoder_buffer.cpp +++ b/tests/unit/bolt_chunked_decoder_buffer.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "bolt_common.hpp" #include "communication/bolt/v1/decoder/chunked_decoder_buffer.hpp" #include "communication/buffer.hpp" diff --git a/tests/unit/bolt_chunked_encoder_buffer.cpp b/tests/unit/bolt_chunked_encoder_buffer.cpp index 16af737e6..d5a454201 100644 --- a/tests/unit/bolt_chunked_encoder_buffer.cpp +++ b/tests/unit/bolt_chunked_encoder_buffer.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "bolt_common.hpp" #include "communication/bolt/v1/encoder/chunked_encoder_buffer.hpp" diff --git a/tests/unit/bolt_common.hpp b/tests/unit/bolt_common.hpp index 7690c3fb2..c6495ee4a 100644 --- a/tests/unit/bolt_common.hpp +++ b/tests/unit/bolt_common.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <array> #include <cstring> #include <functional> diff --git a/tests/unit/bolt_decoder.cpp b/tests/unit/bolt_decoder.cpp index ff444c965..7b1b28b58 100644 --- a/tests/unit/bolt_decoder.cpp +++ b/tests/unit/bolt_decoder.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <bit> #include "bolt_common.hpp" diff --git a/tests/unit/bolt_encoder.cpp b/tests/unit/bolt_encoder.cpp index 9409072a6..6812c9e10 100644 --- a/tests/unit/bolt_encoder.cpp +++ b/tests/unit/bolt_encoder.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <array> #include <bit> diff --git a/tests/unit/bolt_session.cpp b/tests/unit/bolt_session.cpp index 6bee34273..3db308f50 100644 --- a/tests/unit/bolt_session.cpp +++ b/tests/unit/bolt_session.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gflags/gflags.h> #include "bolt_common.hpp" diff --git a/tests/unit/bolt_testdata.hpp b/tests/unit/bolt_testdata.hpp index 9536a2166..ad84cd8e5 100644 --- a/tests/unit/bolt_testdata.hpp +++ b/tests/unit/bolt_testdata.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once // clang-format off diff --git a/tests/unit/commit_log_v2.cpp b/tests/unit/commit_log_v2.cpp index 8f9ff2a9b..a0a247d3a 100644 --- a/tests/unit/commit_log_v2.cpp +++ b/tests/unit/commit_log_v2.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/commit_log.hpp" #include "gtest/gtest.h" diff --git a/tests/unit/communication_buffer.cpp b/tests/unit/communication_buffer.cpp index 76f6b2f28..37023fd10 100644 --- a/tests/unit/communication_buffer.cpp +++ b/tests/unit/communication_buffer.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "bolt_common.hpp" #include "communication/buffer.hpp" diff --git a/tests/unit/cypher_main_visitor.cpp b/tests/unit/cypher_main_visitor.cpp index 5569fa418..4963c22a4 100644 --- a/tests/unit/cypher_main_visitor.cpp +++ b/tests/unit/cypher_main_visitor.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + // Copyright 2021 Memgraph Ltd. // // Use of this software is governed by the Business Source License diff --git a/tests/unit/formatters.hpp b/tests/unit/formatters.hpp index 84e36c74a..ffe53dee5 100644 --- a/tests/unit/formatters.hpp +++ b/tests/unit/formatters.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include <sstream> diff --git a/tests/unit/integrations_kafka_consumer.cpp b/tests/unit/integrations_kafka_consumer.cpp index 521adc5c3..89f4593ff 100644 --- a/tests/unit/integrations_kafka_consumer.cpp +++ b/tests/unit/integrations_kafka_consumer.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <optional> #include <string> diff --git a/tests/unit/interpreter.cpp b/tests/unit/interpreter.cpp index 63d897650..8db4a2aea 100644 --- a/tests/unit/interpreter.cpp +++ b/tests/unit/interpreter.cpp @@ -9,6 +9,17 @@ // by the Apache License, Version 2.0, included in the file // licenses/APL.txt. +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <cstdlib> #include <filesystem> diff --git a/tests/unit/kafka_mock.cpp b/tests/unit/kafka_mock.cpp index b0e8a818b..7674a9488 100644 --- a/tests/unit/kafka_mock.cpp +++ b/tests/unit/kafka_mock.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "kafka_mock.hpp" #include <chrono> diff --git a/tests/unit/kafka_mock.hpp b/tests/unit/kafka_mock.hpp index a04c75bfe..fce563fda 100644 --- a/tests/unit/kafka_mock.hpp +++ b/tests/unit/kafka_mock.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include <memory> diff --git a/tests/unit/kvstore.cpp b/tests/unit/kvstore.cpp index 86f5c7685..f593ece2b 100644 --- a/tests/unit/kvstore.cpp +++ b/tests/unit/kvstore.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <unistd.h> #include <gtest/gtest.h> diff --git a/tests/unit/main.cpp b/tests/unit/main.cpp index 22e690290..dcbf5f8aa 100644 --- a/tests/unit/main.cpp +++ b/tests/unit/main.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include <utils/logging.hpp> diff --git a/tests/unit/metrics.cpp b/tests/unit/metrics.cpp index 82c7e2f98..473f06e8d 100644 --- a/tests/unit/metrics.cpp +++ b/tests/unit/metrics.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "stats/metrics.hpp" #include <thread> diff --git a/tests/unit/mgp_kafka_c_api.cpp b/tests/unit/mgp_kafka_c_api.cpp index ee4e0467c..070ef2b42 100644 --- a/tests/unit/mgp_kafka_c_api.cpp +++ b/tests/unit/mgp_kafka_c_api.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <algorithm> #include <cstring> #include <exception> diff --git a/tests/unit/mgp_trans_c_api.cpp b/tests/unit/mgp_trans_c_api.cpp index 95085b2e7..cf97e09ce 100644 --- a/tests/unit/mgp_trans_c_api.cpp +++ b/tests/unit/mgp_trans_c_api.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "gtest/gtest.h" #include "query/procedure/mg_procedure_impl.hpp" diff --git a/tests/unit/network_endpoint.cpp b/tests/unit/network_endpoint.cpp index cdeb0ab73..7e231cb4c 100644 --- a/tests/unit/network_endpoint.cpp +++ b/tests/unit/network_endpoint.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "gtest/gtest.h" #include "io/network/endpoint.hpp" diff --git a/tests/unit/network_timeouts.cpp b/tests/unit/network_timeouts.cpp index 9e65e4510..620d0cffa 100644 --- a/tests/unit/network_timeouts.cpp +++ b/tests/unit/network_timeouts.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <iostream> #include <thread> diff --git a/tests/unit/network_utils.cpp b/tests/unit/network_utils.cpp index d3b8eb409..91a6945a4 100644 --- a/tests/unit/network_utils.cpp +++ b/tests/unit/network_utils.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "gmock/gmock.h" #include "gtest/gtest.h" diff --git a/tests/unit/plan_pretty_print.cpp b/tests/unit/plan_pretty_print.cpp index c78fe7ebc..4c88a7cda 100644 --- a/tests/unit/plan_pretty_print.cpp +++ b/tests/unit/plan_pretty_print.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include "query/frontend/semantic/symbol_table.hpp" diff --git a/tests/unit/property_value_v2.cpp b/tests/unit/property_value_v2.cpp index f4ffbc913..60eb7a801 100644 --- a/tests/unit/property_value_v2.cpp +++ b/tests/unit/property_value_v2.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include <sstream> diff --git a/tests/unit/query_common.hpp b/tests/unit/query_common.hpp index 67698075f..f28c972aa 100644 --- a/tests/unit/query_common.hpp +++ b/tests/unit/query_common.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file /// This file provides macros for easier construction of openCypher query AST. /// The usage of macros is very similar to how one would write openCypher. For diff --git a/tests/unit/query_cost_estimator.cpp b/tests/unit/query_cost_estimator.cpp index f1c38bc74..ebd577c30 100644 --- a/tests/unit/query_cost_estimator.cpp +++ b/tests/unit/query_cost_estimator.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include <memory> diff --git a/tests/unit/query_dump.cpp b/tests/unit/query_dump.cpp index edce9f9f2..45aad28c0 100644 --- a/tests/unit/query_dump.cpp +++ b/tests/unit/query_dump.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include <filesystem> diff --git a/tests/unit/query_expression_evaluator.cpp b/tests/unit/query_expression_evaluator.cpp index 77825e7b3..bdff1561f 100644 --- a/tests/unit/query_expression_evaluator.cpp +++ b/tests/unit/query_expression_evaluator.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <cmath> #include <iterator> diff --git a/tests/unit/query_plan.cpp b/tests/unit/query_plan.cpp index 826a54481..1fc190787 100644 --- a/tests/unit/query_plan.cpp +++ b/tests/unit/query_plan.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query_plan_checker.hpp" #include <iostream> diff --git a/tests/unit/query_plan_accumulate_aggregate.cpp b/tests/unit/query_plan_accumulate_aggregate.cpp index db57595fb..5f03688ea 100644 --- a/tests/unit/query_plan_accumulate_aggregate.cpp +++ b/tests/unit/query_plan_accumulate_aggregate.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <algorithm> #include <iterator> #include <memory> diff --git a/tests/unit/query_plan_bag_semantics.cpp b/tests/unit/query_plan_bag_semantics.cpp index adfc4f601..18672a190 100644 --- a/tests/unit/query_plan_bag_semantics.cpp +++ b/tests/unit/query_plan_bag_semantics.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + // // Copyright 2017 Memgraph // Created by Florijan Stamenkovic on 14.03.17. diff --git a/tests/unit/query_plan_checker.hpp b/tests/unit/query_plan_checker.hpp index 7afff7b7c..dd0b37ebe 100644 --- a/tests/unit/query_plan_checker.hpp +++ b/tests/unit/query_plan_checker.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gmock/gmock.h> #include <gtest/gtest.h> diff --git a/tests/unit/query_plan_common.hpp b/tests/unit/query_plan_common.hpp index 63811708e..867c0fc8b 100644 --- a/tests/unit/query_plan_common.hpp +++ b/tests/unit/query_plan_common.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include <iterator> diff --git a/tests/unit/query_plan_create_set_remove_delete.cpp b/tests/unit/query_plan_create_set_remove_delete.cpp index 2cf19f1c9..d071e50bd 100644 --- a/tests/unit/query_plan_create_set_remove_delete.cpp +++ b/tests/unit/query_plan_create_set_remove_delete.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <iterator> #include <memory> #include <variant> diff --git a/tests/unit/query_plan_edge_cases.cpp b/tests/unit/query_plan_edge_cases.cpp index b214696fd..8858c8721 100644 --- a/tests/unit/query_plan_edge_cases.cpp +++ b/tests/unit/query_plan_edge_cases.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + // tests in this suite deal with edge cases in logical operator behavior // that's not easily testable with single-phase testing. instead, for // easy testing and latter readability they are tested end-to-end. diff --git a/tests/unit/query_plan_match_filter_return.cpp b/tests/unit/query_plan_match_filter_return.cpp index 79d15913a..81337b854 100644 --- a/tests/unit/query_plan_match_filter_return.cpp +++ b/tests/unit/query_plan_match_filter_return.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <iterator> #include <memory> #include <optional> diff --git a/tests/unit/query_plan_read_write_typecheck.cpp b/tests/unit/query_plan_read_write_typecheck.cpp index fbd18b4bc..d9f655bf2 100644 --- a/tests/unit/query_plan_read_write_typecheck.cpp +++ b/tests/unit/query_plan_read_write_typecheck.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include "query/frontend/semantic/symbol_table.hpp" diff --git a/tests/unit/query_plan_v2_create_set_remove_delete.cpp b/tests/unit/query_plan_v2_create_set_remove_delete.cpp index 363c53332..4139b310b 100644 --- a/tests/unit/query_plan_v2_create_set_remove_delete.cpp +++ b/tests/unit/query_plan_v2_create_set_remove_delete.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include "query_plan_common.hpp" diff --git a/tests/unit/query_pretty_print.cpp b/tests/unit/query_pretty_print.cpp index 8306ebd15..1dc24a877 100644 --- a/tests/unit/query_pretty_print.cpp +++ b/tests/unit/query_pretty_print.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <vector> #include <gmock/gmock.h> diff --git a/tests/unit/query_procedure_mgp_module.cpp b/tests/unit/query_procedure_mgp_module.cpp index 312241a8f..f5d047628 100644 --- a/tests/unit/query_procedure_mgp_module.cpp +++ b/tests/unit/query_procedure_mgp_module.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include <functional> diff --git a/tests/unit/query_procedure_mgp_type.cpp b/tests/unit/query_procedure_mgp_type.cpp index 493b169d4..173ae71f0 100644 --- a/tests/unit/query_procedure_mgp_type.cpp +++ b/tests/unit/query_procedure_mgp_type.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <functional> #include <memory> #include <utility> diff --git a/tests/unit/query_procedure_py_module.cpp b/tests/unit/query_procedure_py_module.cpp index aee93adb8..8acdce2c8 100644 --- a/tests/unit/query_procedure_py_module.cpp +++ b/tests/unit/query_procedure_py_module.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include <filesystem> diff --git a/tests/unit/query_procedures_mgp_graph.cpp b/tests/unit/query_procedures_mgp_graph.cpp index e79efa502..d9128a3ba 100644 --- a/tests/unit/query_procedures_mgp_graph.cpp +++ b/tests/unit/query_procedures_mgp_graph.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <algorithm> #include <iterator> #include <list> diff --git a/tests/unit/query_profile.cpp b/tests/unit/query_profile.cpp index 09d657201..51b6b1817 100644 --- a/tests/unit/query_profile.cpp +++ b/tests/unit/query_profile.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <gtest/gtest.h> diff --git a/tests/unit/query_required_privileges.cpp b/tests/unit/query_required_privileges.cpp index dfc0c4cce..314b52ec3 100644 --- a/tests/unit/query_required_privileges.cpp +++ b/tests/unit/query_required_privileges.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gmock/gmock.h> #include <gtest/gtest.h> diff --git a/tests/unit/query_semantic.cpp b/tests/unit/query_semantic.cpp index 1811ace5b..f057bca84 100644 --- a/tests/unit/query_semantic.cpp +++ b/tests/unit/query_semantic.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <memory> #include <sstream> #include <variant> diff --git a/tests/unit/query_serialization_property_value.cpp b/tests/unit/query_serialization_property_value.cpp index 78b2a1b9a..46d6f5a63 100644 --- a/tests/unit/query_serialization_property_value.cpp +++ b/tests/unit/query_serialization_property_value.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include "query/serialization/property_value.hpp" diff --git a/tests/unit/query_streams.cpp b/tests/unit/query_streams.cpp index 4ce2a84ca..7185e7c4d 100644 --- a/tests/unit/query_streams.cpp +++ b/tests/unit/query_streams.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <algorithm> #include <filesystem> #include <optional> diff --git a/tests/unit/query_trigger.cpp b/tests/unit/query_trigger.cpp index 3904cbda9..547cae69c 100644 --- a/tests/unit/query_trigger.cpp +++ b/tests/unit/query_trigger.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gmock/gmock.h> #include <gtest/gtest.h> #include <filesystem> diff --git a/tests/unit/query_variable_start_planner.cpp b/tests/unit/query_variable_start_planner.cpp index 570d7806f..59877edb6 100644 --- a/tests/unit/query_variable_start_planner.cpp +++ b/tests/unit/query_variable_start_planner.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <algorithm> #include <variant> diff --git a/tests/unit/ring_buffer.cpp b/tests/unit/ring_buffer.cpp index dd1ba052f..7757c3d5c 100644 --- a/tests/unit/ring_buffer.cpp +++ b/tests/unit/ring_buffer.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <mutex> #include <thread> #include <unordered_set> diff --git a/tests/unit/rpc.cpp b/tests/unit/rpc.cpp index 7ca3c6763..c852f09d1 100644 --- a/tests/unit/rpc.cpp +++ b/tests/unit/rpc.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <thread> #include "gmock/gmock.h" diff --git a/tests/unit/rpc_messages.hpp b/tests/unit/rpc_messages.hpp index 0733c4835..8c734de1f 100644 --- a/tests/unit/rpc_messages.hpp +++ b/tests/unit/rpc_messages.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "rpc/messages.hpp" diff --git a/tests/unit/skip_list.cpp b/tests/unit/skip_list.cpp index 95d2a0d4d..a367a61c7 100644 --- a/tests/unit/skip_list.cpp +++ b/tests/unit/skip_list.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <vector> #include <fmt/format.h> diff --git a/tests/unit/slk_advanced.cpp b/tests/unit/slk_advanced.cpp index 343214160..6a2f5ed66 100644 --- a/tests/unit/slk_advanced.cpp +++ b/tests/unit/slk_advanced.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include "storage/v2/property_value.hpp" diff --git a/tests/unit/slk_common.hpp b/tests/unit/slk_common.hpp index 6eb74c273..54b3934af 100644 --- a/tests/unit/slk_common.hpp +++ b/tests/unit/slk_common.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include <cstdint> diff --git a/tests/unit/slk_core.cpp b/tests/unit/slk_core.cpp index 88c628983..823321317 100644 --- a/tests/unit/slk_core.cpp +++ b/tests/unit/slk_core.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include "slk/serialization.hpp" diff --git a/tests/unit/slk_streams.cpp b/tests/unit/slk_streams.cpp index 4ccbf8c58..12d44e51e 100644 --- a/tests/unit/slk_streams.cpp +++ b/tests/unit/slk_streams.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include <cstring> diff --git a/tests/unit/small_vector.cpp b/tests/unit/small_vector.cpp index 7a460b602..2e509a9d6 100644 --- a/tests/unit/small_vector.cpp +++ b/tests/unit/small_vector.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <atomic> #include <chrono> #include <optional> diff --git a/tests/unit/socket.cpp b/tests/unit/socket.cpp index 7b025d261..af000bcd5 100644 --- a/tests/unit/socket.cpp +++ b/tests/unit/socket.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <csignal> #include <thread> diff --git a/tests/unit/storage_test_utils.cpp b/tests/unit/storage_test_utils.cpp index 4f7f656f5..a17c9b295 100644 --- a/tests/unit/storage_test_utils.cpp +++ b/tests/unit/storage_test_utils.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage_test_utils.hpp" size_t CountVertices(storage::Storage::Accessor &storage_accessor, storage::View view) { diff --git a/tests/unit/storage_test_utils.hpp b/tests/unit/storage_test_utils.hpp index 90aee2afa..81e4dd561 100644 --- a/tests/unit/storage_test_utils.hpp +++ b/tests/unit/storage_test_utils.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "storage/v2/storage.hpp" diff --git a/tests/unit/storage_v2.cpp b/tests/unit/storage_v2.cpp index ba6af920f..90bf58231 100644 --- a/tests/unit/storage_v2.cpp +++ b/tests/unit/storage_v2.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gmock/gmock.h> #include <gtest/gtest.h> diff --git a/tests/unit/storage_v2_constraints.cpp b/tests/unit/storage_v2_constraints.cpp index 9ef02df85..5329b3ada 100644 --- a/tests/unit/storage_v2_constraints.cpp +++ b/tests/unit/storage_v2_constraints.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gmock/gmock.h> #include <gtest/gtest.h> diff --git a/tests/unit/storage_v2_decoder_encoder.cpp b/tests/unit/storage_v2_decoder_encoder.cpp index caeffddd3..ae7396c88 100644 --- a/tests/unit/storage_v2_decoder_encoder.cpp +++ b/tests/unit/storage_v2_decoder_encoder.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include <filesystem> diff --git a/tests/unit/storage_v2_durability.cpp b/tests/unit/storage_v2_durability.cpp index dfe84f7ce..61bcd4fc4 100644 --- a/tests/unit/storage_v2_durability.cpp +++ b/tests/unit/storage_v2_durability.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gmock/gmock.h> #include <gtest/gtest.h> #include <sys/types.h> diff --git a/tests/unit/storage_v2_edge.cpp b/tests/unit/storage_v2_edge.cpp index 89eff1e7d..5a1c8ac98 100644 --- a/tests/unit/storage_v2_edge.cpp +++ b/tests/unit/storage_v2_edge.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gmock/gmock.h> #include <gtest/gtest.h> diff --git a/tests/unit/storage_v2_gc.cpp b/tests/unit/storage_v2_gc.cpp index 7f955b339..d868ccebe 100644 --- a/tests/unit/storage_v2_gc.cpp +++ b/tests/unit/storage_v2_gc.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gmock/gmock.h> #include <gtest/gtest.h> diff --git a/tests/unit/storage_v2_indices.cpp b/tests/unit/storage_v2_indices.cpp index 3bf874b78..0144886ef 100644 --- a/tests/unit/storage_v2_indices.cpp +++ b/tests/unit/storage_v2_indices.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gmock/gmock.h> #include <gtest/gtest.h> diff --git a/tests/unit/storage_v2_isolation_level.cpp b/tests/unit/storage_v2_isolation_level.cpp index f80bc2ef2..39ebb5ccd 100644 --- a/tests/unit/storage_v2_isolation_level.cpp +++ b/tests/unit/storage_v2_isolation_level.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include "storage/v2/isolation_level.hpp" diff --git a/tests/unit/storage_v2_name_id_mapper.cpp b/tests/unit/storage_v2_name_id_mapper.cpp index e2353db07..d14844ce8 100644 --- a/tests/unit/storage_v2_name_id_mapper.cpp +++ b/tests/unit/storage_v2_name_id_mapper.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include "storage/v2/name_id_mapper.hpp" diff --git a/tests/unit/storage_v2_property_store.cpp b/tests/unit/storage_v2_property_store.cpp index b4180dc81..55d756d42 100644 --- a/tests/unit/storage_v2_property_store.cpp +++ b/tests/unit/storage_v2_property_store.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gmock/gmock.h> #include <gtest/gtest.h> diff --git a/tests/unit/storage_v2_replication.cpp b/tests/unit/storage_v2_replication.cpp index 6cd7c1851..582f4d1c5 100644 --- a/tests/unit/storage_v2_replication.cpp +++ b/tests/unit/storage_v2_replication.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <thread> diff --git a/tests/unit/storage_v2_wal_file.cpp b/tests/unit/storage_v2_wal_file.cpp index 79e03f351..c59976726 100644 --- a/tests/unit/storage_v2_wal_file.cpp +++ b/tests/unit/storage_v2_wal_file.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include <fmt/format.h> diff --git a/tests/unit/stripped.cpp b/tests/unit/stripped.cpp index 7b54a3c39..a2fbd0491 100644 --- a/tests/unit/stripped.cpp +++ b/tests/unit/stripped.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + // // Copyright 2017 Memgraph // Created by Florijan Stamenkovic on 07.03.17. diff --git a/tests/unit/test_utils.hpp b/tests/unit/test_utils.hpp index 671ca2aec..d83254e56 100644 --- a/tests/unit/test_utils.hpp +++ b/tests/unit/test_utils.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include <memory> diff --git a/tests/unit/typed_value.cpp b/tests/unit/typed_value.cpp index bc9ae09f3..972d6fed3 100644 --- a/tests/unit/typed_value.cpp +++ b/tests/unit/typed_value.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + // // Copyright 2017 Memgraph // Created by Florijan Stamenkovic on 24.01.17.. diff --git a/tests/unit/utils_algorithm.cpp b/tests/unit/utils_algorithm.cpp index a0e5546b8..85430817b 100644 --- a/tests/unit/utils_algorithm.cpp +++ b/tests/unit/utils_algorithm.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <list> #include <map> #include <sstream> diff --git a/tests/unit/utils_async_timer.cpp b/tests/unit/utils_async_timer.cpp index 65fa69dee..5b67ac540 100644 --- a/tests/unit/utils_async_timer.cpp +++ b/tests/unit/utils_async_timer.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <cmath> #include <limits> diff --git a/tests/unit/utils_csv_parsing.cpp b/tests/unit/utils_csv_parsing.cpp index 335e16769..5ece08a12 100644 --- a/tests/unit/utils_csv_parsing.cpp +++ b/tests/unit/utils_csv_parsing.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "gmock/gmock.h" #include "gtest/gtest.h" #include "utils/csv_parsing.hpp" diff --git a/tests/unit/utils_exceptions.cpp b/tests/unit/utils_exceptions.cpp index bfd457a49..635a64a57 100644 --- a/tests/unit/utils_exceptions.cpp +++ b/tests/unit/utils_exceptions.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include <utils/exceptions.hpp> diff --git a/tests/unit/utils_file.cpp b/tests/unit/utils_file.cpp index 604c6de6d..b9c7e6130 100644 --- a/tests/unit/utils_file.cpp +++ b/tests/unit/utils_file.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <fstream> #include <map> diff --git a/tests/unit/utils_file_locker.cpp b/tests/unit/utils_file_locker.cpp index b19eac239..29e19da42 100644 --- a/tests/unit/utils_file_locker.cpp +++ b/tests/unit/utils_file_locker.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <filesystem> #include <fstream> diff --git a/tests/unit/utils_license.cpp b/tests/unit/utils_license.cpp index 3ee0b109b..4b6890d00 100644 --- a/tests/unit/utils_license.cpp +++ b/tests/unit/utils_license.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include "utils/license.hpp" diff --git a/tests/unit/utils_math.cpp b/tests/unit/utils_math.cpp index 7e74cf3ae..4a1a79679 100644 --- a/tests/unit/utils_math.cpp +++ b/tests/unit/utils_math.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <cmath> #include <gmock/gmock.h> diff --git a/tests/unit/utils_memory.cpp b/tests/unit/utils_memory.cpp index 04e3b0631..50395b7cb 100644 --- a/tests/unit/utils_memory.cpp +++ b/tests/unit/utils_memory.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <cstdint> #include <cstring> #include <limits> diff --git a/tests/unit/utils_memory_tracker.cpp b/tests/unit/utils_memory_tracker.cpp index 37acc07b4..09151481d 100644 --- a/tests/unit/utils_memory_tracker.cpp +++ b/tests/unit/utils_memory_tracker.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <thread> #include <gtest/gtest.h> diff --git a/tests/unit/utils_on_scope_exit.cpp b/tests/unit/utils_on_scope_exit.cpp index 8b09a2142..6f958e9b0 100644 --- a/tests/unit/utils_on_scope_exit.cpp +++ b/tests/unit/utils_on_scope_exit.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "gmock/gmock.h" #include "gtest/gtest.h" diff --git a/tests/unit/utils_rwlock.cpp b/tests/unit/utils_rwlock.cpp index 7d06b92ea..165f71bd6 100644 --- a/tests/unit/utils_rwlock.cpp +++ b/tests/unit/utils_rwlock.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <shared_mutex> #include <thread> diff --git a/tests/unit/utils_scheduler.cpp b/tests/unit/utils_scheduler.cpp index 6e4d032bc..497c9b7cd 100644 --- a/tests/unit/utils_scheduler.cpp +++ b/tests/unit/utils_scheduler.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "gmock/gmock.h" #include "gtest/gtest.h" diff --git a/tests/unit/utils_settings.cpp b/tests/unit/utils_settings.cpp index cd27fd749..d6a6c8c6c 100644 --- a/tests/unit/utils_settings.cpp +++ b/tests/unit/utils_settings.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <filesystem> #include <gmock/gmock-generated-matchers.h> diff --git a/tests/unit/utils_signals.cpp b/tests/unit/utils_signals.cpp index 75662e3cc..e11db0b2d 100644 --- a/tests/unit/utils_signals.cpp +++ b/tests/unit/utils_signals.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <iostream> #include <string> #include <thread> diff --git a/tests/unit/utils_string.cpp b/tests/unit/utils_string.cpp index e8b344ecb..b49aa562a 100644 --- a/tests/unit/utils_string.cpp +++ b/tests/unit/utils_string.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "gmock/gmock.h" #include "gtest/gtest.h" diff --git a/tests/unit/utils_synchronized.cpp b/tests/unit/utils_synchronized.cpp index 08d0c60b5..e5166f67a 100644 --- a/tests/unit/utils_synchronized.cpp +++ b/tests/unit/utils_synchronized.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <vector> #include "gtest/gtest.h" diff --git a/tests/unit/utils_temporal.cpp b/tests/unit/utils_temporal.cpp index 2b4199144..ea5bb5ec5 100644 --- a/tests/unit/utils_temporal.cpp +++ b/tests/unit/utils_temporal.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <iostream> #include <limits> diff --git a/tests/unit/utils_thread_pool.cpp b/tests/unit/utils_thread_pool.cpp index 48525941f..79862f764 100644 --- a/tests/unit/utils_thread_pool.cpp +++ b/tests/unit/utils_thread_pool.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <gtest/gtest.h> #include <atomic> diff --git a/tests/unit/utils_timestamp.cpp b/tests/unit/utils_timestamp.cpp index 0336a2053..174a737ac 100644 --- a/tests/unit/utils_timestamp.cpp +++ b/tests/unit/utils_timestamp.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include <chrono> #include <iostream> #include <thread>