public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4212] New: funit doesn't report bad method names until during test run
@ 2007-03-19 14:32 cagney at redhat dot com
2007-03-19 15:37 ` [Bug general/4212] " mark at klomp dot org
0 siblings, 1 reply; 2+ messages in thread
From: cagney at redhat dot com @ 2007-03-19 14:32 UTC (permalink / raw)
To: frysk-bugzilla
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug general/4212] funit doesn't report bad method names until during test run
2007-03-19 14:32 [Bug general/4212] New: funit doesn't report bad method names until during test run cagney at redhat dot com
@ 2007-03-19 15:37 ` mark at klomp dot org
0 siblings, 0 replies; 2+ messages in thread
From: mark at klomp dot org @ 2007-03-19 15:37 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From mark at klomp dot org 2007-03-19 15:36 -------
(In reply to comment #0)
> For instance:
>
> cagney@toidi$ /usr/lib/frysk/funit
> 'testHitAndRunXXX(frysk.proc.TestBreakpoints)'
> 'testSteppingtestHitAndRun(frysk.proc.TestBreakpoints)'
> Couldn't find method with name: testHitAndRunXXX
testHitAndRun shouldn't be XXX disabled. Or was this just an example?
> Running testSteppingtestHitAndRun(frysk.proc.TestBreakpoints) ...ERROR
> java.lang.NullPointerException
This should now be fixed in CVS. But I assume this is also not really related to
the core issue of this bug report.
--
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-19 15:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-19 14:32 [Bug general/4212] New: funit doesn't report bad method names until during test run cagney at redhat dot com
2007-03-19 15:37 ` [Bug general/4212] " mark at klomp dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).