From fe65c7727f4d1b91355b62b2cc58f5775c287afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= <stephane.adjemian@univ-lemans.fr> Date: Fri, 19 May 2017 08:42:24 +0200 Subject: [PATCH] Fixed copyrigth notices. --- src/build_report_summary.m | 2 +- src/dassert.m | 2 +- src/dtest.m | 2 +- src/get_directory_description.m | 2 +- src/initialize_unit_tests_toolbox.m | 17 +++++++++++++++++ src/is_unitary_test_available.m | 2 +- src/missing/isoctave/isoctave.m | 2 +- src/missing/skipline/skipline.m | 2 +- src/run_unitary_tests.m | 2 +- src/run_unitary_tests_in_directory.m | 2 +- 10 files changed, 26 insertions(+), 9 deletions(-) diff --git a/src/build_report_summary.m b/src/build_report_summary.m index 31a3d4e..bb48ee5 100644 --- a/src/build_report_summary.m +++ b/src/build_report_summary.m @@ -10,7 +10,7 @@ function str = build_report_summary(reportfile, printonscreen, mailreport) % OUTPUTS % - str [string] Report summary. -% Copyright (C) 2013-2014 Dynare Team +% Copyright (C) 2013-2017 Dynare Team % % This file is part of Dynare (m-unit-tests module). % diff --git a/src/dassert.m b/src/dassert.m index 572123e..67658b5 100644 --- a/src/dassert.m +++ b/src/dassert.m @@ -2,7 +2,7 @@ function t = dassert(A,B,tol) % This function tests the equality of two objects. -% Copyright (C) 2011-2014 Dynare Team +% Copyright (C) 2011-2017 Dynare Team % % This file is part of Dynare (m-unit-tests module). % diff --git a/src/dtest.m b/src/dtest.m index 28624cb..4b7530c 100644 --- a/src/dtest.m +++ b/src/dtest.m @@ -18,7 +18,7 @@ function dtest(fun, tpath) % % See also mtest -% Copyright (C) 2011-2014 Dynare Team +% Copyright (C) 2011-2017 Dynare Team % % This file is part of Dynare (m-unit-tests module). % diff --git a/src/get_directory_description.m b/src/get_directory_description.m index c5c5328..4589a20 100644 --- a/src/get_directory_description.m +++ b/src/get_directory_description.m @@ -8,7 +8,7 @@ function flist = get_directory_description(basedir) % OUTPUTS % - flist [cell of strings], the files under basedir (and subfolders). -% Copyright (C) 2013-2014 Dynare Team +% Copyright (C) 2013-2017 Dynare Team % % This file is part of Dynare (m-unit-tests module). % diff --git a/src/initialize_unit_tests_toolbox.m b/src/initialize_unit_tests_toolbox.m index 2581d7e..59049d4 100644 --- a/src/initialize_unit_tests_toolbox.m +++ b/src/initialize_unit_tests_toolbox.m @@ -1,3 +1,20 @@ +% Copyright (C) 2014-2017 Dynare Team +% +% This file is part of Dynare (m-unit-tests module). +% +% Dynare 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. +% +% Dynare's m-unit-tests module 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 Dynare. If not, see <http://www.gnu.org/licenses/>. + % Get the path to the m-unit-tests/src folder. unit_tests_src_root = strrep(which('initialize_unit_tests_toolbox'),'initialize_unit_tests_toolbox.m',''); diff --git a/src/is_unitary_test_available.m b/src/is_unitary_test_available.m index f7a8772..79a5737 100644 --- a/src/is_unitary_test_available.m +++ b/src/is_unitary_test_available.m @@ -9,7 +9,7 @@ function info = is_unitary_test_available(fun) % OUTPUTS % - info [integer], scalar equal to 1 if unitary tests must be run, 0 otherwise. -% Copyright (C) 2013-2014 Dynare Team +% Copyright (C) 2013-2017 Dynare Team % % This file is part of Dynare (m-unit-tests module). % diff --git a/src/missing/isoctave/isoctave.m b/src/missing/isoctave/isoctave.m index 4ea6d3f..7f1b7db 100644 --- a/src/missing/isoctave/isoctave.m +++ b/src/missing/isoctave/isoctave.m @@ -2,7 +2,7 @@ function l = isoctave() % Tests if Octave is used. -% Copyright (C) 2013-2014 Dynare Team +% Copyright (C) 2013-2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/missing/skipline/skipline.m b/src/missing/skipline/skipline.m index 53438aa..f148997 100644 --- a/src/missing/skipline/skipline.m +++ b/src/missing/skipline/skipline.m @@ -10,7 +10,7 @@ function skipline(n, fid) % None % -% Copyright (C) 2013-2014 Dynare Team +% Copyright (C) 2013-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/run_unitary_tests.m b/src/run_unitary_tests.m index c404e18..63c2de8 100644 --- a/src/run_unitary_tests.m +++ b/src/run_unitary_tests.m @@ -14,7 +14,7 @@ function [report, time] = run_unitary_tests(listoffiles) % % See also get_directory_description, mtest -% Copyright (C) 2013-2014 Dynare Team +% Copyright (C) 2013-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/run_unitary_tests_in_directory.m b/src/run_unitary_tests_in_directory.m index 0d88f1a..a3df36e 100644 --- a/src/run_unitary_tests_in_directory.m +++ b/src/run_unitary_tests_in_directory.m @@ -16,7 +16,7 @@ function report = run_unitary_tests_in_directory(dirname, savereport, printrepor % % See also get_directory_description, run_unitary_tests, build_report_summary -% Copyright (C) 2013-2014 Dynare Team +% Copyright (C) 2013-2017 Dynare Team % % This file is part of Dynare (m-unit-tests module). % -- GitLab