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

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

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

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

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

7 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

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

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

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

7 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

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

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

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

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

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

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

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

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

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

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 agoSynchronize cedet/srecode with Emacs.
xscript [Wed, 1 Jun 2011 00:28:30 +0000 (02:28 +0200)]
Synchronize cedet/srecode with Emacs.

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

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

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

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

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

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

7 years agoMove compilation error handling to new function
zappo [Sat, 26 Dec 2009 22:42:40 +0000 (22:42 +0000)]
Move compilation error handling to new function

* test/manual/cedet/cedet-integ-test.el (cit-dist): New require.
 (cedet-integ-test-proj): Call new cit-dist tests.
 (cit-compile-and-wait): Split part out to...
 (cit-wait-for-compilation): New.

7 years agoInsert tag's code if it's there
zappo [Sun, 18 Oct 2009 16:15:17 +0000 (16:15 +0000)]
Insert tag's code if it's there

* test/manual/cedet/cedet-integ-test.el (cit-srecode-fill-with-stuff):
 If a tag has :code, insert it. (cit-run-target): New.

7 years agoAdded lib dir and make-type argument
zappo [Thu, 15 Oct 2009 02:54:27 +0000 (02:54 +0000)]
Added lib dir and make-type argument

* test/manual/cedet/cedet-integ-test.el (cedet-integ-test-proj): Add a
 lib dir.  Add make-type arg to cit-remove-and-do-shared-lib call.
 (cit-compile-and-wait): Accept an optional argument.

7 years ago(cedet-integ-test-proj): Add cit-remove-and-do-shared-lib.
zappo [Mon, 14 Sep 2009 02:38:38 +0000 (02:38 +0000)]
(cedet-integ-test-proj): Add cit-remove-and-do-shared-lib.

7 years ago(cit-finish-message): Add a pause, then exit with a status of "1".
zappo [Sat, 8 Aug 2009 22:15:54 +0000 (22:15 +0000)]
(cit-finish-message): Add a pause, then exit with a status of "1".

7 years ago(cedet-integ-test-Make,cedet-integ-test-Automake,cedet-integ-test-GNUStep): New ...
zappo [Sat, 8 Aug 2009 21:50:34 +0000 (21:50 +0000)]
(cedet-integ-test-Make,cedet-integ-test-Automake,cedet-integ-test-GNUStep): New (cedet-integ-test-proj): Take a make-type argumemt. Misc tests needed on new argument. Change how ede creates projects based on make-type. Remove spaces from the project name. (cit-finish-message): Ending message now includes the make type.

7 years agoAdded cit uml
zappo [Sat, 30 May 2009 14:18:35 +0000 (14:18 +0000)]
Added cit uml

* test/manual/cedet/cedet-integ-test.el (cit-uml): New require
 (cogre): New require (cedet-integ-test): Make a UML test dir. Call
 `cit-fill-uml'.  (cit-compile-and-wait): Kill Project.ede buffer
 after compilation.

7 years agoAdded new subdir and ensure that the base dir
zappo [Thu, 12 Mar 2009 02:26:52 +0000 (02:26 +0000)]
Added new subdir and ensure that the base dir

is made first

* test/manual/cedet/cedet-integ-test.el (cedet-integ-base): New, using
 old target value.  (cedet-integ-target): Subdir under base
 (cedet-integ-test): Make the base dir first.
 (cit-srecode-verify-tags): Fix paren typos on error condition.

7 years agoSet the auto-add-method to always during test
zappo [Thu, 12 Mar 2009 02:06:02 +0000 (02:06 +0000)]
Set the auto-add-method to always during test

steps

* test/manual/cedet/cedet-integ-test.el
 (cit-remove-add-to-project-cpp): Set auto-add-method to always during
 step test.

7 years ago(ede, ede-make): New require (cit-srecode-verify-tags): Fix debugging output on failu...
zappo [Thu, 12 Mar 2009 02:03:45 +0000 (02:03 +0000)]
(ede, ede-make): New require (cit-srecode-verify-tags): Fix debugging output on failure. Patch from David Engster (cit-compile-and-wait): Use ede-make-command

7 years ago(cit-version): New variable. (semantic): New require
zappo [Sat, 24 Jan 2009 04:56:26 +0000 (04:56 +0000)]
(cit-version): New variable. (semantic): New require

7 years agoAdded gnustep tests
safanaj [Thu, 28 Aug 2008 23:17:26 +0000 (23:17 +0000)]
Added gnustep tests

* test/manual/cedet/cedet-integ-test.el Added stuff to test
 ede-gnustep via `cit-ede-step-test' defined in cit-gnustep.el.
 Something is not clear (ede-auto-add-method ???)

7 years agoAdd whitespace at the end of a filled buffer
zappo [Sat, 23 Aug 2008 00:18:04 +0000 (00:18 +0000)]
Add whitespace at the end of a filled buffer

* test/manual/cedet/cedet-integ-test.el (cit-srecode-fill-with-stuff):
 Protect erase-buffer call. Add extra whitespace at end of empty
 filled buffers.

7 years ago(cedet-integ-test): Post a PASSED message.
zappo [Tue, 11 Mar 2008 02:35:32 +0000 (02:35 +0000)]
(cedet-integ-test): Post a PASSED message.

7 years ago(cit-srec): New require (cedet-integ-test): Call srec test.
zappo [Sun, 24 Feb 2008 18:22:28 +0000 (18:22 +0000)]
(cit-srec): New require (cedet-integ-test): Call srec test.

7 years agoRestructure and improve output
zappo [Sun, 24 Feb 2008 03:03:33 +0000 (03:03 +0000)]
Restructure and improve output

* test/manual/cedet/cedet-integ-test.el (cit-cpp,-el,-texi): Added
 requires.  (cedet-integ-test): Add in new calls to test support
 files. (cit-header-tags, cit-src-tags, cit-main-tags,
 cit-srecode-fill): Moved to cit-cpp.el (cit-srecode-fill-with-stuff):
 Add empty-dict-entries argument. Add pauses for visual
 effect. (cit-srecode-verify-tags): Fix to work, and actually throw an
 error if things don't match up. (cit-tag-verify-error-debug): New
 support class. (cit-compile-and-wait): New fcn.  Error if compilation
 fails.

7 years agoUpdate comments
zappo [Tue, 19 Feb 2008 03:41:04 +0000 (03:41 +0000)]
Update comments

* test/manual/cedet/cedet-integ-test.el (cedet-integ-test,
 cit-srecode-fill, cit-srecode-fill-with-stuff): Updated comments.

7 years agoIntegration Tests.
zappo [Tue, 19 Feb 2008 03:36:20 +0000 (03:36 +0000)]
Integration Tests.

7 years agoTest typedef which has the keyword "class" included
Eric Ludlam [Mon, 24 Nov 2014 17:38:04 +0000 (12:38 -0500)]
Test typedef which has the keyword "class" included

* test/manual/cedet/cedet/semantic/tests/testtypedefs.cpp:
 (NS2::Myclass, MyClassHandle, dixon): New test w/ a typedef that has
 keyword "class" included, instead of omitted as with other 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 agosample lib srces for dirmatch tests.
Eric Ludlam [Sat, 24 May 2014 00:58:34 +0000 (20:58 -0400)]
sample lib srces for dirmatch tests.

7 years agoAdd comments, require cedet-files.
Eric Ludlam [Sat, 20 Aug 2011 16:58:58 +0000 (12:58 -0400)]
Add comments, require cedet-files.

7 years agoSynchronize base 'cedet' with Emacs
xscript [Tue, 19 Apr 2011 01:33:49 +0000 (03:33 +0200)]
Synchronize base 'cedet' with Emacs

7 years ago(isFooLike, A, B, main2): New test tweaked from example by Liang Wang
Eric Ludlam [Sun, 18 Oct 2015 14:11:33 +0000 (10:11 -0400)]
(isFooLike, A, B, main2): New test tweaked from example by Liang Wang

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 parsing of default values and display them in default formatter
David Engster [Fri, 20 Sep 2013 19:54:31 +0000 (21:54 +0200)]
Fix parsing of default values and display them in default formatter

* semantic/bovine/c.by (variablearg, varnamelist): Add default values
  so that it can be later expanded into the tag.
  (opt-stuff-after-symbol): Rename to 'brackets-after-symbol' and
  remove empty match.
  (multi-stage-dereference): Adapt to above rename.
  (unaryexpression): Use 'symbol' instead of 'namespace-symbol', since
  the latter also leads to an empty match at the end which would make
  this too greedy.

* semantic/format.el (semantic-format-tag-prototype-default):
  Display default values if available.

* semantic/test/manual/cedet/test-fmt.cpp: Add default values.

Parsing of default values for variables and function arguments was
broken with the refactoring done in rev. 7622.  While fixing this, it
turned out that our parser for expressions like

  char *foo = NULL;

was too greedy and also covered the semicolon because of empty matches
in rules 'opt-stuff-after-symbol' and 'opt-template-specifier',
leading to a variable with a default-value of "NULL;". This was fixed
by removing the empty match in 'opt-stuff-after-symbol' and using
'symbol' instead of 'namespace-symbol'.

7 years agocompdb: add project detection tests
Alastair Rankine [Fri, 3 Apr 2015 17:46:57 +0000 (13:46 -0400)]
compdb: add project detection tests

7 years ago(ede-detect-utest-init-dirmatch): Force the dirmatch configdatastash to be unbound...
Eric Ludlam [Sun, 22 Mar 2015 16:27:19 +0000 (12:27 -0400)]
(ede-detect-utest-init-dirmatch): Force the dirmatch configdatastash to be unbound to force arduino to flush any cached values.

7 years agotests: Fix typo in ede/detect-utest
David Engster [Sun, 15 Feb 2015 21:28:44 +0000 (22:28 +0100)]
tests: Fix typo in ede/detect-utest

This worked by chance on Emacs 24.x, but breaks on Emacs 25.
*  test/manual/cedet/cedet/ede/detect-utest.el

7 years agoAdd a final call to ede list sanity check
Eric Ludlam [Sun, 19 Oct 2014 03:06:52 +0000 (23:06 -0400)]
Add a final call to ede list sanity check

* test/manual/cedet/cedet/ede/detect-utest.el:
 (ede-detect-utest-loop): Add a final call to
 `ede-global-list-sanity-check'.

7 years agodetect-utest.el: (ede-detect-utest-configdir): New fcn (ede-detect-utest-arduino...
Eric Ludlam [Sun, 24 Aug 2014 14:02:42 +0000 (10:02 -0400)]
detect-utest.el: (ede-detect-utest-configdir): New fcn (ede-detect-utest-arduino-install): New faux install dir (ede-detect-utest-init-dirmatch): Point at fake intalldir to get fake board.