]> git.eshelyaron.com Git - emacs.git/log
emacs.git
8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

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

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

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

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

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

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

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

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

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

8 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.

8 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.

8 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.

8 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.

8 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.

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

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

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

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

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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

8 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.

8 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.

8 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

8 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.

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

8 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.

8 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.

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

8 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.

8 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.

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

8 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.

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

8 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.

8 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.

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

8 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.

8 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.

8 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

8 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.

8 years agoC/C++: Parse 'using' statements in the correct order.
David Engster [Wed, 18 Sep 2013 19:44:03 +0000 (21:44 +0200)]
C/C++: Parse 'using' statements in the correct order.

(c++-mode:semantic-ctxt-scoped-types): In the case for using
statements outside of function scope, append them in the correct order
instead of using 'cons'.  This is important since using statements may
depend on previous ones.

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

8 years agoAnother 'using namespace' fix
David Engster [Sun, 15 Sep 2013 09:19:30 +0000 (11:19 +0200)]
Another 'using namespace' fix

(semantic-analyze-scoped-types-default): If we cannot find a type in
the typecache, also look into the the types we already found.  This is
necessary since in C++, a 'using namespace' can be dependend on a
previous one.

* testusing.cpp: Add test for the above.

8 years agoSimplify alias referencing and add tests.
David Engster [Thu, 25 Oct 2012 18:38:27 +0000 (20:38 +0200)]
Simplify alias referencing and add tests.

* lisp/cedet/semantic/analyze.el (semantic-analyze-dereference-alias):
  Only dereference first tag, since at least for C++ this is enough.
  (semantic-analyze-current-context-default): Adapt comment.

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

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

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

8 years agoNew test files combining macros and EDE
Eric Ludlam [Sun, 12 Apr 2015 01:13:02 +0000 (21:13 -0400)]
New test files combining macros and EDE

8 years agoAdd compdb EDE project
Alastair Rankine [Sun, 8 Mar 2015 19:02:24 +0000 (15:02 -0400)]
Add compdb EDE project

- Unit tests incorporated into cedet-utest, all passing
- Documentation still pending

8 years agoeieio: Move to obsolete and use the one that ships with Emacs
David Engster [Sat, 31 Jan 2015 22:12:22 +0000 (23:12 +0100)]
eieio: Move to obsolete and use the one that ships with Emacs

* lisp/eieio: Move to obsolete.

* etc/fallback-libraries: Add eieio fallback libraries.

* Makefile (top-level): Remove eieio compilation and add compilation of
  fallback eieio for Emacs 24.1 and 24.2. Throw error for Emacs 23.x.

* cedet-devel-load.el: Always require eieio at the top.  Load
  cedet-compat earlier.  Remove advices for eieio helpers.

* cedet-remove-builtin.el: eieio must not be removed anymore.

* semantic/ede-grammar.el (semantic-ede-proj-target-grammar): Remove
  cedet-compat from aux-packages initform, as it will be loaded by
  cedet-devel-load anyway.
  (ede-proj-makefile-insert-variables): Remove eieio from load-path.

* lisp/cedet/cedet-compat.el: Load fallback eieio for Emacs 24.1 and
  24.2.  Add new aliases for Emacs 24.3.

* Project.ede, Makefiles: Remove eieio and regenerate.

* tests: Remove eieio tests.

8 years ago(cedet-utest-test-alist): Add ede-detect-linux-utest.
Eric Ludlam [Mon, 26 Jan 2015 22:29:38 +0000 (17:29 -0500)]
(cedet-utest-test-alist): Add ede-detect-linux-utest.

8 years agoTests: Add ERT test for the C Bovinator
David Engster [Sun, 25 Jan 2015 22:05:25 +0000 (23:05 +0100)]
Tests: Add ERT test for the C Bovinator

* tests/cedet-utests.el (cedet/semantic/ert/test-c-parser): Require.
  (cedet-utest-test-alist): Add new ERT test.

* tests/cedet/semantic/ert/test-c-parser.el: New file for testing the C
  Bovinator. This tests the newly added typed enum rule.

8 years agoAdded security test
Eric Ludlam [Wed, 22 Oct 2014 02:32:18 +0000 (22:32 -0400)]
Added security test

* test/manual/cedet/cedet-utests.el: (cedet/ede/secure-utest): New
 require (cedet-utest-test-alist): Add ede-security-utest

8 years ago(cedet-utest): Add EDE sanity check to the end.
Eric Ludlam [Thu, 22 May 2014 02:20:18 +0000 (22:20 -0400)]
(cedet-utest): Add EDE sanity check to the end.

8 years agoAdedd `ede-detect-utest'
Eric Ludlam [Sun, 20 Apr 2014 18:07:58 +0000 (14:07 -0400)]
Adedd `ede-detect-utest'

* test/manual/cedet/cedet-utests.el: (cedet/ede/detect-utest): New
 require.  (cedet-utest-test-alist): Add ede-detect-utest.

8 years ago(cedet-utest-batch): Disable saving EDE's cache file.
Eric Ludlam [Sat, 6 Apr 2013 11:47:48 +0000 (07:47 -0400)]
(cedet-utest-batch): Disable saving EDE's cache file.

8 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.

8 years agoFix merge error in unit tests.
David Engster [Sun, 22 Apr 2012 10:52:47 +0000 (12:52 +0200)]
Fix merge error in unit tests.

8 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.

8 years agoFix interactive unit tests.
David Engster [Sun, 27 Nov 2011 19:04:01 +0000 (20:04 +0100)]
Fix interactive unit tests.

* pulse-utest.el (pulse-test): Use normal overlay functions.

* cedet-utests.el (chart): Require.

8 years agoUse `cedet-version' instead of `cedet-version-print'
David Engster [Tue, 1 Nov 2011 20:39:35 +0000 (21:39 +0100)]
Use `cedet-version' instead of `cedet-version-print'

 * tests/cedet-utest.el: (cedet-utest-test-alist): Replace
 `cedet-version-print' with `cedet-version.

8 years agoRefactor tests
Eric Ludlam [Sat, 20 Aug 2011 17:03:04 +0000 (13:03 -0400)]
Refactor tests

* test/manual/cedet/cedet-utests.el: (cedet-uutil): New require, plus
 all other unit test files. (cedet-utest-test-alist): eieio now has
 loader test fcn (below) Re-order srecode
 tests. (cedet-running-master-tests): Move to cedet-uutil.
 (cedet-utest): Fix symbol names for initializing the test suite.
 (cedet-utest-noninteractive): Move to
 cedet-uutil. (cedet-utest-batch): Init semantic the new
 way. (cedet-utest-frame, cedet-utest-last-log-item,
 cedet-utest-log-timer) (cedet-utest-log-setup,
 cedet-utest-elapsed-time) (cedet-utest-log-shutdown,
 cedet=utest-log-shutdown-msg) (cedet-utest-show-log-end,
 cedet-utest-post-command-hook) (cedet-utest-add-log-item-start,
 cedet-utest-add-log-item-done) (cedet-utest-log-start,
 cedet-utest-log): Moved to cedet-util.el
 (cedet-utest-eieio-classloader): New loader for the EIEIO tests.

8 years agoNew test file for unions.
Eric Ludlam [Thu, 23 Apr 2015 00:58:59 +0000 (20:58 -0400)]
New test file for unions.

8 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.

8 years agoFix provide. (cedet-uutil, srecode/semantic): New requires.
Eric Ludlam [Sat, 20 Aug 2011 17:09:56 +0000 (13:09 -0400)]
Fix provide. (cedet-uutil, srecode/semantic): New requires.

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

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

8 years ago(Cit-Android): New Require. (Cedet-Integ-Test-Gnustep): Fix Typo. (Cedet-Integ-Test...
Eric Ludlam [Wed, 3 Aug 2011 01:41:26 +0000 (21:41 -0400)]
(Cit-Android): New Require. (Cedet-Integ-Test-Gnustep): Fix Typo. (Cedet-Integ-Test-Android): New Build Type Support For Android. (Cit-Make-Dir): Allow Making Trees Of Directories. (Cit-Compile-And-Wait): Only Regenerate The Project If That Project Type Can Be Regenerated. (Cit-Compile-And-Wait-Using-Ede-Command): New Way To Build That Uses Ede Commands Instead Of Hard-Coded Make Commands.

8 years agoIgnore Members On Extra Tags
David Engster [Tue, 19 Oct 2010 15:01:44 +0000 (17:01 +0200)]
Ignore Members On Extra Tags

* Test/Manual/Cedet/Cedet-Integ-Test.El (Cit-Srecode-Verify-Tags):
 Ignore Members Attribute For Extra Tags.  Necessary Because Of The
 Latest Changes To Semantic-Tag-Similar-P.

8 years agoCompare Code And Documtation For Tags
Eric Ludlam [Tue, 19 Oct 2010 03:05:47 +0000 (23:05 -0400)]
Compare Code And Documtation For Tags

* Test/Manual/Cedet/Cedet-Integ-Test.El (Cit-Srecode-Verify-Tags):
 When Comparing Tags, Add To Ignored Attribs, :Code And
 :Documentation.

8 years agoCall external db testing suite
zappo [Sun, 13 Jun 2010 01:14:08 +0000 (01:14 +0000)]
Call external db testing suite

* test/manual/cedet/cedet-integ-test.el (Cit-Externaldb): New Require
 (Cedet-Integ-Test-Proj): Call To Externaldb Testing Suite.

8 years agoDisable auto add, do shared-library-only test
zappo [Sun, 18 Apr 2010 00:38:29 +0000 (00:38 +0000)]
Disable auto add, do shared-library-only test

for automake and show output

* test/manual/cedet/cedet-integ-test.el (cit-symref): New require.
 (cedet-integ-test-proj): Disable auto add.  Only do shared library
 test with automake.  (cit-run-target): Don't kill the buffer, wait
 and show program output instead.

8 years agoImprove compilation error checking
zappo [Tue, 16 Mar 2010 03:04:42 +0000 (03:04 +0000)]
Improve compilation error checking

* test/manual/cedet/cedet-integ-test.el (cit-compile-and-wait): Pull
 out error checking. Add support for stripping erroneous
 events. (cit-check-compilation-for-error): New, from above.