This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 141679 - Uncompilable tests
Summary: Uncompilable tests
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Lukas Jungmann
URL: http://deadlock.netbeans.org/hudson/j...
Keywords: TEST
Depends on:
Blocks: 135494
  Show dependency tree
 
Reported: 2008-07-25 14:00 UTC by Jesse Glick
Modified: 2008-07-25 23:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2008-07-25 14:00:18 UTC
After

http://hg.netbeans.org/main/rev/8a31b65be1b8

visualweb.websvcmgr and websvc.saas.api tests are uncompilable.
Comment 1 Peter Liu 2008-07-25 18:43:52 UTC
Please use createSaasService() method instead which calls the other two private methods depending on the
type of service the url points to.  The reason for this is that we now accept files with .xml extension but we
don't know whether it is wadl or wsdl. Instead for the caller to figure that out, createSaasService() now
takes care of it. 
Comment 2 Jesse Glick 2008-07-25 18:54:28 UTC
Peter, note that you are responsible for ensuring that all tests compile and pass *before* you push your changes to main.
Comment 3 Lukas Jungmann 2008-07-25 19:05:37 UTC
fixed in #9df50651154f
Comment 4 Peter Liu 2008-07-25 22:40:34 UTC
Jesse, I didn't realize we have unit tests for the module I was working on. I thought I broke our functional tests. 
Comment 5 Jesse Glick 2008-07-25 23:25:33 UTC
These are marked as unit tests, not functional tests. BTW if you just have websvc.saas.api open in the IDE prior to
jungi's fix, you should see error badges on the Unit Test Packages node. (Less obvious when you break unit tests in a
different module than the one you are editing.)
Comment 6 Peter Liu 2008-07-25 23:49:11 UTC
I know. I wasn't paying attention. Trust me. I am now watching for those error badges whenever I make changes to method
signatures :-)