From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28297 invoked by alias); 19 Mar 2007 14:32:00 -0000 Received: (qmail 28205 invoked by uid 48); 19 Mar 2007 14:31:47 -0000 Date: Mon, 19 Mar 2007 14:32:00 -0000 From: "cagney at redhat dot com" To: frysk-bugzilla@sourceware.org Message-ID: <20070319143146.4212.cagney@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/4212] New: funit doesn't report bad method names until during test run 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-q1/txt/msg00674.txt.bz2 List-Id: For instance: cagney@toidi$ /usr/lib/frysk/funit 'testHitAndRunXXX(frysk.proc.TestBreakpoints)' 'testSteppingtestHitAndRun(frysk.proc.TestBreakpoints)' Couldn't find method with name: testHitAndRunXXX Running testSteppingtestHitAndRun(frysk.proc.TestBreakpoints) ...ERROR java.lang.NullPointerException it should have errored before even starting the test run. There is the code: //Check if the method exists. klass.getMethod(testName, null); but the lack of any check on status suggests it isn't doing much -- Summary: funit doesn't report bad method names until during test run 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 OtherBugsDependingO 2242 nThis: http://sourceware.org/bugzilla/show_bug.cgi?id=4212 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.