Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
1489d115
Commit
1489d115
authored
Aug 15, 2022
by
Julius Künzel
💬
Browse files
[REUSE] Add (missing) license headers for test code
parent
74ef83e0
Pipeline
#218419
passed with stage
in 8 minutes and 13 seconds
Changes
24
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/TestMain.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2018-2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-FileCopyrightText: 2017-2019 Nicolas Carion <french.ebook.lover@gmail.com>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#define CATCH_CONFIG_RUNNER
#include
"catch.hpp"
...
...
tests/abortutil.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2019 Nicolas Carion <french.ebook.lover@gmail.com>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
"abortutil.hpp"
#if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)))
...
...
tests/abortutil.hpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2019 Nicolas Carion <french.ebook.lover@gmail.com>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#pragma once
#if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)))
...
...
tests/cachetest.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-FileCopyrightText: 2022 Eric Jiang
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
"catch.hpp"
#include
"doc/docundostack.hpp"
#include
"test_utils.hpp"
...
...
tests/colorscopestest.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2022 Eric Jiang
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
"test_utils.hpp"
#include
"scopes/colorscopes/colorconstants.h"
...
...
tests/compositiontest.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-FileCopyrightText: 2017-2019 Nicolas Carion <french.ebook.lover@gmail.com>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
"test_utils.hpp"
Mlt
::
Profile
profile_composition
;
...
...
tests/effectstest.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2017-2019 Nicolas Carion <french.ebook.lover@gmail.com>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
"catch.hpp"
#include
"doc/docundostack.hpp"
#include
"test_utils.hpp"
...
...
tests/filetest.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2018-2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-FileCopyrightText: 2022 Eric Jiang
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
"test_utils.hpp"
#define private public
#define protected public
...
...
tests/groupstest.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2018-2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-FileCopyrightText: 2017-2019 Nicolas Carion <french.ebook.lover@gmail.com>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
"bin/model/markerlistmodel.hpp"
#include
"catch.hpp"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
...
...
tests/keyframetest.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2018-2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-FileCopyrightText: 2017-2019 Nicolas Carion <french.ebook.lover@gmail.com>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
<memory>
#include
"test_utils.hpp"
...
...
tests/markertest.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2018-2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-FileCopyrightText: 2017-2019 Nicolas Carion <french.ebook.lover@gmail.com>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
"test_utils.hpp"
#include
"kdenlivesettings.h"
...
...
tests/mixtest.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2020-2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
"catch.hpp"
#include
"doc/docundostack.hpp"
#include
"test_utils.hpp"
...
...
tests/modeltest.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2019-2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-FileCopyrightText: 2017-2019 Nicolas Carion <french.ebook.lover@gmail.com>
SPDX-FileCopyrightText: 2022 Eric Jiang
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
"test_utils.hpp"
#include
"doc/kdenlivedoc.h"
...
...
tests/movetest.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
"catch.hpp"
#include
"doc/docundostack.hpp"
#include
"test_utils.hpp"
...
...
tests/regressions.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2017-2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-FileCopyrightText: 2017-2019 Nicolas Carion <french.ebook.lover@gmail.com>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
"test_utils.hpp"
Mlt
::
Profile
reg_profile
;
...
...
tests/snaptest.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-FileCopyrightText: 2017 Nicolas Carion <french.ebook.lover@gmail.com>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
"test_utils.hpp"
#include
"timeline2/model/snapmodel.hpp"
...
...
tests/subtitlestest.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-FileCopyrightText: 2022 Eric Jiang
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
"catch.hpp"
#include
"test_utils.hpp"
...
...
tests/test_utils.cpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2018-2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-FileCopyrightText: 2017-2019 Nicolas Carion <french.ebook.lover@gmail.com>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include
"test_utils.hpp"
QString
createProducer
(
Mlt
::
Profile
&
prof
,
std
::
string
color
,
std
::
shared_ptr
<
ProjectItemModel
>
binModel
,
int
length
,
bool
limited
)
...
...
tests/test_utils.hpp
View file @
1489d115
/*
SPDX-FileCopyrightText: 2018-2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-FileCopyrightText: 2017-2019 Nicolas Carion <french.ebook.lover@gmail.com>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#pragma once
#include
"abortutil.hpp"
#include
"bin/model/markerlistmodel.hpp"
...
...
tests/tests_definitions.h.in
View file @
1489d115
/*
SPDX-FileCopyrightText: 2022 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
static const QString sourcesPath("@TEST_SOURCES@");
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment