Re: jde-import-find-and-import imports too much
Len Trigg <[email protected]>
| Newsgroups | gmane.emacs.jdee.devel |
|---|---|
| Message-ID | <hbd45817z0.wl%[email protected]> |
Przemysław Wojnowski wrote: > To reproduce eval this: (jde-import-find-and-import "set") > > This happens always when class in not already imported (eq to 'pass from > verify function, which will be only called in interactive mode), so very > often. > Example scenario is when jde-complete calls jde-parse-eval-type-of, > which subsequently calls jde-parse-get-qualified-name with import > argument set to true, which calls jde-import-find-and-import. > > Quick fix is to revert to previous version of the function. I noticed a similar problem when invoking jde-open-class-at-point. I have reverted the implementation for now, until Paul can look at the problems with the new implementation. > Another thing is that we need tests. > At http://www.emacswiki.org/emacs/UnitTesting are described some testing > libraries for emacs lisp. For java code we can use just JUnit or TestNG. I agree. I haven't had any experience with the lisp unit testing libraries -- maybe someone can try a couple of them with some small tests to find out the pros and cons. At a high level we would want to be able to run the entire suite of tests from the ant build. Cheers, Len. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ jdee-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jdee-devel