From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21082 invoked by alias); 19 Nov 2007 16:42:27 -0000 Received: (qmail 21066 invoked by uid 48); 19 Nov 2007 16:42:18 -0000 Date: Mon, 19 Nov 2007 16:42:00 -0000 From: "cagney at redhat dot com" To: frysk-bugzilla@sourceware.org Message-ID: <20071119164218.5365.cagney@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/5365] New: simplify test generation X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00216.txt.bz2 List-Id: At present the test cases look like: public void testScalar () { Expect [] expect = { new Expect("char_var","'~'"), new Expect("const_char_var","'!'"), ... ExpectTest expectTest = new ExpectTest("funit-type-entry"); expectTest.compareEqual(expect, "testScalar "); } it can be simplified to: public void setUp() { super.setUp(); create the process and its debug info; } public void testScalar() { checkValue("char_val", "'~'"); // from TypeTesbed ... } -- Summary: simplify test generation Product: frysk Version: unspecified Status: NEW Severity: normal Priority: P2 Component: general AssignedTo: frysk-bugzilla at sourceware dot org ReportedBy: cagney at redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=5365 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.