]> git.eshelyaron.com Git - emacs.git/log
emacs.git
7 years agoFix ia-utest, add missing includes and add missing test resources scratch/merge-cedet-tests
Edward John Steere [Sat, 28 Jan 2017 13:19:29 +0000 (15:19 +0200)]
Fix ia-utest, add missing includes and add missing test resources

Some more stragglers which were missed during the merge along with
fixes which allow the tests to run.
* test/manual/cedet/cedet-utests.el: (semantic/fw) new
  require.  (semantic/wisent/calc) deleted
  require.  (cedet-utest-test-alist) removed compdb
  test.
* test/manual/cedet/cedet/ede/detect-utest.el:
  (ede-detect-linux-utest) added function from CEDET.
* test/manual/cedet/cedet/semantic/ia-utest.el:
  (semantic-ia-utest-buffer) Fixed setq form for regex-p and regex-a
  which were accidentally broken during merging.
* test/manual/cedet/cedet/ede/src/proj/Project.ede:
* test/manual/cedet/cedet/ede/src/proj/TEST:
* test/manual/cedet/cedet/ede/src/proj/sub/Project.ede:
* test/manual/cedet/cedet/semantic/tests/test-fmt.el: Added missing
  test resources from CEDET

7 years agoRemove tests and redundant resources not destined for merge
Edward John Steere [Wed, 25 Jan 2017 18:52:38 +0000 (20:52 +0200)]
Remove tests and redundant resources not destined for merge

Many of the resource files are in another location after the merge and
the patches did not cover that movement.  Other files are not
appropriate for Emacs core; such as the ede and README files.  Even
more still relate to Java, COGRE and other such features not destined
for merging.  Files with modifications were those were many patches
failed and I decided to follow up the merge with a diff to their
counterpart in upstream.
* test/manual/cedet/Makefile: deleted
* test/manual/cedet/Project.ede: deleted
* test/manual/cedet/README: deleted
* test/manual/cedet/cedet-integ-test.el: (ede-make, cogre, cit-uml,
  cit-android, cit-gnustep, cedet-integ-test-android,
  cedet-integ-test-GNUStep): deleted.  (cedet-integ-base,
  cit-checkenv, cit-projvar, cit-cpproot, cit-globalref): new
  requires.  (cedet-integ-test-Make): merged diffs from
  upstream.  (cedet-integ-test-cpproot): added from
  upstream.  (cedet-integ-test-globalref): added from
  upstream. (cit-finish-message): merged diffs from
  upstream.  (cit-srecode-fill-with-stuff-notest): added from
  upstream.  (cit-srecode-insert-taglist): added from
  upstream.  (cit-tag-verify-error-debug): merged diffs from
  upstream.  (cit-compile-and-wait): merged diffs from
  upstream.  (cit-compile-and-wait-using-ede-command): merged diffs
  from upstream.  (cit-wait-for-compilation): merged diffs from
  upstream.  (cit-check-compilation-for-error): merged diffs from
  upstream.  (cit-run-target): merged diffs from upstream.
* test/manual/cedet/cedet-utests.el: (cedet-compat,
  cedet/ede/compdb-utest, cedet/cogre/utestcedet/cogre/utest,
  cedet/cogre/periodic-utest, cedet/cogre/convert-utest):
  deleted.  (cit-utest-alist): Merged diffs from
  upstream.  (cedet-utest): merged diffs from upstream.
* test/manual/cedet/cedet/ede/detect-utest.el:
  (ede-detect-utest-project-entries): removed android, compdb, ninja,
  lein, maven and java-root detection.  (ede-java-root-project):
  deleted.
* test/manual/cedet/cedet/semantic/utest-parse.el:
  (semantic-utest-C-buffer-contents, semantic-utest-C-name-contents,
  semantic-utest-Python-buffer-contents,
  semantic-utest-Python-name-contents,
  semantic-utest-Scheme-buffer-contents, semantic-utest-Makefile):
  merged diffs from.
* test/manual/cedet/cit-checkenv.el: (cedet-java):
  deleted.  (cit-checkenv-test): merged diffs from upstream.
* test/manual/cedet/cit-cpp.el: (cit-remove-add-to-project-cpp,
  cit-remove-and-do-shared-lib): merged diffs from upstream.
* test/manual/cedet/cit-cpproot.el: (cit-src-cpproot-main-tags,
  cit-cpproot-depfiles, cit-ede-cpproot-test):  merged diffs from
  upstream.
* test/manual/cedet/cit-javaroot.el: deleted
* test/manual/cedet/cit-test.sh: deleted
* test/manual/cedet/ede-tests.el: deleted
* test/manual/cedet/semantic-ia-utest.el: deleted
* test/manual/cedet/semantic-tests.el: deleted
* test/manual/cedet/semantic-utest-c.el: deleted
* test/manual/cedet/semantic-utest.el: deleted
* test/manual/cedet/srecode-tests.el: deleted
* test/manual/cedet/tests/test.c: deleted
* test/manual/cedet/tests/test.el: deleted
* test/manual/cedet/tests/test.make: deleted
* test/manual/cedet/tests/testdoublens.cpp: deleted
* test/manual/cedet/tests/testdoublens.hpp: deleted
* test/manual/cedet/tests/testfriends.cpp: deleted
* test/manual/cedet/tests/testjavacomp.java: deleted
* test/manual/cedet/tests/testnsp.cpp: deleted
* test/manual/cedet/tests/testpolymorph.cpp: deleted
* test/manual/cedet/tests/testspp.c: deleted
* test/manual/cedet/tests/testsppcomplete.c: deleted
* test/manual/cedet/tests/testsppreplace.c: deleted
* test/manual/cedet/tests/testsppreplaced.c: deleted
* test/manual/cedet/tests/testsubclass.cpp: deleted
* test/manual/cedet/tests/testsubclass.hh: deleted
* test/manual/cedet/tests/testtypedefs.cpp: deleted
* test/manual/cedet/tests/testvarnames.c: deleted
* test/manual/cedet/cedet/ede/detect-utest.el:
  (ede-detect-utest-project-entries) removed ant test
* test/manual/cedet/cedet/ede/src/cpproot/README:
* test/manual/cedet/cedet/ede/src/cpproot/src/main.cpp: Added test resources
* test/manual/cedet/cedet/semantic/ia-utest.el:
  (semantic-ia-utest-buffer-refs) Fixed syntax error accidentally
  introduced by merge.
* test/manual/cedet/cedet/semantic/utest-parse.el:
  (semantic-utest-Java-buffer-contents,
  semantic-utest-Java-name-contents): deleted java tests

7 years agoMove tests in cedet/semantic
xscript [Fri, 29 Apr 2011 00:32:56 +0000 (02:32 +0200)]
Move tests in cedet/semantic

7 years agoAdd header comments and provide.
Eric Ludlam [Sat, 20 Aug 2011 17:03:49 +0000 (13:03 -0400)]
Add header comments and provide.

7 years agoNew Tests for ede-java-root-project type.
Eric Ludlam [Tue, 2 Apr 2013 01:49:42 +0000 (21:49 -0400)]
New Tests for ede-java-root-project type.

7 years agoRevert rev. 6995
David Engster [Fri, 2 Aug 2013 19:46:42 +0000 (21:46 +0200)]
Revert rev. 6995

(semantic-analyze-find-tag-sequence-default): Always add scope to the
local miniscope for each type.  Otherwise, structure tags are not
analyzed correctly.  Also, always search the extended miniscope even
when not dealing with types.

* tests/cedet/semantic/test/manual/cedet/testdoublens.cpp: Add test
  case for the

above change.

7 years agoReturn fully qualified types if necessary.
David Engster [Mon, 29 Jul 2013 19:45:33 +0000 (21:45 +0200)]
Return fully qualified types if necessary.

* semantic/analyze/fcn.el (semantic-analyze-type-to-name): If TYPE has
  a parent, return a fully qualified name.

* tests/cedet/semantic/test/manual/cedet/testdoublens.cpp: Add test
  case for the above.

7 years agoMove tests in cedet/semantic
xscript [Fri, 29 Apr 2011 00:32:56 +0000 (02:32 +0200)]
Move tests in cedet/semantic

7 years agoFix typo
xscript [Tue, 16 Aug 2011 17:19:17 +0000 (19:19 +0200)]
Fix typo

* test/manual/cedet/cedet/semantic/idle.el: Fix typo due to automated
 file rename ('semantic.elapsed-time' -> 'semantic-elapsed-time).

7 years agoSynchronize cedet/semantic with Emacs.
xscript [Sun, 15 May 2011 20:16:47 +0000 (22:16 +0200)]
Synchronize cedet/semantic with Emacs.

7 years ago(cit-globalref-test): Note where the test is occuring.
Eric Ludlam [Fri, 24 Oct 2014 20:20:37 +0000 (16:20 -0400)]
(cit-globalref-test): Note where the test is occuring.

7 years agoDon't scan other files because Util.cc is already in a buffer
Eric Ludlam [Sun, 20 Apr 2014 17:56:08 +0000 (13:56 -0400)]
Don't scan other files because Util.cc is already in a buffer

* test/manual/cedet/cit-globalref.el (cit-globalref-test): Final test,
 Util.cc is already in a buffer, so we shouldn't scan any other files.

7 years agoAdd test code for use with sources in globalref
Eric Ludlam [Thu, 2 Jan 2014 01:46:30 +0000 (20:46 -0500)]
Add test code for use with sources in globalref

* test/manual/cedet/cit-globalref.el: New test code for use with
  sources in tests/integ_src/globalref.  Makes sure GNU Global will
  create tags database, jump to correct impl from a prototype, and
  also checks how many buffers are opened along the way to make sure
  the expected number are found.

7 years agoFake ver_linux for project detection purposes.
Eric Ludlam [Sun, 20 Apr 2014 18:06:31 +0000 (14:06 -0400)]
Fake ver_linux for project detection purposes.

7 years agoNew tests.
Eric Ludlam [Sat, 11 Apr 2015 23:18:47 +0000 (19:18 -0400)]
New tests.

7 years agoImprove test output
Eric Ludlam [Sun, 18 Oct 2015 14:12:32 +0000 (10:12 -0400)]
Improve test output

* test/manual/cedet/cedet/semantic/ia-utest.el:
 (semantic-ia-utest-file-list): Add commented out poly
 test. (semantic-ia-utest-buffer): Improve visibility of failed lines.

7 years ago(semantic-ia-utest-file-list): Add testunion.cpp.
Eric Ludlam [Thu, 23 Apr 2015 00:59:11 +0000 (20:59 -0400)]
(semantic-ia-utest-file-list): Add testunion.cpp.

7 years agoTest refactor/move
Eric Ludlam [Sat, 11 Apr 2015 23:21:23 +0000 (19:21 -0400)]
Test refactor/move

* test/manual/cedet/cedet/semantic/ia-utest.el:
 (semantic-ia-utest-file-list): Add tests/test.texi, test.mk, and
 test.srt (semantic-ia-utest-buffer, semantic-ia-utest-buffer-refs)
 (semantic-sr-utest-buffer-refs, semantic-src-utest-buffer-refs): When
 scanning for comments, wrap comment-start-skip to handle modes that
 have an unbound or in them. Skip back over whitespace from in front
 of found test point comments.

7 years ago(semantic-ia-utest-file-list): add testwisent.wy
Eric Ludlam [Wed, 26 Nov 2014 15:42:58 +0000 (10:42 -0500)]
(semantic-ia-utest-file-list): add testwisent.wy

7 years agoImprove test utilities
Eric Ludlam [Mon, 17 Feb 2014 14:16:52 +0000 (09:16 -0500)]
Improve test utilities

* lisp/cedet/semantic/analyze.el:
 (semantic-analyze-find-tag-sequence-default): If first entry in
 sequence is the only one, apply tagclass
 filter. (semantic-analyze-princ-sequence): Show slot even if empty.
* tests/cedet/semantic/ia-utest.el: (semantic-ia-utest-file-list): Add
 testvarnames.java.
* tests/cedet/semantic/test/manual/cedet/Project.ede:
 ("semantic/tests"): Add testvarnames.java
* tests/cedet/semantic/test/manual/cedet/testvarnames.java: New test
 file

7 years agoAdd test for parsing local variables
David Engster [Sun, 2 Feb 2014 19:31:32 +0000 (20:31 +0100)]
Add test for parsing local variables

* tests/cedet/semantic/test/manual/cedet/testlocalvars.cpp: New file.
* tests/cedet/semantic/test/manual/cedet/Project.ede: Add above.
* tests/cedet/semantic/test/manual/cedet/Makefile: Regenerate.
* tests/cedet/semantic/ia-utest.el (semantic-ia-utest-file-list): Add
  new test file.

7 years agoRemove compatibility function `cedet-called-interactively-p'.
David Engster [Sun, 28 Jul 2013 11:24:40 +0000 (13:24 +0200)]
Remove compatibility function `cedet-called-interactively-p'.

* lisp/cedet/cedet-compat.el (cedet-called-interactively-p): Remove.
  It is no longer needed since our minimum version is now 23.2, which
  has `called-interactively-p'.  Also, remove corresponding unit
  tests.

* tests/cedet-utests.el (cedet-utest-test-alist): Remove cedet-compat
  unit tests.

* All files: Replace `cedet-called-interactively-p' with
  `called-interactively-p', providing 'any as argument where it was
  still missing.

7 years agoMoved tests about
Eric Ludlam [Sat, 20 Aug 2011 17:07:24 +0000 (13:07 -0400)]
Moved tests about

* test/manual/cedet/cedet/semantic/ia-utest.el: (cedet-uutil): New
 require. (semantic-ia-utest): Fix where the test sources are loaded
 from.  (semantic-symref-test-count-hits-in-tag): Copied from other
 related src file.

7 years agoMove tests in cedet/semantic
xscript [Fri, 29 Apr 2011 00:32:56 +0000 (02:32 +0200)]
Move tests in cedet/semantic

7 years ago(priority): Set to a low number. (cit-project-template): New template.
Eric Ludlam [Thu, 28 Mar 2013 02:23:47 +0000 (22:23 -0400)]
(priority): Set to a low number. (cit-project-template): New template.

7 years agoRemove obsolete cvs-auto-updated 'X-RCS' line.
xscript [Wed, 15 Sep 2010 14:27:53 +0000 (16:27 +0200)]
Remove obsolete cvs-auto-updated 'X-RCS' line.

7 years agoBase template for cit testing.
zappo [Sun, 24 Feb 2008 18:21:37 +0000 (18:21 +0000)]
Base template for cit testing.

7 years agoMake unit tests use randomized file names
David Engster [Mon, 4 Nov 2013 22:15:03 +0000 (23:15 +0100)]
Make unit tests use randomized file names

* tests/cedet/semantic/stltest.el:
* tests/cedet/semantic/utest-parse.el:
* tests/cedet/srecode/fields-utest.el:
* tests/cedet/srecode/test-getset.el:
* tests/cedet/srecode/test.el:
* tests/eieio/eieio-test-persist.el: Make all those tests use
  `make-temp-name' for their test files, so that tests can run in
  parallel.

7 years agoFix provide. (cedet-utests): Remove.
Eric Ludlam [Sat, 20 Aug 2011 17:08:40 +0000 (13:08 -0400)]
Fix provide. (cedet-utests): Remove.

7 years agoNew tests.
Eric Ludlam [Sat, 11 Apr 2015 23:18:47 +0000 (19:18 -0400)]
New tests.

7 years agoMove tests in cedet/semantic
xscript [Fri, 29 Apr 2011 00:32:56 +0000 (02:32 +0200)]
Move tests in cedet/semantic

7 years agoDon't fail the test for errors which don't mean a failure
Eric Ludlam [Fri, 24 Oct 2014 19:33:32 +0000 (15:33 -0400)]
Don't fail the test for errors which don't mean a failure

* test/manual/cedet/cit-externaldb.el: (cit-externaldb-test): Catch
 failures that shouldn't fail tests.  (cit-externaldb-cleanup): New
 (cit-gnu-externaldb-test-one): Catch if the create fails from the
 external program, cleanup, and throw.  Improve fail messages to help
 identify problems.

7 years ago(cit-gnu-externaldb-test-one): Improve test for bad search result.
Eric Ludlam [Thu, 16 Oct 2014 02:06:04 +0000 (22:06 -0400)]
(cit-gnu-externaldb-test-one): Improve test for bad search result.

7 years agoBetter skip message
Eric Ludlam [Thu, 2 Jan 2014 01:47:24 +0000 (20:47 -0500)]
Better skip message

* test/manual/cedet/cit-externaldb.el: (cit-externaldb-test): Better
 skip message.  (cit-gnu-externaldb-test-one): Better skip mesasges.

7 years ago* tests/cit-externaldb.el: Fix requires.
David Engster [Mon, 7 Nov 2011 20:03:59 +0000 (22:03 +0200)]
* tests/cit-externaldb.el: Fix requires.

* tests/cit-uml.el: Add require for cogre/uml.

7 years agoDon't set :filename if it's already set
Darren Hoo [Thu, 6 Oct 2011 17:13:59 +0000 (19:13 +0200)]
Don't set :filename if it's already set

* test/manual/cedet/cit-externaldb.el:
 (semanticdb-strip-find-results): Check if there already is a
 :filename attribute set, so that file information from GNU Global
 will not be lost.

* tests/cit-externaldb.el: New test for :filename property.  Make
  doc-string and comments generic, since this is not specific to GNU
  global.

7 years agoRemove obsolete cvs-auto-updated 'X-RCS' line.
xscript [Wed, 15 Sep 2010 14:27:53 +0000 (16:27 +0200)]
Remove obsolete cvs-auto-updated 'X-RCS' line.

7 years agoUse new create functions for db tools
zappo [Sun, 25 Jul 2010 13:50:15 +0000 (13:50 +0000)]
Use new create functions for db tools

* test/manual/cedet/cit-externaldb.el: (cit-external-db-tool-list):
 Change all create fcns for db tools to use new create fcns added for
 each project type.  (cit-gnu-externaldb-test-one): Change calling
 convention to create a db to conform to new fcns.

7 years agoFixes for external db tests
zappo [Sun, 13 Jun 2010 13:54:59 +0000 (13:54 +0000)]
Fixes for external db tests

* test/manual/cedet/cit-externaldb.el: (cit-externaldb-files-to-find):
 Change files to those common between Make and AutoMake.
 (cit-gnu-externaldb-test-one): Require ede-locate Call
 `ede-enable-locate-on-project' to start/end the test so that the
 locate system is available for the project later.

7 years agoTest external database tools.
zappo [Sun, 13 Jun 2010 01:12:50 +0000 (01:12 +0000)]
Test external database tools.

7 years agoAdd header comments and provide.
Eric Ludlam [Sat, 20 Aug 2011 17:08:13 +0000 (13:08 -0400)]
Add header comments and provide.

7 years agoMove tests in cedet/semantic
xscript [Fri, 29 Apr 2011 00:32:56 +0000 (02:32 +0200)]
Move tests in cedet/semantic

7 years agoAdd header comments and provide.
Eric Ludlam [Sat, 20 Aug 2011 17:06:17 +0000 (13:06 -0400)]
Add header comments and provide.

7 years ago(cit-srecode-fill-el): Insert classes before methods.
David Engster [Sun, 22 Apr 2012 12:55:54 +0000 (14:55 +0200)]
(cit-srecode-fill-el): Insert classes before methods.

7 years agoRemove obsolete cvs-auto-updated 'X-RCS' line.
xscript [Wed, 15 Sep 2010 14:27:53 +0000 (16:27 +0200)]
Remove obsolete cvs-auto-updated 'X-RCS' line.

7 years agoRemove eieio bits and only use eieio bits for make types
zappo [Thu, 15 Oct 2009 03:42:55 +0000 (03:42 +0000)]
Remove eieio bits and only use eieio bits for make types

* test/manual/cedet/cit-el.el (cit-el-tags): Removed eieio
 bits. (cit-el-tags-eieio): New, from above. (cit-srecode-fill-el):
 Only use eieio bits for Make types.

7 years agoAccept the make-tipe argument to control tests
zappo [Sat, 8 Aug 2009 21:52:08 +0000 (21:52 +0000)]
Accept the make-tipe argument to control tests

* test/manual/cedet/cit-el.el (cit-srecode-fill-el): Accept make-type
 argument.  Don't do autoloads with automake.

7 years agoEmacs Lisp support for cedet integration tests.
zappo [Sun, 24 Feb 2008 02:58:10 +0000 (02:58 +0000)]
Emacs Lisp support for cedet integration tests.

7 years agoAdded test functions
Eric Ludlam [Sun, 12 Apr 2015 01:13:57 +0000 (21:13 -0400)]
Added test functions

* test/manual/cedet/cedet/semantic/utest-c.el: (semantic-utest-c-ede):
 New (semantic-utest-c): Add call to
 below. (semantic-utest-c-with-ede): New test function
 (semantic-utest-c-setup-ede): New.

7 years agoFix unit testing for several tests and do better error checking.
David Engster [Thu, 1 Dec 2011 19:13:55 +0000 (20:13 +0100)]
Fix unit testing for several tests and do better error checking.

* semantic/lex-spp-utests.el (semantic-lex-spp-write-utest):
* tests/cedet-utests.el (cedet-utest-eieio-classloader): Throw
  error if we cannot locate test files.

* semantic/utest-c.el (semantic-utest-c-compare)
  (semantic-utest-c-conditionals):
* semantic/lex-spp-utest.el (semantic-lex-spp-write-utest): Adapt
  to new directory structure and do better error checking to avoid
  silent failures in the future.

7 years agoFix provide.
Eric Ludlam [Sat, 20 Aug 2011 17:08:02 +0000 (13:08 -0400)]
Fix provide.

7 years agoMove tests in cedet/semantic
xscript [Fri, 29 Apr 2011 00:32:56 +0000 (02:32 +0200)]
Move tests in cedet/semantic

7 years agoNew tests.
Eric Ludlam [Sat, 11 Apr 2015 23:18:47 +0000 (19:18 -0400)]
New tests.

7 years agoSynchronize cedet/semantic with Emacs.
xscript [Sun, 15 May 2011 20:16:47 +0000 (22:16 +0200)]
Synchronize cedet/semantic with Emacs.

7 years agoRemove obsolete cvs-auto-updated 'X-RCS' line.
xscript [Wed, 15 Sep 2010 14:27:53 +0000 (16:27 +0200)]
Remove obsolete cvs-auto-updated 'X-RCS' line.

7 years ago(cit-make-dist): Use cit-check-compilation-for-error.
zappo [Tue, 16 Mar 2010 03:05:48 +0000 (03:05 +0000)]
(cit-make-dist): Use cit-check-compilation-for-error.

7 years agoTest updating the project version
zappo [Sun, 27 Dec 2009 03:37:04 +0000 (03:37 +0000)]
Test updating the project version

* test/manual/cedet/cit-dist.el: (cit-make-dist): Test w/ default
 version, then update and test again. (cit-update-version): Force
 rebuild of Makefile.

7 years agoFirst pass of creating a distribution.
zappo [Sat, 26 Dec 2009 22:36:16 +0000 (22:36 +0000)]
First pass of creating a distribution.

7 years agoNew test C file for linux.
Eric Ludlam [Sun, 22 Jun 2014 00:33:01 +0000 (20:33 -0400)]
New test C file for linux.

7 years agoMove tests in cedet/semantic
xscript [Fri, 29 Apr 2011 00:32:56 +0000 (02:32 +0200)]
Move tests in cedet/semantic

7 years agoFix EIEIO methodinvoke-utest and semantic-fmt-utest.
David Engster [Sun, 22 Apr 2012 11:27:38 +0000 (13:27 +0200)]
Fix EIEIO methodinvoke-utest and semantic-fmt-utest.

* Makefile: Add tests/eieio to path for unit tests.

* tests/cedet-utest.el (cedet/semantic/fmt-utest): Require.

* tests/cedet/semantic/fmt-utest.el: Fix requires and rename
  accordingly.

7 years agoRemove useless generated skeleton and old NEWS
David Engster [Sat, 21 Apr 2012 12:19:33 +0000 (14:19 +0200)]
Remove useless generated skeleton and old NEWS

* test/manual/cedet/cedet/semantic/fmt-utest.el Removed useless
 generated skeleton grammar.  Move old NEWS files and
 semantic-fmt-utest.

7 years agoFix documentation
Eric Ludlam [Tue, 2 Apr 2013 01:50:30 +0000 (21:50 -0400)]
Fix documentation

* test/manual/cedet/cit-cpproot.el: (cedet-android, ede/android):
 Deleted useless includes.  (cit-integ-cpproot-srcdir): Doc fix.

7 years agoAdded cpproot tests
Eric Ludlam [Sun, 31 Mar 2013 19:27:44 +0000 (15:27 -0400)]
Added cpproot tests

* test/manual/cedet/cit-cpproot.el: (cit-integ-cpproot-sys-subdir):
 New.  (cit-integ-cpproot-sys-srcdir):
 New. (cit-src-cpproot-main-tags): Added 3 new
 tags. (cit-cpproot-depfiles): New. (cit-ede-cpproot-test): Make copy
 work in emacs 23&24. Add new include dirs Add more spp files. Check
 all includes that they are found in the expected directories.

7 years agoNew test for testing ede/cpp-root projects.
Eric Ludlam [Tue, 1 Jan 2013 03:18:31 +0000 (22:18 -0500)]
New test for testing ede/cpp-root projects.

7 years agoTests for completiong symbols in wisent grammars.
Eric Ludlam [Wed, 26 Nov 2014 15:42:46 +0000 (10:42 -0500)]
Tests for completiong symbols in wisent grammars.

7 years agoNew test file.
Eric Ludlam [Tue, 1 Jan 2013 03:19:29 +0000 (22:19 -0500)]
New test file.

7 years agoSynchronize cedet/semantic with Emacs.
xscript [Sun, 15 May 2011 20:16:47 +0000 (22:16 +0200)]
Synchronize cedet/semantic with Emacs.

7 years agoetc/srecode/c.srt: New file, contents from cpp.srt
Eric Ludlam [Thu, 13 Sep 2012 01:38:12 +0000 (21:38 -0400)]
etc/srecode/c.srt: New file, contents from cpp.srt

etc/srecode/cpp.srt: Delete parts moved to c.srt

lisp/cedet/ede.el:
(ede-configuration-forms-menu): Make robust to cases where there is no
current project.

lisp/cedet/srecode/cpp.el:
(srecode-semantic-handle-:c): Renamed from the srecode-semantic-handle-:cpp.
(srecode-semantic-handle-:cpp): Calls above.
(c-mode::srecode-semantic-apply-tag-to-dict): Moved from a cpp-mode
function to a c-mode function.  Note this in doc.
(srecode-c-apply-templates): Renamed from srecode-cpp-apply-templates

tests/cit-cpp.el:
(cit-plain-c-tags): New variable
(cit-srecode-fill-cpp): Insert above into a new file as part of a new program.

7 years agoEnsure that the correct buffer is active when
David Engster [Thu, 23 Jun 2011 19:08:11 +0000 (21:08 +0200)]
Ensure that the correct buffer is active when

getting the EDE object

* test/manual/cedet/cit-cpp.el: (cit-remove-and-do-shared-lib): Make
 sure we are in the right buffer before getting the current EDE
 object.

7 years agoRemove obsolete cvs-auto-updated 'X-RCS' line.
xscript [Wed, 15 Sep 2010 14:27:53 +0000 (16:27 +0200)]
Remove obsolete cvs-auto-updated 'X-RCS' line.

7 years agoEnable global to find hh and hpp files
zappo [Sun, 13 Jun 2010 01:14:46 +0000 (01:14 +0000)]
Enable global to find hh and hpp files

* test/manual/cedet/cit-cpp.el: (cit-src-cpp-tags, cit-main-cpp-tags,
 cit-srecode-fill-cpp): Switch .hh to .hpp so gnu global can find it.

7 years ago(cit-remove-and-do-shared-lib): Add ldlibs-local test.
zappo [Sun, 16 May 2010 13:32:27 +0000 (13:32 +0000)]
(cit-remove-and-do-shared-lib): Add ldlibs-local test.

7 years agoUse ldflags and libs for in project libraries
zappo [Sun, 16 May 2010 13:12:26 +0000 (13:12 +0000)]
Use ldflags and libs for in project libraries

for automake

* test/manual/cedet/cit-cpp.el: (cit-remove-and-do-shared-lib): For
 automake, use ldflags, and ldlibs for in project libraries.

7 years agoAdded code for test tags
zappo [Sun, 18 Apr 2010 00:37:06 +0000 (00:37 +0000)]
Added code for test tags

* test/manual/cedet/cit-cpp.el: (cit-header-cpp-tags): Add some code
 to foo constructor. (cit-src-cpp-tags): Add stdio.h include. Add code
 to the methods to call through the class and eventually print
 MOOSE. (cit-main-cpp-tags): Remove stdio.h include. Replace print
 code with call to the foo class to print
 MOOSE. (cit-symref-operations): New variable.
 (cit-remove-add-to-project-cpp): Delete .o files also.
 (cit-remove-and-do-shared-lib): Specify the compiler to use.

7 years agoImprove compilation active detection
zappo [Tue, 16 Mar 2010 03:05:27 +0000 (03:05 +0000)]
Improve compilation active detection

* test/manual/cedet/cit-cpp.el: (cit-remove-add-to-project-cpp)
 (cit-remove-and-do-shared-lib): Use cit-wait-for-compilation and
 cit-check-compilation-for-error.

7 years agoRun the code for the compiled binary
zappo [Sun, 18 Oct 2009 16:16:30 +0000 (16:16 +0000)]
Run the code for the compiled binary

* test/manual/cedet/cit-cpp.el: (cit-main-cpp-tags): Add code to main.
 (cit-srecode-fill-cpp): Run the compiled program.

7 years ago(cit-remove-and-do-shared-lib): Enable for use with Make projects too. Create the...
zappo [Thu, 15 Oct 2009 02:55:46 +0000 (02:55 +0000)]
(cit-remove-and-do-shared-lib): Enable for use with Make projects too. Create the srcs in a new lib directory.

7 years ago(cit-remove-and-do-shared-lib): New.
zappo [Mon, 14 Sep 2009 02:38:13 +0000 (02:38 +0000)]
(cit-remove-and-do-shared-lib): New.

7 years agoNew make-type argument to control which include
zappo [Sat, 8 Aug 2009 21:51:27 +0000 (21:51 +0000)]
New make-type argument to control which include

variable is used

* test/manual/cedet/cit-cpp.el: (cit-srecode-fill-cpp): Accept
 make-type argument.  Control how projects are made based on what
 include variable is used based on above.

7 years agoPatch from David Engster
zappo [Thu, 12 Mar 2009 02:04:35 +0000 (02:04 +0000)]
Patch from David Engster

* test/manual/cedet/cit-cpp.el: (cit-remove-add-to-project-cpp): Use
   ede-make-command

7 years ago(cit-remove-add-to-project-cpp): Wait for make to finish.
zappo [Fri, 6 Mar 2009 14:24:33 +0000 (14:24 +0000)]
(cit-remove-add-to-project-cpp): Wait for make to finish.

7 years ago(cit-srecode-fill-cpp): Fixed misspelling of target name.
zappo [Sat, 10 Jan 2009 19:00:38 +0000 (19:00 +0000)]
(cit-srecode-fill-cpp): Fixed misspelling of target name.

7 years agoCPP integration support. Core bits copied originally from cedet-integ-test.el
zappo [Sun, 24 Feb 2008 02:57:20 +0000 (02:57 +0000)]
CPP integration support. Core bits copied originally from cedet-integ-test.el

7 years agoAdded more test data
Eric Ludlam [Mon, 30 Dec 2013 21:33:24 +0000 (16:33 -0500)]
Added more test data

* test/manual/cedet/cedet/semantic/tests/testvarnames.c:
 (varorstruct): New struct and variable.  (assigntovarorstruct): New
 variable that doesn't start with 'var'. (test_1): Add test when
 assigning into varorstruct that we get a match.

7 years agoMove tests in cedet/semantic
xscript [Fri, 29 Apr 2011 00:32:56 +0000 (02:32 +0200)]
Move tests in cedet/semantic

7 years agoMake unit tests use randomized file names
David Engster [Mon, 4 Nov 2013 22:15:03 +0000 (23:15 +0100)]
Make unit tests use randomized file names

* tests/cedet/semantic/stltest.el:
* tests/cedet/semantic/utest-parse.el:
* tests/cedet/srecode/fields-utest.el:
* tests/cedet/srecode/test-getset.el:
* tests/cedet/srecode/test.el:
* tests/eieio/eieio-test-persist.el: Make all those tests use
  `make-temp-name' for their test files, so that tests can run in
  parallel.

7 years agoForce srecode repo location and add decorations to debug output
Eric Ludlam [Sat, 20 Aug 2011 17:11:28 +0000 (13:11 -0400)]
Force srecode repo location and add decorations to debug output

* test/manual/cedet/cedet/srecode/test.el: (cl, cedet-uutil): New
 require (cedet-utests): Deleted require. (srecode-map-load-path):
 Force the srecode repository location in.  (srecode-utest-map-reset):
 New test fcn. (srecode-utest-test): Add decorations to debug
 output. (cedet/srecode/test): Fix require.

7 years agoSynchronize cedet/srecode with Emacs.
xscript [Wed, 1 Jun 2011 00:28:30 +0000 (02:28 +0200)]
Synchronize cedet/srecode with Emacs.

7 years agoMake unit tests use randomized file names
David Engster [Mon, 4 Nov 2013 22:15:03 +0000 (23:15 +0100)]
Make unit tests use randomized file names

* tests/cedet/semantic/stltest.el:
* tests/cedet/semantic/utest-parse.el:
* tests/cedet/srecode/fields-utest.el:
* tests/cedet/srecode/test-getset.el:
* tests/cedet/srecode/test.el:
* tests/eieio/eieio-test-persist.el: Make all those tests use
  `make-temp-name' for their test files, so that tests can run in
  parallel.

7 years agoAdd header comments and provide.
Eric Ludlam [Sat, 20 Aug 2011 17:09:29 +0000 (13:09 -0400)]
Add header comments and provide.

* test/manual/cedet/cedet/srecode/fields-utest.el:
  (srecode-field-utest-impl): Use standard Emacs overlay commands.

7 years agoNew setup testing.
Eric Ludlam [Fri, 24 Oct 2014 19:28:12 +0000 (15:28 -0400)]
New setup testing.

7 years agoC++: Deal with 'using' statements when calculating scope
David Engster [Mon, 18 Nov 2013 22:11:17 +0000 (23:11 +0100)]
C++: Deal with 'using' statements when calculating scope

* semantic/bovine/c.el (semantic-ctxt-scoped-types): Go through all
  tags around point and search them for using statements.  Before, we
  skipped the last one thinking that it would have to be function, but
  it could also be a type.

* semantic/scope.el (semantic-completable-tags-from-type): When
  creating the list of completable types, pull in types which are
  referenced through 'using' statements.

* tests/cedet/semantic/test/manual/cedet/testusing.cpp:
* tests/cedet/semantic/test/manual/cedet/testusing.hh: Add tests for
  the above.

7 years agoMove tests in cedet/semantic
xscript [Fri, 29 Apr 2011 00:32:56 +0000 (02:32 +0200)]
Move tests in cedet/semantic

7 years agosemantic/bovine/c: Parse C++11 strongly typed enum
Ramkumar Ramachandra [Wed, 21 Jan 2015 22:50:26 +0000 (17:50 -0500)]
semantic/bovine/c: Parse C++11 strongly typed enum

* semantic/bovine/c.by (ENUM, opt-enum-type): Add opt-enum-type argument
  to ENUM, that matches either a colon + typeformbase or nothing.

* semantic/bovine/c.el (semantic-c-reconstitute token): Add :enum-type.

7 years agosemantic/bovine/c: Parse C++ override/final correctly
Ramkumar Ramachandra [Sat, 17 Jan 2015 22:43:57 +0000 (17:43 -0500)]
semantic/bovine/c: Parse C++ override/final correctly

override and final are a perfectly good opt-post-fcn-modifiers in
C++. Parse them correctly.  (Tiny change)

* semantic/bovine/c.by (post-fcn-modifiers): Add tokens OVERRIDE and
  FINAL.

* semantic/bovine/c.el (semantic-c-reconstitute-token): Add
  :override-flag and :final-flag.

7 years agoMove tests in cedet/semantic
xscript [Fri, 29 Apr 2011 00:32:56 +0000 (02:32 +0200)]
Move tests in cedet/semantic

7 years agoFake emacs.c for project detection purposes.
Eric Ludlam [Sun, 20 Apr 2014 18:05:40 +0000 (14:05 -0400)]
Fake emacs.c for project detection purposes.

7 years agoErorr when appropriate
Eric Ludlam [Wed, 4 Jun 2014 01:50:51 +0000 (21:50 -0400)]
Erorr when appropriate

* test/manual/cedet/cedet-uutil.el: (cedet-utest-log-shutdown): This
 should error when there are errors. (cedet-utest-log): Doc fix.

7 years agoNew file, derived from logging functions in cedet-utest.el
Eric Ludlam [Sat, 20 Aug 2011 17:03:24 +0000 (13:03 -0400)]
New file, derived from logging functions in cedet-utest.el