all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: ERT indentation testing
Date: Fri, 03 Jun 2011 06:48:49 -0500	[thread overview]
Message-ID: <87hb87i19a.fsf@lifelogs.com> (raw)
In-Reply-To: 87sjrsb9ci.fsf@lifelogs.com

On Thu, 02 Jun 2011 09:23:41 -0500 Ted Zlatanov <tzz@lifelogs.com> wrote: 

TZ> On Thu, 2 Jun 2011 12:37:33 +0000 Alan Mackenzie <acm@muc.de> wrote: 
AM> You are aware that there's an extensive test suite for CC Mode's
AM> indentation (and font locking).  It's in the tests directory of CC Mode's
AM> CVS repository, which can be downloaded from
AM> http://cc-mode.sourceforge.net/.  Look for the file 000tests.el.

TZ> I didn't know that these tests existed.  Why not simply integrate them
TZ> in the Emacs tests?  Are they too specific?

TZ> A general indentation and font-locking tester is very useful, so if we
TZ> can generalize this code, it would be wonderful.

I looked at the code and it could be useful.  But it has no notion of
ERT testing and consists of very specific code to force and test
font-lock and indentation.  So it would be a lot of work to generalize
it (or parts of it) and integrate it with the GNU Emacs indentation
tests.  It may be worthwhile nevertheless.

Ted




  reply	other threads:[~2011-06-03 11:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-02 12:37 ERT indentation testing Alan Mackenzie
2011-06-02 14:23 ` Ted Zlatanov
2011-06-03 11:48   ` Ted Zlatanov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-05-17 23:21 [RFC PATCH] setting indentation styles via `c-file-style' fails to actually change indentation Nix
2011-05-18  0:17 ` Stefan Monnier
2011-05-18 20:28   ` Nix
2011-05-18 21:08     ` ERT indentation testing (was: [RFC PATCH] setting indentation styles via `c-file-style' fails to actually change indentation) Ted Zlatanov
2011-05-18 22:19       ` ERT indentation testing Stefan Monnier
2011-05-19 10:33         ` Ted Zlatanov
2011-05-19 11:56           ` Stefan Monnier
2011-06-01 21:30             ` Ted Zlatanov
2011-06-02 18:43               ` Ted Zlatanov
2011-06-03  0:04                 ` Stefan Monnier
2011-06-03 11:33                   ` Ted Zlatanov
2011-06-03 12:12                     ` martin rudalics
2011-06-08 10:44                 ` Ted Zlatanov
2011-06-08 15:24                   ` Stefan Monnier
2011-06-09 16:05                     ` Ted Zlatanov
2011-06-10 20:41                       ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hb87i19a.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.