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

Bug 368292

Summary: Rhino test failures in I-3.4.0-20120110083023
Product: [WebTools] JSDT Reporter: Michael Rennie <Michael_Rennie>
Component: DebugAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact: Michael Rennie <Michael_Rennie>
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.4   
Target Milestone: 3.4 M5   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Michael Rennie CLA 2012-01-10 15:01:18 EST
There are several breakpoint and event test failures:

http://build.eclipse.org/webtools/committers/wtp4x-R3.4.0-I/20120110083023/I-3.4.0-20120110083023/testResults/html/org.eclipse.wst.jsdt.debug.rhino.tests.RhinoDebugTestSuite.html

Example failure:

junit.framework.AssertionFailedError: expected:<7> but was:<8>
at org.eclipse.wst.jsdt.debug.rhino.tests.BreakpointRequestTests.testBreakpoints(BreakpointRequestTests.java:100)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:501)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:259)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:36)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:32)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:352)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:624)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
Comment 1 Michael Rennie CLA 2012-01-10 16:05:56 EST
Fixed in HEAD

The problem was that at some point we added the Eclipse legalese header comment to the test script and it offset all of the executable line numbers.