From 97a4f903c290f1b72b8c3f11ea875c442ee4967b Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Thu, 12 Sep 2013 23:41:49 -0500 Subject: [PATCH] Added copyright and licensing to the rest of the source code in libopenshot, including the CMake build scripts, the SWIG configuration file, and even updated copyright in the README files. All files are now correctly attributed and protected now. --- CMakeLists.txt | 27 +++++++++++++++++++++++++++ README | 36 +++++++++++++++++++++++++++++------- include/KeyFrame.h | 2 +- include/OpenShot.h | 13 ++++++++++--- include/Timeline.h | 4 ++-- src/CMakeLists.txt | 29 ++++++++++++++++++++++++++++- src/KeyFrame.cpp | 2 +- src/Main.cpp | 26 ++++++++++++++++++++++++++ src/Main_Blackmagic.cpp | 26 ++++++++++++++++++++++++++ src/openshot.i | 27 +++++++++++++++++++++++++++ tests/CMakeLists.txt | 29 ++++++++++++++++++++++++++++- tests/Cache_Tests.cpp | 27 +++++++++++++++++++++++++++ tests/Clip_Tests.cpp | 27 +++++++++++++++++++++++++++ tests/Coordinate_Tests.cpp | 27 +++++++++++++++++++++++++++ tests/FFmpegReader_Tests.cpp | 27 +++++++++++++++++++++++++++ tests/Fraction_Tests.cpp | 27 +++++++++++++++++++++++++++ tests/FrameMapper_Tests.cpp | 27 +++++++++++++++++++++++++++ tests/FrameRate_Tests.cpp | 27 +++++++++++++++++++++++++++ tests/KeyFrame_Tests.cpp | 27 +++++++++++++++++++++++++++ tests/Point_Tests.cpp | 27 +++++++++++++++++++++++++++ tests/ReaderBase_Tests.cpp | 27 +++++++++++++++++++++++++++ tests/Timeline_Tests.cpp | 27 +++++++++++++++++++++++++++ tests/tests.cpp | 28 ++++++++++++++++++++++++++++ 23 files changed, 530 insertions(+), 16 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ebe8902b..a1e6b9b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,30 @@ +####################### CMakeLists.txt (libopenshot) ######################### +# @brief CMake build file for libopenshot (used to generate makefiles) +# @author Jonathan Thomas +# +# @section LICENSE +# +# Copyright (c) 2008-2013 OpenShot Studios, LLC +# (http://www.openshotstudios.com). This file is part of +# OpenShot Library (http://www.openshot.org), an open-source project +# dedicated to delivering high quality video editing and animation solutions +# to the world. +# +# OpenShot Library is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# OpenShot Library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenShot Library. If not, see . +################################################################################ + + cmake_minimum_required(VERSION 2.6) ################ ADD CMAKE MODULES ################## diff --git a/README b/README index 3aa7c5af..43f11f6c 100644 --- a/README +++ b/README @@ -1,23 +1,45 @@ -OpenShot Video Library is a program that creates, modifies, and edits video files. -Copyright (C) 2011 OpenShot Studios, LLC +#################################################################### + OpenShot Library +#################################################################### -OpenShot Video Editor is free software: you can redistribute it and/or modify +OpenShot Library (http://www.openshot.org) is an open-source project +dedicated to delivering high quality video editing and animation solutions +to the world. Copyright (c) 2008-2013 OpenShot Studios, LLC +(http://www.openshotstudios.com). + +################# + License +################# + +OpenShot Library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. -OpenShot Video Editor is distributed in the hope that it will be useful, +OpenShot Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with OpenShot Video Editor. If not, see . - +along with OpenShot Library. If not, see . ################# - INSTALLATION + Install ################# Please see /doc/InstallationGuide.pdf for a very detailed Linux and Windows compiling instruction guide. + +################# + Authors +################# + +Please see AUTHORS file for a full list of authors. + + +#################################################################### + www.openshot.org | www.openshotstudios.com +#################################################################### + + Copyright (c) 2008-2013 OpenShot Studios, LLC \ No newline at end of file diff --git a/include/KeyFrame.h b/include/KeyFrame.h index 7816860d..8c57a89a 100644 --- a/include/KeyFrame.h +++ b/include/KeyFrame.h @@ -1,6 +1,6 @@ /** * @file - * @brief Header file for the KeyFrame class + * @brief Header file for the Keyframe class * @author Jonathan Thomas * * @section LICENSE diff --git a/include/OpenShot.h b/include/OpenShot.h index 71e69a91..9570e00b 100644 --- a/include/OpenShot.h +++ b/include/OpenShot.h @@ -25,10 +25,17 @@ * * ### The Basics ### * To understand libopenshot, we must first learn about the basic building blocks:. - * - Readers - A reader is used to load a video, audio, or image file (or stream) and return openshot::Frame objects. - * - Writers - A writer consumes openshot::Frame objects, and is used to create a video, audio, or image file (or stream). + * - Readers - A reader is used to load a video, audio, image file, or stream and return openshot::Frame objects. + * - A few common readers are openshot::FFmpegReader, openshot::TextReader, openshot::ImageReader, openshot::ChunkReader + * + * - Writers - A writer consumes openshot::Frame objects, and is used to create a video, audio, image file, or stream. + * - A few common writers are openshot::FFmpegWriter, openshot::ChunkWriter + * * - Timeline - A timeline allows many readers to be trimmed, arranged, and layered together. - * - KeyFrame - A Keyframe is used to change values of properties over time on the timeline. + * - The openshot::Timeline is a special kind of reader (combining other readers to make a new one) + * + * - Keyframe - A Keyframe is used to change values of properties over time on the timeline. + * - The openshot::Keyframe, openshot::Point, and openshot::Coordinate are used to animate properties on the timeline. * * ### Example Code ### * Now that you understand the basic building blocks of libopenshot, lets take a look at a simple example, diff --git a/include/Timeline.h b/include/Timeline.h index 1c08250a..abfe902d 100644 --- a/include/Timeline.h +++ b/include/Timeline.h @@ -81,7 +81,7 @@ namespace openshot { * Clip c1(new ImageReader("MyAwesomeLogo.jpeg")); * Clip c2(new FFmpegReader("BackgroundVideo.webm")); * - * // CLIP 1 (logo) - Set some clip properties (with KeyFrames) + * // CLIP 1 (logo) - Set some clip properties (with Keyframes) * c1.Position(0.0); * c1.gravity = GRAVITY_LEFT; * c1.scale = SCALE_CROP; @@ -91,7 +91,7 @@ namespace openshot { * c1.alpha.AddPoint(500, 0.0); * c1.alpha.AddPoint(565, 1.0); * - * // CLIP 2 (background video) - Set some clip properties (with KeyFrames) + * // CLIP 2 (background video) - Set some clip properties (with Keyframes) * c2.Position(0.0); * c2.Layer(0); * c2.alpha.AddPoint(1, 1.0); diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 46be5fc7..24241a72 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,3 +1,30 @@ +##################### src/CMakeLists.txt (libopenshot) ####################### +# @brief CMake build file for libopenshot (used to generate makefiles) +# @author Jonathan Thomas +# +# @section LICENSE +# +# Copyright (c) 2008-2013 OpenShot Studios, LLC +# (http://www.openshotstudios.com). This file is part of +# OpenShot Library (http://www.openshot.org), an open-source project +# dedicated to delivering high quality video editing and animation solutions +# to the world. +# +# OpenShot Library is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# OpenShot Library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenShot Library. If not, see . +################################################################################ + + ################ IMAGE MAGICK ################## # Find the ImageMagick++ library FIND_PACKAGE(ImageMagick REQUIRED COMPONENTS Magick++ MagickWand MagickCore) @@ -29,7 +56,7 @@ include_directories(${SDL_INCLUDE_DIR}) ################# QT4 ################### # Find QT4 libraries -#SET(QT_QMAKE_EXECUTABLE '/usr/bin/qmake-qt4') # DEBUB, WORK-AROUND: Force the use of QT4 (when multiple versions are installed) +SET(QT_QMAKE_EXECUTABLE '/usr/bin/qmake-qt4') # DEBUB, WORK-AROUND: Force the use of QT4 (when multiple versions are installed) FIND_PACKAGE(Qt4) # Include Qt headers (needed for compile) diff --git a/src/KeyFrame.cpp b/src/KeyFrame.cpp index e88ce872..126db122 100644 --- a/src/KeyFrame.cpp +++ b/src/KeyFrame.cpp @@ -1,6 +1,6 @@ /** * @file - * @brief Source file for the KeyFrame class + * @brief Source file for the Keyframe class * @author Jonathan Thomas * * @section LICENSE diff --git a/src/Main.cpp b/src/Main.cpp index be91e52b..9aa27ddd 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -1,3 +1,29 @@ +/** + * @file + * @brief Source file for Main class (example app for libopenshot) + * @author Jonathan Thomas + * + * @section LICENSE + * + * Copyright (c) 2008-2013 OpenShot Studios, LLC + * (http://www.openshotstudios.com). This file is part of + * OpenShot Library (http://www.openshot.org), an open-source project + * dedicated to delivering high quality video editing and animation solutions + * to the world. + * + * OpenShot Library is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * OpenShot Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with OpenShot Library. If not, see . + */ #include #include diff --git a/src/Main_Blackmagic.cpp b/src/Main_Blackmagic.cpp index ed931d5d..0b6a1a3a 100644 --- a/src/Main_Blackmagic.cpp +++ b/src/Main_Blackmagic.cpp @@ -1,3 +1,29 @@ +/** + * @file + * @brief Source file for Main_Blackmagic class (live greenscreen example app) + * @author Jonathan Thomas + * + * @section LICENSE + * + * Copyright (c) 2008-2013 OpenShot Studios, LLC + * (http://www.openshotstudios.com). This file is part of + * OpenShot Library (http://www.openshot.org), an open-source project + * dedicated to delivering high quality video editing and animation solutions + * to the world. + * + * OpenShot Library is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * OpenShot Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with OpenShot Library. If not, see . + */ #include #include diff --git a/src/openshot.i b/src/openshot.i index 7def47c9..46d00c7e 100644 --- a/src/openshot.i +++ b/src/openshot.i @@ -1,3 +1,30 @@ +##################### src/openshot.i (libopenshot) ####################### +# @brief SWIG configuration for libopenshot (to generate Python bindings) +# @author Jonathan Thomas +# +# @section LICENSE +# +# Copyright (c) 2008-2013 OpenShot Studios, LLC +# (http://www.openshotstudios.com). This file is part of +# OpenShot Library (http://www.openshot.org), an open-source project +# dedicated to delivering high quality video editing and animation solutions +# to the world. +# +# OpenShot Library is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# OpenShot Library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenShot Library. If not, see . +################################################################################ + + %module openshot %include "typemaps.i" diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index ec2139a6..d948f0d7 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,3 +1,30 @@ +##################### tests/CMakeLists.txt (libopenshot) ###################### +# @brief CMake build file for libopenshot unit tests (used to generate makefiles) +# @author Jonathan Thomas +# +# @section LICENSE +# +# Copyright (c) 2008-2013 OpenShot Studios, LLC +# (http://www.openshotstudios.com). This file is part of +# OpenShot Library (http://www.openshot.org), an open-source project +# dedicated to delivering high quality video editing and animation solutions +# to the world. +# +# OpenShot Library is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# OpenShot Library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenShot Library. If not, see . +################################################################################ + + ################### UNITTEST++ ##################### # Find UnitTest++ libraries (used for unit testing) FIND_PACKAGE(UnitTest++ REQUIRED) @@ -35,7 +62,7 @@ include_directories(${SDL_INCLUDE_DIR}) ################# QT4 ################### # Find QT4 libraries -#SET(QT_QMAKE_EXECUTABLE '/usr/bin/qmake-qt4') # DEBUB, WORK-AROUND: Force the use of QT4 (when multiple versions are installed) +SET(QT_QMAKE_EXECUTABLE '/usr/bin/qmake-qt4') # DEBUB, WORK-AROUND: Force the use of QT4 (when multiple versions are installed) FIND_PACKAGE(Qt4 REQUIRED) # Include Qt headers (needed for compile) diff --git a/tests/Cache_Tests.cpp b/tests/Cache_Tests.cpp index 8b6bd440..b277e81e 100644 --- a/tests/Cache_Tests.cpp +++ b/tests/Cache_Tests.cpp @@ -1,3 +1,30 @@ +/** + * @file + * @brief Unit tests for openshot::Cache + * @author Jonathan Thomas + * + * @section LICENSE + * + * Copyright (c) 2008-2013 OpenShot Studios, LLC + * (http://www.openshotstudios.com). This file is part of + * OpenShot Library (http://www.openshot.org), an open-source project + * dedicated to delivering high quality video editing and animation solutions + * to the world. + * + * OpenShot Library is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * OpenShot Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with OpenShot Library. If not, see . + */ + #include "UnitTest++.h" #include "../include/OpenShot.h" diff --git a/tests/Clip_Tests.cpp b/tests/Clip_Tests.cpp index bb43422f..2c21750e 100644 --- a/tests/Clip_Tests.cpp +++ b/tests/Clip_Tests.cpp @@ -1,3 +1,30 @@ +/** + * @file + * @brief Unit tests for openshot::Clip + * @author Jonathan Thomas + * + * @section LICENSE + * + * Copyright (c) 2008-2013 OpenShot Studios, LLC + * (http://www.openshotstudios.com). This file is part of + * OpenShot Library (http://www.openshot.org), an open-source project + * dedicated to delivering high quality video editing and animation solutions + * to the world. + * + * OpenShot Library is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * OpenShot Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with OpenShot Library. If not, see . + */ + #include "UnitTest++.h" #include "../include/OpenShot.h" diff --git a/tests/Coordinate_Tests.cpp b/tests/Coordinate_Tests.cpp index 21448422..afc15b73 100644 --- a/tests/Coordinate_Tests.cpp +++ b/tests/Coordinate_Tests.cpp @@ -1,3 +1,30 @@ +/** + * @file + * @brief Unit tests for openshot::Coordinate + * @author Jonathan Thomas + * + * @section LICENSE + * + * Copyright (c) 2008-2013 OpenShot Studios, LLC + * (http://www.openshotstudios.com). This file is part of + * OpenShot Library (http://www.openshot.org), an open-source project + * dedicated to delivering high quality video editing and animation solutions + * to the world. + * + * OpenShot Library is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * OpenShot Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with OpenShot Library. If not, see . + */ + #include "UnitTest++.h" #include "../include/OpenShot.h" diff --git a/tests/FFmpegReader_Tests.cpp b/tests/FFmpegReader_Tests.cpp index 9102e7dc..6fc9d2ec 100644 --- a/tests/FFmpegReader_Tests.cpp +++ b/tests/FFmpegReader_Tests.cpp @@ -1,3 +1,30 @@ +/** + * @file + * @brief Unit tests for openshot::FFmpegReader + * @author Jonathan Thomas + * + * @section LICENSE + * + * Copyright (c) 2008-2013 OpenShot Studios, LLC + * (http://www.openshotstudios.com). This file is part of + * OpenShot Library (http://www.openshot.org), an open-source project + * dedicated to delivering high quality video editing and animation solutions + * to the world. + * + * OpenShot Library is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * OpenShot Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with OpenShot Library. If not, see . + */ + #include "UnitTest++.h" #include "../include/OpenShot.h" diff --git a/tests/Fraction_Tests.cpp b/tests/Fraction_Tests.cpp index 14c8defa..c8f3563a 100644 --- a/tests/Fraction_Tests.cpp +++ b/tests/Fraction_Tests.cpp @@ -1,3 +1,30 @@ +/** + * @file + * @brief Unit tests for openshot::Fraction + * @author Jonathan Thomas + * + * @section LICENSE + * + * Copyright (c) 2008-2013 OpenShot Studios, LLC + * (http://www.openshotstudios.com). This file is part of + * OpenShot Library (http://www.openshot.org), an open-source project + * dedicated to delivering high quality video editing and animation solutions + * to the world. + * + * OpenShot Library is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * OpenShot Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with OpenShot Library. If not, see . + */ + #include "UnitTest++.h" #include "../include/OpenShot.h" diff --git a/tests/FrameMapper_Tests.cpp b/tests/FrameMapper_Tests.cpp index 44022dcb..6d12a96a 100644 --- a/tests/FrameMapper_Tests.cpp +++ b/tests/FrameMapper_Tests.cpp @@ -1,3 +1,30 @@ +/** + * @file + * @brief Unit tests for openshot::FrameMapper + * @author Jonathan Thomas + * + * @section LICENSE + * + * Copyright (c) 2008-2013 OpenShot Studios, LLC + * (http://www.openshotstudios.com). This file is part of + * OpenShot Library (http://www.openshot.org), an open-source project + * dedicated to delivering high quality video editing and animation solutions + * to the world. + * + * OpenShot Library is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * OpenShot Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with OpenShot Library. If not, see . + */ + #include "UnitTest++.h" #include "../include/OpenShot.h" diff --git a/tests/FrameRate_Tests.cpp b/tests/FrameRate_Tests.cpp index 88db51a3..8585d82d 100644 --- a/tests/FrameRate_Tests.cpp +++ b/tests/FrameRate_Tests.cpp @@ -1,3 +1,30 @@ +/** + * @file + * @brief Unit tests for openshot::Framerate + * @author Jonathan Thomas + * + * @section LICENSE + * + * Copyright (c) 2008-2013 OpenShot Studios, LLC + * (http://www.openshotstudios.com). This file is part of + * OpenShot Library (http://www.openshot.org), an open-source project + * dedicated to delivering high quality video editing and animation solutions + * to the world. + * + * OpenShot Library is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * OpenShot Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with OpenShot Library. If not, see . + */ + #include "UnitTest++.h" #include "../include/OpenShot.h" diff --git a/tests/KeyFrame_Tests.cpp b/tests/KeyFrame_Tests.cpp index 69272f1e..639a1797 100644 --- a/tests/KeyFrame_Tests.cpp +++ b/tests/KeyFrame_Tests.cpp @@ -1,3 +1,30 @@ +/** + * @file + * @brief Unit tests for openshot::Keyframe + * @author Jonathan Thomas + * + * @section LICENSE + * + * Copyright (c) 2008-2013 OpenShot Studios, LLC + * (http://www.openshotstudios.com). This file is part of + * OpenShot Library (http://www.openshot.org), an open-source project + * dedicated to delivering high quality video editing and animation solutions + * to the world. + * + * OpenShot Library is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * OpenShot Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with OpenShot Library. If not, see . + */ + #include "UnitTest++.h" #include "../include/OpenShot.h" diff --git a/tests/Point_Tests.cpp b/tests/Point_Tests.cpp index 2fba71e0..1e37b0b1 100644 --- a/tests/Point_Tests.cpp +++ b/tests/Point_Tests.cpp @@ -1,3 +1,30 @@ +/** + * @file + * @brief Unit tests for openshot::Point + * @author Jonathan Thomas + * + * @section LICENSE + * + * Copyright (c) 2008-2013 OpenShot Studios, LLC + * (http://www.openshotstudios.com). This file is part of + * OpenShot Library (http://www.openshot.org), an open-source project + * dedicated to delivering high quality video editing and animation solutions + * to the world. + * + * OpenShot Library is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * OpenShot Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with OpenShot Library. If not, see . + */ + #include "UnitTest++.h" #include "../include/OpenShot.h" diff --git a/tests/ReaderBase_Tests.cpp b/tests/ReaderBase_Tests.cpp index 8e3af1ed..a85c62c1 100644 --- a/tests/ReaderBase_Tests.cpp +++ b/tests/ReaderBase_Tests.cpp @@ -1,3 +1,30 @@ +/** + * @file + * @brief Unit tests for openshot::ReaderBase + * @author Jonathan Thomas + * + * @section LICENSE + * + * Copyright (c) 2008-2013 OpenShot Studios, LLC + * (http://www.openshotstudios.com). This file is part of + * OpenShot Library (http://www.openshot.org), an open-source project + * dedicated to delivering high quality video editing and animation solutions + * to the world. + * + * OpenShot Library is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * OpenShot Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with OpenShot Library. If not, see . + */ + #include "UnitTest++.h" #include "../include/OpenShot.h" diff --git a/tests/Timeline_Tests.cpp b/tests/Timeline_Tests.cpp index 2618cba6..ff818bab 100644 --- a/tests/Timeline_Tests.cpp +++ b/tests/Timeline_Tests.cpp @@ -1,3 +1,30 @@ +/** + * @file + * @brief Unit tests for openshot::Timeline + * @author Jonathan Thomas + * + * @section LICENSE + * + * Copyright (c) 2008-2013 OpenShot Studios, LLC + * (http://www.openshotstudios.com). This file is part of + * OpenShot Library (http://www.openshot.org), an open-source project + * dedicated to delivering high quality video editing and animation solutions + * to the world. + * + * OpenShot Library is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * OpenShot Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with OpenShot Library. If not, see . + */ + #include "UnitTest++.h" #include "../include/OpenShot.h" diff --git a/tests/tests.cpp b/tests/tests.cpp index 0bd1045c..8e8d7b10 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -1,3 +1,31 @@ +/** + * @file + * @brief Source code for Unit test executable (runs all tests and reports successes and failures) + * @author Jonathan Thomas + * + * @section LICENSE + * + * Copyright (c) 2008-2013 OpenShot Studios, LLC + * (http://www.openshotstudios.com). This file is part of + * OpenShot Library (http://www.openshot.org), an open-source project + * dedicated to delivering high quality video editing and animation solutions + * to the world. + * + * OpenShot Library is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * OpenShot Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with OpenShot Library. If not, see . + */ + + #include #include "UnitTest++.h"