From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Need for a Emacs regression test suite Date: Tue, 11 Sep 2007 04:08:35 +0900 Message-ID: <87bqcapccs.fsf@uwakimon.sk.tsukuba.ac.jp> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189454745 23555 80.91.229.12 (10 Sep 2007 20:05:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2007 20:05:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 11 06:05:31 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IUw76-0003j4-In for ged-emacs-devel@m.gmane.org; Tue, 11 Sep 2007 05:08:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUocj-00077B-V0 for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2007 15:08:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUocR-0006ui-0G for emacs-devel@gnu.org; Mon, 10 Sep 2007 15:08:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUocN-0006sb-TO for emacs-devel@gnu.org; Mon, 10 Sep 2007 15:08:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUocN-0006sT-Nz for emacs-devel@gnu.org; Mon, 10 Sep 2007 15:08:19 -0400 Original-Received: from mtps02.sk.tsukuba.ac.jp ([130.158.97.224]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUocJ-0005gi-28; Mon, 10 Sep 2007 15:08:15 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (unknown [130.158.99.156]) by mtps02.sk.tsukuba.ac.jp (Postfix) with ESMTP id 7FACC7FFD; Tue, 11 Sep 2007 04:08:12 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id DDD8C1A2E11; Tue, 11 Sep 2007 04:08:35 +0900 (JST) In-Reply-To: X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" (+CVS-20070621) XEmacs Lucid X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78488 Archived-At: Richard Stallman writes: > But the suggestion was "to test the GUI invocation". I don't see how > regression tests for that could possibly work. Does XEmacs' testing > framework apply to user input operations? Not currently. I don't know about Windows and Carbon, but it would not be impossible to develop a framework to generate X events to send to X windows at known positions. (Ie, you would arrange for a frame to be created at 0,0, then you can send mouse clicks to the menubar and things like that, also keystroke events.) Since Windows and Carbon are designed for operation only the local console an entirely different approach would have to be taken, I suppose. These tests can easily be done in LISP, since there is an xlib package and an X window manager, both written entirely in LISP.