diff --git a/tests/+eltest/+utils/testme.m b/tests/+eltest/+utils/testme.m index 7bde578..06d6b37 100644 --- a/tests/+eltest/+utils/testme.m +++ b/tests/+eltest/+utils/testme.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . function testme(belocal) % A Function that throws an error. @@ -13,4 +27,4 @@ function localfcn() error('A problem in a package local fcn'); -end \ No newline at end of file +end diff --git a/tests/+eltest/@EmacsTest/EmacsTest.m b/tests/+eltest/@EmacsTest/EmacsTest.m index b18775c..9249e51 100644 --- a/tests/+eltest/@EmacsTest/EmacsTest.m +++ b/tests/+eltest/@EmacsTest/EmacsTest.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . classdef EmacsTest < handle % Class EMACSTEST % @@ -31,4 +45,4 @@ classdef EmacsTest < handle end end -end \ No newline at end of file +end diff --git a/tests/Project.ede b/tests/Project.ede index f3ccf5c..f979ffb 100644 --- a/tests/Project.ede +++ b/tests/Project.ede @@ -1,3 +1,17 @@ +;; Copyright (C) 2023 Eric Ludlam (and others) + +;; This program 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. + +;; This program 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 this program. If not, see . ;; Object tests ;; EDE Project Files are auto generated: Do Not Edit (ede-proj-project "tests" diff --git a/tests/blocks.m b/tests/blocks.m index 317c538..22a8afc 100644 --- a/tests/blocks.m +++ b/tests/blocks.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . % >>1 classdef blocks < handle % !!0 diff --git a/tests/buggy.m b/tests/buggy.m index cda8483..ae248fc 100644 --- a/tests/buggy.m +++ b/tests/buggy.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . function buggy(input,n) % The purpose of this function is to have bugs for creating errors % tha matlab-shell needs to detect. @@ -37,4 +51,4 @@ function TestPoint_foo message('A test point'); -end \ No newline at end of file +end diff --git a/tests/cellscript.m b/tests/cellscript.m index a26805d..4597608 100644 --- a/tests/cellscript.m +++ b/tests/cellscript.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . %% Script with Cells in it for testing 'run cell' % @@ -16,4 +30,4 @@ end if true C = -10:-1 -end \ No newline at end of file +end diff --git a/tests/complete.m b/tests/complete.m index 3fd5e80..6713df8 100644 --- a/tests/complete.m +++ b/tests/complete.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . function complete (a_arg1, b_arg2) % This function is for testing completion tools diff --git a/tests/continuations.m b/tests/continuations.m index bd0f9fa..5291c95 100644 --- a/tests/continuations.m +++ b/tests/continuations.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . function continuations(a,b) %!!0 % !!0 Help Comment diff --git a/tests/dbtester.m b/tests/dbtester.m index 23a4fb5..05e180e 100644 --- a/tests/dbtester.m +++ b/tests/dbtester.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . function OUT = dbtester() % An M file for exercising MATLAB's debugger APIs @@ -39,4 +53,4 @@ end function A = localfunc_5(B) A = B; -end \ No newline at end of file +end diff --git a/tests/errexamples.shell.m b/tests/errexamples.shell.m index b27f708..35bb94e 100644 --- a/tests/errexamples.shell.m +++ b/tests/errexamples.shell.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . % This file contains sample text from a MATLAB shell buffer. % Use this for parsing tests for error trackers. @@ -50,4 +64,4 @@ On line 8 ==> B = A(1 In buggy at line 15 You encountered a warning -% End \ No newline at end of file +% End diff --git a/tests/expressions.m b/tests/expressions.m index e626d0a..9b9947e 100644 --- a/tests/expressions.m +++ b/tests/expressions.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . %% Tests for syntactic expressions in the Emacs sense % diff --git a/tests/fontlock.m b/tests/fontlock.m index cb5655d..91fc349 100644 --- a/tests/fontlock.m +++ b/tests/fontlock.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . % TEST FILE FOR FONT LOCK SPECIAL WORDS function fontlock() diff --git a/tests/indents.m b/tests/indents.m index 95274fe..e237d8a 100644 --- a/tests/indents.m +++ b/tests/indents.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . function indents(a,b,stuff,cmddual1fake,cmddual2fake) % Help text @@ -367,4 +381,4 @@ function debug_cmd_dual () debug_cmd_dual(); %!!4 -end \ No newline at end of file +end diff --git a/tests/mclass.m b/tests/mclass.m index 79d97fb..81ffaed 100644 --- a/tests/mclass.m +++ b/tests/mclass.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . % >>1 classdef (abstract) mclass < handle & matlab.mixin.SetGetExactNames % #7# %^ ^kw ^ty ^fn ^cn ^bi ^cn ^co @@ -156,4 +170,4 @@ classdef (abstract) mclass < handle & matlab.mixin.SetGetExactNames % #7# end % <<1 -% End \ No newline at end of file +% End diff --git a/tests/mclass_cont.m b/tests/mclass_cont.m index ee0a0cb..d2bed89 100644 --- a/tests/mclass_cont.m +++ b/tests/mclass_cont.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . classdef mclass_cont < otherThing & ... % !!0 This continuation can case issue for next prop block handle %!!8 diff --git a/tests/metest.el b/tests/metest.el index d60a9ca..3282f9d 100644 --- a/tests/metest.el +++ b/tests/metest.el @@ -1,6 +1,6 @@ ;;; metest.el --- Testing suite for MATLaB Emacs ;; -;; Copyright (C) 2019 Eric Ludlam +;; Copyright (C) 2019-2023 Eric Ludlam ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as diff --git a/tests/metest.sh b/tests/metest.sh index c6c8081..f61671b 100755 --- a/tests/metest.sh +++ b/tests/metest.sh @@ -1,3 +1,17 @@ +# Copyright (C) 2023 Eric Ludlam (and others) + +# This program 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. + +# This program 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 this program. If not, see . #!/bin/bash # # Run a suite of matlab-emacs tests diff --git a/tests/mfuncends.m b/tests/mfuncends.m index 9201469..1ff3a3b 100644 --- a/tests/mfuncends.m +++ b/tests/mfuncends.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . function mfuncends( ) % Test function that has ends for each function. !!0 % !!0 diff --git a/tests/mfuncnoend.m b/tests/mfuncnoend.m index 51e12ab..0f8ddfe 100644 --- a/tests/mfuncnoend.m +++ b/tests/mfuncnoend.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . function mfuncnoend % A function file that does not have ends at the end of functions. % diff --git a/tests/mfuncnoendblock.m b/tests/mfuncnoendblock.m index 18a2fa6..74e33f6 100644 --- a/tests/mfuncnoendblock.m +++ b/tests/mfuncnoendblock.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . %{ Add a block comment at the beginning to skip over. x % !!2 diff --git a/tests/mfuncnoendindent.m b/tests/mfuncnoendindent.m index 18f6cc2..48a07c3 100644 --- a/tests/mfuncnoendindent.m +++ b/tests/mfuncnoendindent.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . function mfuncnoendindent % A function file that does not have ends at the end of functions. % diff --git a/tests/mfuncnofuncindent.m b/tests/mfuncnofuncindent.m index e6f5be2..aa3a298 100644 --- a/tests/mfuncnofuncindent.m +++ b/tests/mfuncnofuncindent.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . function mfuncnofuncindent( ) % Test function that has ends for each function. !!0 % !!0 @@ -29,4 +43,4 @@ end %!!0 % Local Variables: % matlab-indent-function-body: nil % End: -%} \ No newline at end of file +%} diff --git a/tests/mfuncspacey.m b/tests/mfuncspacey.m index 53c708b..752989b 100644 --- a/tests/mfuncspacey.m +++ b/tests/mfuncspacey.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . function mfuncspacey( ) % Test function that has ends for each function. % diff --git a/tests/mpclass.m b/tests/mpclass.m index f2832e3..8751382 100644 --- a/tests/mpclass.m +++ b/tests/mpclass.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . classdef (abstract) mpclass < handle & matlab.mixin.SetGetExactNames properties @@ -58,4 +72,4 @@ end %} -%% End \ No newline at end of file +%% End diff --git a/tests/mstest.el b/tests/mstest.el index b039180..d0e92c6 100644 --- a/tests/mstest.el +++ b/tests/mstest.el @@ -1,6 +1,6 @@ ;;; mstest.el --- MATLAB Shell test suite ;; -;; Copyright (C) 2019 Eric Ludlam +;; Copyright (C) 2019-23 Eric Ludlam ;; ;; Author: Eric Ludlam ;; diff --git a/tests/stringtest.m b/tests/stringtest.m index c47437b..dea185f 100644 --- a/tests/stringtest.m +++ b/tests/stringtest.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . %% Tests for char vector and string handling. % % #c# diff --git a/tests/syntaxerr.m b/tests/syntaxerr.m index 08f5946..3832021 100644 --- a/tests/syntaxerr.m +++ b/tests/syntaxerr.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . function syntaxerr() % This function has a syntax error in it. diff --git a/tests/testeeval.m b/tests/testeeval.m index 5f6b69d..1f80990 100644 --- a/tests/testeeval.m +++ b/tests/testeeval.m @@ -1,3 +1,17 @@ +% Copyright (C) 2023 Eric Ludlam (and others) + +% This program 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. + +% This program 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 this program. If not, see . function testeeval(style) % Test that we can tell Emacs what to do.