diff options
| author | Stefan Monnier | 2012-03-25 16:37:21 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-03-25 16:37:21 -0400 |
| commit | 699c782b7668c44d0fa4446331b0590a6d5dac82 (patch) | |
| tree | 5dcce364741d0761920a3d274b0fc8aba4103d45 /test/cedet | |
| parent | 98fb480ee31bf74cf554044f60f21df16566dd7f (diff) | |
| parent | e99a9b8bdccadded1f6fae88ee7a2a93dfd4eacf (diff) | |
| download | emacs-pending.tar.gz emacs-pending.zip | |
Merge from trunkpending
Diffstat (limited to 'test/cedet')
| -rw-r--r-- | test/cedet/cedet-utests.el | 4 | ||||
| -rw-r--r-- | test/cedet/ede-tests.el | 2 | ||||
| -rw-r--r-- | test/cedet/semantic-ia-utest.el | 2 | ||||
| -rw-r--r-- | test/cedet/semantic-tests.el | 5 | ||||
| -rw-r--r-- | test/cedet/semantic-utest-c.el | 4 | ||||
| -rw-r--r-- | test/cedet/semantic-utest.el | 12 | ||||
| -rw-r--r-- | test/cedet/srecode-tests.el | 4 | ||||
| -rw-r--r-- | test/cedet/tests/test.c | 2 | ||||
| -rw-r--r-- | test/cedet/tests/test.el | 4 | ||||
| -rw-r--r-- | test/cedet/tests/test.make | 2 | ||||
| -rw-r--r-- | test/cedet/tests/testdoublens.cpp | 2 | ||||
| -rw-r--r-- | test/cedet/tests/testdoublens.hpp | 2 | ||||
| -rw-r--r-- | test/cedet/tests/testjavacomp.java | 2 | ||||
| -rw-r--r-- | test/cedet/tests/testpolymorph.cpp | 7 | ||||
| -rw-r--r-- | test/cedet/tests/testspp.c | 2 | ||||
| -rw-r--r-- | test/cedet/tests/testsppreplace.c | 2 | ||||
| -rw-r--r-- | test/cedet/tests/testsppreplaced.c | 7 | ||||
| -rw-r--r-- | test/cedet/tests/testsubclass.cpp | 2 | ||||
| -rw-r--r-- | test/cedet/tests/testsubclass.hh | 2 | ||||
| -rw-r--r-- | test/cedet/tests/testtypedefs.cpp | 2 | ||||
| -rw-r--r-- | test/cedet/tests/testvarnames.c | 9 |
21 files changed, 38 insertions, 42 deletions
diff --git a/test/cedet/cedet-utests.el b/test/cedet/cedet-utests.el index d161ae68fcb..f5df51dc4c9 100644 --- a/test/cedet/cedet-utests.el +++ b/test/cedet/cedet-utests.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; cedet-utests.el --- Run all unit tests in the CEDET suite. | 1 | ;;; cedet-utests.el --- Run all unit tests in the CEDET suite. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2008-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2008-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | ;; Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
| @@ -96,7 +96,7 @@ | |||
| 96 | "Non-nil when CEDET-utest is running all the tests.") | 96 | "Non-nil when CEDET-utest is running all the tests.") |
| 97 | 97 | ||
| 98 | (defun cedet-utest (&optional exit-on-error) | 98 | (defun cedet-utest (&optional exit-on-error) |
| 99 | "Run the CEDET unittests. | 99 | "Run the CEDET unit tests. |
| 100 | EXIT-ON-ERROR causes the test suite to exit on an error, instead | 100 | EXIT-ON-ERROR causes the test suite to exit on an error, instead |
| 101 | of just logging the error." | 101 | of just logging the error." |
| 102 | (interactive) | 102 | (interactive) |
diff --git a/test/cedet/ede-tests.el b/test/cedet/ede-tests.el index f07098a8a9a..f73e4bed63f 100644 --- a/test/cedet/ede-tests.el +++ b/test/cedet/ede-tests.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; ede-tests.el --- Some tests for the Emacs Development Environment | 1 | ;;; ede-tests.el --- Some tests for the Emacs Development Environment |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2008-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2008-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | ;; Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
diff --git a/test/cedet/semantic-ia-utest.el b/test/cedet/semantic-ia-utest.el index 765029151dc..c523e103669 100644 --- a/test/cedet/semantic-ia-utest.el +++ b/test/cedet/semantic-ia-utest.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; semantic-ia-utest.el --- Analyzer unit tests | 1 | ;;; semantic-ia-utest.el --- Analyzer unit tests |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2008-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2008-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | ;; Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
diff --git a/test/cedet/semantic-tests.el b/test/cedet/semantic-tests.el index c840993bf24..22b959016c1 100644 --- a/test/cedet/semantic-tests.el +++ b/test/cedet/semantic-tests.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; semantic-utest.el --- Miscellaneous Semantic tests. | 1 | ;;; semantic-utest.el --- Miscellaneous Semantic tests. |
| 2 | 2 | ||
| 3 | ;;; Copyright (C) 2003-2004, 2007-2011 Free Software Foundation, Inc. | 3 | ;;; Copyright (C) 2003-2004, 2007-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> |
| 6 | 6 | ||
| @@ -54,7 +54,7 @@ All systems are different. Ask questions along the way." | |||
| 54 | (y-or-n-p "New database created. Reload system databases? ") | 54 | (y-or-n-p "New database created. Reload system databases? ") |
| 55 | (y-or-n-p "Load in all system databases? ")) | 55 | (y-or-n-p "Load in all system databases? ")) |
| 56 | (semanticdb-load-ebrowse-caches))) | 56 | (semanticdb-load-ebrowse-caches))) |
| 57 | ;; Ok, databases were creatd. Lets try some searching. | 57 | ;; Ok, databases were created. Let's try some searching. |
| 58 | (when (not (or (eq major-mode 'c-mode) | 58 | (when (not (or (eq major-mode 'c-mode) |
| 59 | (eq major-mode 'c++-mode))) | 59 | (eq major-mode 'c++-mode))) |
| 60 | (error "Please make your default buffer be a C or C++ file, then | 60 | (error "Please make your default buffer be a C or C++ file, then |
| @@ -387,4 +387,3 @@ gcc version 2.95.2 19991024 (release)" | |||
| 387 | (let ((semantic-gcc-test-strings (list (semantic-gcc-query "gcc" "-v")))) | 387 | (let ((semantic-gcc-test-strings (list (semantic-gcc-query "gcc" "-v")))) |
| 388 | (semantic-gcc-test-output-parser)) | 388 | (semantic-gcc-test-output-parser)) |
| 389 | ) | 389 | ) |
| 390 | |||
diff --git a/test/cedet/semantic-utest-c.el b/test/cedet/semantic-utest-c.el index 946a818e70e..c500f543187 100644 --- a/test/cedet/semantic-utest-c.el +++ b/test/cedet/semantic-utest-c.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; semantic-utest-c.el --- C based parsing tests. | 1 | ;;; semantic-utest-c.el --- C based parsing tests. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2008-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2008-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | ;; Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
| @@ -28,7 +28,7 @@ | |||
| 28 | (defvar semantic-utest-c-comparisons | 28 | (defvar semantic-utest-c-comparisons |
| 29 | '( ("testsppreplace.c" . "testsppreplaced.c") | 29 | '( ("testsppreplace.c" . "testsppreplaced.c") |
| 30 | ) | 30 | ) |
| 31 | "List of files to parse and compare against eachother.") | 31 | "List of files to parse and compare against each other.") |
| 32 | 32 | ||
| 33 | ;;; Code: | 33 | ;;; Code: |
| 34 | ;;;###autoload | 34 | ;;;###autoload |
diff --git a/test/cedet/semantic-utest.el b/test/cedet/semantic-utest.el index a9a7c765f2b..728106d863c 100644 --- a/test/cedet/semantic-utest.el +++ b/test/cedet/semantic-utest.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; semantic-utest.el --- Tests for semantic's parsing system. | 1 | ;;; semantic-utest.el --- Tests for semantic's parsing system. |
| 2 | 2 | ||
| 3 | ;;; Copyright (C) 2003-2004, 2007-2011 Free Software Foundation, Inc. | 3 | ;;; Copyright (C) 2003-2004, 2007-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> |
| 6 | 6 | ||
| @@ -170,7 +170,7 @@ def fun2(a,b,c): #1 | |||
| 170 | 170 | ||
| 171 | 171 | ||
| 172 | ) | 172 | ) |
| 173 | ; "pyhon test case. notice that python is indentation sensitive | 173 | ; "python test case. notice that python is indentation sensitive |
| 174 | 174 | ||
| 175 | 175 | ||
| 176 | (defvar semantic-utest-Python-name-contents | 176 | (defvar semantic-utest-Python-name-contents |
| @@ -536,7 +536,7 @@ Pre-fill the buffer with CONTENTS." | |||
| 536 | 536 | ||
| 537 | (defun semantic-utest-generic (testname filename contents name-contents names-removed killme insertme) | 537 | (defun semantic-utest-generic (testname filename contents name-contents names-removed killme insertme) |
| 538 | "Generic unit test according to template. | 538 | "Generic unit test according to template. |
| 539 | Should work for languages withouth .h files, python javascript java. | 539 | Should work for languages without .h files, python javascript java. |
| 540 | TESTNAME is the name of the test. | 540 | TESTNAME is the name of the test. |
| 541 | FILENAME is the name of the file to create. | 541 | FILENAME is the name of the file to create. |
| 542 | CONTENTS is the contents of the file to test. | 542 | CONTENTS is the contents of the file to test. |
| @@ -622,7 +622,7 @@ INSERTME is the text to be inserted after the deletion." | |||
| 622 | ) | 622 | ) |
| 623 | 623 | ||
| 624 | ;look at http://mfgames.com/linux/csharp-mode | 624 | ;look at http://mfgames.com/linux/csharp-mode |
| 625 | (defun semantic-utest-Csharp() ;; hmm i dont even know how to edit a scharp file. need a csharp mode implementation i suppose | 625 | (defun semantic-utest-Csharp() ;; hmm i don't even know how to edit a scharp file. need a csharp mode implementation i suppose |
| 626 | (interactive) | 626 | (interactive) |
| 627 | (if (fboundp 'csharp-mode) | 627 | (if (fboundp 'csharp-mode) |
| 628 | (semantic-utest-generic "C#" (semantic-utest-fname "csharptest.cs") semantic-utest-Csharp-buffer-contents semantic-utest-Csharp-name-contents '("fun2") "//1" "//deleted line") | 628 | (semantic-utest-generic "C#" (semantic-utest-fname "csharptest.cs") semantic-utest-Csharp-buffer-contents semantic-utest-Csharp-name-contents '("fun2") "//1" "//deleted line") |
| @@ -787,7 +787,7 @@ SKIPNAMES is a list of names to remove from NAME-CONTENTS" | |||
| 787 | (defun semantic-utest-kill-indicator ( killme insertme) | 787 | (defun semantic-utest-kill-indicator ( killme insertme) |
| 788 | "Kill the line with KILLME on it and insert INSERTME in its place." | 788 | "Kill the line with KILLME on it and insert INSERTME in its place." |
| 789 | (goto-char (point-min)) | 789 | (goto-char (point-min)) |
| 790 | ; (re-search-forward (concat "/\\*" indicator "\\*/")); JAVE this isnt generic enough for different lagnuages | 790 | ; (re-search-forward (concat "/\\*" indicator "\\*/")); JAVE this isn't generic enough for different languages |
| 791 | (re-search-forward killme) | 791 | (re-search-forward killme) |
| 792 | (beginning-of-line) | 792 | (beginning-of-line) |
| 793 | (setq semantic-utest-last-kill-pos (point)) | 793 | (setq semantic-utest-last-kill-pos (point)) |
| @@ -812,7 +812,7 @@ SKIPNAMES is a list of names to remove from NAME-CONTENTS" | |||
| 812 | (defun semantic-utest-last-invalid (name-contents names-removed killme insertme) | 812 | (defun semantic-utest-last-invalid (name-contents names-removed killme insertme) |
| 813 | "Make the last fcn invalid." | 813 | "Make the last fcn invalid." |
| 814 | (semantic-utest-kill-indicator killme insertme) | 814 | (semantic-utest-kill-indicator killme insertme) |
| 815 | ; (semantic-utest-verify-names name-contents names-removed); verify its gone ;new validator doesnt handle skipnames yet | 815 | ; (semantic-utest-verify-names name-contents names-removed); verify its gone ;new validator doesn't handle skipnames yet |
| 816 | (semantic-utest-unkill-indicator);put back killed stuff | 816 | (semantic-utest-unkill-indicator);put back killed stuff |
| 817 | ) | 817 | ) |
| 818 | 818 | ||
diff --git a/test/cedet/srecode-tests.el b/test/cedet/srecode-tests.el index 10b06f5cd01..d0239f627b3 100644 --- a/test/cedet/srecode-tests.el +++ b/test/cedet/srecode-tests.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; srecode-tests.el --- Some tests for CEDET's srecode | 1 | ;;; srecode-tests.el --- Some tests for CEDET's srecode |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2008-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2008-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | ;; Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
| @@ -177,7 +177,7 @@ It is filled with some text." | |||
| 177 | 177 | ||
| 178 | (mapc (lambda (T) | 178 | (mapc (lambda (T) |
| 179 | (when (slot-boundp T 'overlay) | 179 | (when (slot-boundp T 'overlay) |
| 180 | (error "Overlay did not clear off of of field %s" | 180 | (error "Overlay did not clear off of field %s" |
| 181 | (object-name T)))) | 181 | (object-name T)))) |
| 182 | fields) | 182 | fields) |
| 183 | 183 | ||
diff --git a/test/cedet/tests/test.c b/test/cedet/tests/test.c index 6f96f794915..b2d9971ff4f 100644 --- a/test/cedet/tests/test.c +++ b/test/cedet/tests/test.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* test.c --- Semantic unit test for C. | 1 | /* test.c --- Semantic unit test for C. |
| 2 | 2 | ||
| 3 | Copyright (C) 2001-2011 Free Software Foundation, Inc. | 3 | Copyright (C) 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
diff --git a/test/cedet/tests/test.el b/test/cedet/tests/test.el index 8a95572c497..a07a9316f35 100644 --- a/test/cedet/tests/test.el +++ b/test/cedet/tests/test.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; test.el --- Unit test file for Semantic Emacs Lisp support. | 1 | ;;; test.el --- Unit test file for Semantic Emacs Lisp support. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2005-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2005-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | ;; Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
| @@ -144,7 +144,7 @@ | |||
| 144 | this | 144 | this |
| 145 | that) | 145 | that) |
| 146 | 146 | ||
| 147 | (define-mode-local-override a-overriden-function | 147 | (define-mode-local-override a-overridden-function |
| 148 | emacs-lisp-mode (tag) | 148 | emacs-lisp-mode (tag) |
| 149 | "A function that is overloaded." | 149 | "A function that is overloaded." |
| 150 | nil) | 150 | nil) |
diff --git a/test/cedet/tests/test.make b/test/cedet/tests/test.make index a8a3e344cad..cc9d450c1e0 100644 --- a/test/cedet/tests/test.make +++ b/test/cedet/tests/test.make | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # test.make --- Semantic unit test for Make -*- makefile -*- | 1 | # test.make --- Semantic unit test for Make -*- makefile -*- |
| 2 | 2 | ||
| 3 | # Copyright (C) 2001-2002, 2010-2011 Free Software Foundation, Inc. | 3 | # Copyright (C) 2001-2002, 2010-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | # Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | # Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
diff --git a/test/cedet/tests/testdoublens.cpp b/test/cedet/tests/testdoublens.cpp index c0993af0863..72a7e10dc5a 100644 --- a/test/cedet/tests/testdoublens.cpp +++ b/test/cedet/tests/testdoublens.cpp | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | // testdoublens.cpp --- semantic-ia-utest completion engine unit tests | 1 | // testdoublens.cpp --- semantic-ia-utest completion engine unit tests |
| 2 | 2 | ||
| 3 | // Copyright (C) 2008-2011 Free Software Foundation, Inc. | 3 | // Copyright (C) 2008-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | // Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | // Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
diff --git a/test/cedet/tests/testdoublens.hpp b/test/cedet/tests/testdoublens.hpp index 94349ed8544..69475ee3c19 100644 --- a/test/cedet/tests/testdoublens.hpp +++ b/test/cedet/tests/testdoublens.hpp | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | // testdoublens.hpp --- Header file used in one of the Semantic tests | 1 | // testdoublens.hpp --- Header file used in one of the Semantic tests |
| 2 | 2 | ||
| 3 | // Copyright (C) 2008-2011 Free Software Foundation, Inc. | 3 | // Copyright (C) 2008-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | // Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | // Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
diff --git a/test/cedet/tests/testjavacomp.java b/test/cedet/tests/testjavacomp.java index e9aed8c51f3..54b9f4aa004 100644 --- a/test/cedet/tests/testjavacomp.java +++ b/test/cedet/tests/testjavacomp.java | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | // testjavacomp.java --- Semantic unit test for Java | 1 | // testjavacomp.java --- Semantic unit test for Java |
| 2 | 2 | ||
| 3 | // Copyright (C) 2009-2011 Free Software Foundation, Inc. | 3 | // Copyright (C) 2009-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | // Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | // Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
diff --git a/test/cedet/tests/testpolymorph.cpp b/test/cedet/tests/testpolymorph.cpp index 493b4344c17..2108da14e56 100644 --- a/test/cedet/tests/testpolymorph.cpp +++ b/test/cedet/tests/testpolymorph.cpp | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /** testpolymorph.cpp --- A sequence of polymorphism examples. | 1 | /** testpolymorph.cpp --- A sequence of polymorphism examples. |
| 2 | * | 2 | * |
| 3 | * Copyright (C) 2009-2011 Free Software Foundation, Inc. | 3 | * Copyright (C) 2009-2012 Free Software Foundation, Inc. |
| 4 | * | 4 | * |
| 5 | * Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | * Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | * | 6 | * |
| @@ -50,7 +50,7 @@ namespace fcn_poly { | |||
| 50 | 50 | ||
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | // Test 3 - Methods w/ differet arg lists. | 53 | // Test 3 - Methods w/ different arg lists. |
| 54 | class meth_poly { | 54 | class meth_poly { |
| 55 | public: | 55 | public: |
| 56 | int pm_meth(void) { | 56 | int pm_meth(void) { |
| @@ -83,7 +83,7 @@ namespace template_partial_spec { | |||
| 83 | }; | 83 | }; |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | // Test 5 - Templates w/ full specicialization which may or may not share | 86 | // Test 5 - Templates w/ full specialization which may or may not share |
| 87 | // common functions. | 87 | // common functions. |
| 88 | namespace template_full_spec { | 88 | namespace template_full_spec { |
| 89 | template <typename T> class test | 89 | template <typename T> class test |
| @@ -128,4 +128,3 @@ namespace template_multiple_spec { | |||
| 128 | 128 | ||
| 129 | 129 | ||
| 130 | // End of polymorphism test file. | 130 | // End of polymorphism test file. |
| 131 | |||
diff --git a/test/cedet/tests/testspp.c b/test/cedet/tests/testspp.c index 1cd45e47e1f..1fbabd62d14 100644 --- a/test/cedet/tests/testspp.c +++ b/test/cedet/tests/testspp.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* testspp.cpp --- Semantic unit test for the C preprocessor | 1 | /* testspp.cpp --- Semantic unit test for the C preprocessor |
| 2 | 2 | ||
| 3 | Copyright (C) 2007-2011 Free Software Foundation, Inc. | 3 | Copyright (C) 2007-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
diff --git a/test/cedet/tests/testsppreplace.c b/test/cedet/tests/testsppreplace.c index 4ec87654dc4..36b4cb5fa57 100644 --- a/test/cedet/tests/testsppreplace.c +++ b/test/cedet/tests/testsppreplace.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* testsppreplace.c --- unit test for CPP/SPP Replacement | 1 | /* testsppreplace.c --- unit test for CPP/SPP Replacement |
| 2 | Copyright (C) 2007-2011 Free Software Foundation, Inc. | 2 | Copyright (C) 2007-2012 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | Author: Eric M. Ludlam <eric@siege-engine.com> | 4 | Author: Eric M. Ludlam <eric@siege-engine.com> |
| 5 | 5 | ||
diff --git a/test/cedet/tests/testsppreplaced.c b/test/cedet/tests/testsppreplaced.c index 5098715081f..19e3b7ec869 100644 --- a/test/cedet/tests/testsppreplaced.c +++ b/test/cedet/tests/testsppreplaced.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* testsppreplaced.c --- unit test for CPP/SPP Replacement | 1 | /* testsppreplaced.c --- unit test for CPP/SPP Replacement |
| 2 | Copyright (C) 2007-2011 Free Software Foundation, Inc. | 2 | Copyright (C) 2007-2012 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | Author: Eric M. Ludlam <eric@siege-engine.com> | 4 | Author: Eric M. Ludlam <eric@siege-engine.com> |
| 5 | 5 | ||
| @@ -69,7 +69,7 @@ int continuation_symbol () { }; | |||
| 69 | 69 | ||
| 70 | int tail (int q) {} | 70 | int tail (int q) {} |
| 71 | 71 | ||
| 72 | /* TEST: macros used impropertly. */ | 72 | /* TEST: macros used improperly */ |
| 73 | 73 | ||
| 74 | int tail_fcn(int q); | 74 | int tail_fcn(int q); |
| 75 | 75 | ||
| @@ -98,7 +98,7 @@ namespace foo { namespace bar { | |||
| 98 | 98 | ||
| 99 | int foo_bar_func(int a) { } | 99 | int foo_bar_func(int a) { } |
| 100 | 100 | ||
| 101 | } | 101 | } |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | /* TEST: The VC++ macro hack. */ | 104 | /* TEST: The VC++ macro hack. */ |
| @@ -115,4 +115,3 @@ int MACROA () { | |||
| 115 | 115 | ||
| 116 | 116 | ||
| 117 | /* End */ | 117 | /* End */ |
| 118 | |||
diff --git a/test/cedet/tests/testsubclass.cpp b/test/cedet/tests/testsubclass.cpp index 6a704818b0d..3fb61053a41 100644 --- a/test/cedet/tests/testsubclass.cpp +++ b/test/cedet/tests/testsubclass.cpp | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | // testsubclass.cpp --- unit test for analyzer and complex C++ inheritance | 1 | // testsubclass.cpp --- unit test for analyzer and complex C++ inheritance |
| 2 | 2 | ||
| 3 | // Copyright (C) 2007-2011 Free Software Foundation, Inc. | 3 | // Copyright (C) 2007-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | // Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | // Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
diff --git a/test/cedet/tests/testsubclass.hh b/test/cedet/tests/testsubclass.hh index 9e6d777d74d..dee470b899f 100644 --- a/test/cedet/tests/testsubclass.hh +++ b/test/cedet/tests/testsubclass.hh | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | // testsubclass.hh --- unit test for analyzer and complex C++ inheritance | 1 | // testsubclass.hh --- unit test for analyzer and complex C++ inheritance |
| 2 | 2 | ||
| 3 | // Copyright (C) 2007-2011 Free Software Foundation, Inc. | 3 | // Copyright (C) 2007-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | // Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | // Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
diff --git a/test/cedet/tests/testtypedefs.cpp b/test/cedet/tests/testtypedefs.cpp index f97b1400454..f3666bea316 100644 --- a/test/cedet/tests/testtypedefs.cpp +++ b/test/cedet/tests/testtypedefs.cpp | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | // testtypedefs.cpp --- Sample with some fake bits out of std::string | 1 | // testtypedefs.cpp --- Sample with some fake bits out of std::string |
| 2 | 2 | ||
| 3 | // Copyright (C) 2008-2011 Free Software Foundation, Inc. | 3 | // Copyright (C) 2008-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | // Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | // Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
diff --git a/test/cedet/tests/testvarnames.c b/test/cedet/tests/testvarnames.c index 51d8285730f..5cade2f0bd8 100644 --- a/test/cedet/tests/testvarnames.c +++ b/test/cedet/tests/testvarnames.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* testvarnames.cpp | 1 | /* testvarnames.cpp |
| 2 | Test variable and function names, lists of variables on one line, etc. | 2 | Test variable and function names, lists of variables on one line, etc. |
| 3 | 3 | ||
| 4 | Copyright (C) 2008-2011 Free Software Foundation, Inc. | 4 | Copyright (C) 2008-2012 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | Author: Eric M. Ludlam <eric@siege-engine.com> | 6 | Author: Eric M. Ludlam <eric@siege-engine.com> |
| 7 | 7 | ||
| @@ -31,7 +31,7 @@ struct independent var_indep_struct; | |||
| 31 | struct { | 31 | struct { |
| 32 | int unnamed_1; | 32 | int unnamed_1; |
| 33 | int unnamed_2; | 33 | int unnamed_2; |
| 34 | } var_unamed_struct; | 34 | } var_unnamed_struct; |
| 35 | 35 | ||
| 36 | struct { | 36 | struct { |
| 37 | int unnamed_3; | 37 | int unnamed_3; |
| @@ -59,12 +59,12 @@ struct inline2struct in_var2; | |||
| 59 | int test_1(int var_arg1) { | 59 | int test_1(int var_arg1) { |
| 60 | 60 | ||
| 61 | var_// -1- | 61 | var_// -1- |
| 62 | ; // #1# ("var_arg1" "var_indep_struct" "var_n_2" "var_n_3" "var_named_struct" "var_un_2" "var_un_3" "var_unamed_struct") | 62 | ; // #1# ("var_arg1" "var_indep_struct" "var_n_2" "var_n_3" "var_named_struct" "var_un_2" "var_un_3" "var_unnamed_struct") |
| 63 | 63 | ||
| 64 | var_indep_struct.// -2- | 64 | var_indep_struct.// -2- |
| 65 | ; // #2# ( "indep_1" "indep_2" ) | 65 | ; // #2# ( "indep_1" "indep_2" ) |
| 66 | 66 | ||
| 67 | var_unamed_struct.// -3- | 67 | var_unnamed_struct.// -3- |
| 68 | ; // #3# ( "unnamed_1" "unnamed_2" ) | 68 | ; // #3# ( "unnamed_1" "unnamed_2" ) |
| 69 | 69 | ||
| 70 | var_named_struct.// -4- | 70 | var_named_struct.// -4- |
| @@ -88,4 +88,3 @@ int test_1(int var_arg1) { | |||
| 88 | in_var2.// -11- | 88 | in_var2.// -11- |
| 89 | ; // #11# ( "named_3" "named_4") | 89 | ; // #11# ( "named_3" "named_4") |
| 90 | } | 90 | } |
| 91 | |||