Skip to content

Commit 5fb6af0

Browse files
committed
chore(license): add viewer OSS headers to doctest suites and note MIT for doctest.h
1 parent 30ca894 commit 5fb6af0

File tree

53 files changed

+1435
-9
lines changed

Some content is hidden

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

53 files changed

+1435
-9
lines changed

indra/extern/doctest/doctest.h

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
/**
2+
* @file doctest.h
3+
* @date 2025-02-18
4+
* @brief Vendored third-party (MIT)
5+
*
6+
* $LicenseInfo:firstyear=2025&license=viewerlgpl$
7+
* Second Life Viewer Source Code
8+
* Copyright (C) 2025, Linden Research, Inc.
9+
*
10+
* This library is free software; you can redistribute it and/or
11+
* modify it under the terms of the GNU Lesser General Public
12+
* License as published by the Free Software Foundation;
13+
* version 2.1 of the License only.
14+
*
15+
* This library is distributed in the hope that it will be useful,
16+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* Lesser General Public License for more details.
19+
*
20+
* You should have received a copy of the GNU Lesser General Public
21+
* License along with this library; if not, write to the Free Software
22+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23+
*
24+
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
25+
* $/LicenseInfo$
26+
*/
27+
28+
/*
29+
* Vendored third-party file: doctest.h
30+
* SPDX-License-Identifier: MIT
31+
* Original project: https://github.com/doctest/doctest
32+
* See license at: indra/extern/doctest/LICENSE
33+
*/
34+
135
// ====================================================================== lgtm [cpp/missing-header-guard]
236
// == DO NOT MODIFY THIS FILE BY HAND - IT IS AUTO GENERATED BY CMAKE! ==
337
// ======================================================================

indra/llcommon/tests_doctest/apply_test_doctest.cpp

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
/**
2+
* @file apply_test_doctest.cpp
3+
* @date 2025-02-18
4+
* @brief doctest: unit tests for apply
5+
*
6+
* $LicenseInfo:firstyear=2025&license=viewerlgpl$
7+
* Second Life Viewer Source Code
8+
* Copyright (C) 2025, Linden Research, Inc.
9+
*
10+
* This library is free software; you can redistribute it and/or
11+
* modify it under the terms of the GNU Lesser General Public
12+
* License as published by the Free Software Foundation;
13+
* version 2.1 of the License only.
14+
*
15+
* This library is distributed in the hope that it will be useful,
16+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* Lesser General Public License for more details.
19+
*
20+
* You should have received a copy of the GNU Lesser General Public
21+
* License along with this library; if not, write to the Free Software
22+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23+
*
24+
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
25+
* $/LicenseInfo$
26+
*/
27+
128
// ---------------------------------------------------------------------------
229
// Auto-generated from apply_test.cpp at 2025-10-16T18:47:16Z
330
// This file is a TODO stub produced by gen_tut_to_doctest.py.

indra/llcommon/tests_doctest/bitpack_test_doctest.cpp

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
/**
2+
* @file bitpack_test_doctest.cpp
3+
* @date 2025-02-18
4+
* @brief doctest: unit tests for bitpack
5+
*
6+
* $LicenseInfo:firstyear=2025&license=viewerlgpl$
7+
* Second Life Viewer Source Code
8+
* Copyright (C) 2025, Linden Research, Inc.
9+
*
10+
* This library is free software; you can redistribute it and/or
11+
* modify it under the terms of the GNU Lesser General Public
12+
* License as published by the Free Software Foundation;
13+
* version 2.1 of the License only.
14+
*
15+
* This library is distributed in the hope that it will be useful,
16+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* Lesser General Public License for more details.
19+
*
20+
* You should have received a copy of the GNU Lesser General Public
21+
* License along with this library; if not, write to the Free Software
22+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23+
*
24+
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
25+
* $/LicenseInfo$
26+
*/
27+
128
// ---------------------------------------------------------------------------
229
// Auto-generated from bitpack_test.cpp at 2025-10-16T18:47:16Z
330
// This file is a TODO stub produced by gen_tut_to_doctest.py.

indra/llcommon/tests_doctest/classic_callback_test_doctest.cpp

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
/**
2+
* @file classic_callback_test_doctest.cpp
3+
* @date 2025-02-18
4+
* @brief doctest: unit tests for classic callback
5+
*
6+
* $LicenseInfo:firstyear=2025&license=viewerlgpl$
7+
* Second Life Viewer Source Code
8+
* Copyright (C) 2025, Linden Research, Inc.
9+
*
10+
* This library is free software; you can redistribute it and/or
11+
* modify it under the terms of the GNU Lesser General Public
12+
* License as published by the Free Software Foundation;
13+
* version 2.1 of the License only.
14+
*
15+
* This library is distributed in the hope that it will be useful,
16+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* Lesser General Public License for more details.
19+
*
20+
* You should have received a copy of the GNU Lesser General Public
21+
* License along with this library; if not, write to the Free Software
22+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23+
*
24+
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
25+
* $/LicenseInfo$
26+
*/
27+
128
// ---------------------------------------------------------------------------
229
// Auto-generated from classic_callback_test.cpp at 2025-10-16T18:47:16Z
330
// This file is a TODO stub produced by gen_tut_to_doctest.py.

indra/llcommon/tests_doctest/commonmisc_test_doctest.cpp

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
/**
2+
* @file commonmisc_test_doctest.cpp
3+
* @date 2025-02-18
4+
* @brief doctest: unit tests for commonmisc
5+
*
6+
* $LicenseInfo:firstyear=2025&license=viewerlgpl$
7+
* Second Life Viewer Source Code
8+
* Copyright (C) 2025, Linden Research, Inc.
9+
*
10+
* This library is free software; you can redistribute it and/or
11+
* modify it under the terms of the GNU Lesser General Public
12+
* License as published by the Free Software Foundation;
13+
* version 2.1 of the License only.
14+
*
15+
* This library is distributed in the hope that it will be useful,
16+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* Lesser General Public License for more details.
19+
*
20+
* You should have received a copy of the GNU Lesser General Public
21+
* License along with this library; if not, write to the Free Software
22+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23+
*
24+
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
25+
* $/LicenseInfo$
26+
*/
27+
128
// ---------------------------------------------------------------------------
229
// Auto-generated from commonmisc_test.cpp at 2025-10-16T18:47:16Z
330
// This file is a TODO stub produced by gen_tut_to_doctest.py.

indra/llcommon/tests_doctest/lazyeventapi_test_doctest.cpp

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
/**
2+
* @file lazyeventapi_test_doctest.cpp
3+
* @date 2025-02-18
4+
* @brief doctest: unit tests for lazyeventapi
5+
*
6+
* $LicenseInfo:firstyear=2025&license=viewerlgpl$
7+
* Second Life Viewer Source Code
8+
* Copyright (C) 2025, Linden Research, Inc.
9+
*
10+
* This library is free software; you can redistribute it and/or
11+
* modify it under the terms of the GNU Lesser General Public
12+
* License as published by the Free Software Foundation;
13+
* version 2.1 of the License only.
14+
*
15+
* This library is distributed in the hope that it will be useful,
16+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* Lesser General Public License for more details.
19+
*
20+
* You should have received a copy of the GNU Lesser General Public
21+
* License along with this library; if not, write to the Free Software
22+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23+
*
24+
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
25+
* $/LicenseInfo$
26+
*/
27+
128
// ---------------------------------------------------------------------------
229
// Auto-generated from lazyeventapi_test.cpp at 2025-10-16T18:47:16Z
330
// This file is a TODO stub produced by gen_tut_to_doctest.py.

indra/llcommon/tests_doctest/llallocator_heap_profile_test_doctest.cpp

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
/**
2+
* @file llallocator_heap_profile_test_doctest.cpp
3+
* @date 2025-02-18
4+
* @brief doctest: unit tests for LL allocator heap profile
5+
*
6+
* $LicenseInfo:firstyear=2025&license=viewerlgpl$
7+
* Second Life Viewer Source Code
8+
* Copyright (C) 2025, Linden Research, Inc.
9+
*
10+
* This library is free software; you can redistribute it and/or
11+
* modify it under the terms of the GNU Lesser General Public
12+
* License as published by the Free Software Foundation;
13+
* version 2.1 of the License only.
14+
*
15+
* This library is distributed in the hope that it will be useful,
16+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* Lesser General Public License for more details.
19+
*
20+
* You should have received a copy of the GNU Lesser General Public
21+
* License along with this library; if not, write to the Free Software
22+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23+
*
24+
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
25+
* $/LicenseInfo$
26+
*/
27+
128
// ---------------------------------------------------------------------------
229
// Auto-generated from llallocator_heap_profile_test.cpp at 2025-10-16T18:47:16Z
330
// This file is a TODO stub produced by gen_tut_to_doctest.py.

indra/llcommon/tests_doctest/llallocator_test_doctest.cpp

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
/**
2+
* @file llallocator_test_doctest.cpp
3+
* @date 2025-02-18
4+
* @brief doctest: unit tests for LL allocator
5+
*
6+
* $LicenseInfo:firstyear=2025&license=viewerlgpl$
7+
* Second Life Viewer Source Code
8+
* Copyright (C) 2025, Linden Research, Inc.
9+
*
10+
* This library is free software; you can redistribute it and/or
11+
* modify it under the terms of the GNU Lesser General Public
12+
* License as published by the Free Software Foundation;
13+
* version 2.1 of the License only.
14+
*
15+
* This library is distributed in the hope that it will be useful,
16+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* Lesser General Public License for more details.
19+
*
20+
* You should have received a copy of the GNU Lesser General Public
21+
* License along with this library; if not, write to the Free Software
22+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23+
*
24+
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
25+
* $/LicenseInfo$
26+
*/
27+
128
// ---------------------------------------------------------------------------
229
// Auto-generated from llallocator_test.cpp at 2025-10-16T18:47:16Z
330
// This file is a TODO stub produced by gen_tut_to_doctest.py.

indra/llcommon/tests_doctest/llbase64_test_doctest.cpp

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
/**
2+
* @file llbase64_test_doctest.cpp
3+
* @date 2025-02-18
4+
* @brief doctest: unit tests for LL BASE64
5+
*
6+
* $LicenseInfo:firstyear=2025&license=viewerlgpl$
7+
* Second Life Viewer Source Code
8+
* Copyright (C) 2025, Linden Research, Inc.
9+
*
10+
* This library is free software; you can redistribute it and/or
11+
* modify it under the terms of the GNU Lesser General Public
12+
* License as published by the Free Software Foundation;
13+
* version 2.1 of the License only.
14+
*
15+
* This library is distributed in the hope that it will be useful,
16+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* Lesser General Public License for more details.
19+
*
20+
* You should have received a copy of the GNU Lesser General Public
21+
* License along with this library; if not, write to the Free Software
22+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23+
*
24+
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
25+
* $/LicenseInfo$
26+
*/
27+
128
// ---------------------------------------------------------------------------
229
// Auto-generated from llbase64_test.cpp at 2025-10-16T18:47:16Z
330
// This file is a TODO stub produced by gen_tut_to_doctest.py.

indra/llcommon/tests_doctest/llcond_test_doctest.cpp

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
/**
2+
* @file llcond_test_doctest.cpp
3+
* @date 2025-02-18
4+
* @brief doctest: unit tests for LL cond
5+
*
6+
* $LicenseInfo:firstyear=2025&license=viewerlgpl$
7+
* Second Life Viewer Source Code
8+
* Copyright (C) 2025, Linden Research, Inc.
9+
*
10+
* This library is free software; you can redistribute it and/or
11+
* modify it under the terms of the GNU Lesser General Public
12+
* License as published by the Free Software Foundation;
13+
* version 2.1 of the License only.
14+
*
15+
* This library is distributed in the hope that it will be useful,
16+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* Lesser General Public License for more details.
19+
*
20+
* You should have received a copy of the GNU Lesser General Public
21+
* License along with this library; if not, write to the Free Software
22+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23+
*
24+
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
25+
* $/LicenseInfo$
26+
*/
27+
128
// ---------------------------------------------------------------------------
229
// Auto-generated from llcond_test.cpp at 2025-10-16T18:47:16Z
330
// This file is a TODO stub produced by gen_tut_to_doctest.py.

0 commit comments

Comments
 (0)