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.
* src/gnutls.c (emacs_gnutls_handle_error): Demote the normal
peer-closed-connection "The TLS connection was non-properly
terminated" message to a lower level so that it isn't shown to
the user by default.
Avoid having eww unexpectedly open external browsers
* lisp/net/eww.el (eww-render): Instead of opening unsupported
content types like audio/mpeg directly in an external browser
(which can be very confusing especially when something
redirects to a file like that), just display a simple
interstitial that people can choose to click on or not
(bug#22671).
When opening new eww buffers, use buffer names based on the host name
* lisp/net/eww.el (eww-browse-url): When opening in a new
window, use a buffer name based on the host name (bug#23738).
(eww--dwim-expand-url): Refactored out into its own function
for easier reuse.