Skip to content

Commit 75d4758

Browse files
cb-robottrondn
authored andcommitted
CBD-3928: Update existing license headers to BSL (tests)
Change-Id: I56d7968ea5de1d40d846e4231d392c8f87dda6fc Reviewed-on: http://review.couchbase.org/c/kv_engine/+/150869 Reviewed-by: Trond Norbye <[email protected]> Tested-by: Trond Norbye <[email protected]>
1 parent ae19179 commit 75d4758

File tree

106 files changed

+638
-1275
lines changed

Some content is hidden

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

106 files changed

+638
-1275
lines changed

Diff for: tests/breakpad_test.py

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
#!/usr/bin/python
22

3-
# Copyright 2015 Couchbase, Inc
3+
# Copyright 2015-Present Couchbase, Inc.
44
#
5-
# Licensed under the Apache License, Version 2.0 (the "License");
6-
# you may not use this file except in compliance with the License.
7-
# You may obtain a copy of the License at
8-
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
10-
#
11-
# Unless required by applicable law or agreed to in writing, software
12-
# distributed under the License is distributed on an "AS IS" BASIS,
13-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
# See the License for the specific language governing permissions and
15-
# limitations under the License.
5+
# Use of this software is governed by the Business Source License included
6+
# in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
7+
# in that file, in accordance with the Business Source License, use of this
8+
# software will be governed by the Apache License, Version 2.0, included in
9+
# the file licenses/APL2.txt.
1610

1711
"""Tests the operation of Breakpad as a crash reporter for memcached.
1812

Diff for: tests/dockey/dockey_test.cc

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
22
/*
3-
* Copyright 2020 Couchbase, Inc.
3+
* Copyright 2020-Present Couchbase, Inc.
44
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
5+
* Use of this software is governed by the Business Source License included
6+
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
7+
* in that file, in accordance with the Business Source License, use of this
8+
* software will be governed by the Apache License, Version 2.0, included in
9+
* the file licenses/APL2.txt.
1610
*/
1711

1812
#include <folly/portability/GTest.h>

Diff for: tests/engine_error/engine_error_test.cc

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
22
/*
3-
* Copyright 2016 Couchbase, Inc.
3+
* Copyright 2016-Present Couchbase, Inc.
44
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
5+
* Use of this software is governed by the Business Source License included
6+
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
7+
* in that file, in accordance with the Business Source License, use of this
8+
* software will be governed by the Apache License, Version 2.0, included in
9+
* the file licenses/APL2.txt.
1610
*/
1711
#include <folly/portability/GTest.h>
1812
#include <memcached/engine_error.h>

Diff for: tests/error_map_sanity_check/error_map_sanity_check.cc

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
/*
2-
* Copyright 2017 Couchbase, Inc.
2+
* Copyright 2017-Present Couchbase, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* Use of this software is governed by the Business Source License included
5+
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
6+
* in that file, in accordance with the Business Source License, use of this
7+
* software will be governed by the Apache License, Version 2.0, included in
8+
* the file licenses/APL2.txt.
159
*/
1610

1711
#include <daemon/settings.h>

Diff for: tests/executor/executor_test.cc

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
22
/*
3-
* Copyright 2015 Couchbase, Inc.
3+
* Copyright 2015-Present Couchbase, Inc.
44
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
5+
* Use of this software is governed by the Business Source License included
6+
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
7+
* in that file, in accordance with the Business Source License, use of this
8+
* software will be governed by the Apache License, Version 2.0, included in
9+
* the file licenses/APL2.txt.
1610
*/
1711

1812
#include <daemon/executor.h>

Diff for: tests/header_define_once_test.py

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
#!/usr/bin/env python3
22

3-
# Copyright 2018 Couchbase, Inc
3+
# Copyright 2018-Present Couchbase, Inc.
44
#
5-
# Licensed under the Apache License, Version 2.0 (the "License");
6-
# you may not use this file except in compliance with the License.
7-
# You may obtain a copy of the License at
8-
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
10-
#
11-
# Unless required by applicable law or agreed to in writing, software
12-
# distributed under the License is distributed on an "AS IS" BASIS,
13-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
# See the License for the specific language governing permissions and
15-
# limitations under the License.
5+
# Use of this software is governed by the Business Source License included
6+
# in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
7+
# in that file, in accordance with the Business Source License, use of this
8+
# software will be governed by the Apache License, Version 2.0, included in
9+
# the file licenses/APL2.txt.
1610

1711
# Test to check that KV-engine tests have a define only-once guard, e.g.
1812
# they contain a #pragma once directive or contain a #ifndef, #define

Diff for: tests/histograms/histogram_test_bench.cc

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
22
/*
3-
* Copyright 2019 Couchbase, Inc.
3+
* Copyright 2019-Present Couchbase, Inc.
44
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
5+
* Use of this software is governed by the Business Source License included
6+
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
7+
* in that file, in accordance with the Business Source License, use of this
8+
* software will be governed by the Apache License, Version 2.0, included in
9+
* the file licenses/APL2.txt.
1610
*/
1711

1812
/*

Diff for: tests/mcbp/mcbp_bench.cc

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
22
/*
3-
* Copyright 2018 Couchbase, Inc.
3+
* Copyright 2018-Present Couchbase, Inc.
44
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
5+
* Use of this software is governed by the Business Source License included
6+
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
7+
* in that file, in accordance with the Business Source License, use of this
8+
* software will be governed by the Apache License, Version 2.0, included in
9+
* the file licenses/APL2.txt.
1610
*/
1711

1812
#include "mock_connection.h"

Diff for: tests/mcbp/mcbp_dcp_test.cc

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
/*
2-
* Copyright 2019 Couchbase, Inc.
2+
* Copyright 2019-Present Couchbase, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* Use of this software is governed by the Business Source License included
5+
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
6+
* in that file, in accordance with the Business Source License, use of this
7+
* software will be governed by the Apache License, Version 2.0, included in
8+
* the file licenses/APL2.txt.
159
*/
1610
#include "mcbp_test.h"
1711

Diff for: tests/mcbp/mcbp_frame_extra.cc

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
22
/*
3-
* Copyright 2019 Couchbase, Inc.
3+
* Copyright 2019-Present Couchbase, Inc.
44
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
5+
* Use of this software is governed by the Business Source License included
6+
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
7+
* in that file, in accordance with the Business Source License, use of this
8+
* software will be governed by the Apache License, Version 2.0, included in
9+
* the file licenses/APL2.txt.
1610
*/
1711
#include "mcbp_test.h"
1812

Diff for: tests/mcbp/mcbp_gat_test.cc

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
22
/*
3-
* Copyright 2017 Couchbase, Inc.
3+
* Copyright 2017-Present Couchbase, Inc.
44
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
5+
* Use of this software is governed by the Business Source License included
6+
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
7+
* in that file, in accordance with the Business Source License, use of this
8+
* software will be governed by the Apache License, Version 2.0, included in
9+
* the file licenses/APL2.txt.
1610
*/
1711
#include "mcbp_test.h"
1812

Diff for: tests/mcbp/mcbp_test.cc

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
22
/*
3-
* Copyright 2015 Couchbase, Inc.
3+
* Copyright 2015-Present Couchbase, Inc.
44
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
5+
* Use of this software is governed by the Business Source License included
6+
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
7+
* in that file, in accordance with the Business Source License, use of this
8+
* software will be governed by the Apache License, Version 2.0, included in
9+
* the file licenses/APL2.txt.
1610
*/
1711
#include "mcbp_test.h"
1812

Diff for: tests/mcbp/mcbp_test.h

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
22
/*
3-
* Copyright 2015 Couchbase, Inc.
3+
* Copyright 2015-Present Couchbase, Inc.
44
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
5+
* Use of this software is governed by the Business Source License included
6+
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
7+
* in that file, in accordance with the Business Source License, use of this
8+
* software will be governed by the Apache License, Version 2.0, included in
9+
* the file licenses/APL2.txt.
1610
*/
1711

1812
#pragma once

Diff for: tests/mcbp/mcbp_test_2.cc

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
22
/*
3-
* Copyright 2018 Couchbase, Inc.
3+
* Copyright 2018-Present Couchbase, Inc.
44
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
5+
* Use of this software is governed by the Business Source License included
6+
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
7+
* in that file, in accordance with the Business Source License, use of this
8+
* software will be governed by the Apache License, Version 2.0, included in
9+
* the file licenses/APL2.txt.
1610
*/
1711
#include "mcbp_test.h"
1812

Diff for: tests/mcbp/mcbp_test_collections.cc

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
22
/*
3-
* Copyright 2017 Couchbase, Inc.
3+
* Copyright 2017-Present Couchbase, Inc.
44
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
5+
* Use of this software is governed by the Business Source License included
6+
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
7+
* in that file, in accordance with the Business Source License, use of this
8+
* software will be governed by the Apache License, Version 2.0, included in
9+
* the file licenses/APL2.txt.
1610
*/
1711

1812
#include <memcached/protocol_binary.h>

Diff for: tests/mcbp/mcbp_test_main.cc

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
22
/*
3-
* Copyright 2018 Couchbase, Inc.
3+
* Copyright 2018-Present Couchbase, Inc.
44
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
5+
* Use of this software is governed by the Business Source License included
6+
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
7+
* in that file, in accordance with the Business Source License, use of this
8+
* software will be governed by the Apache License, Version 2.0, included in
9+
* the file licenses/APL2.txt.
1610
*/
1711

1812
#include <daemon/settings.h>

0 commit comments

Comments
 (0)