Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368292 - Rhino test failures in I-3.4.0-20120110083023
Summary: Rhino test failures in I-3.4.0-20120110083023
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: Debug (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.4 M5   Edit
Assignee: Michael Rennie CLA
QA Contact: Michael Rennie CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-10 15:01 EST by Michael Rennie CLA
Modified: 2012-01-10 16:05 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.