Re: Next Gen JDEE

Stephen Leake <[email protected]> Wed, 15 Jul 2015 09:47:15 -0500
Newsgroups gmane.emacs.jdee.devel
Message-ID <[email protected]>
Paul Landes <[email protected]> writes:

> 1.8 = 8.
>
> So does this mean you're volunteering?  :)

Yes, but after the Emacs master fixes.

Someone could start by adding passing and failing tests to the new test
suite.

In Ada mode, I use structured comments in Ada source code containing
elisp forms:


--EMACSCMD:(test-face "with" font-lock-keyword-face)
--EMACSCMD:(test-face "Ada" font-lock-function-name-face)
--EMACSCMD:(progn (ada-goto-end)(looking-at "; -- end 1"))
--EMACSRESULT:t
with Ada.Strings.Unbounded; -- end 1

That test is run by a spawned emacs that loads an elisp test driver:

emacs -Q  -l run-test.el --eval '(progn (run-test "ada_mode-nominal.ads")(kill-emacs))' 

pass is reported by an absence of thrown errors.

This works quite nicely. I assume the ant driver also runs emacs in a
similar way?

-- 
-- Stephe

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/