Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316576

Summary: Unit test fails under Linux in VMWare
Product: z_Archived Reporter: Juergen Kindler <jkindler>
Component: SwordfishAssignee: Swordfish Core Inbox <swordfish.core-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Test results none

Description Juergen Kindler CLA 2010-06-11 03:58:51 EDT
Created attachment 171697 [details]
Test results

The test org.eclipse.swordfish.plugins.ws.wsdlgenerator.HttpEndpointListenerTest test1WSDLInjected fails under Linux (Ubuntu 8.04 32 bit inside VMWare)
See attached test report results.

Not sure if that is a problem of the Linux running inside the MacOS :-(

System: 
*** Date: Friday, June 11, 2010 9:43:47 AM Central European Summer Time

*** Platform Details:

*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=I20100527-1700
eclipse.commands=-os
linux
-ws
gtk
-arch
x86
-showsplash
/home/jkindler/Eclipse3.6/eclipse//plugins/org.eclipse.platform_3.6.0.v201005271700/splash.bmp
-launcher
/home/jkindler/Eclipse3.6/eclipse/eclipse
-name
Eclipse
--launcher.library
/home/jkindler/Eclipse3.6/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.0.v20100503/eclipse_1307.so
-startup
/home/jkindler/Eclipse3.6/eclipse//plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-vm
/usr/lib/jvm/java-6-sun-1.6.0.07/jre/bin/../lib/i386/client/libjvm.so
Comment 1 Juergen Kindler CLA 2010-06-11 04:02:07 EDT
BTW: all other tests (including the subsequent integration tests) work.

There is only this failure when trying to get the wsdl resource.
org.eclipse.swordfish.plugins.ws.wsdlgenerator.HttpEndpointListenerTest.test1WSDLInjected(HttpEndpointListenerTest.java:82)

...
		assertNotNull(httpEndpoint.getWsdlResource());
		String wsdl = IOUtils.toString(httpEndpoint.getWsdlResource().getInputStream());
		assertTrue(wsdl.contains("<soap:address location=\"http://localhost:8195/helloWorld\"/>"));

	}
		assertNotNull(httpEndpoint.getWsdlResource());