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

Summary: Uncompilable tests
Product: webservices Reporter: Jesse Glick <jglick>
Component: CodeAssignee: Lukas Jungmann <jungi>
Status: VERIFIED FIXED    
Severity: blocker CC: petertliu
Priority: P1 Keywords: TEST
Version: 6.x   
Hardware: All   
OS: All   
URL: http://deadlock.netbeans.org/hudson/job/test-compilation/964/testReport/
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 135494    

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 :-)