]> git.eshelyaron.com Git - emacs.git/commitdiff
Test files contributed by Barry OReilly
authorEric Ludlam <zappo@gnu.org>
Thu, 2 Jan 2014 01:44:55 +0000 (20:44 -0500)
committerEdward John Steere <edward.steere@gmail.com>
Wed, 25 Jan 2017 15:59:25 +0000 (17:59 +0200)
* 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.

test/manual/cedet/integ_src/globalref/test/ManagerTest.cc [new file with mode: 0644]

diff --git a/test/manual/cedet/integ_src/globalref/test/ManagerTest.cc b/test/manual/cedet/integ_src/globalref/test/ManagerTest.cc
new file mode 100644 (file)
index 0000000..51943fb
--- /dev/null
@@ -0,0 +1,16 @@
+#include "Util.hh"
+#include "Manager.hh"
+#include "ManagerTest.hh"
+
+//
+// This fcn uses the namespaces used in the test, but should not be
+// a search destination.
+//
+namespace play { namespace test {
+
+    ManagerTest() {
+      printf("Inside ManagerTest ctor.\n");
+      play::prod::Manager manager(666);
+    }
+
+}}