Eric Ludlam [Thu, 23 Oct 2014 02:05:36 +0000 (22:05 -0400)]
Added arduino and better suggestions
* test/manual/cedet/cedet/ede/secure-utest.el:
(ede-security-project-entries): Add arduino.
(ede-security-test-one-entry): Improve an error w/ suggestion on a
thing to fix.
Eric Ludlam [Wed, 22 Oct 2014 02:30:50 +0000 (22:30 -0400)]
Fixes for security tests
* test/manual/cedet/cedet/ede/secure-utest.el: (ede-security-entry):
Remove init-state, with[out]-permission
slots. (ede-security-project-entries): Add generic config based
projects. (ede-security-test-one-entry): Add long test for
configuration loading, and the security steps involved in making the
config load.
Eric Ludlam [Sun, 19 Oct 2014 03:08:00 +0000 (23:08 -0400)]
EDE security tests
Tests for the security system in EDE that marks some project types as
unsafe. This makes sure that the user isn't pestered too much, and
that if they say yes or no the right thing happens.
* 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.
David Engster [Thu, 13 Sep 2012 19:17:45 +0000 (21:17 +0200)]
Move Speedbar development to Emacs trunk.
Moved Speedbar, dframe, sb-image and documentation to obsolete.
Development of Speedbar now happens solely in Emacs trunk. This also
means that all other CEDET packages now depend on Speedbar from Emacs
proper.
Eric Ludlam [Thu, 2 Jan 2014 01:44:55 +0000 (20:44 -0500)]
Test files contributed by Barry OReilly
* test/manual/cedet/integ_src/globalref/test/ManagerTest.hh: These
test files contributed by Barry OReilly, modified for use in the
automated tests for CEDET, and with additional comments.
inc/Util.hh, src/Util.cc: Search symbol both in and outside of
namespaces.
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.
Eric Ludlam [Thu, 2 Jan 2014 01:44:55 +0000 (20:44 -0500)]
Test files contributed by Barry OReilly
* test/manual/cedet/integ_src/globalref/test/ManagerTest.cc: These
test files contributed by Barry OReilly, modified for use in the
automated tests for CEDET, and with additional comments.
inc/Util.hh, src/Util.cc: Search symbol both in and outside of
namespaces.
David Engster [Mon, 4 Nov 2013 21:31:41 +0000 (22:31 +0100)]
Use random temporary directory for integration tests
* tests/cedet-integ-test.el (cedet-integ-base): Use `make-temp-name'
so that integrations tests can run in parallel.
(cedet-integ-test-proj): Delete it after usage.
(cit-check-compilation-for-error): Show compilation output in
batch-mode.
* tests/cit-test.sh: Do not remove temporary directory.
safanaj [Thu, 28 Aug 2008 23:10:25 +0000 (23:10 +0000)]
Remove more temporary directories
* test/manual/cedet/cit-test.sh: remove more dirs because to test
ede-gnustep we need another dir, this is because `ede-new' check the
:class-sym that don't match in /tmp/CEDET_INTEG (that contain a
ede-proj-project).
Eric Ludlam [Thu, 2 Jan 2014 01:44:55 +0000 (20:44 -0500)]
Test files contributed by Barry OReilly
These test files contributed by Barry OReilly, modified for use in the
automated tests for CEDET, and with additional comments. inc/Util.hh,
src/Util.cc: Search symbol both in and outside of namespaces.
Eric Ludlam [Thu, 2 Jan 2014 01:44:55 +0000 (20:44 -0500)]
Add test files
* test/manual/cedet/integ_src/globalref/src/Manager.cc: These test
files contributed by Barry OReilly, modified for use in the automated
tests for CEDET, and with additional comments. inc/Util.hh,
src/Util.cc: Search symbol both in and outside of namespaces.
Eric Ludlam [Wed, 26 Nov 2014 19:27:10 +0000 (14:27 -0500)]
Test friends
* test/manual/cedet/cedet/semantic/tests/testfriends.cpp:
(Af): Add a friend of C w/out the CLASS token. (C): New. (scA, scB,
scC, scD): New test classes. (main): New (scA::PublicMethod,
scB::b_pub_method, scC::c_pub_method) (scD::d_pub_method): New.
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.