This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/4212] New: funit doesn't report bad method names until during test run


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]